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

Unified Diff: chrome/browser/ui/gtk/download/download_shelf_gtk.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/confirm_bubble_view.cc ('k') | chrome/browser/ui/gtk/gtk_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/download/download_shelf_gtk.cc
diff --git a/chrome/browser/ui/gtk/download/download_shelf_gtk.cc b/chrome/browser/ui/gtk/download/download_shelf_gtk.cc
index 63cc302cbffbf373b83ee531b26cf2bcfb5d4b05..f2c637ed47214c7d407589da272f2fcb9cec72f1 100644
--- a/chrome/browser/ui/gtk/download/download_shelf_gtk.cc
+++ b/chrome/browser/ui/gtk/download/download_shelf_gtk.cc
@@ -24,6 +24,7 @@
#include "grit/theme_resources.h"
#include "grit/theme_resources_standard.h"
#include "grit/ui_resources_standard.h"
+#include "ui/base/gtk/gtk_screen_util.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/gtk_util.h"
@@ -372,7 +373,7 @@ bool DownloadShelfGtk::IsCursorInShelfZone(
GtkAllocation allocation;
gtk_widget_get_allocation(shelf_.get(), &allocation);
- gfx::Rect bounds(gtk_util::GetWidgetScreenPosition(shelf_.get()),
+ gfx::Rect bounds(ui::GetWidgetScreenPosition(shelf_.get()),
gfx::Size(allocation.width, allocation.height));
// Negative insets expand the rectangle. We only expand the top.
« no previous file with comments | « chrome/browser/ui/gtk/confirm_bubble_view.cc ('k') | chrome/browser/ui/gtk/gtk_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698