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

Issue 2297743002: Process DisplaySnapshots in PlatformScreen. (Closed)

Created:
4 years, 3 months ago by kylechar
Modified:
4 years, 3 months ago
Reviewers:
rjkroege, sky
CC:
chromium-reviews, rjkroege, oshima+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Process DisplaySnapshots in PlatformScreen. Add logic to process DisplaySnapshots from the DisplayConfigurator. Process the contents of the snapshots to find new, removed or modified displays. Add unit tests to test that the correct calls are made to the PlatformScreenDelegate in response to receiving an updated list of display snapshots. BUG=641012 Committed: https://crrev.com/80f206eec2f4ba6ec5485d6a40ac5a9af968ab38 Cr-Commit-Position: refs/heads/master@{#416657}

Patch Set 1 #

Patch Set 2 : Formatting. #

Patch Set 3 : Fix test. #

Total comments: 25

Patch Set 4 : Rebase and address comments. #

Patch Set 5 : Update tests. #

Total comments: 29

Patch Set 6 : Address comments. #

Total comments: 7

Patch Set 7 : More fixes. #

Total comments: 2

Patch Set 8 : Add comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+514 lines, -23 lines) Patch
M services/ui/display/BUILD.gn View 1 2 3 2 chunks +22 lines, -0 lines 0 comments Download
M services/ui/display/platform_screen_impl_ozone.h View 1 2 3 4 5 6 7 2 chunks +48 lines, -2 lines 0 comments Download
M services/ui/display/platform_screen_impl_ozone.cc View 1 2 3 4 5 6 1 chunk +93 lines, -18 lines 0 comments Download
A services/ui/display/platform_screen_ozone_unittests.cc View 1 2 3 4 5 1 chunk +323 lines, -0 lines 0 comments Download
M services/ui/ws/display_manager.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M services/ui/ws/display_manager.cc View 1 2 3 2 chunks +12 lines, -2 lines 0 comments Download
M testing/buildbot/chromium.chromiumos.json View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M testing/buildbot/gn_isolate_map.pyl View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M ui/display/chromeos/display_snapshot_virtual.h View 2 chunks +2 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 24 (10 generated)
kylechar
rjkroege: any thoughts before I send it off to sky for OWNERS review?
4 years, 3 months ago (2016-08-30 18:10:07 UTC) #2
rjkroege
https://codereview.chromium.org/2297743002/diff/40001/services/ui/display/platform_screen_impl_ozone.cc File services/ui/display/platform_screen_impl_ozone.cc (right): https://codereview.chromium.org/2297743002/diff/40001/services/ui/display/platform_screen_impl_ozone.cc#newcode26 services/ui/display/platform_screen_impl_ozone.cc:26: class DisplayIdPredicate { what is this for? https://codereview.chromium.org/2297743002/diff/40001/services/ui/display/platform_screen_impl_ozone.cc#newcode29 services/ui/display/platform_screen_impl_ozone.cc:29: ...
4 years, 3 months ago (2016-08-30 18:41:59 UTC) #3
kylechar
https://codereview.chromium.org/2297743002/diff/40001/services/ui/display/platform_screen_impl_ozone.cc File services/ui/display/platform_screen_impl_ozone.cc (right): https://codereview.chromium.org/2297743002/diff/40001/services/ui/display/platform_screen_impl_ozone.cc#newcode26 services/ui/display/platform_screen_impl_ozone.cc:26: class DisplayIdPredicate { On 2016/08/30 18:41:59, rjkroege wrote: > ...
4 years, 3 months ago (2016-08-31 15:58:02 UTC) #4
kylechar
https://codereview.chromium.org/2297743002/diff/40001/services/ui/ws/display_manager.cc File services/ui/ws/display_manager.cc (right): https://codereview.chromium.org/2297743002/diff/40001/services/ui/ws/display_manager.cc#newcode186 services/ui/ws/display_manager.cc:186: Display* display = GetDisplayById(id); On 2016/08/31 15:58:01, kylechar wrote: ...
4 years, 3 months ago (2016-08-31 16:07:35 UTC) #5
kylechar
+sky for OWNERS review.
4 years, 3 months ago (2016-09-01 14:41:21 UTC) #7
sky
https://codereview.chromium.org/2297743002/diff/80001/services/ui/display/platform_screen_impl_ozone.cc File services/ui/display/platform_screen_impl_ozone.cc (right): https://codereview.chromium.org/2297743002/diff/80001/services/ui/display/platform_screen_impl_ozone.cc#newcode70 services/ui/display/platform_screen_impl_ozone.cc:70: for (ui::DisplaySnapshot* snapshot : snapshots) { no {} https://codereview.chromium.org/2297743002/diff/80001/services/ui/display/platform_screen_impl_ozone.cc#newcode106 ...
4 years, 3 months ago (2016-09-01 19:25:08 UTC) #8
kylechar
https://codereview.chromium.org/2297743002/diff/80001/services/ui/display/platform_screen_impl_ozone.cc File services/ui/display/platform_screen_impl_ozone.cc (right): https://codereview.chromium.org/2297743002/diff/80001/services/ui/display/platform_screen_impl_ozone.cc#newcode70 services/ui/display/platform_screen_impl_ozone.cc:70: for (ui::DisplaySnapshot* snapshot : snapshots) { On 2016/09/01 19:25:08, ...
4 years, 3 months ago (2016-09-02 15:18:34 UTC) #10
sky
https://codereview.chromium.org/2297743002/diff/80001/services/ui/display/platform_screen_impl_ozone.h File services/ui/display/platform_screen_impl_ozone.h (right): https://codereview.chromium.org/2297743002/diff/80001/services/ui/display/platform_screen_impl_ozone.h#newcode35 services/ui/display/platform_screen_impl_ozone.h:35: // The display bounds that the delegate knows about. ...
4 years, 3 months ago (2016-09-02 16:03:21 UTC) #11
kylechar
https://codereview.chromium.org/2297743002/diff/120001/services/ui/display/platform_screen_impl_ozone.cc File services/ui/display/platform_screen_impl_ozone.cc (right): https://codereview.chromium.org/2297743002/diff/120001/services/ui/display/platform_screen_impl_ozone.cc#newcode101 services/ui/display/platform_screen_impl_ozone.cc:101: if (current_mode->size() != display_info.bounds.size()) { On 2016/09/02 16:03:21, sky ...
4 years, 3 months ago (2016-09-02 17:19:47 UTC) #12
sky
LGTM https://codereview.chromium.org/2297743002/diff/140001/services/ui/display/platform_screen_impl_ozone.h File services/ui/display/platform_screen_impl_ozone.h (right): https://codereview.chromium.org/2297743002/diff/140001/services/ui/display/platform_screen_impl_ozone.h#newcode43 services/ui/display/platform_screen_impl_ozone.h:43: bool modified = false; Add a description as ...
4 years, 3 months ago (2016-09-02 18:29:28 UTC) #13
kylechar
Thanks sky! https://codereview.chromium.org/2297743002/diff/140001/services/ui/display/platform_screen_impl_ozone.h File services/ui/display/platform_screen_impl_ozone.h (right): https://codereview.chromium.org/2297743002/diff/140001/services/ui/display/platform_screen_impl_ozone.h#newcode43 services/ui/display/platform_screen_impl_ozone.h:43: bool modified = false; On 2016/09/02 18:29:28, ...
4 years, 3 months ago (2016-09-06 15:35:55 UTC) #14
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/2297743002/160001
4 years, 3 months ago (2016-09-06 17:18:50 UTC) #21
commit-bot: I haz the power
Committed patchset #8 (id:160001)
4 years, 3 months ago (2016-09-06 17:50:45 UTC) #22
commit-bot: I haz the power
4 years, 3 months ago (2016-09-06 17:53:42 UTC) #24
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/80f206eec2f4ba6ec5485d6a40ac5a9af968ab38
Cr-Commit-Position: refs/heads/master@{#416657}

Powered by Google App Engine
This is Rietveld 408576698