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

Issue 2340383002: Add FakeDisplaySnapshot builder and related changes. (Closed)

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

Description

Add FakeDisplaySnapshot builder and related changes. Adds a builder for FakeDisplaySnapshot to allow us to easily construct the display snapshots. Will update more tests to use this functionality in a follow up CL. Update platform_screen_ozone_unittests.cc to use FakeDisplaySnapshot instead of DisplaySnapshotVirtual. Update --screen-config to take display DPI and able to start without any initial displays. BUG=611475 Committed: https://crrev.com/e1436a91ec2c8c557936dbabc3e594b8402c8b97 Cr-Commit-Position: refs/heads/master@{#419885}

Patch Set 1 #

Patch Set 2 : Update. #

Patch Set 3 : More updates. #

Total comments: 12

Patch Set 4 : Fixes for comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+365 lines, -57 lines) Patch
M services/ui/display/platform_screen_ozone_unittests.cc View 1 5 chunks +16 lines, -8 lines 0 comments Download
M ui/display/fake_display_delegate.h View 1 2 5 chunks +17 lines, -6 lines 0 comments Download
M ui/display/fake_display_delegate.cc View 1 2 3 4 chunks +72 lines, -17 lines 0 comments Download
M ui/display/fake_display_snapshot.h View 1 1 chunk +67 lines, -4 lines 0 comments Download
M ui/display/fake_display_snapshot.cc View 1 2 3 1 chunk +183 lines, -22 lines 0 comments Download
M ui/display/types/fake_display_controller.h View 1 2 chunks +10 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 28 (18 generated)
kylechar
derat: ui/display/* sky: services/ui/display/*
4 years, 3 months ago (2016-09-20 16:49:04 UTC) #5
kylechar
Hit enter early last time... derat: ui/display/* sky: services/ui/display/* rjkroege: FYI
4 years, 3 months ago (2016-09-20 16:49:54 UTC) #7
sky
LGTM
4 years, 3 months ago (2016-09-20 17:01:58 UTC) #8
Daniel Erat
mostly looks great, but a few nits https://codereview.chromium.org/2340383002/diff/60001/ui/display/fake_display_delegate.cc File ui/display/fake_display_delegate.cc (right): https://codereview.chromium.org/2340383002/diff/60001/ui/display/fake_display_delegate.cc#newcode66 ui/display/fake_display_delegate.cc:66: return false; ...
4 years, 3 months ago (2016-09-20 17:12:49 UTC) #9
kylechar
https://codereview.chromium.org/2340383002/diff/60001/ui/display/fake_display_delegate.cc File ui/display/fake_display_delegate.cc (right): https://codereview.chromium.org/2340383002/diff/60001/ui/display/fake_display_delegate.cc#newcode66 ui/display/fake_display_delegate.cc:66: return false; On 2016/09/20 17:12:49, Daniel Erat wrote: > ...
4 years, 3 months ago (2016-09-20 17:47:41 UTC) #10
Daniel Erat
lgtm thanks!
4 years, 3 months ago (2016-09-20 18:01:15 UTC) #11
kylechar
Thanks derat/sky for the quick review.
4 years, 3 months ago (2016-09-20 18:01:55 UTC) #12
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/2340383002/80001
4 years, 3 months ago (2016-09-20 22:56:44 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 3 months ago (2016-09-20 23:04:35 UTC) #26
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 23:06:56 UTC) #28
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e1436a91ec2c8c557936dbabc3e594b8402c8b97
Cr-Commit-Position: refs/heads/master@{#419885}

Powered by Google App Engine
This is Rietveld 408576698