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

Unified Diff: components/mus/ws/window_tree.h

Issue 2060513002: Tab dragging as implemented as a mus API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: General patch cleanup. Created 4 years, 6 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: components/mus/ws/window_tree.h
diff --git a/components/mus/ws/window_tree.h b/components/mus/ws/window_tree.h
index 64a1c349317712953c4b4aa39d61ccee93e4d086..5dec3ae6813ed12df4bab30d3659001a49cbc273 100644
--- a/components/mus/ws/window_tree.h
+++ b/components/mus/ws/window_tree.h
@@ -166,6 +166,7 @@ class WindowTree : public mojom::WindowTree,
void OnWindowManagerCreatedTopLevelWindow(uint32_t wm_change_id,
uint32_t client_change_id,
const ServerWindow* window);
+ void OnMoveLoopCompleted(uint32_t client_change_id, bool completed);
void AddActivationParent(const ClientWindowId& window_id);
// Calls through to the client.
@@ -397,6 +398,10 @@ class WindowTree : public mojom::WindowTree,
override;
void GetCursorLocationMemory(const GetCursorLocationMemoryCallback& callback)
override;
+ void PerformWindowMove(uint32_t change_id,
+ Id window_id,
+ const gfx::Point& cursor) override;
+ void CancelWindowMove(Id window_id) override;
// mojom::WindowManagerClient:
void AddAccelerator(uint32_t id,
@@ -419,6 +424,9 @@ class WindowTree : public mojom::WindowTree,
mojom::Cursor cursor_id) override;
void OnWmCreatedTopLevelWindow(uint32_t change_id,
Id transport_window_id) override;
+ void OnWmMoveLoopCompleted(uint32_t change_id,
+ Id transport_window_id,
+ bool succeeded) override;
// AccessPolicyDelegate:
bool HasRootForAccessPolicy(const ServerWindow* window) const override;

Powered by Google App Engine
This is Rietveld 408576698