OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 UI_DISPLAY_DISPLAY_CONSTANTS_H_ | 5 #ifndef UI_DISPLAY_DISPLAY_CONSTANTS_H_ |
6 #define UI_DISPLAY_DISPLAY_CONSTANTS_H_ | 6 #define UI_DISPLAY_DISPLAY_CONSTANTS_H_ |
7 | 7 |
8 namespace ui { | 8 namespace ui { |
9 | 9 |
10 // Used to describe the state of a multi-display configuration. | 10 // Used to describe the state of a multi-display configuration. |
(...skipping 19 matching lines...) Expand all Loading... |
30 | 30 |
31 // Content protection methods applied on video output. | 31 // Content protection methods applied on video output. |
32 enum OutputProtectionMethod { | 32 enum OutputProtectionMethod { |
33 OUTPUT_PROTECTION_METHOD_NONE = 0, | 33 OUTPUT_PROTECTION_METHOD_NONE = 0, |
34 OUTPUT_PROTECTION_METHOD_HDCP = 1 << 0, | 34 OUTPUT_PROTECTION_METHOD_HDCP = 1 << 0, |
35 }; | 35 }; |
36 | 36 |
37 // HDCP protection state. | 37 // HDCP protection state. |
38 enum HDCPState { HDCP_STATE_UNDESIRED, HDCP_STATE_DESIRED, HDCP_STATE_ENABLED }; | 38 enum HDCPState { HDCP_STATE_UNDESIRED, HDCP_STATE_DESIRED, HDCP_STATE_ENABLED }; |
39 | 39 |
40 // Color calibration profiles. | 40 // Color calibration profiles. Don't change the order, and edit |
| 41 // tools/metrics/histograms/histograms.xml when a new item is added. |
41 enum ColorCalibrationProfile { | 42 enum ColorCalibrationProfile { |
42 COLOR_PROFILE_STANDARD, | 43 COLOR_PROFILE_STANDARD, |
43 COLOR_PROFILE_DYNAMIC, | 44 COLOR_PROFILE_DYNAMIC, |
44 COLOR_PROFILE_MOVIE, | 45 COLOR_PROFILE_MOVIE, |
45 COLOR_PROFILE_READING, | 46 COLOR_PROFILE_READING, |
| 47 NUM_COLOR_PROFILES, |
46 }; | 48 }; |
47 | 49 |
48 } // namespace ui | 50 } // namespace ui |
49 | 51 |
50 #endif // UI_DISPLAY_DISPLAY_CONSTANTS_H_ | 52 #endif // UI_DISPLAY_DISPLAY_CONSTANTS_H_ |
OLD | NEW |