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

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

Issue 6798006: Makes the other bookmark folder menu close if you delete the last item (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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 | « no previous file | chrome/browser/ui/views/bookmarks/bookmark_context_menu.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 81463aa36526665fed1efd349afa337626ca1d89..e9f068813e500833eb16fb332cd67a19f52270d5 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_context_menu.h
+++ b/chrome/browser/ui/views/bookmarks/bookmark_context_menu.h
@@ -67,6 +67,9 @@ class BookmarkContextMenu : public BookmarkContextMenuControllerViewsDelegate,
// The menu itself.
scoped_ptr<views::MenuItemView> menu_;
+ // The node we're showing the menu for.
+ const BookmarkNode* parent_node_;
+
BookmarkContextMenuObserver* observer_;
DISALLOW_COPY_AND_ASSIGN(BookmarkContextMenu);
« no previous file with comments | « no previous file | chrome/browser/ui/views/bookmarks/bookmark_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698