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_EXTENSIONS_EXTENSION_POPUP_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_POPUP_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_POPUP_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_POPUP_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/macros.h" |
10 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" | 11 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" |
11 #include "chrome/browser/ui/views/extensions/extension_view_views.h" | 12 #include "chrome/browser/ui/views/extensions/extension_view_views.h" |
12 #include "content/public/browser/notification_observer.h" | 13 #include "content/public/browser/notification_observer.h" |
13 #include "content/public/browser/notification_registrar.h" | 14 #include "content/public/browser/notification_registrar.h" |
14 #include "ui/views/bubble/bubble_delegate.h" | 15 #include "ui/views/bubble/bubble_delegate.h" |
15 #include "url/gurl.h" | 16 #include "url/gurl.h" |
16 | 17 |
17 | 18 |
18 class Browser; | 19 class Browser; |
19 namespace views { | 20 namespace views { |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 content::NotificationRegistrar registrar_; | 116 content::NotificationRegistrar registrar_; |
116 | 117 |
117 base::Callback<void(content::DevToolsAgentHost*, bool)> devtools_callback_; | 118 base::Callback<void(content::DevToolsAgentHost*, bool)> devtools_callback_; |
118 | 119 |
119 bool widget_initialized_; | 120 bool widget_initialized_; |
120 | 121 |
121 DISALLOW_COPY_AND_ASSIGN(ExtensionPopup); | 122 DISALLOW_COPY_AND_ASSIGN(ExtensionPopup); |
122 }; | 123 }; |
123 | 124 |
124 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_POPUP_H_ | 125 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_POPUP_H_ |
OLD | NEW |