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_BRIDGE_WM_SHELL_MUS_TEST_API_H_ | |
6 #define ASH_MUS_BRIDGE_WM_SHELL_MUS_TEST_API_H_ | |
7 | |
8 #include "ash/mus/bridge/wm_shell_mus.h" | |
9 | |
10 namespace ash { | |
11 namespace mus { | |
12 | |
13 // Use to get at internal state of WmShellMus. | |
14 class WmShellMusTestApi { | |
15 public: | |
16 WmShellMusTestApi() {} | |
17 ~WmShellMusTestApi() {} | |
18 | |
19 AcceleratorControllerRegistrar* accelerator_controller_registrar() { | |
20 return WmShellMus::Get()->accelerator_controller_registrar_.get(); | |
21 } | |
22 | |
23 private: | |
24 DISALLOW_COPY_AND_ASSIGN(WmShellMusTestApi); | |
25 }; | |
26 | |
27 } // namespace mus | |
28 } // namespace ash | |
29 | |
30 #endif // ASH_MUS_BRIDGE_WM_SHELL_MUS_TEST_API_H_ | |
OLD | NEW |