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

Unified Diff: ui/aura/mus/window_tree_host_mus_delegate.h

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_host_mus_delegate.h
diff --git a/ui/aura/mus/window_tree_host_mus_delegate.h b/ui/aura/mus/window_tree_host_mus_delegate.h
index b93c65980951e2b6b3572456c1db2067ab81d747..4ea7c2bf60c3776f489d83164338a6f5a8b302b8 100644
--- a/ui/aura/mus/window_tree_host_mus_delegate.h
+++ b/ui/aura/mus/window_tree_host_mus_delegate.h
@@ -71,6 +71,11 @@ class AURA_EXPORT WindowTreeHostMusDelegate {
virtual void OnWindowTreeHostCancelWindowMove(
WindowTreeHostMus* window_tree_host) = 0;
+ // Called to move the location of the cursor.
+ virtual void OnWindowTreeHostMoveCursorToDisplayLocation(
+ const gfx::Point& location_in_pixels,
+ int64_t display_id) = 0;
+
// Called when a WindowTreeHostMus is created without a WindowPort.
// TODO: this should take an unordered_map, see http://crbug.com/670515.
virtual std::unique_ptr<WindowPortMus> CreateWindowPortForTopLevel(

Powered by Google App Engine
This is Rietveld 408576698