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

Unified Diff: chrome/browser/ui/webui/extensions/extension_settings_handler.cc

Issue 9814030: get rid of old options pages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 8 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/extensions/extension_settings_handler.cc
diff --git a/chrome/browser/ui/webui/options/extension_settings_handler.cc b/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
similarity index 99%
rename from chrome/browser/ui/webui/options/extension_settings_handler.cc
rename to chrome/browser/ui/webui/extensions/extension_settings_handler.cc
index bf6aa9989d35f696042f09c96ce50bb1b4439932..ef07053166dcef836e1efcf097c0c3e3cc7049ef 100644
--- a/chrome/browser/ui/webui/options/extension_settings_handler.cc
+++ b/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/ui/webui/options/extension_settings_handler.h"
+#include "chrome/browser/ui/webui/extensions/extension_settings_handler.h"
#include "base/auto_reset.h"
#include "base/base64.h"
@@ -33,6 +33,7 @@
#include "chrome/common/pref_names.h"
#include "chrome/common/url_constants.h"
#include "content/public/browser/notification_service.h"
+#include "content/public/browser/notification_source.h"
#include "content/public/browser/notification_types.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/render_view_host.h"
@@ -266,8 +267,6 @@ void ExtensionSettingsHandler::HandleToggleDeveloperMode(
profile->GetPrefs()->GetBoolean(prefs::kExtensionsUIDeveloperMode);
profile->GetPrefs()->SetBoolean(
prefs::kExtensionsUIDeveloperMode, !developer_mode);
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDisableUberPage))
- HandleRequestExtensionsData(NULL);
}
void ExtensionSettingsHandler::HandleInspectMessage(const ListValue* args) {
@@ -515,9 +514,6 @@ void ExtensionSettingsHandler::MultiFilesSelected(
void ExtensionSettingsHandler::GetLocalizedValues(
DictionaryValue* localized_strings) {
- RegisterTitle(localized_strings, "extensionSettings",
- IDS_MANAGE_EXTENSIONS_SETTING_WINDOWS_TITLE);
-
localized_strings->SetString("extensionSettingsVisitWebsite",
l10n_util::GetStringUTF16(IDS_EXTENSIONS_VISIT_WEBSITE));

Powered by Google App Engine
This is Rietveld 408576698