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_EXTENSIONS_BROWSER_ACTION_BUTTON_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_BROWSER_ACTION_BUTTON_H_ |
6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_BROWSER_ACTION_BUTTON_H_ | 6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_BROWSER_ACTION_BUTTON_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #import "base/mac/scoped_nsobject.h" | 12 #import "base/mac/scoped_nsobject.h" |
13 #import "chrome/browser/ui/cocoa/image_button_cell.h" | 13 #import "chrome/browser/ui/cocoa/image_button_cell.h" |
14 #import "chrome/browser/ui/cocoa/toolbar/toolbar_button_cocoa.h" | 14 #import "chrome/browser/ui/cocoa/toolbar/toolbar_button_cocoa.h" |
15 | 15 |
16 class Browser; | |
17 @class BrowserActionsController; | 16 @class BrowserActionsController; |
18 @class MenuController; | 17 @class MenuController; |
19 class ToolbarActionViewController; | 18 class ToolbarActionViewController; |
20 class ToolbarActionViewDelegateBridge; | 19 class ToolbarActionViewDelegateBridge; |
21 | 20 |
22 // Fired on each drag event while the user is moving the button. | 21 // Fired on each drag event while the user is moving the button. |
23 extern NSString* const kBrowserActionButtonDraggingNotification; | 22 extern NSString* const kBrowserActionButtonDraggingNotification; |
24 // Fired when the user drops the button. | 23 // Fired when the user drops the button. |
25 extern NSString* const kBrowserActionButtonDragEndNotification; | 24 extern NSString* const kBrowserActionButtonDragEndNotification; |
26 | 25 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 // The controller for the browser actions bar that owns the button. Weak. | 108 // The controller for the browser actions bar that owns the button. Weak. |
110 BrowserActionsController* browserActionsController_; | 109 BrowserActionsController* browserActionsController_; |
111 } | 110 } |
112 | 111 |
113 @property(assign, nonatomic) | 112 @property(assign, nonatomic) |
114 BrowserActionsController* browserActionsController; | 113 BrowserActionsController* browserActionsController; |
115 | 114 |
116 @end | 115 @end |
117 | 116 |
118 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_BROWSER_ACTION_BUTTON_H_ | 117 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_BROWSER_ACTION_BUTTON_H_ |
OLD | NEW |