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

Issue 2323063003: mash: Port sysui's WallpaperDelegateMus to mojo:ash. (Closed)

Created:
4 years, 3 months ago by msw
Modified:
4 years, 3 months ago
Reviewers:
sky
CC:
chromium-reviews, kalyank, sadrul, James Cook, kylechar
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mash: Port sysui's WallpaperDelegateMus to mojo:ash. Move wallpaper_delegate_mus.* to ash/mus. Vend mojom::WallpaperController from WindowManagerApplication. Enable context menu command. Workaround NOTIMPLEMENTED WmShellMus::GetDisplayInfo. TODO: Fix crash on actually setting wallpaper via picker... BUG=629605 TEST=chrome --mash has default gray wallpaper, can open picker. R=sky@chromium.org Committed: https://crrev.com/7d03b20662808183e75e52ad17ddf430a908d44f Cr-Commit-Position: refs/heads/master@{#417774}

Patch Set 1 #

Patch Set 2 : Add stub display info; get wallpaper picker showing. #

Patch Set 3 : Cleanup. #

Total comments: 3

Patch Set 4 : Fix gn check. #

Patch Set 5 : Alternative display info workaround. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -189 lines) Patch
M ash/common/wallpaper/wallpaper_controller.cc View 1 2 3 4 1 chunk +6 lines, -2 lines 3 comments Download
M ash/common/wallpaper/wallpaper_view.cc View 1 2 3 4 1 chunk +6 lines, -1 line 0 comments Download
M ash/mus/BUILD.gn View 1 2 3 3 chunks +4 lines, -0 lines 0 comments Download
M ash/mus/bridge/wm_shell_mus.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M ash/mus/context_menu_mus.cc View 1 2 chunks +3 lines, -5 lines 0 comments Download
M ash/mus/manifest.json View 1 chunk +3 lines, -0 lines 0 comments Download
M ash/mus/shell_delegate_mus.cc View 1 2 chunks +2 lines, -3 lines 0 comments Download
A + ash/mus/wallpaper_delegate_mus.h View 1 2 chunks +10 lines, -6 lines 0 comments Download
A + ash/mus/wallpaper_delegate_mus.cc View 1 4 chunks +5 lines, -7 lines 0 comments Download
M ash/mus/window_manager_application.h View 4 chunks +8 lines, -1 line 0 comments Download
M ash/mus/window_manager_application.cc View 3 chunks +12 lines, -0 lines 0 comments Download
M ash/sysui/BUILD.gn View 2 chunks +0 lines, -3 lines 0 comments Download
M ash/sysui/manifest.json View 1 chunk +0 lines, -1 line 0 comments Download
M ash/sysui/shell_delegate_mus.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M ash/sysui/sysui_application.h View 3 chunks +1 line, -10 lines 0 comments Download
M ash/sysui/sysui_application.cc View 2 chunks +0 lines, -10 lines 0 comments Download
D ash/sysui/wallpaper_delegate_mus.h View 1 chunk +0 lines, -44 lines 0 comments Download
D ash/sysui/wallpaper_delegate_mus.cc View 1 chunk +0 lines, -92 lines 0 comments Download

Messages

Total messages: 26 (15 generated)
msw
Hey Scott, please take a look; thanks! FYI Robert and Kyle on the wm_shell_mus.cc workaround/TODO. ...
4 years, 3 months ago (2016-09-09 19:10:04 UTC) #4
kylechar
https://codereview.chromium.org/2323063003/diff/40001/ash/mus/bridge/wm_shell_mus.cc File ash/mus/bridge/wm_shell_mus.cc (right): https://codereview.chromium.org/2323063003/diff/40001/ash/mus/bridge/wm_shell_mus.cc#newcode234 ash/mus/bridge/wm_shell_mus.cc:234: // Return a stub ManagedDisplayInfo object created from a ...
4 years, 3 months ago (2016-09-09 20:12:35 UTC) #9
rjkroege
On 2016/09/09 20:12:35, kylechar wrote: > https://codereview.chromium.org/2323063003/diff/40001/ash/mus/bridge/wm_shell_mus.cc > File ash/mus/bridge/wm_shell_mus.cc (right): > > https://codereview.chromium.org/2323063003/diff/40001/ash/mus/bridge/wm_shell_mus.cc#newcode234 > ...
4 years, 3 months ago (2016-09-09 21:08:58 UTC) #10
msw
Thanks, please see the new workarounds and my comment. I should help you guys move ...
4 years, 3 months ago (2016-09-09 21:13:08 UTC) #11
sky
On 2016/09/09 21:13:08, msw wrote: > Thanks, please see the new workarounds and my comment. ...
4 years, 3 months ago (2016-09-09 22:15:36 UTC) #15
sky
https://codereview.chromium.org/2323063003/diff/80001/ash/common/wallpaper/wallpaper_controller.cc File ash/common/wallpaper/wallpaper_controller.cc (right): https://codereview.chromium.org/2323063003/diff/80001/ash/common/wallpaper/wallpaper_controller.cc#newcode156 ash/common/wallpaper/wallpaper_controller.cc:156: // TODO(mash): Mash returns a fake ManagedDisplayInfo. crbug.com/622480 Is ...
4 years, 3 months ago (2016-09-09 22:17:01 UTC) #16
msw
https://codereview.chromium.org/2323063003/diff/80001/ash/common/wallpaper/wallpaper_controller.cc File ash/common/wallpaper/wallpaper_controller.cc (right): https://codereview.chromium.org/2323063003/diff/80001/ash/common/wallpaper/wallpaper_controller.cc#newcode156 ash/common/wallpaper/wallpaper_controller.cc:156: // TODO(mash): Mash returns a fake ManagedDisplayInfo. crbug.com/622480 On ...
4 years, 3 months ago (2016-09-09 23:09:51 UTC) #19
sky
LGTM https://codereview.chromium.org/2323063003/diff/80001/ash/common/wallpaper/wallpaper_controller.cc File ash/common/wallpaper/wallpaper_controller.cc (right): https://codereview.chromium.org/2323063003/diff/80001/ash/common/wallpaper/wallpaper_controller.cc#newcode156 ash/common/wallpaper/wallpaper_controller.cc:156: // TODO(mash): Mash returns a fake ManagedDisplayInfo. crbug.com/622480 ...
4 years, 3 months ago (2016-09-09 23:36:35 UTC) #20
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/2323063003/80001
4 years, 3 months ago (2016-09-10 00:06:10 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 3 months ago (2016-09-10 00:14:02 UTC) #24
commit-bot: I haz the power
4 years, 3 months ago (2016-09-10 00:18:33 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/7d03b20662808183e75e52ad17ddf430a908d44f
Cr-Commit-Position: refs/heads/master@{#417774}

Powered by Google App Engine
This is Rietveld 408576698