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

Unified Diff: chrome/browser/automation/testing_automation_provider_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/automation/testing_automation_provider.cc ('k') | chrome/browser/automation/ui_controls.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/testing_automation_provider_gtk.cc
diff --git a/chrome/browser/automation/testing_automation_provider_gtk.cc b/chrome/browser/automation/testing_automation_provider_gtk.cc
index 6263a968222b053f220218367105ff65200d6fe4..3eba5e98528928b43aca1a6399d8b7058a0444f8 100644
--- a/chrome/browser/automation/testing_automation_provider_gtk.cc
+++ b/chrome/browser/automation/testing_automation_provider_gtk.cc
@@ -9,8 +9,8 @@
#include "base/logging.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/automation/automation_window_tracker.h"
-#include "chrome/browser/ui/gtk/gtk_util.h"
#include "chrome/browser/ui/gtk/view_id_util.h"
+#include "ui/base/gtk/gtk_screen_util.h"
void TestingAutomationProvider::ActivateWindow(int handle) {
NOTIMPLEMENTED();
@@ -49,7 +49,7 @@ void TestingAutomationProvider::WindowGetViewBounds(int handle,
*bounds = gfx::Rect(allocation.width, allocation.height);
gint x, y;
if (screen_coordinates) {
- gfx::Point point = gtk_util::GetWidgetScreenPosition(widget);
+ gfx::Point point = ui::GetWidgetScreenPosition(widget);
x = point.x();
y = point.y();
} else {
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.cc ('k') | chrome/browser/automation/ui_controls.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698