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

Unified Diff: chrome/browser/dom_ui/options/content_settings_handler.cc

Issue 6269015: Add facility to fix about: and file: links from chrome:// pages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more automatic Created 9 years, 11 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/dom_ui/options/content_settings_handler.cc
diff --git a/chrome/browser/dom_ui/options/content_settings_handler.cc b/chrome/browser/dom_ui/options/content_settings_handler.cc
index 3220127824fbb9b3446ec2405177e91e82265665..cf7b642a33798d6bf4e18e9467f84fc618ee1963 100644
--- a/chrome/browser/dom_ui/options/content_settings_handler.cc
+++ b/chrome/browser/dom_ui/options/content_settings_handler.cc
@@ -597,9 +597,6 @@ void ContentSettingsHandler::RegisterMessages() {
dom_ui_->RegisterMessageCallback("checkExceptionPatternValidity",
NewCallback(this,
&ContentSettingsHandler::CheckExceptionPatternValidity));
- dom_ui_->RegisterMessageCallback(
- "openPluginsTab",
- NewCallback(this, &ContentSettingsHandler::OpenPluginsTab));
}
void ContentSettingsHandler::SetContentFilter(const ListValue* args) {
@@ -745,10 +742,6 @@ void ContentSettingsHandler::CheckExceptionPatternValidity(
*valid_value.get());
}
-void ContentSettingsHandler::OpenPluginsTab(const ListValue* args) {
- BrowserList::GetLastActive()->OpenPluginsTabAndActivate();
-}
-
// static
std::string ContentSettingsHandler::ContentSettingsTypeToGroupName(
ContentSettingsType type) {
« no previous file with comments | « chrome/browser/dom_ui/options/content_settings_handler.h ('k') | chrome/browser/dom_ui/options/options_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698