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

Unified Diff: chrome/browser/automation/ui_controls_aurawin.cc

Issue 8771015: Rename Desktop->RootWindow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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 | chrome/browser/automation/ui_controls_aurax11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/ui_controls_aurawin.cc
===================================================================
--- chrome/browser/automation/ui_controls_aurawin.cc (revision 113260)
+++ chrome/browser/automation/ui_controls_aurawin.cc (working copy)
@@ -7,7 +7,7 @@
#include "base/logging.h"
#include "base/message_loop.h"
#include "chrome/browser/automation/ui_controls_internal.h"
-#include "ui/aura/desktop.h"
+#include "ui/aura/root_window.h"
#include "ui/views/view.h"
namespace ui_controls {
@@ -35,13 +35,13 @@
bool SendMouseMove(long x, long y) {
gfx::Point point(x, y);
- aura::Desktop::GetInstance()->ConvertPointToNativeScreen(&point);
+ aura::RootWindow::GetInstance()->ConvertPointToNativeScreen(&point);
return internal::SendMouseMoveImpl(point.x(), point.y(), base::Closure());
}
bool SendMouseMoveNotifyWhenDone(long x, long y, const base::Closure& task) {
gfx::Point point(x, y);
- aura::Desktop::GetInstance()->ConvertPointToNativeScreen(&point);
+ aura::RootWindow::GetInstance()->ConvertPointToNativeScreen(&point);
return internal::SendMouseMoveImpl(point.x(), point.y(), task);
}
« no previous file with comments | « no previous file | chrome/browser/automation/ui_controls_aurax11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698