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

Unified Diff: ash/mus/accelerators/accelerator_controller_registrar.h

Issue 2783613003: Add window cycle completion and cancellation accelerators in mus+ash. (Closed)
Patch Set: cleanup. Created 3 years, 9 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: ash/mus/accelerators/accelerator_controller_registrar.h
diff --git a/ash/mus/accelerators/accelerator_controller_registrar.h b/ash/mus/accelerators/accelerator_controller_registrar.h
index 737c607855c6564b6bda6b7b425e01d14c99a078..4c458abf029b7c176334e8d19a4c460e12cd2474 100644
--- a/ash/mus/accelerators/accelerator_controller_registrar.h
+++ b/ash/mus/accelerators/accelerator_controller_registrar.h
@@ -57,6 +57,12 @@ class AcceleratorControllerRegistrar : public AcceleratorHandler,
const ui::Accelerator& accelerator,
std::vector<ui::mojom::WmAcceleratorPtr>& accelerator_vector);
+ // TODO(moshayedi): crbug.com/629191. Handling window cycle accelerators here
+ // is just a temporary solution and we should remove these once we have a
+ // proper solution.
+ void RegisterWindowCycleAccelerators();
+ bool HandleWindowCycleAccelerator(const ui::Accelerator& accelerator);
+
// The flow of accelerators in ash is:
// . wm::AcceleratorFilter() sees events first as it's a pre-target handler.
// . AcceleratorFilter forwards to its delegate, which indirectly is

Powered by Google App Engine
This is Rietveld 408576698