Chromium Code Reviews| 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 |
| } |