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 |
11 #include "ash/ash_export.h" | 11 #include "ash/ash_export.h" |
12 #include "ui/display/display_constants.h" | 12 #include "ui/display/display_constants.h" |
13 #include "ui/gfx/display.h" | 13 #include "ui/gfx/display.h" |
14 #include "ui/gfx/insets.h" | 14 #include "ui/gfx/insets.h" |
15 #include "ui/gfx/rect.h" | 15 #include "ui/gfx/rect.h" |
16 | 16 |
17 namespace ash { | 17 namespace ash { |
18 namespace internal { | |
19 | 18 |
20 // A struct that represents the display's mode info. | 19 // A struct that represents the display's mode info. |
21 struct ASH_EXPORT DisplayMode { | 20 struct ASH_EXPORT DisplayMode { |
22 DisplayMode(); | 21 DisplayMode(); |
23 DisplayMode(const gfx::Size& size, | 22 DisplayMode(const gfx::Size& size, |
24 float refresh_rate, | 23 float refresh_rate, |
25 bool interlaced, | 24 bool interlaced, |
26 bool native); | 25 bool native); |
27 | 26 |
28 gfx::Size size; // Physical pixel size of the display. | 27 gfx::Size size; // Physical pixel size of the display. |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 // The list of modes supported by this display. | 217 // The list of modes supported by this display. |
219 std::vector<DisplayMode> display_modes_; | 218 std::vector<DisplayMode> display_modes_; |
220 | 219 |
221 // The current profile of the color calibration. | 220 // The current profile of the color calibration. |
222 ui::ColorCalibrationProfile color_profile_; | 221 ui::ColorCalibrationProfile color_profile_; |
223 | 222 |
224 // The list of available variations for the color calibration. | 223 // The list of available variations for the color calibration. |
225 std::vector<ui::ColorCalibrationProfile> available_color_profiles_; | 224 std::vector<ui::ColorCalibrationProfile> available_color_profiles_; |
226 }; | 225 }; |
227 | 226 |
228 } // namespace internal | |
229 } // namespace ash | 227 } // namespace ash |
230 | 228 |
231 #endif // ASH_DISPLAY_DISPLAY_INFO_H_ | 229 #endif // ASH_DISPLAY_DISPLAY_INFO_H_ |
OLD | NEW |