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

Unified Diff: chrome/browser/ui/views/bookmarks/bookmark_context_menu.h

Issue 7076027: Couple more wrench menu issues. The patch I sent around a couple of (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Makes unit test compile Created 9 years, 7 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/views/bookmarks/bookmark_context_menu.h
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_context_menu.h b/chrome/browser/ui/views/bookmarks/bookmark_context_menu.h
index e9f068813e500833eb16fb332cd67a19f52270d5..5fb95c504fca55b3cd45ed0f1d6dfe600bf8ced2 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_context_menu.h
+++ b/chrome/browser/ui/views/bookmarks/bookmark_context_menu.h
@@ -31,7 +31,8 @@ class BookmarkContextMenu : public BookmarkContextMenuControllerViewsDelegate,
Profile* profile,
PageNavigator* page_navigator,
const BookmarkNode* parent,
- const std::vector<const BookmarkNode*>& selection);
+ const std::vector<const BookmarkNode*>& selection,
+ bool close_on_remove);
virtual ~BookmarkContextMenu();
// Shows the context menu at the specified point.
@@ -72,6 +73,9 @@ class BookmarkContextMenu : public BookmarkContextMenuControllerViewsDelegate,
BookmarkContextMenuObserver* observer_;
+ // Should the menu close when a node is removed.
+ bool close_on_remove_;
+
DISALLOW_COPY_AND_ASSIGN(BookmarkContextMenu);
};
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc ('k') | chrome/browser/ui/views/bookmarks/bookmark_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698