Skip to content

Commit

Permalink
Remove Gears from Chrome.
Browse files Browse the repository at this point in the history
There are probably a few more bits and pieces that can be removed, but I think this is the majority of it.

BUG=51934

Review URL: http://codereview.chromium.org/6576020

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77888 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
aa@chromium.org committed Mar 11, 2011
1 parent 1ad795b commit 50285ff
Show file tree
Hide file tree
Showing 158 changed files with 83 additions and 9,705 deletions.
1 change: 0 additions & 1 deletion DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@ include_rules = [
skip_child_includes = [
"breakpad",
"chrome_frame",
"gears",
"native_client",
"o3d",
"pdf",
Expand Down
1 change: 0 additions & 1 deletion build/all.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@
'../chrome/app/locales/locales.gyp:*',
'../chrome_frame/chrome_frame.gyp:*',
'../courgette/courgette.gyp:*',
'../gears/gears.gyp:*',
'../rlz/rlz.gyp:*',
'../sandbox/sandbox.gyp:*',
'../third_party/angle/src/build_angle.gyp:*',
Expand Down
11 changes: 2 additions & 9 deletions chrome/app/generated_resources.grd
Original file line number Diff line number Diff line change
Expand Up @@ -2324,7 +2324,7 @@ Other platform defines such as use_titlecase are declared in build/common.gypi.
Wait for downloads to finish
</message>

<!-- Gears shortcut strings -->
<!-- "Create application shortcuts" menu item -->
<if expr="not pp_ifdef('use_titlecase')">
<message name="IDS_CREATE_SHORTCUTS" desc="Default installation menu label">
Create application &amp;shortcuts...
Expand All @@ -2336,7 +2336,7 @@ Other platform defines such as use_titlecase are declared in build/common.gypi.
</message>
</if>

<!-- "Create application shortcuts" dialog (non-Gears) -->
<!-- "Create application shortcuts" dialog -->
<if expr="not pp_ifdef('use_titlecase') or os != 'linux2'">
<message name="IDS_CREATE_SHORTCUTS_TITLE" desc="Title of the dialog to create application shortcuts for current page.">
Create application shortcuts
Expand Down Expand Up @@ -7063,13 +7063,6 @@ Keep your key file in a safe place. You will need it to create new versions of y
</message>
</if>

<message name="IDS_OPTIONS_GEARSSETTINGS_GROUP_NAME" desc="The label of the 'Gears Settings' group">
Gears:
</message>
<message name="IDS_OPTIONS_GEARSSETTINGS_CONFIGUREGEARS_BUTTON" desc="The label of the 'configure gears' button">
Change Gears settings
</message>

<message name="IDS_OPTIONS_TRANSLATE_ENABLE_TRANSLATE" desc="The label of the check-box that enables page translate">
Offer to translate pages that aren't in a language I read
</message>
Expand Down
6 changes: 0 additions & 6 deletions chrome/browser/automation/url_request_automation_job.cc
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,6 @@ net::URLRequestJob* URLRequestAutomationJob::Factory(
if (request_info) {
int child_id = request_info->child_id();
int route_id = request_info->route_id();

if (request_info->process_type() == ChildProcessInfo::PLUGIN_PROCESS) {
child_id = request_info->host_renderer_id();
route_id = request_info->host_render_view_id();
}

AutomationResourceMessageFilter::AutomationDetails details;
if (AutomationResourceMessageFilter::LookupRegisteredRenderView(
child_id, route_id, &details)) {
Expand Down
6 changes: 0 additions & 6 deletions chrome/browser/browser_shutdown.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include "chrome/browser/ui/browser_list.h"
#include "chrome/browser/ui/webui/chrome_url_data_manager.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_plugin_lib.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/pref_names.h"
#include "chrome/common/switch_utils.h"
Expand Down Expand Up @@ -121,11 +120,6 @@ void Shutdown() {
// shutdown.
base::ThreadRestrictions::SetIOAllowed(true);

// Unload plugins. This needs to happen on the IO thread.
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
NewRunnableFunction(&ChromePluginLib::UnloadAllPlugins));

// Shutdown all IPC channels to service processes.
ServiceProcessControlManager::GetInstance()->Shutdown();

Expand Down
63 changes: 0 additions & 63 deletions chrome/browser/chrome_plugin_browsing_context.cc

This file was deleted.

64 changes: 0 additions & 64 deletions chrome/browser/chrome_plugin_browsing_context.h

This file was deleted.

Loading

0 comments on commit 50285ff

Please sign in to comment.