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

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: Thread move loop source through api. 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 0e804f355a116e70aeecc3cb1e81222f50cb526b..ee724ccedde5ee3cc5fbd29f8fa4ad1a9d077fe5 100644
--- a/components/mus/ws/window_tree.h
+++ b/components/mus/ws/window_tree.h
@@ -405,6 +405,11 @@ class WindowTree : public mojom::WindowTree,
override;
void GetCursorLocationMemory(const GetCursorLocationMemoryCallback& callback)
override;
+ void PerformWindowMove(uint32_t change_id,
+ Id window_id,
+ ::mus::mojom::MoveLoopSource source,
+ const gfx::Point& cursor) override;
+ void CancelWindowMove(Id window_id) override;
// mojom::WindowManagerClient:
void AddAccelerator(uint32_t id,
@@ -427,6 +432,7 @@ 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, bool succeeded) override;
// AccessPolicyDelegate:
bool HasRootForAccessPolicy(const ServerWindow* window) const override;

Powered by Google App Engine
This is Rietveld 408576698