| 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_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. |
| 11 enum MultipleDisplayState { | 11 enum MultipleDisplayState { |
| 12 MULTIPLE_DISPLAY_STATE_INVALID, | 12 MULTIPLE_DISPLAY_STATE_INVALID, |
| 13 MULTIPLE_DISPLAY_STATE_HEADLESS, | 13 MULTIPLE_DISPLAY_STATE_HEADLESS, |
| 14 MULTIPLE_DISPLAY_STATE_SINGLE, | 14 MULTIPLE_DISPLAY_STATE_SINGLE, |
| 15 MULTIPLE_DISPLAY_STATE_DUAL_MIRROR, | 15 MULTIPLE_DISPLAY_STATE_DUAL_MIRROR, |
| 16 MULTIPLE_DISPLAY_STATE_DUAL_EXTENDED, | 16 MULTIPLE_DISPLAY_STATE_DUAL_EXTENDED, |
| 17 // TODO(oshima): consolidate DUAL_EXTENDED and MULTI_EXTENDED. |
| 18 MULTIPLE_DISPLAY_STATE_MULTI_EXTENDED, |
| 17 }; | 19 }; |
| 18 | 20 |
| 19 // Video output types. | 21 // Video output types. |
| 20 enum DisplayConnectionType { | 22 enum DisplayConnectionType { |
| 21 DISPLAY_CONNECTION_TYPE_NONE = 0, | 23 DISPLAY_CONNECTION_TYPE_NONE = 0, |
| 22 DISPLAY_CONNECTION_TYPE_UNKNOWN = 1 << 0, | 24 DISPLAY_CONNECTION_TYPE_UNKNOWN = 1 << 0, |
| 23 DISPLAY_CONNECTION_TYPE_INTERNAL = 1 << 1, | 25 DISPLAY_CONNECTION_TYPE_INTERNAL = 1 << 1, |
| 24 DISPLAY_CONNECTION_TYPE_VGA = 1 << 2, | 26 DISPLAY_CONNECTION_TYPE_VGA = 1 << 2, |
| 25 DISPLAY_CONNECTION_TYPE_HDMI = 1 << 3, | 27 DISPLAY_CONNECTION_TYPE_HDMI = 1 << 3, |
| 26 DISPLAY_CONNECTION_TYPE_DVI = 1 << 4, | 28 DISPLAY_CONNECTION_TYPE_DVI = 1 << 4, |
| (...skipping 19 matching lines...) Expand all Loading... |
| 46 COLOR_PROFILE_STANDARD, | 48 COLOR_PROFILE_STANDARD, |
| 47 COLOR_PROFILE_DYNAMIC, | 49 COLOR_PROFILE_DYNAMIC, |
| 48 COLOR_PROFILE_MOVIE, | 50 COLOR_PROFILE_MOVIE, |
| 49 COLOR_PROFILE_READING, | 51 COLOR_PROFILE_READING, |
| 50 NUM_COLOR_PROFILES, | 52 NUM_COLOR_PROFILES, |
| 51 }; | 53 }; |
| 52 | 54 |
| 53 } // namespace ui | 55 } // namespace ui |
| 54 | 56 |
| 55 #endif // UI_DISPLAY_TYPES_DISPLAY_CONSTANTS_H_ | 57 #endif // UI_DISPLAY_TYPES_DISPLAY_CONSTANTS_H_ |
| OLD | NEW |