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

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: uint32 for win 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
« no previous file with comments | « components/mus/ws/server_window.cc ('k') | components/mus/ws/window_manager_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 574ecd8d2540240bbd617ce154f635a1276bfc6a..fa0311d5fd14a5e4f4abacf3921fad3ae10d3dff 100644
--- a/components/mus/ws/window_manager_state.h
+++ b/components/mus/ws/window_manager_state.h
@@ -150,6 +150,12 @@ class WindowManagerState : public EventDispatcherDelegate {
const ui::Event& event,
base::WeakPtr<Accelerator> accelerator);
+ // Registers accelerators used internally for debugging.
+ void AddDebugAccelerators();
+
+ // Returns true if the accelerator was handled.
+ bool HandleDebugAccelerator(uint32_t accelerator_id);
+
// EventDispatcherDelegate:
void OnAccelerator(uint32_t accelerator_id, const ui::Event& event) override;
void SetFocusedWindowFromEventDispatcher(ServerWindow* window) override;
« no previous file with comments | « components/mus/ws/server_window.cc ('k') | components/mus/ws/window_manager_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698