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

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: accelerator 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 574ecd8d2540240bbd617ce154f635a1276bfc6a..4ee6b2505ee4dca7c3a7e3e54a3d83bab03a4e85 100644
--- a/components/mus/ws/window_manager_state.h
+++ b/components/mus/ws/window_manager_state.h
@@ -150,6 +150,11 @@ class WindowManagerState : public EventDispatcherDelegate {
const ui::Event& event,
base::WeakPtr<Accelerator> accelerator);
+ void AddDebugAccelerators();
msw 2016/05/06 22:34:31 nit: please add a simple comment
James Cook 2016/05/07 00:03:10 Done.
+
+ // 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;

Powered by Google App Engine
This is Rietveld 408576698