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 0a4b7daa3ec895806fe8d16d1246e90cf8983955..9144e0b261b079fc5bd9da582f98bb18001dcf5e 100644 |
--- a/chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h |
+++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h |
@@ -8,7 +8,10 @@ |
#import "chrome/browser/ui/cocoa/gradient_button_cell.h" |
@class BookmarkContextMenuCocoaController; |
+ |
+namespace bookmarks { |
class BookmarkNode; |
+} |
// A button cell that handles drawing/highlighting of buttons in the |
// bookmark bar. This cell forwards mouseEntered/mouseExited events |
@@ -36,12 +39,13 @@ class BookmarkNode; |
base::scoped_nsobject<NSColor> textColor_; |
} |
-@property(nonatomic, readwrite, assign) const BookmarkNode* bookmarkNode; |
+@property(nonatomic, readwrite, assign) |
+ const bookmarks::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 |
++ (id)buttonCellForNode:(const bookmarks::BookmarkNode*)node |
text:(NSString*)text |
image:(NSImage*)image |
menuController:(BookmarkContextMenuCocoaController*)menuController; |
@@ -53,10 +57,10 @@ class BookmarkNode; |
// Initialize a button cell which draws with a theme. |
// Designated initializer. |
-- (id)initForNode:(const BookmarkNode*)node |
- text:(NSString*)text |
- image:(NSImage*)image |
- menuController:(BookmarkContextMenuCocoaController*)menuController; |
+- (id)initForNode:(const bookmarks::BookmarkNode*)node |
+ text:(NSString*)text |
+ image:(NSImage*)image |
+ menuController:(BookmarkContextMenuCocoaController*)menuController; |
// Initialize a button cell not attached to any node which draws with a theme. |
- (id)initWithText:(NSString*)text |