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

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

Issue 1568263003: Changes top level window creation to include window state in callback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gn Created 4 years, 11 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
« no previous file with comments | « components/mus/ws/window_tree_apptest.cc ('k') | components/mus/ws/window_tree_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/window_tree_impl.cc
diff --git a/components/mus/ws/window_tree_impl.cc b/components/mus/ws/window_tree_impl.cc
index 9bf699d8aa22759efe5d5d843e56ff726b2d36c6..99d9e4aa662e19d8ba0ba2b3d09e5e157bae9cfa 100644
--- a/components/mus/ws/window_tree_impl.cc
+++ b/components/mus/ws/window_tree_impl.cc
@@ -272,7 +272,7 @@ void WindowTreeImpl::OnWindowManagerCreatedTopLevelWindow(
const ServerWindow* window = GetWindow(window_id);
roots_.insert(window);
GetUnknownWindowsFrom(window, &unused);
- client_->OnChangeCompleted(client_change_id, true);
+ client_->OnTopLevelCreated(client_change_id, WindowToWindowData(window));
}
WindowId WindowTreeImpl::MapWindowIdFromClient(const WindowId& id) const {
« no previous file with comments | « components/mus/ws/window_tree_apptest.cc ('k') | components/mus/ws/window_tree_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698