| Index: chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h
|
| diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h b/chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h
|
| index a56bd8304aa2704b6efe614824acafab1e47eaeb..20ca5a63089c8fd98b44dac4782765b1e3057d0b 100644
|
| --- a/chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h
|
| +++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h
|
| @@ -41,6 +41,11 @@ class BookmarkNode;
|
| cellText:(NSString*)cellText
|
| cellImage:(NSImage*)cellImage;
|
|
|
| +// Create a button cell not attached to any node which draws with a theme.
|
| ++ (id)buttonCellForContextMenu:(NSMenu*)contextMenu
|
| + cellText:(NSString*)cellText
|
| + cellImage:(NSImage*)cellImage;
|
| +
|
| // Initialize a button cell which draws with a theme.
|
| // Designated initializer.
|
| - (id)initForNode:(const BookmarkNode*)node
|
| @@ -48,7 +53,15 @@ class BookmarkNode;
|
| cellText:(NSString*)cellText
|
| cellImage:(NSImage*)cellImage;
|
|
|
| -- (BOOL)empty; // returns YES if empty.
|
| +// Initialize a button cell not attached to any node which draws with a theme.
|
| +- (id)initForContextMenu:(NSMenu*)contextMenu
|
| + cellText:(NSString*)cellText
|
| + cellImage:(NSImage*)cellImage;
|
| +
|
| +// A button cell is considered empty if it is expected to be attached to a node
|
| +// and this node is NULL. If the button was created with
|
| +// buttonCellForContextMenu then no node is expecte and empty is always NO.
|
| +- (BOOL)empty;
|
| - (void)setEmpty:(BOOL)empty;
|
|
|
| // |-setBookmarkCellText:image:| is used to set the text and image of
|
|
|