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

Unified Diff: chrome/browser/dom_ui/content_settings_handler.h

Issue 3068005: Flesh out the content settings exceptions lists a bit more. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: reduce instance vars Created 10 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/dom_ui/content_settings_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/content_settings_handler.h
diff --git a/chrome/browser/dom_ui/content_settings_handler.h b/chrome/browser/dom_ui/content_settings_handler.h
index 7f886ed30f12987b85e48b782aaa5cf5e20b3ddc..dc1278c00e7e537e3e048f5b62567b26a9f2a600 100644
--- a/chrome/browser/dom_ui/content_settings_handler.h
+++ b/chrome/browser/dom_ui/content_settings_handler.h
@@ -7,6 +7,8 @@
#pragma once
#include "chrome/browser/dom_ui/options_ui.h"
+#include "chrome/common/notification_observer.h"
+#include "chrome/common/notification_registrar.h"
class ContentSettingsHandler : public OptionsPageUIHandler {
public:
@@ -20,10 +22,18 @@ class ContentSettingsHandler : public OptionsPageUIHandler {
virtual void RegisterMessages();
+ // NotificationObserver implementation.
+ virtual void Observe(NotificationType type,
+ const NotificationSource& source,
+ const NotificationDetails& details);
+
private:
void UpdateImagesExceptionsViewFromModel();
void SetContentFilter(const Value* value);
void SetAllowThirdPartyCookies(const Value* value);
+ void RemoveExceptions(const Value* value);
+
+ NotificationRegistrar notification_registrar_;
DISALLOW_COPY_AND_ASSIGN(ContentSettingsHandler);
};
« no previous file with comments | « no previous file | chrome/browser/dom_ui/content_settings_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698