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

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

Issue 9390038: Move automation/ui_controls to ui/ui_controls (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win_aura fix, sync Created 8 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 | « chrome/browser/ui/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/gtk/download/download_shelf_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/confirm_bubble_view.cc
diff --git a/chrome/browser/ui/gtk/confirm_bubble_view.cc b/chrome/browser/ui/gtk/confirm_bubble_view.cc
index ebbfc54aae0d65cc0e8aae32ee46caedd52fec2c..60d8d5c3c4cd90f9c93d684cbb227645d299b07d 100644
--- a/chrome/browser/ui/gtk/confirm_bubble_view.cc
+++ b/chrome/browser/ui/gtk/confirm_bubble_view.cc
@@ -17,6 +17,7 @@
#include "chrome/browser/ui/gtk/theme_service_gtk.h"
#include "grit/theme_resources.h"
#include "ui/base/gtk/gtk_hig_constants.h"
+#include "ui/base/gtk/gtk_screen_util.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/image/image.h"
@@ -136,7 +137,7 @@ void ConfirmBubbleView::Show() {
}
// Show a bubble consisting of the above widgets under the anchor point.
- gfx::Rect rect = gtk_util::GetWidgetScreenBounds(anchor_);
+ gfx::Rect rect = ui::GetWidgetScreenBounds(anchor_);
rect.set_x(anchor_point_.x() - rect.x());
rect.set_y(anchor_point_.y() - rect.y());
rect.set_width(0);
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/gtk/download/download_shelf_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698