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

Unified Diff: chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc

Issue 10537047: Anchor the browser action popups to the correct widget on GTK. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc
diff --git a/chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc b/chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc
index 9c2e2aa78c7da58d1a4e47a86c29916d7025ce0c..c8d82b4eea3b05f21eebeacacad491d3969449de 100644
--- a/chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc
+++ b/chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc
@@ -307,14 +307,13 @@ class BrowserActionButton : public content::NotificationObserver,
ExtensionToolbarModel* model = action->toolbar_->model();
const Extension* extension = action->extension_;
Browser* browser = action->toolbar_->browser();
- GtkWidget* chevron = action->toolbar_->chevron();
GURL popup_url;
switch (model->ExecuteBrowserAction(extension, browser, &popup_url)) {
case ExtensionToolbarModel::ACTION_NONE:
break;
case ExtensionToolbarModel::ACTION_SHOW_POPUP:
- ExtensionPopupGtk::Show(popup_url, browser, chevron);
+ ExtensionPopupGtk::Show(popup_url, browser, widget);
break;
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698