Add ICU message format support
[chromium-blink-merge.git] / ui / display / types / display_constants.h
blobaedb04bc9eab7a6fd9a5f7cfe34062e47180722d
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
3 // found in the LICENSE file.
5 #ifndef UI_DISPLAY_TYPES_DISPLAY_CONSTANTS_H_
6 #define UI_DISPLAY_TYPES_DISPLAY_CONSTANTS_H_
8 namespace ui {
10 // Used to describe the state of a multi-display configuration.
11 enum MultipleDisplayState {
12 MULTIPLE_DISPLAY_STATE_INVALID,
13 MULTIPLE_DISPLAY_STATE_HEADLESS,
14 MULTIPLE_DISPLAY_STATE_SINGLE,
15 MULTIPLE_DISPLAY_STATE_DUAL_MIRROR,
16 MULTIPLE_DISPLAY_STATE_DUAL_EXTENDED,
17 // TODO(oshima): consolidate DUAL_EXTENDED and MULTI_EXTENDED.
18 MULTIPLE_DISPLAY_STATE_MULTI_EXTENDED,
21 // Video output types.
22 enum DisplayConnectionType {
23 DISPLAY_CONNECTION_TYPE_NONE = 0,
24 DISPLAY_CONNECTION_TYPE_UNKNOWN = 1 << 0,
25 DISPLAY_CONNECTION_TYPE_INTERNAL = 1 << 1,
26 DISPLAY_CONNECTION_TYPE_VGA = 1 << 2,
27 DISPLAY_CONNECTION_TYPE_HDMI = 1 << 3,
28 DISPLAY_CONNECTION_TYPE_DVI = 1 << 4,
29 DISPLAY_CONNECTION_TYPE_DISPLAYPORT = 1 << 5,
30 DISPLAY_CONNECTION_TYPE_NETWORK = 1 << 6,
32 // Update this when adding a new type.
33 DISPLAY_CONNECTION_TYPE_LAST = DISPLAY_CONNECTION_TYPE_NETWORK
36 // Content protection methods applied on video output.
37 enum ContentProtectionMethod {
38 CONTENT_PROTECTION_METHOD_NONE = 0,
39 CONTENT_PROTECTION_METHOD_HDCP = 1 << 0,
42 // HDCP protection state.
43 enum HDCPState {
44 HDCP_STATE_UNDESIRED,
45 HDCP_STATE_DESIRED,
46 HDCP_STATE_ENABLED,
48 // Update this when adding a new type.
49 HDCP_STATE_LAST = HDCP_STATE_ENABLED
52 // Color calibration profiles. Don't change the order, and edit
53 // tools/metrics/histograms/histograms.xml when a new item is added.
54 enum ColorCalibrationProfile {
55 COLOR_PROFILE_STANDARD,
56 COLOR_PROFILE_DYNAMIC,
57 COLOR_PROFILE_MOVIE,
58 COLOR_PROFILE_READING,
59 NUM_COLOR_PROFILES,
62 } // namespace ui
64 #endif // UI_DISPLAY_TYPES_DISPLAY_CONSTANTS_H_