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_LOCATION_BAR_PAGE_ACTION_IMAGE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_PAGE_ACTION_IMAGE_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_PAGE_ACTION_IMAGE_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_PAGE_ACTION_IMAGE_VIEW_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
11 #include "chrome/browser/ui/extensions/extension_action_view_controller.h" | 12 #include "chrome/browser/ui/extensions/extension_action_view_controller.h" |
12 #include "chrome/browser/ui/views/toolbar/toolbar_action_view_delegate_views.h" | 13 #include "chrome/browser/ui/views/toolbar/toolbar_action_view_delegate_views.h" |
13 #include "ui/views/context_menu_controller.h" | 14 #include "ui/views/context_menu_controller.h" |
14 #include "ui/views/controls/image_view.h" | 15 #include "ui/views/controls/image_view.h" |
15 | 16 |
16 class Browser; | 17 class Browser; |
17 class ExtensionAction; | 18 class ExtensionAction; |
18 class ExtensionActionViewController; | 19 class ExtensionActionViewController; |
19 class LocationBarView; | 20 class LocationBarView; |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 // briefly shown even if it hasn't been enabled by its extension. | 89 // briefly shown even if it hasn't been enabled by its extension. |
89 bool preview_enabled_; | 90 bool preview_enabled_; |
90 | 91 |
91 // Responsible for running the menu. | 92 // Responsible for running the menu. |
92 scoped_ptr<views::MenuRunner> menu_runner_; | 93 scoped_ptr<views::MenuRunner> menu_runner_; |
93 | 94 |
94 DISALLOW_IMPLICIT_CONSTRUCTORS(PageActionImageView); | 95 DISALLOW_IMPLICIT_CONSTRUCTORS(PageActionImageView); |
95 }; | 96 }; |
96 | 97 |
97 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_PAGE_ACTION_IMAGE_VIEW_H_ | 98 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_PAGE_ACTION_IMAGE_VIEW_H_ |
OLD | NEW |