summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/bookmark_button_cell.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/bookmark_button_cell.h')
-rw-r--r--chrome/browser/cocoa/bookmark_button_cell.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/bookmark_button_cell.h b/chrome/browser/cocoa/bookmark_button_cell.h
index 252ed08..f8ca25d 100644
--- a/chrome/browser/cocoa/bookmark_button_cell.h
+++ b/chrome/browser/cocoa/bookmark_button_cell.h
@@ -13,6 +13,11 @@
@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
+- (void)setBookmarkCellText:(NSString*)title
+ image:(NSImage*)image;
@end
#endif // CHROME_BROWSER_COCOA_BOOKMARK_BUTTON_CELL_H_