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

Unified Diff: components/mus/ws/window_server.cc

Issue 2060513002: Tab dragging as implemented as a mus API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use not not pattern to fix win compile 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_server.cc
diff --git a/components/mus/ws/window_server.cc b/components/mus/ws/window_server.cc
index fb6382f70af6b419a8609bba214aaa10a441d3d5..54d413a2def06cf4f3695a48254dc57d7b014a62 100644
--- a/components/mus/ws/window_server.cc
+++ b/components/mus/ws/window_server.cc
@@ -312,6 +312,24 @@ void WindowServer::WindowManagerCreatedTopLevelWindow(
change.client_change_id, window);
}
+void WindowServer::WindowManagerCompletedMoveLoop(
+ uint32_t window_manager_change_id,
+ const ServerWindow* window,
+ bool completed) {
+ InFlightWindowManagerChange change;
+ if (!GetAndClearInFlightWindowManagerChange(window_manager_change_id,
+ &change)) {
+ return;
+ }
+ if (!window) {
+ WindowManagerSentBogusMessage();
+ return;
+ }
+
+ WindowTree* tree = GetTreeWithId(change.client_id);
+ tree->OnMoveLoopCompleted(change.client_change_id, completed);
+}
+
void WindowServer::ProcessWindowBoundsChanged(const ServerWindow* window,
const gfx::Rect& old_bounds,
const gfx::Rect& new_bounds) {

Powered by Google App Engine
This is Rietveld 408576698