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

Unified Diff: ui/aura/mus/window_tree_host_mus.cc

Issue 2700913003: chromeos: add TODO for implementing MoveCursorToScreenLocationInPixels (Closed)
Patch Set: Created 3 years, 10 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 | « ui/aura/mus/window_tree_host_mus.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/window_tree_host_mus.cc
diff --git a/ui/aura/mus/window_tree_host_mus.cc b/ui/aura/mus/window_tree_host_mus.cc
index 6e15724504c3b9a78d7f25bad91b1e22199c74a7..fb04b99afc4f56c8c87b233ad0baf07e4d451be4 100644
--- a/ui/aura/mus/window_tree_host_mus.cc
+++ b/ui/aura/mus/window_tree_host_mus.cc
@@ -216,4 +216,13 @@ gfx::ICCProfile WindowTreeHostMus::GetICCProfileForCurrentDisplay() {
return gfx::ICCProfile();
}
+void WindowTreeHostMus::MoveCursorToScreenLocationInPixels(
+ const gfx::Point& location_in_pixels) {
+ // TODO: this needs to message the server http://crbug.com/693340. Setting
+ // the location is really only appropriate in tests, outside of tests this
+ // value is ignored.
+ NOTIMPLEMENTED();
+ Env::GetInstance()->set_last_mouse_location(location_in_pixels);
+}
+
} // namespace aura
« no previous file with comments | « ui/aura/mus/window_tree_host_mus.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698