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

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

Issue 2918553003: Implement a MoveCursorToScreenLocation for just the window manager. (Closed)
Patch Set: Created 3 years, 7 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
Index: ui/aura/mus/window_tree_client.cc
diff --git a/ui/aura/mus/window_tree_client.cc b/ui/aura/mus/window_tree_client.cc
index 6bb5e41fc0dc6f3f97a04fe27b4ef6f500e91f6e..a5a1f580b39f609ec0c53c6ce69d3495924c9a35 100644
--- a/ui/aura/mus/window_tree_client.cc
+++ b/ui/aura/mus/window_tree_client.cc
@@ -1970,6 +1970,15 @@ void WindowTreeClient::OnWindowTreeHostCancelWindowMove(
WindowMus::Get(window_tree_host->window())->server_id());
}
+void WindowTreeClient::OnWindowTreeHostMoveCursorToScreenLocationInPixels(
+ const gfx::Point& location_in_pixels) {
+ DCHECK(window_manager_client_);
+ if (window_manager_client_) {
+ window_manager_client_->WmMoveCursorToScreenLocationInPixels(
+ location_in_pixels);
+ }
+}
+
std::unique_ptr<WindowPortMus> WindowTreeClient::CreateWindowPortForTopLevel(
const std::map<std::string, std::vector<uint8_t>>* properties) {
std::unique_ptr<WindowPortMus> window_port =

Powered by Google App Engine
This is Rietveld 408576698