Chromium Code Reviews| Index: ash/accelerators/accelerator_delegate.h |
| diff --git a/ash/accelerators/accelerator_delegate.h b/ash/accelerators/accelerator_delegate.h |
| index 4947e97ce34fe2063b321de14021cb59f4fe42cc..311e926c80fa6ba8671b59db6f52539e2e700023 100644 |
| --- a/ash/accelerators/accelerator_delegate.h |
| +++ b/ash/accelerators/accelerator_delegate.h |
| @@ -20,13 +20,18 @@ class ASH_EXPORT AcceleratorDelegate |
| // wm::AcceleratorDelegate: |
| virtual void PreProcessAccelerator( |
| const ui::Accelerator& accelerator) OVERRIDE; |
|
oshima
2014/05/30 19:53:53
This will be removed in https://codereview.chromiu
|
| - virtual bool CanConsumeSystemKeys(const ui::KeyEvent& event) OVERRIDE; |
| - virtual bool ShouldProcessAcceleratorNow( |
| - const ui::KeyEvent& key_event, |
| - const ui::Accelerator& accelerator) OVERRIDE; |
| - virtual bool ProcessAccelerator(const ui::Accelerator& accelerator) OVERRIDE; |
| + virtual bool ProcessAccelerator(const ui::KeyEvent& event, |
| + const ui::Accelerator& accelerator, |
| + KeyType key_type) OVERRIDE; |
| private: |
| + // Returns true if the window should be allowed a chance to handle |
| + // system keys. |
| + bool CanConsumeSystemKeys(const ui::KeyEvent& event); |
| + |
| + bool ShouldProcessAcceleratorNow(const ui::KeyEvent& event, |
| + const ui::Accelerator& accelerator); |
| + |
| DISALLOW_COPY_AND_ASSIGN(AcceleratorDelegate); |
| }; |