OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UI_VIEWS_WEBSITE_SETTINGS_PERMISSION_SELECTOR_VIEW_OBSERV
ER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_PERMISSION_SELECTOR_VIEW_OBSERV
ER_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_PERMISSION_SELECTOR_VIEW_OBSERV
ER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_PERMISSION_SELECTOR_VIEW_OBSERV
ER_H_ |
7 | 7 |
8 #include "chrome/browser/ui/website_settings/website_settings_ui.h" | 8 #include "chrome/browser/ui/website_settings/website_settings_ui.h" |
9 | 9 |
10 class PermissionSelectorView; | 10 class PermissionSelectorRow; |
11 | 11 |
12 class PermissionSelectorViewObserver { | 12 class PermissionSelectorRowObserver { |
13 public: | 13 public: |
14 // This method is called whenever the permission setting is changed. | 14 // This method is called whenever the permission setting is changed. |
15 virtual void OnPermissionChanged( | 15 virtual void OnPermissionChanged( |
16 const WebsiteSettingsUI::PermissionInfo& permission) = 0; | 16 const WebsiteSettingsUI::PermissionInfo& permission) = 0; |
17 | 17 |
18 protected: | 18 protected: |
19 virtual ~PermissionSelectorViewObserver() {} | 19 virtual ~PermissionSelectorRowObserver() {} |
20 }; | 20 }; |
21 | 21 |
22 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_PERMISSION_SELECTOR_VIEW_OBS
ERVER_H_ | 22 #endif // CHROME_BROWSER_UI_VIEWS_WEBSITE_SETTINGS_PERMISSION_SELECTOR_VIEW_OBS
ERVER_H_ |
OLD | NEW |