| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ASH_COMMON_ACCELERATORS_ACCELERATOR_CONTROLLER_DELEGATE_H_ | 5 #ifndef ASH_ACCELERATORS_ACCELERATOR_CONTROLLER_DELEGATE_H_ |
| 6 #define ASH_COMMON_ACCELERATORS_ACCELERATOR_CONTROLLER_DELEGATE_H_ | 6 #define ASH_ACCELERATORS_ACCELERATOR_CONTROLLER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "ash/accelerators/accelerator_table.h" |
| 8 #include "ash/ash_export.h" | 9 #include "ash/ash_export.h" |
| 9 #include "ash/common/accelerators/accelerator_table.h" | |
| 10 | 10 |
| 11 namespace ui { | 11 namespace ui { |
| 12 class Accelerator; | 12 class Accelerator; |
| 13 } | 13 } |
| 14 | 14 |
| 15 namespace ash { | 15 namespace ash { |
| 16 | 16 |
| 17 // Used by AcceleratorController to handle environment specific commands. This | 17 // Used by AcceleratorController to handle environment specific commands. This |
| 18 // file is temporary while ash supports both mus and aura. | 18 // file is temporary while ash supports both mus and aura. |
| 19 class ASH_EXPORT AcceleratorControllerDelegate { | 19 class ASH_EXPORT AcceleratorControllerDelegate { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 40 int message_id, | 40 int message_id, |
| 41 int old_shortcut_id, | 41 int old_shortcut_id, |
| 42 int new_shortcut_id) = 0; | 42 int new_shortcut_id) = 0; |
| 43 | 43 |
| 44 protected: | 44 protected: |
| 45 virtual ~AcceleratorControllerDelegate() {} | 45 virtual ~AcceleratorControllerDelegate() {} |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 } // namespace ash | 48 } // namespace ash |
| 49 | 49 |
| 50 #endif // ASH_COMMON_ACCELERATORS_ACCELERATOR_CONTROLLER_DELEGATE_H_ | 50 #endif // ASH_ACCELERATORS_ACCELERATOR_CONTROLLER_DELEGATE_H_ |
| OLD | NEW |