OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |