| 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 #include <stdint.h> |
| 9 |
| 10 namespace display { |
| 11 |
| 12 // Display ID that represents an invalid display. Often used as a default value |
| 13 // before display IDs are known. |
| 14 constexpr int64_t kInvalidDisplayId = -1; |
| 15 |
| 16 } // namespace display |
| 17 |
| 8 namespace ui { | 18 namespace ui { |
| 9 | 19 |
| 10 // Used to describe the state of a multi-display configuration. | 20 // Used to describe the state of a multi-display configuration. |
| 11 enum MultipleDisplayState { | 21 enum MultipleDisplayState { |
| 12 MULTIPLE_DISPLAY_STATE_INVALID, | 22 MULTIPLE_DISPLAY_STATE_INVALID, |
| 13 MULTIPLE_DISPLAY_STATE_HEADLESS, | 23 MULTIPLE_DISPLAY_STATE_HEADLESS, |
| 14 MULTIPLE_DISPLAY_STATE_SINGLE, | 24 MULTIPLE_DISPLAY_STATE_SINGLE, |
| 15 MULTIPLE_DISPLAY_STATE_DUAL_MIRROR, | 25 MULTIPLE_DISPLAY_STATE_DUAL_MIRROR, |
| 16 MULTIPLE_DISPLAY_STATE_DUAL_EXTENDED, | 26 MULTIPLE_DISPLAY_STATE_DUAL_EXTENDED, |
| 17 // TODO(oshima): consolidate DUAL_EXTENDED and MULTI_EXTENDED. | 27 // TODO(oshima): consolidate DUAL_EXTENDED and MULTI_EXTENDED. |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 COLOR_PROFILE_STANDARD, | 66 COLOR_PROFILE_STANDARD, |
| 57 COLOR_PROFILE_DYNAMIC, | 67 COLOR_PROFILE_DYNAMIC, |
| 58 COLOR_PROFILE_MOVIE, | 68 COLOR_PROFILE_MOVIE, |
| 59 COLOR_PROFILE_READING, | 69 COLOR_PROFILE_READING, |
| 60 NUM_COLOR_PROFILES, | 70 NUM_COLOR_PROFILES, |
| 61 }; | 71 }; |
| 62 | 72 |
| 63 } // namespace ui | 73 } // namespace ui |
| 64 | 74 |
| 65 #endif // UI_DISPLAY_TYPES_DISPLAY_CONSTANTS_H_ | 75 #endif // UI_DISPLAY_TYPES_DISPLAY_CONSTANTS_H_ |
| OLD | NEW |