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 e9cc01236abdf5e91fb5c48a5dd8893a4d72272a..4ebee07a6cd743b45ccb3b2d6f1fab0822602fab 100644 |
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h |
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h |
@@ -19,11 +19,23 @@ class BookmarkNode; |
@private |
BOOL empty_; // is this an "empty" button placeholder button cell? |
+ // Starting index of bookmarkFolder children that we care to use. |
+ int startingChildIndex_; |
+ |
+ // Should we draw the folder arrow as needed? Not used for the bar |
+ // itself but used on the folder windows. |
+ BOOL drawFolderArrow_; |
+ |
+ // Arrow for folders |
+ scoped_nsobject<NSImage> arrowImage_; |
+ |
// Text color for title. |
scoped_nsobject<NSColor> textColor_; |
} |
@property(nonatomic, readwrite, assign) const BookmarkNode* bookmarkNode; |
+@property(nonatomic, readwrite, assign) int startingChildIndex; |
+@property(nonatomic, readwrite, assign) BOOL drawFolderArrow; |
// Create a button cell which draws with a theme. |
+ (id)buttonCellForNode:(const BookmarkNode*)node |
@@ -51,6 +63,8 @@ class BookmarkNode; |
// Set the color of text in this cell. |
- (void)setTextColor:(NSColor*)color; |
+- (BOOL)isFolderButtonCell; |
+ |
@end |
#endif // CHROME_BROWSER_UI_COCOA_BOOKMARKS_BOOKMARK_BUTTON_CELL_H_ |