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

Unified Diff: chrome/browser/gtk/bookmark_menu_controller_gtk.h

Issue 200029: Make the bookmark toolbar folders act like a menu bar.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: lint Created 11 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/gtk/bookmark_menu_controller_gtk.h
===================================================================
--- chrome/browser/gtk/bookmark_menu_controller_gtk.h (revision 25344)
+++ chrome/browser/gtk/bookmark_menu_controller_gtk.h (working copy)
@@ -35,6 +35,8 @@
bool show_other_folder);
virtual ~BookmarkMenuController();
+ GtkWidget* widget() { return menu_; }
+
// Pops up the menu. |widget| must be a GtkChromeButton.
void Popup(GtkWidget* widget, gint button_type, guint32 timestamp);
@@ -104,7 +106,7 @@
// all sorts of weird non-standard things with this menu, like:
// - The menu is a drag target
// - The menu items have context menus.
- OwnedWidgetGtk menu_;
+ GtkWidget* menu_;
// Whether we should ignore the next button release event (because we were
// dragging).

Powered by Google App Engine
This is Rietveld 408576698