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