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

Unified Diff: services/ui/public/interfaces/window_manager.mojom

Issue 2060513002: Tab dragging as implemented as a mus API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dcheng nits Created 4 years, 5 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: services/ui/public/interfaces/window_manager.mojom
diff --git a/services/ui/public/interfaces/window_manager.mojom b/services/ui/public/interfaces/window_manager.mojom
index 9b40319724451df64db5805bfb9afc2a61e787a2..66dd5069b9a2ebe9aa83e0d57048b8104aff2d76 100644
--- a/services/ui/public/interfaces/window_manager.mojom
+++ b/services/ui/public/interfaces/window_manager.mojom
@@ -83,6 +83,16 @@ interface WindowManager {
// can update the UI for the janky windows.
WmClientJankinessChanged(uint16 client_id, bool janky);
+ // Asks the WindowManager to interactively move the window. This will return
+ // whether this completed successfully or not through the client's
+ // OnWmMoveLoopCompleted().
+ WmPerformMoveLoop(uint32 change_id, uint32 window_id,
+ MoveLoopSource source,
+ gfx.mojom.Point cursor_location);
+
+ // Asks the WindowManager to cancel any outstanding move loop on |change_id|.
+ WmCancelMoveLoop(uint32 change_id);
+
// An accelerator registered via AddAccelerator() has been triggered.
OnAccelerator(uint32 id, ui.mojom.Event event);
};
« no previous file with comments | « services/ui/public/cpp/window_tree_client.h ('k') | services/ui/public/interfaces/window_manager_constants.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698