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

Side by Side Diff: ash/display/display_controller.h

Issue 10807065: ash: Remove obsolete display TODO. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months 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 | « no previous file | no next file » | 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_DISPLAY_DISPLAY_CONTROLLER_H_ 5 #ifndef ASH_DISPLAY_DISPLAY_CONTROLLER_H_
6 #define ASH_DISPLAY_DISPLAY_CONTROLLER_H_ 6 #define ASH_DISPLAY_DISPLAY_CONTROLLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
11 #include "ash/ash_export.h" 11 #include "ash/ash_export.h"
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "ui/aura/display_observer.h" 14 #include "ui/aura/display_observer.h"
15 #include "ui/aura/display_manager.h" 15 #include "ui/aura/display_manager.h"
16 16
17 namespace aura { 17 namespace aura {
18 class Display; 18 class Display;
19 class RootWindow; 19 class RootWindow;
20 } 20 }
21 21
22 namespace ash { 22 namespace ash {
23 namespace internal { 23 namespace internal {
24 class RootWindowController; 24 class RootWindowController;
25 25
26 // DisplayController owns and maintains RootWindows for each attached 26 // DisplayController owns and maintains RootWindows for each attached
27 // display, keeping them in sync with display configuration changes. 27 // display, keeping them in sync with display configuration changes.
28 // TODO(oshima): Rename DisplayXXX to DisplayXXX.
29 class ASH_EXPORT DisplayController : public aura::DisplayObserver { 28 class ASH_EXPORT DisplayController : public aura::DisplayObserver {
30 public: 29 public:
31 // Layout options where the secondary display should be positioned. 30 // Layout options where the secondary display should be positioned.
32 enum SecondaryDisplayLayout { 31 enum SecondaryDisplayLayout {
33 TOP, 32 TOP,
34 RIGHT, 33 RIGHT,
35 BOTTOM, 34 BOTTOM,
36 LEFT 35 LEFT
37 }; 36 };
38 37
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 103
105 SecondaryDisplayLayout secondary_display_layout_; 104 SecondaryDisplayLayout secondary_display_layout_;
106 105
107 DISALLOW_COPY_AND_ASSIGN(DisplayController); 106 DISALLOW_COPY_AND_ASSIGN(DisplayController);
108 }; 107 };
109 108
110 } // namespace internal 109 } // namespace internal
111 } // namespace ash 110 } // namespace ash
112 111
113 #endif // ASH_DISPLAY_DISPLAY_CONTROLLER_H_ 112 #endif // ASH_DISPLAY_DISPLAY_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698