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

Unified Diff: chrome/browser/ui/cocoa/extensions/browser_action_button.h

Issue 10806058: Move icon fallbacks into ExtensionAction. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move the icon cache inside ExtensionAction. Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/extensions/browser_action_button.h
diff --git a/chrome/browser/ui/cocoa/extensions/browser_action_button.h b/chrome/browser/ui/cocoa/extensions/browser_action_button.h
index 6a4d413c69970090bc504765f099256041618ffc..513556eb47cf89f00584fde28af86d91b3deaedd 100644
--- a/chrome/browser/ui/cocoa/extensions/browser_action_button.h
+++ b/chrome/browser/ui/cocoa/extensions/browser_action_button.h
@@ -30,12 +30,6 @@ extern NSString* const kBrowserActionButtonDragEndNotification;
// extension's icon.
scoped_ptr<ExtensionImageTrackerBridge> imageLoadingBridge_;
- // The default icon of the Button.
- scoped_nsobject<NSImage> defaultIcon_;
-
- // The icon specific to the active tab.
- scoped_nsobject<NSImage> tabSpecificIcon_;
-
// Used to move the button and query whether a button is currently animating.
scoped_nsobject<NSViewAnimation> moveAnimation_;
@@ -61,10 +55,6 @@ extern NSString* const kBrowserActionButtonDragEndNotification;
- (void)setFrame:(NSRect)frameRect animate:(BOOL)animate;
-- (void)setDefaultIcon:(NSImage*)image;
-
-- (void)setTabSpecificIcon:(NSImage*)image;
-
- (void)updateState;
- (BOOL)isAnimating;

Powered by Google App Engine
This is Rietveld 408576698