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

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

Issue 23286003: ash: Get output info from chromeos instead of XRandR. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use index from XRandR Created 7 years, 4 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_error_observer_unittest.cc ('k') | ash/display/display_info.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_INFO_H_ 5 #ifndef ASH_DISPLAY_DISPLAY_INFO_H_
6 #define ASH_DISPLAY_DISPLAY_INFO_H_ 6 #define ASH_DISPLAY_DISPLAY_INFO_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 float device_scale_factor_; 153 float device_scale_factor_;
154 gfx::Rect bounds_in_pixel_; 154 gfx::Rect bounds_in_pixel_;
155 // The size of the display in use. The size can be different from the size 155 // The size of the display in use. The size can be different from the size
156 // of |bounds_in_pixel_| if the display has overscan insets and/or rotation. 156 // of |bounds_in_pixel_| if the display has overscan insets and/or rotation.
157 gfx::Size size_in_pixel_; 157 gfx::Size size_in_pixel_;
158 gfx::Insets overscan_insets_in_dip_; 158 gfx::Insets overscan_insets_in_dip_;
159 159
160 // UI scale of the display. 160 // UI scale of the display.
161 float ui_scale_; 161 float ui_scale_;
162 162
163 // True if this comes from native platform (DisplayChangeObserverX11). 163 // True if this comes from native platform (DisplayChangeObserver).
164 bool native_; 164 bool native_;
165 165
166 // The list of resolutions supported by this display. 166 // The list of resolutions supported by this display.
167 std::vector<Resolution> resolutions_; 167 std::vector<Resolution> resolutions_;
168 }; 168 };
169 169
170 } // namespace internal 170 } // namespace internal
171 } // namespace ash 171 } // namespace ash
172 172
173 #endif // ASH_DISPLAY_DISPLAY_INFO_H_ 173 #endif // ASH_DISPLAY_DISPLAY_INFO_H_
OLDNEW
« no previous file with comments | « ash/display/display_error_observer_unittest.cc ('k') | ash/display/display_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698