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_REGISTRAR_TEST_API_H_ | |
6 #define ASH_MUS_ACCELERATORS_ACCELERATOR_CONTROLLER_REGISTRAR_TEST_API_H_ | |
7 | |
8 #include "base/macros.h" | |
9 | |
10 namespace ui { | |
11 class Accelerator; | |
12 } | |
13 | |
14 namespace ash { | |
15 namespace mus { | |
16 | |
17 class AcceleratorControllerRegistrarTestApi { | |
18 public: | |
19 AcceleratorControllerRegistrarTestApi(); | |
20 ~AcceleratorControllerRegistrarTestApi(); | |
21 | |
22 // Sends |accelerator| to AcceleratorControllerRegistrar for the pre phase, | |
23 // and if the pre phase does not process the event the post phase as well. | |
24 void ProcessAccelerator(const ui::Accelerator& accelerator); | |
25 | |
26 private: | |
27 DISALLOW_COPY_AND_ASSIGN(AcceleratorControllerRegistrarTestApi); | |
28 }; | |
29 | |
30 } // namespace mus | |
31 } // namespace ash | |
32 | |
33 #endif // ASH_MUS_ACCELERATORS_ACCELERATOR_CONTROLLER_REGISTRAR_TEST_API_H_ | |
OLD | NEW |