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

Issue 1899923002: Basic display management for mus (Closed)

Created:
4 years, 8 months ago by rjkroege
Modified:
4 years, 7 months ago
Reviewers:
sky
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

Basic display management for mus Add a basic single-display manager to mus sufficient to configure a single attached Display. BUG=558602 Committed: https://crrev.com/05b772d9beb759082cbe467ad466962dd669cc3e Cr-Commit-Position: refs/heads/master@{#391969}

Patch Set 1 #

Total comments: 6

Patch Set 2 : review comments #

Patch Set 3 : review comments #

Total comments: 36

Patch Set 4 : review comments #

Patch Set 5 : removed debugging code #

Total comments: 2

Patch Set 6 : review comments #

Total comments: 22

Patch Set 7 : review patches #

Patch Set 8 : review comments #

Patch Set 9 : refactored differently #

Total comments: 2

Patch Set 10 : cleanup #

Patch Set 11 : tests pass #

Patch Set 12 : fix chromecast build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+371 lines, -8 lines) Patch
M components/mus/mus_app.h View 1 2 3 4 5 6 5 chunks +16 lines, -0 lines 0 comments Download
M components/mus/mus_app.cc View 1 2 3 4 5 6 6 chunks +25 lines, -5 lines 0 comments Download
M components/mus/ws/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +11 lines, -0 lines 0 comments Download
M components/mus/ws/platform_display.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M components/mus/ws/platform_display_init_params.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M components/mus/ws/platform_display_init_params.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -1 line 0 comments Download
A components/mus/ws/platform_screen.h View 1 2 3 4 5 6 1 chunk +43 lines, -0 lines 0 comments Download
A components/mus/ws/platform_screen_impl.h View 1 2 3 4 5 6 7 8 1 chunk +39 lines, -0 lines 0 comments Download
A components/mus/ws/platform_screen_impl.cc View 1 2 3 4 5 6 1 chunk +43 lines, -0 lines 0 comments Download
A components/mus/ws/platform_screen_impl_ozone.h View 1 2 3 4 5 6 7 8 1 chunk +64 lines, -0 lines 0 comments Download
A components/mus/ws/platform_screen_impl_ozone.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +117 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (10 generated)
rjkroege
ptal
4 years, 8 months ago (2016-04-18 21:11:24 UTC) #2
sky
https://codereview.chromium.org/1899923002/diff/1/components/mus/ws/platform_display.cc File components/mus/ws/platform_display.cc (right): https://codereview.chromium.org/1899923002/diff/1/components/mus/ws/platform_display.cc#newcode499 components/mus/ws/platform_display.cc:499: native_display_delegate_->UngrabServer(); What happens if this is deleted after OnConfigurationChanged ...
4 years, 8 months ago (2016-04-18 21:25:00 UTC) #3
rjkroege
ptal https://codereview.chromium.org/1899923002/diff/1/components/mus/ws/platform_display.cc File components/mus/ws/platform_display.cc (right): https://codereview.chromium.org/1899923002/diff/1/components/mus/ws/platform_display.cc#newcode499 components/mus/ws/platform_display.cc:499: native_display_delegate_->UngrabServer(); On 2016/04/18 21:25:00, sky wrote: > What ...
4 years, 8 months ago (2016-04-21 20:19:53 UTC) #4
rjkroege
ptal
4 years, 7 months ago (2016-05-02 23:15:58 UTC) #5
sky
https://codereview.chromium.org/1899923002/diff/40001/components/mus/mus_app.cc File components/mus/mus_app.cc (right): https://codereview.chromium.org/1899923002/diff/40001/components/mus/mus_app.cc#newcode213 components/mus/mus_app.cc:213: void MandolineUIServicesApp::CreatePhysicalDisplayCallback(int64_t id, Make position match that of header. ...
4 years, 7 months ago (2016-05-03 02:39:51 UTC) #6
rjkroege
ptal https://codereview.chromium.org/1899923002/diff/40001/components/mus/mus_app.cc File components/mus/mus_app.cc (right): https://codereview.chromium.org/1899923002/diff/40001/components/mus/mus_app.cc#newcode213 components/mus/mus_app.cc:213: void MandolineUIServicesApp::CreatePhysicalDisplayCallback(int64_t id, On 2016/05/03 02:39:50, sky wrote: ...
4 years, 7 months ago (2016-05-03 21:03:04 UTC) #7
sky
https://codereview.chromium.org/1899923002/diff/80001/components/mus/ws/platform_screen.h File components/mus/ws/platform_screen.h (right): https://codereview.chromium.org/1899923002/diff/80001/components/mus/ws/platform_screen.h#newcode28 components/mus/ws/platform_screen.h:28: class PlatformScreen : public ui::NativeDisplayObserver { I find the ...
4 years, 7 months ago (2016-05-03 23:33:40 UTC) #8
rjkroege
ptal https://codereview.chromium.org/1899923002/diff/80001/components/mus/ws/platform_screen.h File components/mus/ws/platform_screen.h (right): https://codereview.chromium.org/1899923002/diff/80001/components/mus/ws/platform_screen.h#newcode28 components/mus/ws/platform_screen.h:28: class PlatformScreen : public ui::NativeDisplayObserver { On 2016/05/03 ...
4 years, 7 months ago (2016-05-04 01:37:40 UTC) #9
sky
https://codereview.chromium.org/1899923002/diff/100001/components/mus/ws/platform_screen.h File components/mus/ws/platform_screen.h (right): https://codereview.chromium.org/1899923002/diff/100001/components/mus/ws/platform_screen.h#newcode23 components/mus/ws/platform_screen.h:23: PlatformScreen(); You shouldn't need to have this. https://codereview.chromium.org/1899923002/diff/100001/components/mus/ws/platform_screen.h#newcode24 components/mus/ws/platform_screen.h:24: ...
4 years, 7 months ago (2016-05-04 17:05:45 UTC) #10
rjkroege
ptal https://codereview.chromium.org/1899923002/diff/100001/components/mus/ws/platform_screen.h File components/mus/ws/platform_screen.h (right): https://codereview.chromium.org/1899923002/diff/100001/components/mus/ws/platform_screen.h#newcode23 components/mus/ws/platform_screen.h:23: PlatformScreen(); On 2016/05/04 17:05:44, sky wrote: > You ...
4 years, 7 months ago (2016-05-04 22:50:14 UTC) #11
sky
LGTM https://codereview.chromium.org/1899923002/diff/160001/components/mus/ws/platform_screen_impl_ozone.cc File components/mus/ws/platform_screen_impl_ozone.cc (right): https://codereview.chromium.org/1899923002/diff/160001/components/mus/ws/platform_screen_impl_ozone.cc#newcode114 components/mus/ws/platform_screen_impl_ozone.cc:114: native_display_delegate_->UngrabServer(); If this is destroyed between ConfigurePhysicalDisplay and ...
4 years, 7 months ago (2016-05-04 23:48:07 UTC) #12
rjkroege
https://codereview.chromium.org/1899923002/diff/160001/components/mus/ws/platform_screen_impl_ozone.cc File components/mus/ws/platform_screen_impl_ozone.cc (right): https://codereview.chromium.org/1899923002/diff/160001/components/mus/ws/platform_screen_impl_ozone.cc#newcode114 components/mus/ws/platform_screen_impl_ozone.cc:114: native_display_delegate_->UngrabServer(); On 2016/05/04 23:48:07, sky wrote: > If this ...
4 years, 7 months ago (2016-05-05 00:55:43 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1899923002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1899923002/180001
4 years, 7 months ago (2016-05-05 00:57:38 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/155666)
4 years, 7 months ago (2016-05-05 01:23:25 UTC) #18
rjkroege
I had to make a 1 line change to make the tests pass by setting ...
4 years, 7 months ago (2016-05-05 20:58:11 UTC) #19
sky
SLGTM
4 years, 7 months ago (2016-05-05 21:25:08 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1899923002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1899923002/200001
4 years, 7 months ago (2016-05-05 22:06:48 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/65896) cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, ...
4 years, 7 months ago (2016-05-05 22:15:46 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1899923002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1899923002/220001
4 years, 7 months ago (2016-05-05 22:56:53 UTC) #28
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 7 months ago (2016-05-06 00:32:59 UTC) #29
commit-bot: I haz the power
4 years, 7 months ago (2016-05-06 00:34:46 UTC) #31
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/05b772d9beb759082cbe467ad466962dd669cc3e
Cr-Commit-Position: refs/heads/master@{#391969}

Powered by Google App Engine
This is Rietveld 408576698