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

Unified Diff: chrome/browser/cocoa/bookmark_bar_controller.h

Issue 348017: Add the "Other bookmarks" button on the right of the bookmark bar.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
« no previous file with comments | « chrome/browser/cocoa/bookmark_bar_constants.h ('k') | chrome/browser/cocoa/bookmark_bar_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/bookmark_bar_controller.h
===================================================================
--- chrome/browser/cocoa/bookmark_bar_controller.h (revision 30216)
+++ chrome/browser/cocoa/bookmark_bar_controller.h (working copy)
@@ -95,8 +95,11 @@
scoped_ptr<TabStripModelObserverBridge> tabObserver_;
IBOutlet BookmarkBarView* buttonView_;
- IBOutlet MenuButton* offTheSideButton_;
+ IBOutlet MenuButton* offTheSideButton_; // aka the chevron
IBOutlet NSMenu* buttonContextMenu_;
+
+ // "Other bookmarks" button on the right side.
+ scoped_nsobject<NSButton> otherBookmarksButton_;
}
// Initializes the bookmark bar controller with the given browser
@@ -184,6 +187,7 @@
@interface BookmarkBarController(InternalOrTestingAPI)
// Set the delegate for a unit test.
- (void)setUrlDelegate:(id<BookmarkURLOpener>)urlDelegate;
+- (NSCell*)cellForBookmarkNode:(const BookmarkNode*)node;
- (void)clearBookmarkBar;
- (BookmarkBarView*)buttonView;
- (NSArray*)buttons;
@@ -196,6 +200,8 @@
- (int32)menuTagFromNodeId:(int64)menuid;
- (void)buildOffTheSideMenu;
- (NSMenu*)offTheSideMenu;
+- (NSButton*)offTheSideButton;
+- (NSButton*)otherBookmarksButton;
@end
#endif // CHROME_BROWSER_COCOA_BOOKMARK_BAR_CONTROLLER_H_
« no previous file with comments | « chrome/browser/cocoa/bookmark_bar_constants.h ('k') | chrome/browser/cocoa/bookmark_bar_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698