Chromium Code Reviews| Index: ash/accelerators/accelerator_controller.h |
| diff --git a/ash/accelerators/accelerator_controller.h b/ash/accelerators/accelerator_controller.h |
| index 45ca052072ad384f9fab93544d1549612d5eaf7f..c1784487ede682bc1805ae2c5b5bcda8bc9bd57e 100644 |
| --- a/ash/accelerators/accelerator_controller.h |
| +++ b/ash/accelerators/accelerator_controller.h |
| @@ -56,6 +56,9 @@ class ASH_EXPORT AcceleratorController : public ui::AcceleratorTarget { |
| // Returns true if an accelerator was activated. |
| bool Process(const ui::Accelerator& accelerator); |
| + // Returns true if |accelerator| is one of the registered accelerators. |
| + bool IsAccelerator(const ui::Accelerator& accelerator); |
|
Ben Goodger (Google)
2012/05/01 16:00:37
IsRegistered()?
Yusuke Sato
2012/05/02 16:40:11
Removed the function.
|
| + |
| // Overridden from ui::AcceleratorTarget: |
| virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE; |
| virtual bool CanHandleAccelerators() const OVERRIDE; |