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_DISPLAY_CONSTANTS_H_
6 #define UI_DISPLAY_DISPLAY_CONSTANTS_H_
10 // Used to describe the state of a multi-display configuration.
13 OUTPUT_STATE_HEADLESS,
15 OUTPUT_STATE_DUAL_MIRROR,
16 OUTPUT_STATE_DUAL_EXTENDED,
19 // Video output types.
22 OUTPUT_TYPE_UNKNOWN = 1 << 0,
23 OUTPUT_TYPE_INTERNAL = 1 << 1,
24 OUTPUT_TYPE_VGA = 1 << 2,
25 OUTPUT_TYPE_HDMI = 1 << 3,
26 OUTPUT_TYPE_DVI = 1 << 4,
27 OUTPUT_TYPE_DISPLAYPORT = 1 << 5,
28 OUTPUT_TYPE_NETWORK = 1 << 6,
31 // Content protection methods applied on video output.
32 enum OutputProtectionMethod {
33 OUTPUT_PROTECTION_METHOD_NONE = 0,
34 OUTPUT_PROTECTION_METHOD_HDCP = 1 << 0,
37 // HDCP protection state.
38 enum HDCPState { HDCP_STATE_UNDESIRED, HDCP_STATE_DESIRED, HDCP_STATE_ENABLED };
42 #endif // UI_DISPLAY_DISPLAY_CONSTANTS_H_