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

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

Issue 12496020: Use OutputConfigurator::SetDislpayMode for ctrl-fullscreen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | « ash/display/display_controller.cc ('k') | ash/display/display_manager.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_DISPLAY_DISPLAY_MANAGER_H_ 5 #ifndef ASH_DISPLAY_DISPLAY_MANAGER_H_
6 #define ASH_DISPLAY_DISPLAY_MANAGER_H_ 6 #define ASH_DISPLAY_DISPLAY_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 const gfx::Display* GetPrimaryDisplayCandidate() const; 115 const gfx::Display* GetPrimaryDisplayCandidate() const;
116 116
117 // Returns the logical number of displays. This returns 1 117 // Returns the logical number of displays. This returns 1
118 // when displays are mirrored. 118 // when displays are mirrored.
119 size_t GetNumDisplays() const; 119 size_t GetNumDisplays() const;
120 120
121 // Returns the number of connected displays. This returns 2 121 // Returns the number of connected displays. This returns 2
122 // when displays are mirrored. 122 // when displays are mirrored.
123 size_t num_connected_displays() const { return num_connected_displays_; } 123 size_t num_connected_displays() const { return num_connected_displays_; }
124 124
125 // Returns the mirroring status.
126 bool IsMirrored() const;
125 int64 mirrored_display_id() const { return mirrored_display_id_; } 127 int64 mirrored_display_id() const { return mirrored_display_id_; }
126 128
127 // Returns the display object nearest given |window|. 129 // Returns the display object nearest given |window|.
128 const gfx::Display& GetDisplayNearestPoint( 130 const gfx::Display& GetDisplayNearestPoint(
129 const gfx::Point& point) const; 131 const gfx::Point& point) const;
130 132
131 // Returns the display object nearest given |point|. 133 // Returns the display object nearest given |point|.
132 const gfx::Display& GetDisplayNearestWindow( 134 const gfx::Display& GetDisplayNearestWindow(
133 const aura::Window* window) const; 135 const aura::Window* window) const;
134 136
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 216
215 DISALLOW_COPY_AND_ASSIGN(DisplayManager); 217 DISALLOW_COPY_AND_ASSIGN(DisplayManager);
216 }; 218 };
217 219
218 extern const aura::WindowProperty<int64>* const kDisplayIdKey; 220 extern const aura::WindowProperty<int64>* const kDisplayIdKey;
219 221
220 } // namespace internal 222 } // namespace internal
221 } // namespace ash 223 } // namespace ash
222 224
223 #endif // ASH_DISPLAY_DISPLAY_MANAGER_H_ 225 #endif // ASH_DISPLAY_DISPLAY_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/display/display_controller.cc ('k') | ash/display/display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698