Index: ash/accelerators/accelerator_controller.h |
diff --git a/ash/accelerators/accelerator_controller.h b/ash/accelerators/accelerator_controller.h |
index 883e108b9234b90a5f688bb0d779182faa1e25ec..77769ec4949bd8d4083da7ca5d58032b4c6301b6 100644 |
--- a/ash/accelerators/accelerator_controller.h |
+++ b/ash/accelerators/accelerator_controller.h |
@@ -20,6 +20,7 @@ class AcceleratorManager; |
namespace ash { |
+struct AcceleratorData; |
class BrightnessControlDelegate; |
class CapsLockDelegate; |
class ImeControlDelegate; |
@@ -101,6 +102,10 @@ class ASH_EXPORT AcceleratorController : public ui::AcceleratorTarget { |
// A negative index switches to the last window in the list. |
void SwitchToWindow(int window); |
+ // Registers the specified accelerators. |
+ void RegisterAccelerators(const AcceleratorData accelerators[], |
+ size_t accelerators_length); |
+ |
scoped_ptr<ui::AcceleratorManager> accelerator_manager_; |
// TODO(derat): BrightnessControlDelegate is also used by the system tray; |