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

Unified Diff: chrome/browser/cocoa/gradient_button_cell.h

Issue 155851: Add theme support for the yellow star on the Mac.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « chrome/app/theme/starred.pdf ('k') | chrome/browser/cocoa/gradient_button_cell.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/gradient_button_cell.h
===================================================================
--- chrome/browser/cocoa/gradient_button_cell.h (revision 21106)
+++ chrome/browser/cocoa/gradient_button_cell.h (working copy)
@@ -30,9 +30,17 @@
BOOL isMouseInside_;
scoped_nsobject<NSTrackingArea> trackingArea_;
BOOL shouldTheme_;
+
+ scoped_nsobject<NSImage> underlayImage_;
}
+
// Turn off theming. Temporary work-around.
- (void)setShouldTheme:(BOOL)shouldTheme;
+
+// An image to underlay beneath the existing image; not themed. May be nil.
+- (NSImage*)underlayImage;
+- (void)setUnderlayImage:(NSImage*)image;
+
@end
@interface GradientButtonCell(TestingAPI)
« no previous file with comments | « chrome/app/theme/starred.pdf ('k') | chrome/browser/cocoa/gradient_button_cell.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698