OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_EXTENSIONS_EXTENSION_DIALOG_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_DIALOG_OBSERVER_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_DIALOG_OBSERVER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_DIALOG_OBSERVER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 class ExtensionDialog; | 9 class ExtensionDialog; |
10 | 10 |
11 // Observer to ExtensionDialog events. | 11 // Observer to ExtensionDialog events. |
12 class ExtensionDialogObserver { | 12 class ExtensionDialogObserver { |
13 public: | 13 public: |
14 ExtensionDialogObserver(); | 14 ExtensionDialogObserver(); |
15 virtual ~ExtensionDialogObserver(); | 15 virtual ~ExtensionDialogObserver(); |
16 | 16 |
17 // Called when the ExtensionDialog is closing. Note that it | 17 // Called when the ExtensionDialog is closing. Note that it |
18 // is ref-counted, and thus will be released shortly after | 18 // is ref-counted, and thus will be released shortly after |
19 // making this delegate call. | 19 // making this delegate call. |
20 virtual void ExtensionDialogClosing(ExtensionDialog* popup) = 0; | 20 virtual void ExtensionDialogClosing(ExtensionDialog* popup) = 0; |
21 virtual void ExtensionDialogTerminated(ExtensionDialog* popup) = 0; | |
James Cook
2012/02/08 05:32:31
Maybe add a comment indicating when this function
rkc
2012/02/09 00:24:22
Done.
| |
21 }; | 22 }; |
22 | 23 |
23 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_DIALOG_OBSERVER_H_ | 24 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_DIALOG_OBSERVER_H_ |
OLD | NEW |