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

Issue 2415163002: Expand and split DisplayController mojom. (Closed)

Created:
4 years, 2 months ago by kylechar
Modified:
4 years, 2 months ago
Reviewers:
Tom Sepez, sky
CC:
chromium-reviews, rjkroege, sadrul, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, kalyank, msw
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Expand and split DisplayController mojom. Add two IPC calls to mojom::DisplayController. The first is to enable a keyboard shortcut for swapping primary display from ash. This is part of the existing developer shortcuts and will enable testing primary display work. Second, add a call to let ash to set the display workarea. The workarea IPC call needs to be implemented on the ash side. Split the existing IPC call to toggle adding/removing a fake display into a new test interface. Fix the way mus specific keyboard accelerators in ash work. The accelerators were being triggered from HandlesAction() which is wrong. Instead trigger accelerators from PerformAction(). BUG=612242 Committed: https://crrev.com/24ff7b7d6909448813aa15c0f9a2da2a4ce32af0 Cr-Commit-Position: refs/heads/master@{#425977}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Split mojo interface. #

Patch Set 3 : Fix case statements. #

Patch Set 4 : Actually fix case statements. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -27 lines) Patch
M ash/mus/accelerators/accelerator_controller_delegate_mus.cc View 1 2 3 3 chunks +40 lines, -14 lines 0 comments Download
M services/ui/display/platform_screen_ozone.h View 1 5 chunks +17 lines, -3 lines 0 comments Download
M services/ui/display/platform_screen_ozone.cc View 1 5 chunks +50 lines, -2 lines 0 comments Download
M services/ui/manifest.json View 1 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/public/interfaces/display/BUILD.gn View 1 2 chunks +1 line, -4 lines 0 comments Download
M services/ui/public/interfaces/display/display_controller.mojom View 1 1 chunk +11 lines, -4 lines 0 comments Download
A services/ui/public/interfaces/display/test_display_controller.mojom View 1 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (14 generated)
kylechar
sky: ash/* and general review. tsepez: mojom security review.
4 years, 2 months ago (2016-10-13 16:14:36 UTC) #2
Tom Sepez
On 2016/10/13 16:14:36, kylechar wrote: > sky: ash/* and general review. > tsepez: mojom security ...
4 years, 2 months ago (2016-10-13 16:36:11 UTC) #3
kylechar
On 2016/10/13 16:36:11, Tom Sepez wrote: > On 2016/10/13 16:14:36, kylechar wrote: > > sky: ...
4 years, 2 months ago (2016-10-13 16:40:02 UTC) #4
sky
https://codereview.chromium.org/2415163002/diff/1/services/ui/public/interfaces/display/display_controller.mojom File services/ui/public/interfaces/display/display_controller.mojom (right): https://codereview.chromium.org/2415163002/diff/1/services/ui/public/interfaces/display/display_controller.mojom#newcode16 services/ui/public/interfaces/display/display_controller.mojom:16: ToggleAddRemoveDisplay(); This is more of a testing api where ...
4 years, 2 months ago (2016-10-13 18:11:23 UTC) #5
Tom Sepez
lgtm
4 years, 2 months ago (2016-10-13 18:15:27 UTC) #6
kylechar
https://codereview.chromium.org/2415163002/diff/1/services/ui/public/interfaces/display/display_controller.mojom File services/ui/public/interfaces/display/display_controller.mojom (right): https://codereview.chromium.org/2415163002/diff/1/services/ui/public/interfaces/display/display_controller.mojom#newcode16 services/ui/public/interfaces/display/display_controller.mojom:16: ToggleAddRemoveDisplay(); On 2016/10/13 18:11:23, sky wrote: > This is ...
4 years, 2 months ago (2016-10-14 15:41:32 UTC) #7
sky
On 2016/10/14 15:41:32, kylechar wrote: > https://codereview.chromium.org/2415163002/diff/1/services/ui/public/interfaces/display/display_controller.mojom > File services/ui/public/interfaces/display/display_controller.mojom (right): > > https://codereview.chromium.org/2415163002/diff/1/services/ui/public/interfaces/display/display_controller.mojom#newcode16 > ...
4 years, 2 months ago (2016-10-14 16:46:52 UTC) #8
kylechar
On 2016/10/14 16:46:52, sky wrote: > On 2016/10/14 15:41:32, kylechar wrote: > > > https://codereview.chromium.org/2415163002/diff/1/services/ui/public/interfaces/display/display_controller.mojom ...
4 years, 2 months ago (2016-10-17 15:54:03 UTC) #9
sky
LGTM - thanks!
4 years, 2 months ago (2016-10-17 20:05:27 UTC) #10
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/2415163002/40001
4 years, 2 months ago (2016-10-18 13:47:21 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_x86-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_x86-generic_chromium_compile_only_ng/builds/218438)
4 years, 2 months ago (2016-10-18 14:02:19 UTC) #21
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/2415163002/60001
4 years, 2 months ago (2016-10-18 14:10:37 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-18 15:59:35 UTC) #26
commit-bot: I haz the power
4 years, 2 months ago (2016-10-18 16:03:46 UTC) #28
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/24ff7b7d6909448813aa15c0f9a2da2a4ce32af0
Cr-Commit-Position: refs/heads/master@{#425977}

Powered by Google App Engine
This is Rietveld 408576698