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

Unified Diff: chrome/browser/ui/webui/options/content_settings_handler.h

Issue 7033018: Handler settings page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove in_unit_test_ Created 9 years, 7 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/content_settings_handler.h
diff --git a/chrome/browser/ui/webui/options/content_settings_handler.h b/chrome/browser/ui/webui/options/content_settings_handler.h
index f40a2c61942f44d82b00ee90f191ce2a9fceabd6..053c66748cfea8dc443380c2dad7afee642cdff4 100644
--- a/chrome/browser/ui/webui/options/content_settings_handler.h
+++ b/chrome/browser/ui/webui/options/content_settings_handler.h
@@ -14,6 +14,7 @@
#include "content/common/notification_registrar.h"
class HostContentSettingsMap;
+class ProtocolHandlerRegistry;
class ContentSettingsHandler : public OptionsPageUIHandler {
public:
@@ -61,6 +62,8 @@ class ContentSettingsHandler : public OptionsPageUIHandler {
// As above, but acts on the OTR table for the content setting type.
void UpdateExceptionsViewFromOTRHostContentSettingsMap(
ContentSettingsType type);
+ // Updates the radio buttons for enabling / disabling handlers.
+ void UpdateHandlersEnabledRadios();
// Callbacks used by the page ------------------------------------------------
@@ -101,6 +104,9 @@ class ContentSettingsHandler : public OptionsPageUIHandler {
// |type| is managed.
bool GetDefaultSettingManagedFromModel(ContentSettingsType type);
+ // Gets the ProtocolHandlerRegistry for the normal profile.
+ ProtocolHandlerRegistry* GetProtocolHandlerRegistry();
+
// Member variables ---------------------------------------------------------
NotificationRegistrar notification_registrar_;
« no previous file with comments | « chrome/browser/resources/options/options_bundle.js ('k') | chrome/browser/ui/webui/options/content_settings_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698