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

Issue 2519993002: Move kInvalidDisplayID to display_constants.h. (Closed)

Created:
4 years, 1 month ago by kylechar
Modified:
4 years, 1 month ago
Reviewers:
Daniel Erat, sadrul
CC:
chromium-reviews, ozone-reviews_chromium.org, awdf+watch_chromium.org, tdresser+watch_chromium.org, Peter Beverloo, tfarina, mlamouri+watch-notifications_chromium.org, oshima+watch_chromium.org, kalyank
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move kInvalidDisplayID to display_constants.h. There are targets that depend on //ui/display just for that constant. There is a smaller target //ui/display/types that is more suitable for this. Move the constant and update all references in src/ui/*. Other references to display::Display::kInvalidDisplayID will be updated in a follow up CL. BUG=667344 Committed: https://crrev.com/7bfba989d85ca0d33e316802507e2e59b4c756ab Cr-Commit-Position: refs/heads/master@{#433638}

Patch Set 1 #

Patch Set 2 : Add comment. #

Total comments: 10

Patch Set 3 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -69 lines) Patch
M ui/display/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M ui/display/chromeos/display_configurator.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/display/display.h View 1 2 3 chunks +6 lines, -3 lines 0 comments Download
M ui/display/display.cc View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M ui/display/fake_display_delegate.cc View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M ui/display/fake_display_snapshot.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ui/display/fake_display_snapshot.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/display/manager/display_layout.cc View 1 2 5 chunks +11 lines, -13 lines 0 comments Download
M ui/display/manager/display_layout_store.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M ui/display/manager/display_manager.h View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
M ui/display/manager/display_manager.cc View 1 2 10 chunks +10 lines, -10 lines 0 comments Download
M ui/display/manager/display_manager_utilities_unittest.cc View 1 2 2 chunks +3 lines, -10 lines 0 comments Download
M ui/display/manager/managed_display_info.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M ui/display/test/display_manager_test_api.cc View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M ui/display/types/display_constants.h View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M ui/events/devices/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M ui/events/devices/device_data_manager.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M ui/events/gesture_detection/gesture_provider.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/message_center/views/desktop_popup_alignment_delegate.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M ui/ozone/platform/drm/host/drm_window_host.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/views/mus/screen_mus.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 18 (10 generated)
kylechar
+derat for ui/display/* +sadrul for the other ui/* files.
4 years, 1 month ago (2016-11-21 17:11:18 UTC) #3
sadrul
lgtm https://codereview.chromium.org/2519993002/diff/20001/ui/display/display.h File ui/display/display.h (right): https://codereview.chromium.org/2519993002/diff/20001/ui/display/display.h#newcode70 ui/display/display.h:70: enum : int64_t { kInvalidDisplayID = display::kInvalidDisplayID }; ...
4 years, 1 month ago (2016-11-21 17:31:17 UTC) #4
Daniel Erat
lgtm https://codereview.chromium.org/2519993002/diff/20001/ui/display/types/display_constants.h File ui/display/types/display_constants.h (right): https://codereview.chromium.org/2519993002/diff/20001/ui/display/types/display_constants.h#newcode13 ui/display/types/display_constants.h:13: // before display ids are known. nit: s/id/ID/g ...
4 years, 1 month ago (2016-11-21 17:33:57 UTC) #5
kylechar
Thanks! https://codereview.chromium.org/2519993002/diff/20001/ui/display/display.h File ui/display/display.h (right): https://codereview.chromium.org/2519993002/diff/20001/ui/display/display.h#newcode70 ui/display/display.h:70: enum : int64_t { kInvalidDisplayID = display::kInvalidDisplayID }; ...
4 years, 1 month ago (2016-11-21 17:51:18 UTC) #8
Daniel Erat
lgtm
4 years, 1 month ago (2016-11-21 17:57:21 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2519993002/40001
4 years, 1 month ago (2016-11-21 19:17:28 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-21 20:44:36 UTC) #16
commit-bot: I haz the power
4 years, 1 month ago (2016-11-21 20:48:45 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7bfba989d85ca0d33e316802507e2e59b4c756ab
Cr-Commit-Position: refs/heads/master@{#433638}

Powered by Google App Engine
This is Rietveld 408576698