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

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

Issue 230763004: Split ui/display types into separate module and have Ozone depend on it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « ui/display/display.gyp ('k') | ui/display/display_unittests.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 #ifndef UI_DISPLAY_DISPLAY_CONSTANTS_H_
6 #define UI_DISPLAY_DISPLAY_CONSTANTS_H_
7
8 namespace ui {
9
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 };
18
19 // Video output types.
20 enum DisplayConnectionType {
21 DISPLAY_CONNECTION_TYPE_NONE = 0,
22 DISPLAY_CONNECTION_TYPE_UNKNOWN = 1 << 0,
23 DISPLAY_CONNECTION_TYPE_INTERNAL = 1 << 1,
24 DISPLAY_CONNECTION_TYPE_VGA = 1 << 2,
25 DISPLAY_CONNECTION_TYPE_HDMI = 1 << 3,
26 DISPLAY_CONNECTION_TYPE_DVI = 1 << 4,
27 DISPLAY_CONNECTION_TYPE_DISPLAYPORT = 1 << 5,
28 DISPLAY_CONNECTION_TYPE_NETWORK = 1 << 6,
29 };
30
31 // Content protection methods applied on video output.
32 enum ContentProtectionMethod {
33 CONTENT_PROTECTION_METHOD_NONE = 0,
34 CONTENT_PROTECTION_METHOD_HDCP = 1 << 0,
35 };
36
37 // HDCP protection state.
38 enum HDCPState { HDCP_STATE_UNDESIRED, HDCP_STATE_DESIRED, HDCP_STATE_ENABLED };
39
40 // Color calibration profiles. Don't change the order, and edit
41 // tools/metrics/histograms/histograms.xml when a new item is added.
42 enum ColorCalibrationProfile {
43 COLOR_PROFILE_STANDARD,
44 COLOR_PROFILE_DYNAMIC,
45 COLOR_PROFILE_MOVIE,
46 COLOR_PROFILE_READING,
47 NUM_COLOR_PROFILES,
48 };
49
50 } // namespace ui
51
52 #endif // UI_DISPLAY_DISPLAY_CONSTANTS_H_
OLDNEW
« no previous file with comments | « ui/display/display.gyp ('k') | ui/display/display_unittests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698