Index: ash/accelerators/accelerator_controller.h |
diff --git a/ash/accelerators/accelerator_controller.h b/ash/accelerators/accelerator_controller.h |
index 55c3ed5e49e614568038d275337aca656f1eb6ba..50909609ae8e79c0011ab7c63fc382c5c8ef5d6e 100644 |
--- a/ash/accelerators/accelerator_controller.h |
+++ b/ash/accelerators/accelerator_controller.h |
@@ -21,6 +21,7 @@ class AcceleratorManager; |
namespace ash { |
class ScreenshotDelegate; |
+class CapsLockDelegate; |
// AcceleratorController provides functions for registering or unregistering |
// global keyboard accelerators, which are handled earlier than any windows. It |
@@ -56,6 +57,7 @@ class ASH_EXPORT AcceleratorController : public ui::AcceleratorTarget { |
virtual bool CanHandleAccelerators() const OVERRIDE; |
void SetScreenshotDelegate(ScreenshotDelegate* screenshot_delegate); |
+ void SetCapsLockDelegate(scoped_ptr<CapsLockDelegate> caps_lock_delegate); |
private: |
// Initialize the accelerators this class handles as a target. |
@@ -64,6 +66,7 @@ class ASH_EXPORT AcceleratorController : public ui::AcceleratorTarget { |
scoped_ptr<ui::AcceleratorManager> accelerator_manager_; |
scoped_ptr<ScreenshotDelegate> screenshot_delegate_; |
+ scoped_ptr<CapsLockDelegate> caps_lock_delegate_; |
// A map from accelerators to the AcceleratorAction values, which are used in |
// the implementation. |