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

Unified Diff: ui/views/mus/desktop_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/views/mus/desktop_window_tree_host_mus.cc
diff --git a/ui/views/mus/desktop_window_tree_host_mus.cc b/ui/views/mus/desktop_window_tree_host_mus.cc
index 3dc3c368fceae94bfc548359e6ab2c908d0c8b89..33ea7b150b55f7ee48d27a7a508346909db00c7b 100644
--- a/ui/views/mus/desktop_window_tree_host_mus.cc
+++ b/ui/views/mus/desktop_window_tree_host_mus.cc
@@ -701,6 +701,12 @@ void DesktopWindowTreeHostMus::HideImpl() {
void DesktopWindowTreeHostMus::SetBoundsInPixels(
const gfx::Rect& bounds_in_pixels) {
+ fprintf(
+ stderr,
+ ">>>[%d] DesktopWindowTreeHostMus::SetBoundsInPixels(%d, %d, %d, %d)\n",
+ aura::WindowPortMus::Get(window())->server_id(), bounds_in_pixels.x(),
+ bounds_in_pixels.y(), bounds_in_pixels.width(),
+ bounds_in_pixels.height());
gfx::Rect final_bounds_in_pixels = bounds_in_pixels;
if (GetBoundsInPixels().size() != bounds_in_pixels.size()) {
gfx::Size size = bounds_in_pixels.size();

Powered by Google App Engine
This is Rietveld 408576698