OLD | NEW |
1 // Copyright (c) 2010 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_INFOBARS_EXTENSION_INFOBAR_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_INFOBARS_EXTENSION_INFOBAR_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_INFOBARS_EXTENSION_INFOBAR_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_INFOBARS_EXTENSION_INFOBAR_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/views/infobars/infobars.h" | 9 #include "chrome/browser/ui/views/infobars/infobars.h" |
10 | 10 |
11 #include "chrome/browser/extensions/extension_infobar_delegate.h" | 11 #include "chrome/browser/extensions/extension_infobar_delegate.h" |
12 #include "chrome/browser/extensions/image_loading_tracker.h" | 12 #include "chrome/browser/extensions/image_loading_tracker.h" |
13 #include "chrome/browser/views/extensions/extension_view.h" | 13 #include "chrome/browser/ui/views/extensions/extension_view.h" |
14 #include "views/controls/menu/view_menu_delegate.h" | 14 #include "views/controls/menu/view_menu_delegate.h" |
15 | 15 |
16 class ExtensionContextMenuModel; | 16 class ExtensionContextMenuModel; |
17 class ExtensionInfoBarDelegate; | 17 class ExtensionInfoBarDelegate; |
18 | 18 |
19 namespace views { | 19 namespace views { |
20 class MenuButton; | 20 class MenuButton; |
21 class Menu2; | 21 class Menu2; |
22 } | 22 } |
23 | 23 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 scoped_ptr<views::Menu2> options_menu_menu_; | 63 scoped_ptr<views::Menu2> options_menu_menu_; |
64 views::MenuButton* menu_; | 64 views::MenuButton* menu_; |
65 | 65 |
66 // Keeps track of images being loaded on the File thread. | 66 // Keeps track of images being loaded on the File thread. |
67 ImageLoadingTracker tracker_; | 67 ImageLoadingTracker tracker_; |
68 | 68 |
69 DISALLOW_COPY_AND_ASSIGN(ExtensionInfoBar); | 69 DISALLOW_COPY_AND_ASSIGN(ExtensionInfoBar); |
70 }; | 70 }; |
71 | 71 |
72 #endif // CHROME_BROWSER_UI_VIEWS_INFOBARS_EXTENSION_INFOBAR_H_ | 72 #endif // CHROME_BROWSER_UI_VIEWS_INFOBARS_EXTENSION_INFOBAR_H_ |
OLD | NEW |