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

Unified Diff: components/mus/ws/window_manager_state.h

Issue 1953193002: mus: Add debug key to print the server window hierarchy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: components/mus/ws/window_manager_state.h
diff --git a/components/mus/ws/window_manager_state.h b/components/mus/ws/window_manager_state.h
index 8f967343c5eb9a9fc8653e68d87e1ddee974508f..ad0628f817cd69e84c8a1d6db4a2fbc0319f49af 100644
--- a/components/mus/ws/window_manager_state.h
+++ b/components/mus/ws/window_manager_state.h
@@ -153,6 +153,9 @@ class WindowManagerState : public EventDispatcherDelegate {
const ui::Event& event,
base::WeakPtr<Accelerator> accelerator);
+ // Handles debugging shortcuts in debug builds. The events are not consumed.
+ void RunDebugShortcuts(const ui::Event& event);
+
// EventDispatcherDelegate:
void OnAccelerator(uint32_t accelerator_id, const ui::Event& event) override;
void SetFocusedWindowFromEventDispatcher(ServerWindow* window) override;

Powered by Google App Engine
This is Rietveld 408576698