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

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

Issue 2519993002: Move kInvalidDisplayID to display_constants.h. (Closed)
Patch Set: Address comments. Created 4 years 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/test/display_manager_test_api.cc ('k') | ui/events/devices/BUILD.gn » ('j') | 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 #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
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_
OLDNEW
« no previous file with comments | « ui/display/test/display_manager_test_api.cc ('k') | ui/events/devices/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698