| 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_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_DIALOG_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_DIALOG_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_DIALOG_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "content/public/browser/notification_observer.h" | 10 #include "content/public/browser/notification_observer.h" |
| 11 #include "content/public/browser/notification_registrar.h" | 11 #include "content/public/browser/notification_registrar.h" |
| 12 #include "views/widget/widget_delegate.h" | 12 #include "views/widget/widget_delegate.h" |
| 13 | 13 |
| 14 class Browser; | 14 class Browser; |
| 15 class ExtensionDialogObserver; | 15 class ExtensionDialogObserver; |
| 16 class ExtensionHost; | 16 class ExtensionHost; |
| 17 class GURL; | 17 class GURL; |
| 18 class Profile; | |
| 19 class TabContents; | 18 class TabContents; |
| 20 | 19 |
| 21 namespace views { | 20 namespace views { |
| 22 class View; | 21 class View; |
| 23 class Widget; | 22 class Widget; |
| 24 } | 23 } |
| 25 | 24 |
| 26 // Modal dialog containing contents provided by an extension. | 25 // Modal dialog containing contents provided by an extension. |
| 27 // Dialog is automatically centered in the browser window and has fixed size. | 26 // Dialog is automatically centered in the browser window and has fixed size. |
| 28 // For example, used by the Chrome OS file browser. | 27 // For example, used by the Chrome OS file browser. |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 | 81 |
| 83 content::NotificationRegistrar registrar_; | 82 content::NotificationRegistrar registrar_; |
| 84 | 83 |
| 85 // The observer of this popup. | 84 // The observer of this popup. |
| 86 ExtensionDialogObserver* observer_; | 85 ExtensionDialogObserver* observer_; |
| 87 | 86 |
| 88 DISALLOW_COPY_AND_ASSIGN(ExtensionDialog); | 87 DISALLOW_COPY_AND_ASSIGN(ExtensionDialog); |
| 89 }; | 88 }; |
| 90 | 89 |
| 91 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_DIALOG_H_ | 90 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_DIALOG_H_ |
| OLD | NEW |