OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 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_TEST_MULTI_DISPLAY_MANAGER_TEST_API_H_ | |
6 #define ASH_TEST_MULTI_DISPLAY_MANAGER_TEST_API_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "base/basictypes.h" | |
11 | |
12 namespace ash { | |
13 namespace internal { | |
14 class MultiDisplayManager; | |
15 } // internal | |
16 | |
17 namespace test { | |
18 | |
19 class MultiDisplayManagerTestApi { | |
20 public: | |
21 explicit MultiDisplayManagerTestApi( | |
22 internal::MultiDisplayManager* display_manager); | |
23 virtual ~MultiDisplayManagerTestApi(); | |
24 | |
25 // Update the display configuration as given in |display_specs|. The format of | |
26 // |display_spec| is a list of comma separated spec for each displays. Please | |
27 // refer to the comment in |aura::DisplayManager::CreateDisplayFromSpec| for | |
28 // the format of the display spec. | |
29 void UpdateDisplay(const std::string& display_specs); | |
30 | |
31 private: | |
32 internal::MultiDisplayManager* display_manager_; // not owned | |
33 | |
34 DISALLOW_COPY_AND_ASSIGN(MultiDisplayManagerTestApi); | |
35 }; | |
36 | |
37 } // namespace test | |
38 } // namespace ash | |
39 | |
40 #endif // ASH_TEST_MULTI_DISPLAY_MANAGER_TEST_API_H_ | |
OLD | NEW |