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

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

Issue 7787001: Makes bookmark bar view reset PageNavigator on menu when PageNavigator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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_bar_view.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_bar_view.h
diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h
index 44aa56184c14305a5d525433315207904bc93b37..57493164cfa8c7c35cd11d62378af0af39f88ff2 100644
--- a/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h
+++ b/chrome/browser/ui/views/bookmarks/bookmark_bar_view.h
@@ -25,6 +25,7 @@
#include "views/controls/menu/view_menu_delegate.h"
#include "views/drag_controller.h"
+class BookmarkContextMenu;
class Browser;
class PageNavigator;
class PrefService;
@@ -374,6 +375,10 @@ class BookmarkBarView : public DetachableToolbarView,
// contents of the node.
BookmarkMenuController* bookmark_drop_menu_;
+ // If non-NULL we're showing a context menu for one of the items on the
+ // bookmark bar.
+ scoped_ptr<BookmarkContextMenu> context_menu_;
+
// Shows the other bookmark entries.
views::MenuButton* other_bookmarked_button_;
« no previous file with comments | « no previous file | chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698