| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_DOM_UI_CONTENT_SETTINGS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_DOM_UI_CONTENT_SETTINGS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_DOM_UI_CONTENT_SETTINGS_HANDLER_H_ | 6 #define CHROME_BROWSER_DOM_UI_CONTENT_SETTINGS_HANDLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "chrome/browser/dom_ui/options_ui.h" | 9 #include "chrome/browser/dom_ui/options_ui.h" |
| 10 #include "chrome/common/notification_observer.h" | 10 #include "chrome/common/notification_observer.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 // NotificationObserver implementation. | 25 // NotificationObserver implementation. |
| 26 virtual void Observe(NotificationType type, | 26 virtual void Observe(NotificationType type, |
| 27 const NotificationSource& source, | 27 const NotificationSource& source, |
| 28 const NotificationDetails& details); | 28 const NotificationDetails& details); |
| 29 | 29 |
| 30 private: | 30 private: |
| 31 void UpdateImagesExceptionsViewFromModel(); | 31 void UpdateImagesExceptionsViewFromModel(); |
| 32 void SetContentFilter(const Value* value); | 32 void SetContentFilter(const Value* value); |
| 33 void SetAllowThirdPartyCookies(const Value* value); | 33 void SetAllowThirdPartyCookies(const Value* value); |
| 34 void RemoveExceptions(const Value* value); | 34 void RemoveExceptions(const Value* value); |
| 35 void SetException(const Value* value); |
| 35 | 36 |
| 36 NotificationRegistrar notification_registrar_; | 37 NotificationRegistrar notification_registrar_; |
| 37 | 38 |
| 38 DISALLOW_COPY_AND_ASSIGN(ContentSettingsHandler); | 39 DISALLOW_COPY_AND_ASSIGN(ContentSettingsHandler); |
| 39 }; | 40 }; |
| 40 | 41 |
| 41 #endif // CHROME_BROWSER_DOM_UI_CONTENT_SETTINGS_HANDLER_H_ | 42 #endif // CHROME_BROWSER_DOM_UI_CONTENT_SETTINGS_HANDLER_H_ |
| OLD | NEW |