Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(464)

Side by Side Diff: ui/display/types/display_constants.h

Issue 615133002: Add support for a virtual display on ChromeOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove ash/ dep from content Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/display/display.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_TYPES_DISPLAY_CONSTANTS_H_ 5 #ifndef UI_DISPLAY_TYPES_DISPLAY_CONSTANTS_H_
6 #define UI_DISPLAY_TYPES_DISPLAY_CONSTANTS_H_ 6 #define UI_DISPLAY_TYPES_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 10 matching lines...) Expand all
21 // Video output types. 21 // Video output types.
22 enum DisplayConnectionType { 22 enum DisplayConnectionType {
23 DISPLAY_CONNECTION_TYPE_NONE = 0, 23 DISPLAY_CONNECTION_TYPE_NONE = 0,
24 DISPLAY_CONNECTION_TYPE_UNKNOWN = 1 << 0, 24 DISPLAY_CONNECTION_TYPE_UNKNOWN = 1 << 0,
25 DISPLAY_CONNECTION_TYPE_INTERNAL = 1 << 1, 25 DISPLAY_CONNECTION_TYPE_INTERNAL = 1 << 1,
26 DISPLAY_CONNECTION_TYPE_VGA = 1 << 2, 26 DISPLAY_CONNECTION_TYPE_VGA = 1 << 2,
27 DISPLAY_CONNECTION_TYPE_HDMI = 1 << 3, 27 DISPLAY_CONNECTION_TYPE_HDMI = 1 << 3,
28 DISPLAY_CONNECTION_TYPE_DVI = 1 << 4, 28 DISPLAY_CONNECTION_TYPE_DVI = 1 << 4,
29 DISPLAY_CONNECTION_TYPE_DISPLAYPORT = 1 << 5, 29 DISPLAY_CONNECTION_TYPE_DISPLAYPORT = 1 << 5,
30 DISPLAY_CONNECTION_TYPE_NETWORK = 1 << 6, 30 DISPLAY_CONNECTION_TYPE_NETWORK = 1 << 6,
31 DISPLAY_CONNECTION_TYPE_VIRTUAL = 1 << 7,
31 32
32 // Update this when adding a new type. 33 // Update this when adding a new type.
33 DISPLAY_CONNECTION_TYPE_LAST = DISPLAY_CONNECTION_TYPE_NETWORK 34 DISPLAY_CONNECTION_TYPE_LAST = DISPLAY_CONNECTION_TYPE_VIRTUAL
34 }; 35 };
35 36
36 // Content protection methods applied on video output. 37 // Content protection methods applied on video output.
37 enum ContentProtectionMethod { 38 enum ContentProtectionMethod {
38 CONTENT_PROTECTION_METHOD_NONE = 0, 39 CONTENT_PROTECTION_METHOD_NONE = 0,
39 CONTENT_PROTECTION_METHOD_HDCP = 1 << 0, 40 CONTENT_PROTECTION_METHOD_HDCP = 1 << 0,
40 }; 41 };
41 42
42 // HDCP protection state. 43 // HDCP protection state.
43 enum HDCPState { HDCP_STATE_UNDESIRED, HDCP_STATE_DESIRED, HDCP_STATE_ENABLED }; 44 enum HDCPState { HDCP_STATE_UNDESIRED, HDCP_STATE_DESIRED, HDCP_STATE_ENABLED };
44 45
45 // Color calibration profiles. Don't change the order, and edit 46 // Color calibration profiles. Don't change the order, and edit
46 // tools/metrics/histograms/histograms.xml when a new item is added. 47 // tools/metrics/histograms/histograms.xml when a new item is added.
47 enum ColorCalibrationProfile { 48 enum ColorCalibrationProfile {
48 COLOR_PROFILE_STANDARD, 49 COLOR_PROFILE_STANDARD,
49 COLOR_PROFILE_DYNAMIC, 50 COLOR_PROFILE_DYNAMIC,
50 COLOR_PROFILE_MOVIE, 51 COLOR_PROFILE_MOVIE,
51 COLOR_PROFILE_READING, 52 COLOR_PROFILE_READING,
52 NUM_COLOR_PROFILES, 53 NUM_COLOR_PROFILES,
53 }; 54 };
54 55
55 } // namespace ui 56 } // namespace ui
56 57
57 #endif // UI_DISPLAY_TYPES_DISPLAY_CONSTANTS_H_ 58 #endif // UI_DISPLAY_TYPES_DISPLAY_CONSTANTS_H_
OLDNEW
« no previous file with comments | « ui/display/display.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698