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

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

Issue 23522055: [Mac] Show context menu on empty BMB item. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 3 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_context_menu_cocoa_controller.h
===================================================================
--- chrome/browser/ui/cocoa/bookmarks/bookmark_context_menu_cocoa_controller.h (revision 222257)
+++ chrome/browser/ui/cocoa/bookmarks/bookmark_context_menu_cocoa_controller.h (working copy)
@@ -51,9 +51,12 @@
// Returns an NSMenu customized for |node|. Works under the assumption that
// only one menu should ever be shown at a time, and thus caches the last
// returned menu and re-creates it if a menu for a different node is requested.
-// Passing in a NULL |node| will return the menu for the bookmark bar itself.
+// Passing in a NULL |node| will return the menu for "empty" placeholder.
- (NSMenu*)menuForBookmarkNode:(const BookmarkNode*)node;
+// Returns an NSMenu customized for the bookmark bar.
+- (NSMenu*)menuForBookmarkBar;
+
// Closes the menu, if it's currently open.
- (void)cancelTracking;

Powered by Google App Engine
This is Rietveld 408576698