Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1515)

Unified Diff: chrome/browser/ui/webui/options/advanced_options_handler.cc

Issue 6576020: Remove Gears from Chrome (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: windows fixes Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/options/advanced_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/advanced_options_handler.cc b/chrome/browser/ui/webui/options/advanced_options_handler.cc
index d6e3b6d1f07e187127ec0c9d7e292fb8fc60a3be..f5cd5223abe146a1177df564fd04a0586de1222c 100644
--- a/chrome/browser/ui/webui/options/advanced_options_handler.cc
+++ b/chrome/browser/ui/webui/options/advanced_options_handler.cc
@@ -45,7 +45,6 @@
#endif
#if defined(OS_WIN)
-#include "chrome/browser/gears_integration.h"
#include "net/base/ssl_config_service_win.h"
#endif
@@ -81,8 +80,6 @@ void AdvancedOptionsHandler::GetLocalizedValues(
IDS_OPTIONS_OPEN_FILE_TYPES_AUTOMATICALLY },
{ "autoOpenFileTypesResetToDefault",
IDS_OPTIONS_AUTOOPENFILETYPES_RESETTODEFAULT },
- { "gearSettingsConfigureGearsButton",
- IDS_OPTIONS_GEARSSETTINGS_CONFIGUREGEARS_BUTTON },
{ "translateEnableTranslate",
IDS_OPTIONS_TRANSLATE_ENABLE_TRANSLATE },
{ "certificatesManageButton",
@@ -307,9 +304,6 @@ void AdvancedOptionsHandler::RegisterMessages() {
web_ui_->RegisterMessageCallback("useTLS1CheckboxAction",
NewCallback(this,
&AdvancedOptionsHandler::HandleUseTLS1Checkbox));
- web_ui_->RegisterMessageCallback("showGearsSettings",
- NewCallback(this,
- &AdvancedOptionsHandler::HandleShowGearsSettings));
#endif
}
@@ -433,12 +427,6 @@ void AdvancedOptionsHandler::HandleUseTLS1Checkbox(const ListValue* args) {
UserMetricsRecordAction(UserMetricsAction(metric.c_str()));
net::SSLConfigServiceWin::SetTLS1Enabled(enabled);
}
-
-void AdvancedOptionsHandler::HandleShowGearsSettings(const ListValue* args) {
- UserMetricsRecordAction(UserMetricsAction("Options_GearsSettings"));
- GearsSettingsPressed(
- web_ui_->tab_contents()->view()->GetTopLevelNativeWindow());
-}
#endif
#if !defined(OS_CHROMEOS)
« no previous file with comments | « chrome/browser/ui/webui/options/advanced_options_handler.h ('k') | chrome/browser/web_applications/web_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698