OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_CHOSEN_OBJECT_ROW_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_PAGE_INFO_CHOSEN_OBJECT_ROW_OBSERVER_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_PAGE_INFO_CHOSEN_OBJECT_ROW_OBSERVER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_PAGE_INFO_CHOSEN_OBJECT_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 ChosenObjectRowObserver { | 10 class ChosenObjectRowObserver { |
11 public: | 11 public: |
12 // This method is called when permission for the object is revoked. | 12 // This method is called when permission for the object is revoked. |
13 virtual void OnChosenObjectDeleted( | 13 virtual void OnChosenObjectDeleted( |
14 const WebsiteSettingsUI::ChosenObjectInfo& info) = 0; | 14 const PageInfoUI::ChosenObjectInfo& info) = 0; |
15 | 15 |
16 protected: | 16 protected: |
17 virtual ~ChosenObjectRowObserver() {} | 17 virtual ~ChosenObjectRowObserver() {} |
18 }; | 18 }; |
19 | 19 |
20 #endif // CHROME_BROWSER_UI_VIEWS_PAGE_INFO_CHOSEN_OBJECT_ROW_OBSERVER_H_ | 20 #endif // CHROME_BROWSER_UI_VIEWS_PAGE_INFO_CHOSEN_OBJECT_ROW_OBSERVER_H_ |
OLD | NEW |