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_COMMON_TEST_WM_SHELL_TEST_API_H_ | |
6 #define ASH_COMMON_TEST_WM_SHELL_TEST_API_H_ | |
7 | |
8 #include <memory> | |
9 | |
10 #include "base/macros.h" | |
11 | |
12 namespace ash { | |
13 | |
14 class SystemTrayDelegate; | |
15 | |
16 // Test API to access the internal state of the singleton WmShell. | |
17 class WmShellTestApi { | |
18 public: | |
19 WmShellTestApi(); | |
20 ~WmShellTestApi(); | |
21 | |
22 void SetSystemTrayDelegate(std::unique_ptr<SystemTrayDelegate> delegate); | |
23 | |
24 private: | |
25 DISALLOW_COPY_AND_ASSIGN(WmShellTestApi); | |
26 }; | |
27 | |
28 } // namespace ash | |
29 | |
30 #endif // ASH_COMMON_TEST_WM_SHELL_TEST_API_H_ | |
OLD | NEW |