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

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

Issue 115831: Converts a bunch things from NativeWindow to NativeView to make it... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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
« no previous file with comments | « chrome/browser/gtk/bookmark_editor_gtk.cc ('k') | chrome/browser/input_window_dialog.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/bookmark_menu_controller_gtk.cc
===================================================================
--- chrome/browser/gtk/bookmark_menu_controller_gtk.cc (revision 17017)
+++ chrome/browser/gtk/bookmark_menu_controller_gtk.cc (working copy)
@@ -150,8 +150,7 @@
nodes.push_back(node);
controller->context_menu_.reset(
new BookmarkContextMenu(
- GTK_WINDOW(gtk_widget_get_toplevel(sender)),
- controller->profile_, controller->browser_,
+ sender, controller->profile_, controller->browser_,
controller->page_navigator_, parent, nodes,
BookmarkContextMenu::BOOKMARK_BAR));
controller->context_menu_->PopupAsContext(event->time);
« no previous file with comments | « chrome/browser/gtk/bookmark_editor_gtk.cc ('k') | chrome/browser/input_window_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698