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

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

Issue 2918553003: Implement a MoveCursorToScreenLocation for just the window manager. (Closed)
Patch Set: Thread to the PlatformWindow. 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 89481a1e81c78697e05993ded5a0e68043baa271..7987464f08c0e20be407a84556ff5bc1846abe0f 100644
--- a/ui/aura/mus/window_tree_client.cc
+++ b/ui/aura/mus/window_tree_client.cc
@@ -2000,6 +2000,16 @@ void WindowTreeClient::OnWindowTreeHostCancelWindowMove(
WindowMus::Get(window_tree_host->window())->server_id());
}
+void WindowTreeClient::OnWindowTreeHostMoveCursorToDisplayLocation(
+ const gfx::Point& location_in_pixels,
+ int64_t display_id) {
+ DCHECK(window_manager_client_);
+ if (window_manager_client_) {
+ window_manager_client_->WmMoveCursorToDisplayLocation(location_in_pixels,
+ display_id);
+ }
+}
+
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