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

Unified Diff: services/ui/ws/window_manager_state.cc

Issue 2694213003: mash: wires up shadows for mash (Closed)
Patch Set: cleanup Created 3 years, 10 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: services/ui/ws/window_manager_state.cc
diff --git a/services/ui/ws/window_manager_state.cc b/services/ui/ws/window_manager_state.cc
index 76c5684e6110498d51a7509a25e4321dfa7fd6cb..38093d0ca261ba26cd83877a9317b12965f6fc85 100644
--- a/services/ui/ws/window_manager_state.cc
+++ b/services/ui/ws/window_manager_state.cc
@@ -487,6 +487,9 @@ void WindowManagerState::HandleDebugAccelerator(DebugAcceleratorType type) {
<< display_root->root()->GetDebugWindowHierarchy();
}
}
+ ServerWindow* focused_window = GetFocusedWindowForEventDispatcher();
+ LOG(ERROR) << "focus="
msw 2017/02/15 01:37:29 optional nit: "Focused window: "? (to match format
sky 2017/02/15 03:58:24 Done.
+ << (focused_window ? focused_window->id().ToString() : "(null)");
#endif
}

Powered by Google App Engine
This is Rietveld 408576698