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_PAGE_INFO_PERMISSION_SELECTOR_ROW_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_PAGE_INFO_PERMISSION_SELECTOR_ROW_OBSERVER_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_PAGE_INFO_PERMISSION_SELECTOR_ROW_OBSERVER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_PAGE_INFO_PERMISSION_SELECTOR_ROW_OBSERVER_H_ |
7 | 7 |
8 #include "chrome/browser/ui/page_info/website_settings_ui.h" | 8 #include "chrome/browser/ui/page_info/page_info_ui.h" |
9 | 9 |
10 class PermissionSelectorRowObserver { | 10 class PermissionSelectorRowObserver { |
11 public: | 11 public: |
12 // This method is called whenever the permission setting is changed. | 12 // This method is called whenever the permission setting is changed. |
13 virtual void OnPermissionChanged( | 13 virtual void OnPermissionChanged( |
14 const WebsiteSettingsUI::PermissionInfo& permission) = 0; | 14 const PageInfoUI::PermissionInfo& permission) = 0; |
15 | 15 |
16 protected: | 16 protected: |
17 virtual ~PermissionSelectorRowObserver() {} | 17 virtual ~PermissionSelectorRowObserver() {} |
18 }; | 18 }; |
19 | 19 |
20 #endif // CHROME_BROWSER_UI_VIEWS_PAGE_INFO_PERMISSION_SELECTOR_ROW_OBSERVER_H_ | 20 #endif // CHROME_BROWSER_UI_VIEWS_PAGE_INFO_PERMISSION_SELECTOR_ROW_OBSERVER_H_ |
OLD | NEW |