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

Issue 2121053002: Have PlatformScreen use DisplayConfigurator. (Closed)

Created:
4 years, 5 months ago by kylechar
Modified:
4 years, 5 months ago
Reviewers:
msw
CC:
chromium-reviews, rjkroege
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make PlatformScreenImplOzone use DisplayConfigurator. Currently the PlatformScreen implementation for Ozone uses NativeDisplayDelegate directly. DisplayConfigurator is already designed to use it and is accessible from services/ui. Change the implementation to use DisplayConfigurator instead. This provides PlatformScreen with much of the necessary display configuration code it will need for multiple monitor support. For now PlatformScreenImplOzone just forces the native resolution on 1 display. BUG=625876 Committed: https://crrev.com/0b41be7853346d302ffece00f31bd12112dbfa4a Cr-Commit-Position: refs/heads/master@{#404151}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fixes. #

Patch Set 3 : Fix warning. #

Patch Set 4 : Fix cast for real. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -113 lines) Patch
M services/ui/ws/BUILD.gn View 1 2 3 1 chunk +11 lines, -8 lines 0 comments Download
M services/ui/ws/platform_screen.h View 2 chunks +3 lines, -3 lines 0 comments Download
M services/ui/ws/platform_screen_impl_ozone.h View 2 chunks +13 lines, -32 lines 0 comments Download
M services/ui/ws/platform_screen_impl_ozone.cc View 1 2 3 3 chunks +40 lines, -70 lines 0 comments Download

Messages

Total messages: 20 (10 generated)
kylechar
4 years, 5 months ago (2016-07-05 18:32:51 UTC) #3
msw
lgtm with nits, but I don't know this area too well. https://codereview.chromium.org/2121053002/diff/1/services/ui/ws/platform_screen_impl_ozone.cc File services/ui/ws/platform_screen_impl_ozone.cc (right): ...
4 years, 5 months ago (2016-07-06 18:18:36 UTC) #4
kylechar
Thanks. I added back the unnecessary looking #ifdef. Turns out it was necessary, so I ...
4 years, 5 months ago (2016-07-06 18:43:22 UTC) #5
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/2121053002/20001
4 years, 5 months ago (2016-07-06 18:45:02 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/186684)
4 years, 5 months ago (2016-07-06 19:03:07 UTC) #10
kylechar
On 2016/07/06 19:03:07, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 5 months ago (2016-07-06 19:55:34 UTC) #11
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/2121053002/60001
4 years, 5 months ago (2016-07-07 12:59:41 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-07 13:54:20 UTC) #17
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-07 13:54:25 UTC) #18
commit-bot: I haz the power
4 years, 5 months ago (2016-07-07 13:56:02 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0b41be7853346d302ffece00f31bd12112dbfa4a
Cr-Commit-Position: refs/heads/master@{#404151}

Powered by Google App Engine
This is Rietveld 408576698