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

Issue 2567523002: mash: Have chrome set itself as the app list presenter. (Closed)

Created:
4 years ago by msw
Modified:
4 years ago
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, darin (slow to review), davemoore+watch_chromium.org, kalyank, Matt Giuca, oshima+watch_chromium.org, qsr+mojo_chromium.org, sadrul, tfarina, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, yzshen1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mash: Have chrome set itself as the app list presenter. Do not let ash connect to chrome to get the presenter. Expose mojom::AppList interface in ash to set the presenter. Chrome's AppListPresenterService connects to register. Move instance from Chrome's FactoryImpl to AppListServiceAsh. Implement app_list::AppList; owned by ash::WmShell. Add export info to app_list's 'presenter' component. (lets it add the mojom as a public DEPS; thanks Yuzhu!) Remove connection and interface pointer from AppListPresenterMus. TODO: What's not TODO here? It's a mess! BUG=670775 TEST=No regressions in chrome --mash app list behavior R=jamescook@chromium.org,tsepez@chromium.org,xiyuan@chromium.org,rockot@chromium.org Committed: https://crrev.com/982c17a70a9c06b191b96e6e77f78933d0989de4 Cr-Commit-Position: refs/heads/master@{#438044}

Patch Set 1 #

Patch Set 2 : Add AppList class on WmShell, trying to build... #

Patch Set 3 : Build should work; thanks, Yuzhu! #

Total comments: 10

Patch Set 4 : Address comments. #

Total comments: 9

Patch Set 5 : Rebase #

Patch Set 6 : Address comments, #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -67 lines) Patch
M ash/common/mojo_interface_factory.cc View 1 2 3 4 4 chunks +8 lines, -0 lines 0 comments Download
M ash/common/wm_shell.h View 1 2 3 4 3 chunks +7 lines, -0 lines 0 comments Download
M ash/common/wm_shell.cc View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M ash/mus/app_list_presenter_mus.h View 1 2 chunks +2 lines, -14 lines 0 comments Download
M ash/mus/app_list_presenter_mus.cc View 1 2 3 4 5 2 chunks +15 lines, -27 lines 0 comments Download
M ash/mus/manifest.json View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M ash/mus/shell_delegate_mus.cc View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/chrome_content_browser_manifest_overlay.json View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/chrome_interface_factory.cc View 4 chunks +0 lines, -14 lines 0 comments Download
M chrome/browser/ui/ash/app_list/app_list_presenter_service.h View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/app_list/app_list_presenter_service.cc View 1 chunk +16 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/app_list/app_list_service_ash.h View 2 chunks +3 lines, -0 lines 0 comments Download
M ui/app_list/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/app_list/presenter/BUILD.gn View 1 2 3 chunks +17 lines, -9 lines 0 comments Download
A ui/app_list/presenter/app_list.h View 1 2 3 4 5 1 chunk +41 lines, -0 lines 0 comments Download
A ui/app_list/presenter/app_list.cc View 1 1 chunk +25 lines, -0 lines 0 comments Download
M ui/app_list/presenter/app_list_presenter.mojom View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 52 (27 generated)
msw
Hey James, please take a look; thanks!
4 years ago (2016-12-09 23:05:47 UTC) #5
msw
Hey Mikhail, would you please also take a look? Thanks!
4 years ago (2016-12-10 00:36:13 UTC) #9
James Cook
LGTM with nits https://codereview.chromium.org/2567523002/diff/40001/ash/common/wm_shell.h File ash/common/wm_shell.h (right): https://codereview.chromium.org/2567523002/diff/40001/ash/common/wm_shell.h#newcode20 ash/common/wm_shell.h:20: #include "ui/app_list/presenter/app_list.h" Hmm. I've been trying ...
4 years ago (2016-12-10 00:50:08 UTC) #10
msw
+Tom for mojom and manifest OWNERS, please take a look; thanks!
4 years ago (2016-12-10 00:56:13 UTC) #13
msw
Xiyuan, please take a look at ui/app_list and chrome_interface_factory.cc Ken, please take a look at ...
4 years ago (2016-12-10 01:08:12 UTC) #16
Ken Rockot(use gerrit already)
lgtm
4 years ago (2016-12-10 01:21:41 UTC) #19
Tom Sepez
On 2016/12/10 01:21:41, Ken Rockot wrote: > lgtm When swapping "conectors" and "connectees", so to ...
4 years ago (2016-12-12 16:29:31 UTC) #22
Tom Sepez
On 2016/12/12 16:29:31, Tom Sepez wrote: > On 2016/12/10 01:21:41, Ken Rockot wrote: > > ...
4 years ago (2016-12-12 16:30:12 UTC) #23
xiyuan
ui/app_list and chrome_interface_factory.cc lgtm
4 years ago (2016-12-12 16:59:07 UTC) #24
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/2567523002/60001
4 years ago (2016-12-12 19:21:48 UTC) #27
msw
On 2016/12/12 16:29:31, Tom Sepez wrote: > On 2016/12/10 01:21:41, Ken Rockot wrote: > > ...
4 years ago (2016-12-12 19:22:05 UTC) #28
msw
On 2016/12/12 16:29:31, Tom Sepez wrote: > When swapping "conectors" and "connectees", so to speak, ...
4 years ago (2016-12-12 22:06:56 UTC) #29
Tom Sepez
lgtm
4 years ago (2016-12-12 22:12:04 UTC) #30
commit-bot: I haz the power
Failed to apply patch for ash/common/mojo_interface_factory.cc: While running git apply --index -p1; error: patch failed: ...
4 years ago (2016-12-12 22:23:23 UTC) #32
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/2567523002/80001
4 years ago (2016-12-12 22:54:22 UTC) #35
mfomitchev
LGTM with a couple nits
4 years ago (2016-12-12 22:59:39 UTC) #36
mfomitchev
https://codereview.chromium.org/2567523002/diff/60001/ash/mus/app_list_presenter_mus.cc File ash/mus/app_list_presenter_mus.cc (right): https://codereview.chromium.org/2567523002/diff/60001/ash/mus/app_list_presenter_mus.cc#newcode17 ash/mus/app_list_presenter_mus.cc:17: app_list::AppList* app_list = WmShell::Get()->app_list(); nit: why not do app_list_presenter ...
4 years ago (2016-12-12 22:59:50 UTC) #37
mfomitchev
4 years ago (2016-12-12 22:59:54 UTC) #38
msw
Thanks for the review. https://codereview.chromium.org/2567523002/diff/60001/ash/mus/app_list_presenter_mus.cc File ash/mus/app_list_presenter_mus.cc (right): https://codereview.chromium.org/2567523002/diff/60001/ash/mus/app_list_presenter_mus.cc#newcode17 ash/mus/app_list_presenter_mus.cc:17: app_list::AppList* app_list = WmShell::Get()->app_list(); On ...
4 years ago (2016-12-12 23:47:54 UTC) #39
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/2567523002/100001
4 years ago (2016-12-12 23:48:56 UTC) #42
mfomitchev
https://codereview.chromium.org/2567523002/diff/60001/ui/app_list/presenter/BUILD.gn File ui/app_list/presenter/BUILD.gn (right): https://codereview.chromium.org/2567523002/diff/60001/ui/app_list/presenter/BUILD.gn#newcode19 ui/app_list/presenter/BUILD.gn:19: export_class_attribute = "APP_LIST_PRESENTER_EXPORT" On 2016/12/12 23:47:54, msw wrote: > ...
4 years ago (2016-12-13 01:14:13 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/331706)
4 years ago (2016-12-13 01:46:39 UTC) #45
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/2567523002/100001
4 years ago (2016-12-13 02:16:59 UTC) #47
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-12-13 03:51:55 UTC) #50
commit-bot: I haz the power
4 years ago (2016-12-13 03:55:00 UTC) #52
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/982c17a70a9c06b191b96e6e77f78933d0989de4
Cr-Commit-Position: refs/heads/master@{#438044}

Powered by Google App Engine
This is Rietveld 408576698