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

Unified Diff: ui/aura/mus/window_tree_host_mus.cc

Issue 2582823002: WIP: Surface Synchronization System
Patch Set: Only create ClientSurfaceEmbedder if window is visible. Trash it otherwise. Created 3 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
Index: ui/aura/mus/window_tree_host_mus.cc
diff --git a/ui/aura/mus/window_tree_host_mus.cc b/ui/aura/mus/window_tree_host_mus.cc
index 2f5497cb1b7a68d6949bd5916cff16571617b8c9..d1607bdd0fc95bcfc94b19230d967c9a66174d74 100644
--- a/ui/aura/mus/window_tree_host_mus.cc
+++ b/ui/aura/mus/window_tree_host_mus.cc
@@ -49,6 +49,8 @@ WindowTreeHostMus::WindowTreeHostMus(
// TODO(sky): find a cleaner way to set this! Better solution is to likely
// have constructor take aura::Window.
WindowPortMus::Get(window())->window_ = window();
+ fprintf(stderr, ">>>WindowTreeHostMus server_id: %d window_type: %d\n",
+ WindowPortMus::Get(window())->server_id(), window()->type());
if (properties) {
// Apply the properties before initializing the window, that way the
// server seems them at the time the window is created.

Powered by Google App Engine
This is Rietveld 408576698