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_delegate.h

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_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..f82a782912e7ef4e9276d2b95eb3e5eabdb90468 100644
--- a/ui/aura/mus/window_tree_host_mus_delegate.h
+++ b/ui/aura/mus/window_tree_host_mus_delegate.h
@@ -71,6 +71,10 @@ class AURA_EXPORT WindowTreeHostMusDelegate {
virtual void OnWindowTreeHostCancelWindowMove(
WindowTreeHostMus* window_tree_host) = 0;
+ // Called to move the location of the cursor.
+ virtual void OnWindowTreeHostMoveCursorToScreenLocationInPixels(
+ const gfx::Point& location_in_pixels) = 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