diff options
author | jrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-20 22:33:14 +0000 |
---|---|---|
committer | jrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-20 22:33:14 +0000 |
commit | 60123ad4520e5561950d5cc949e1a0451abd4dcc (patch) | |
tree | 68035b12a4d0b9b975e87b871c0bd95f083391b0 /chrome/browser/cocoa/bookmark_button_cell.h | |
parent | 6e948a40ee9134cfba48eb6d007378a4f4c11a8d (diff) | |
download | chromium_src-60123ad4520e5561950d5cc949e1a0451abd4dcc.zip chromium_src-60123ad4520e5561950d5cc949e1a0451abd4dcc.tar.gz chromium_src-60123ad4520e5561950d5cc949e1a0451abd4dcc.tar.bz2 |
Apply theme color to bookmark button text.
BUG=http://crbug.com/17608
TEST=Add some bookmarks (you must use both folders and marks). Apply
a theme and make sure theme color applies bookmark button text for all
buttons (including "Other bookmarks"). Create new window and make
sure bookmark buttons still fine in new window. Quit and restart
Chrome. Make sure theme color still applied to bookmark button text
in the same way as before quitting (e.g. same color and still applies
to all). Change theme 1 more time and verify color.
Review URL: http://codereview.chromium.org/424004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32690 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/bookmark_button_cell.h')
-rw-r--r-- | chrome/browser/cocoa/bookmark_button_cell.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/chrome/browser/cocoa/bookmark_button_cell.h b/chrome/browser/cocoa/bookmark_button_cell.h index f8ca25d..89d461b 100644 --- a/chrome/browser/cocoa/bookmark_button_cell.h +++ b/chrome/browser/cocoa/bookmark_button_cell.h @@ -13,11 +13,16 @@ @interface BookmarkButtonCell : GradientButtonCell<NSMenuDelegate> { } -// |-setBookmarkCellText:image:| is used to set the text and image -// of a BookmarkButtonCell, and align the image to the left (NSImageLeft) -// if there is text in the title, and centered (NSImageCenter) if there is +// |-setBookmarkCellText:image:| is used to set the text and image of +// a BookmarkButtonCell, and align the image to the left (NSImageLeft) +// if there is text in the title, and centered (NSImageCenter) if +// there is not. If |title| is nil, do not reset the title. - (void)setBookmarkCellText:(NSString*)title image:(NSImage*)image; + +// Set the color of text in this cell. +- (void)setTextColor:(NSColor*)color; + @end #endif // CHROME_BROWSER_COCOA_BOOKMARK_BUTTON_CELL_H_ |