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_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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "chrome/browser/extensions/extension_host.h" | 10 #include "chrome/browser/extensions/extension_host.h" |
11 #include "chrome/browser/ui/views/browser_bubble.h" | 11 #include "chrome/browser/ui/views/browser_bubble.h" |
12 #include "chrome/browser/ui/views/extensions/extension_view.h" | 12 #include "chrome/browser/ui/views/extensions/extension_view.h" |
13 #include "content/public/browser/notification_observer.h" | 13 #include "content/public/browser/notification_observer.h" |
14 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
15 #include "views/bubble/bubble_border.h" | 15 #include "ui/views/bubble/bubble_border.h" |
16 | 16 |
17 | 17 |
18 class Browser; | 18 class Browser; |
19 class ExtensionHost; | 19 class ExtensionHost; |
20 | 20 |
21 class ExtensionPopup : public BrowserBubble, | 21 class ExtensionPopup : public BrowserBubble, |
22 public BrowserBubble::Delegate, | 22 public BrowserBubble::Delegate, |
23 public ExtensionView::Container, | 23 public ExtensionView::Container, |
24 public content::NotificationObserver, | 24 public content::NotificationObserver, |
25 public base::RefCounted<ExtensionPopup> { | 25 public base::RefCounted<ExtensionPopup> { |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 | 117 |
118 content::NotificationRegistrar registrar_; | 118 content::NotificationRegistrar registrar_; |
119 | 119 |
120 // The observer of this popup. | 120 // The observer of this popup. |
121 Observer* observer_; | 121 Observer* observer_; |
122 | 122 |
123 DISALLOW_COPY_AND_ASSIGN(ExtensionPopup); | 123 DISALLOW_COPY_AND_ASSIGN(ExtensionPopup); |
124 }; | 124 }; |
125 | 125 |
126 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_POPUP_H_ | 126 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_POPUP_H_ |
OLD | NEW |