OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_COCOA_EXTENSIONS_BROWSER_ACTION_BUTTON_H_ | 5 #ifndef CHROME_BROWSER_COCOA_EXTENSIONS_BROWSER_ACTION_BUTTON_H_ |
6 #define CHROME_BROWSER_COCOA_EXTENSIONS_BROWSER_ACTION_BUTTON_H_ | 6 #define CHROME_BROWSER_COCOA_EXTENSIONS_BROWSER_ACTION_BUTTON_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #import "base/scoped_nsobject.h" | 10 #import "base/scoped_nsobject.h" |
11 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
12 #include "chrome/browser/cocoa/toolbar_button_cell.h" | 12 #import "chrome/browser/cocoa/gradient_button_cell.h" |
13 | 13 |
14 class Extension; | 14 class Extension; |
15 class ExtensionAction; | 15 class ExtensionAction; |
16 class ExtensionImageTrackerBridge; | 16 class ExtensionImageTrackerBridge; |
17 class Profile; | 17 class Profile; |
18 | 18 |
19 // Fired when the Browser Action's state has changed. Usually the image needs to | 19 // Fired when the Browser Action's state has changed. Usually the image needs to |
20 // be updated. | 20 // be updated. |
21 extern const NSString* kBrowserActionButtonUpdatedNotification; | 21 extern const NSString* kBrowserActionButtonUpdatedNotification; |
22 | 22 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 // The action we're drawing the cell for. Weak. | 89 // The action we're drawing the cell for. Weak. |
90 ExtensionAction* extensionAction_; | 90 ExtensionAction* extensionAction_; |
91 } | 91 } |
92 | 92 |
93 @property(readwrite, nonatomic) int tabId; | 93 @property(readwrite, nonatomic) int tabId; |
94 @property(readwrite, nonatomic) ExtensionAction* extensionAction; | 94 @property(readwrite, nonatomic) ExtensionAction* extensionAction; |
95 | 95 |
96 @end | 96 @end |
97 | 97 |
98 #endif // CHROME_BROWSER_COCOA_EXTENSIONS_BROWSER_ACTION_BUTTON_H_ | 98 #endif // CHROME_BROWSER_COCOA_EXTENSIONS_BROWSER_ACTION_BUTTON_H_ |
OLD | NEW |