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

Issue 2150023002: Add ShellDelegate, MediaDelegate and KeyboardUI stubs to mus ash (Closed)

Created:
4 years, 5 months ago by James Cook
Modified:
4 years, 5 months ago
Reviewers:
msw
CC:
chromium-reviews, kalyank, jam, sadrul, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add ShellDelegate, MediaDelegate and KeyboardUI stubs to mus ash These will be necessary to get the StatusAreaWidget to display in mojo:ash. * Fork ash::sysui::ShellDelegateMus into //ash/mus * Convert WmShell constructors to take ShellDelegate via unique_ptr * Use ash::KeyboardUI for now, rather than KeyboardUIMus * Move GPUSupport and PointerWatcherDelegate to //ash/common * Fix some IWYU No functional changes for regular non-mash chrome. BUG=619636 TEST=ash_unittests, run chrome --mash manually and no crashes Committed: https://crrev.com/333757306609d5ae15085538c025b2d38782a2ae Cr-Commit-Position: refs/heads/master@{#405594}

Patch Set 1 #

Patch Set 2 : ShellDelegate via unique_ptr #

Total comments: 2

Patch Set 3 : fix deps #

Total comments: 5

Patch Set 4 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -171 lines) Patch
M ash/accelerators/accelerator_controller.cc View 2 chunks +1 line, -1 line 0 comments Download
M ash/ash.gyp View 4 chunks +4 lines, -4 lines 0 comments Download
M ash/aura/wm_shell_aura.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M ash/aura/wm_shell_aura.cc View 1 2 chunks +4 lines, -1 line 0 comments Download
A + ash/common/gpu_support.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + ash/common/gpu_support_stub.h View 1 2 chunks +4 lines, -5 lines 0 comments Download
A + ash/common/gpu_support_stub.cc View 1 chunk +1 line, -1 line 0 comments Download
A + ash/common/pointer_watcher_delegate.h View 2 chunks +5 lines, -0 lines 0 comments Download
M ash/common/wm_shell.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/common/wm_shell.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M ash/content/gpu_support_impl.h View 1 chunk +1 line, -1 line 0 comments Download
D ash/gpu_support.h View 1 chunk +0 lines, -35 lines 0 comments Download
D ash/gpu_support_stub.h View 1 chunk +0 lines, -33 lines 0 comments Download
D ash/gpu_support_stub.cc View 1 chunk +0 lines, -22 lines 0 comments Download
M ash/mus/BUILD.gn View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M ash/mus/bridge/wm_shell_mus.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M ash/mus/bridge/wm_shell_mus.cc View 1 3 chunks +10 lines, -2 lines 0 comments Download
M ash/mus/root_window_controller.cc View 1 chunk +1 line, -0 lines 0 comments Download
A + ash/mus/shell_delegate_mus.h View 1 2 3 2 chunks +7 lines, -11 lines 0 comments Download
A + ash/mus/shell_delegate_mus.cc View 7 chunks +14 lines, -15 lines 0 comments Download
M ash/mus/window_manager.cc View 1 4 chunks +29 lines, -2 lines 0 comments Download
D ash/pointer_watcher_delegate.h View 1 chunk +0 lines, -22 lines 0 comments Download
M ash/pointer_watcher_delegate_aura.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/shell.cc View 1 4 chunks +3 lines, -3 lines 0 comments Download
M ash/shell/shell_delegate_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/sysui/pointer_watcher_delegate_mus.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/sysui/shell_delegate_mus.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/test/test_shell_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 21 (13 generated)
James Cook
msw, please take a look. This CL + some chromeos singleton initialization + fix for ...
4 years, 5 months ago (2016-07-14 18:59:18 UTC) #5
msw
lgtm with a nit and a q. https://codereview.chromium.org/2150023002/diff/20001/ash/mus/bridge/wm_shell_mus.cc File ash/mus/bridge/wm_shell_mus.cc (right): https://codereview.chromium.org/2150023002/diff/20001/ash/mus/bridge/wm_shell_mus.cc#newcode141 ash/mus/bridge/wm_shell_mus.cc:141: SetMediaDelegate(base::WrapUnique(delegate()->CreateMediaDelegate())); On ...
4 years, 5 months ago (2016-07-14 19:50:05 UTC) #10
msw
On 2016/07/14 18:59:18, James Cook wrote: > This CL + some chromeos singleton initialization + ...
4 years, 5 months ago (2016-07-14 19:50:34 UTC) #11
James Cook
https://codereview.chromium.org/2150023002/diff/40001/ash/mus/bridge/wm_shell_mus.cc File ash/mus/bridge/wm_shell_mus.cc (right): https://codereview.chromium.org/2150023002/diff/40001/ash/mus/bridge/wm_shell_mus.cc#newcode141 ash/mus/bridge/wm_shell_mus.cc:141: SetMediaDelegate(base::WrapUnique(delegate()->CreateMediaDelegate())); On 2016/07/14 19:50:05, msw wrote: > q: Would ...
4 years, 5 months ago (2016-07-14 20:54:44 UTC) #14
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/2150023002/60001
4 years, 5 months ago (2016-07-14 20:55:32 UTC) #17
msw
still lgtm https://codereview.chromium.org/2150023002/diff/40001/ash/mus/bridge/wm_shell_mus.cc File ash/mus/bridge/wm_shell_mus.cc (right): https://codereview.chromium.org/2150023002/diff/40001/ash/mus/bridge/wm_shell_mus.cc#newcode141 ash/mus/bridge/wm_shell_mus.cc:141: SetMediaDelegate(base::WrapUnique(delegate()->CreateMediaDelegate())); On 2016/07/14 20:54:44, James Cook wrote: ...
4 years, 5 months ago (2016-07-14 20:58:04 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-14 22:09:45 UTC) #19
commit-bot: I haz the power
4 years, 5 months ago (2016-07-14 22:12:42 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/333757306609d5ae15085538c025b2d38782a2ae
Cr-Commit-Position: refs/heads/master@{#405594}

Powered by Google App Engine
This is Rietveld 408576698