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_COCOA_LOCATION_BAR_ACTION_BOX_MENU_BUBBLE_CONTROLLER_H
_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_LOCATION_BAR_ACTION_BOX_MENU_BUBBLE_CONTROLLER_H
_ |
6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_ACTION_BOX_MENU_BUBBLE_CONTROLLER_H
_ | 6 #define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_ACTION_BOX_MENU_BUBBLE_CONTROLLER_H
_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "base/memory/scoped_nsobject.h" | 10 #include "base/memory/scoped_nsobject.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #import "chrome/browser/ui/cocoa/base_bubble_controller.h" | 12 #import "chrome/browser/ui/cocoa/base_bubble_controller.h" |
13 #import "ui/base/cocoa/tracking_area.h" | 13 #import "ui/base/cocoa/tracking_area.h" |
14 | 14 |
15 class ActionBoxMenuModel; | 15 class ActionBoxMenuModel; |
16 @class HoverImageButton; | |
17 class ExtensionIconLoaderBridge; | 16 class ExtensionIconLoaderBridge; |
18 class Profile; | 17 class Profile; |
19 | 18 |
20 // This window controller manages the action box popup menu. | 19 // This window controller manages the action box popup menu. |
21 @interface ActionBoxMenuBubbleController : BaseBubbleController { | 20 @interface ActionBoxMenuBubbleController : BaseBubbleController { |
22 @private | 21 @private |
23 Profile* profile_; | 22 Profile* profile_; |
24 | 23 |
25 // The model that contains the data from the backend. | 24 // The model that contains the data from the backend. |
26 scoped_ptr<ActionBoxMenuModel> model_; | 25 scoped_ptr<ActionBoxMenuModel> model_; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 | 98 |
100 // Used to highlight the background on hover. | 99 // Used to highlight the background on hover. |
101 ui::ScopedCrTrackingArea trackingArea_; | 100 ui::ScopedCrTrackingArea trackingArea_; |
102 } | 101 } |
103 | 102 |
104 @property(assign, nonatomic) ActionBoxMenuItemController* viewController; | 103 @property(assign, nonatomic) ActionBoxMenuItemController* viewController; |
105 | 104 |
106 @end | 105 @end |
107 | 106 |
108 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_ACTION_BOX_MENU_BUBBLE_CONTROLLE
R_H_ | 107 #endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_ACTION_BOX_MENU_BUBBLE_CONTROLLE
R_H_ |
OLD | NEW |