Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(402)

Side by Side Diff: chrome/browser/cocoa/extensions/browser_action_button.h

Issue 1762012: Mac: Remove ToolbarButtonCell (and associated files). (Closed)
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/app/nibs/Toolbar.xib ('k') | chrome/browser/cocoa/toolbar_button_cell.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/app/nibs/Toolbar.xib ('k') | chrome/browser/cocoa/toolbar_button_cell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698