OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef ASH_MUS_ACCELERATORS_ACCELERATOR_CONTROLLER_DELEGATE_MUS_H_ |
| 6 #define ASH_MUS_ACCELERATORS_ACCELERATOR_CONTROLLER_DELEGATE_MUS_H_ |
| 7 |
| 8 #include "ash/common/accelerators/accelerator_controller_delegate.h" |
| 9 #include "base/macros.h" |
| 10 |
| 11 namespace ash { |
| 12 namespace mus { |
| 13 |
| 14 class WindowManager; |
| 15 |
| 16 class AcceleratorControllerDelegateMus : public AcceleratorControllerDelegate { |
| 17 public: |
| 18 AcceleratorControllerDelegateMus(); |
| 19 ~AcceleratorControllerDelegateMus() override; |
| 20 |
| 21 // AcceleratorControllerDelegate: |
| 22 bool HandlesAction(AcceleratorAction action) override; |
| 23 bool CanPerformAction(AcceleratorAction action, |
| 24 const ui::Accelerator& accelerator, |
| 25 const ui::Accelerator& previous_accelerator) override; |
| 26 void PerformAction(AcceleratorAction action, |
| 27 const ui::Accelerator& accelerator) override; |
| 28 void ShowDeprecatedAcceleratorNotification(const char* const notification_id, |
| 29 int message_id, |
| 30 int old_shortcut_id, |
| 31 int new_shortcut_id) override; |
| 32 |
| 33 private: |
| 34 DISALLOW_COPY_AND_ASSIGN(AcceleratorControllerDelegateMus); |
| 35 }; |
| 36 |
| 37 } // namespace mus |
| 38 } // namespace ash |
| 39 |
| 40 #endif // ASH_MUS_ACCELERATORS_ACCELERATOR_CONTROLLER_DELEGATE_MUS_H_ |
OLD | NEW |