Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5790)

Unified Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h

Issue 865163003: bookmarks: Move BookmarkNode into 'bookmarks' namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enhanced_bookmarks fix Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698