Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Side by Side Diff: ash/test/display_manager_test_api.h

Issue 11363124: Move DisplayManager and DisplayChangeObserverX11 from aura to ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix rebase Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/test/ash_test_base.cc ('k') | ash/test/display_manager_test_api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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_TEST_MULTI_DISPLAY_MANAGER_TEST_API_H_ 5 #ifndef ASH_TEST_DISPLAY_MANAGER_TEST_API_H_
6 #define ASH_TEST_MULTI_DISPLAY_MANAGER_TEST_API_H_ 6 #define ASH_TEST_DISPLAY_MANAGER_TEST_API_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 11
12 namespace ash { 12 namespace ash {
13 namespace internal { 13 namespace internal {
14 class MultiDisplayManager; 14 class DisplayManager;
15 } // internal 15 } // internal
16 16
17 namespace test { 17 namespace test {
18 18
19 class MultiDisplayManagerTestApi { 19 class DisplayManagerTestApi {
20 public: 20 public:
21 explicit MultiDisplayManagerTestApi( 21 explicit DisplayManagerTestApi(internal::DisplayManager* display_manager);
22 internal::MultiDisplayManager* display_manager); 22 virtual ~DisplayManagerTestApi();
23 virtual ~MultiDisplayManagerTestApi();
24 23
25 // Update the display configuration as given in |display_specs|. The format of 24 // 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 25 // |display_spec| is a list of comma separated spec for each displays. Please
27 // refer to the comment in |aura::DisplayManager::CreateDisplayFromSpec| for 26 // refer to the comment in |aura::DisplayManager::CreateDisplayFromSpec| for
28 // the format of the display spec. 27 // the format of the display spec.
29 void UpdateDisplay(const std::string& display_specs); 28 void UpdateDisplay(const std::string& display_specs);
30 29
31 private: 30 private:
32 internal::MultiDisplayManager* display_manager_; // not owned 31 internal::DisplayManager* display_manager_; // not owned
33 32
34 DISALLOW_COPY_AND_ASSIGN(MultiDisplayManagerTestApi); 33 DISALLOW_COPY_AND_ASSIGN(DisplayManagerTestApi);
35 }; 34 };
36 35
37 } // namespace test 36 } // namespace test
38 } // namespace ash 37 } // namespace ash
39 38
40 #endif // ASH_TEST_MULTI_DISPLAY_MANAGER_TEST_API_H_ 39 #endif // ASH_TEST_DISPLAY_MANAGER_TEST_API_H_
OLDNEW
« no previous file with comments | « ash/test/ash_test_base.cc ('k') | ash/test/display_manager_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698