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

Issue 1861013004: AppListController refactoring part 3: Switching over to use AppListShower in Ash. (Closed)

Created:
4 years, 8 months ago by mfomitchev
Modified:
4 years, 8 months ago
Reviewers:
xiyuan, sky
CC:
chromium-reviews, kalyank, sadrul, Matt Giuca, tapted, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@mus_chrome_delegates_ash_impl
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

AppListController refactoring part 3: Switching over to use AppListShower in Ash. Part 1 of the refactoring: https://crrev.com/1830293002 Part 2 of the refactoring: https://crrev.com/1856943003 Design doc: https://docs.google.com/document/d/1M9vqTTuprMssRXs8UIVaFjQUq3lUxSzwrWoPjPvca6Q/edit?ts=56d0e9f0#heading=h.b2znwtuxd2x2 This CL makes Ash use app_list::AppListShowerImpl + ash::AppListShowerDelegate tandem instead of ash::AppListController. AppListShower is owned by AppListServiceAsh, and Ash goes to AppListServiceAsh (through ChromeShellDelegate) when it needs to hide or show the app list. BUG=557408 Committed: https://crrev.com/2b8b5cae9e892e575f6dcff36993f5a0694fa33b Cr-Commit-Position: refs/heads/master@{#386136}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Addressing review feedback. #

Total comments: 4

Patch Set 3 : Rebase. #

Patch Set 4 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+294 lines, -1154 lines) Patch
M ash/ash.gyp View 1 2 3 4 chunks +1 line, -8 lines 0 comments Download
M ash/mus/shell_delegate_mus.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/mus/shell_delegate_mus.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ash/shell.h View 1 2 3 3 chunks +1 line, -8 lines 0 comments Download
M ash/shell.cc View 1 2 3 5 chunks +5 lines, -25 lines 0 comments Download
M ash/shell/shell_delegate_impl.h View 1 2 3 3 chunks +9 lines, -2 lines 0 comments Download
M ash/shell/shell_delegate_impl.cc View 1 2 3 4 chunks +32 lines, -5 lines 0 comments Download
M ash/shell_delegate.h View 2 chunks +3 lines, -3 lines 0 comments Download
D ash/test/app_list_controller_test_api.h View 1 chunk +0 lines, -47 lines 0 comments Download
D ash/test/app_list_controller_test_api.cc View 1 chunk +0 lines, -40 lines 0 comments Download
M ash/test/shell_test_api.h View 2 chunks +5 lines, -2 lines 0 comments Download
M ash/test/shell_test_api.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M ash/test/test_shell_delegate.h View 1 2 3 4 chunks +13 lines, -2 lines 0 comments Download
M ash/test/test_shell_delegate.cc View 1 2 4 chunks +34 lines, -7 lines 0 comments Download
D ash/wm/app_list_controller.h View 1 chunk +0 lines, -153 lines 0 comments Download
D ash/wm/app_list_controller.cc View 1 1 chunk +0 lines, -557 lines 0 comments Download
D ash/wm/app_list_controller_unittest.cc View 1 2 3 1 chunk +0 lines, -192 lines 0 comments Download
M chrome/browser/apps/custom_launcher_page_browsertest_views.cc View 3 chunks +9 lines, -4 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_service_views_browsertest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/app_list/app_list_controller_ash.h View 2 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/app_list/app_list_controller_ash.cc View 2 chunks +9 lines, -11 lines 0 comments Download
M chrome/browser/ui/ash/app_list/app_list_service_ash.h View 1 2 3 3 chunks +13 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/app_list/app_list_service_ash.cc View 1 2 6 chunks +60 lines, -26 lines 0 comments Download
A + chrome/browser/ui/ash/app_list/test/app_list_service_ash_test_api.h View 1 2 3 2 chunks +13 lines, -20 lines 0 comments Download
A + chrome/browser/ui/ash/app_list/test/app_list_service_ash_test_api.cc View 1 2 3 2 chunks +24 lines, -19 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc View 1 2 3 7 chunks +7 lines, -11 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 2 chunks +14 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 chunks +21 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 20 (7 generated)
mfomitchev
4 years, 8 months ago (2016-04-07 03:32:46 UTC) #2
mfomitchev
4 years, 8 months ago (2016-04-07 03:33:22 UTC) #3
xiyuan
lgtm https://codereview.chromium.org/1861013004/diff/1/ash/test/test_shell_delegate.h File ash/test/test_shell_delegate.h (right): https://codereview.chromium.org/1861013004/diff/1/ash/test/test_shell_delegate.h#newcode39 ash/test/test_shell_delegate.h:39: app_list::AppListShowerImpl* app_list_shower() { nit: move accessors to the ...
4 years, 8 months ago (2016-04-07 18:45:09 UTC) #4
mfomitchev
https://codereview.chromium.org/1861013004/diff/1/ash/test/test_shell_delegate.h File ash/test/test_shell_delegate.h (right): https://codereview.chromium.org/1861013004/diff/1/ash/test/test_shell_delegate.h#newcode39 ash/test/test_shell_delegate.h:39: app_list::AppListShowerImpl* app_list_shower() { On 2016/04/07 18:45:09, xiyuan wrote: > ...
4 years, 8 months ago (2016-04-07 19:46:40 UTC) #5
mfomitchev
@sky: Can you PTAL at the files that are not in chrome/browser/ui/app_list/?
4 years, 8 months ago (2016-04-07 19:48:05 UTC) #7
xiyuan
https://codereview.chromium.org/1861013004/diff/1/ash/test/test_shell_delegate.h File ash/test/test_shell_delegate.h (right): https://codereview.chromium.org/1861013004/diff/1/ash/test/test_shell_delegate.h#newcode39 ash/test/test_shell_delegate.h:39: app_list::AppListShowerImpl* app_list_shower() { On 2016/04/07 19:46:40, mfomitchev wrote: > ...
4 years, 8 months ago (2016-04-07 20:08:29 UTC) #8
sky
LGTM https://codereview.chromium.org/1861013004/diff/20001/ash/shell/shell_delegate_impl.h File ash/shell/shell_delegate_impl.h (right): https://codereview.chromium.org/1861013004/diff/20001/ash/shell/shell_delegate_impl.h#newcode9 ash/shell/shell_delegate_impl.h:9: #include <string> include <utility> https://codereview.chromium.org/1861013004/diff/20001/ash/test/test_shell_delegate.h File ash/test/test_shell_delegate.h (right): ...
4 years, 8 months ago (2016-04-07 21:43:28 UTC) #9
mfomitchev
https://codereview.chromium.org/1861013004/diff/20001/ash/shell/shell_delegate_impl.h File ash/shell/shell_delegate_impl.h (right): https://codereview.chromium.org/1861013004/diff/20001/ash/shell/shell_delegate_impl.h#newcode9 ash/shell/shell_delegate_impl.h:9: #include <string> On 2016/04/07 21:43:27, sky wrote: > include ...
4 years, 8 months ago (2016-04-08 15:50:44 UTC) #10
sky
Yep, SLGTM
4 years, 8 months ago (2016-04-08 16:35:51 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1861013004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1861013004/60001
4 years, 8 months ago (2016-04-08 17:54:46 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-08 18:41:24 UTC) #17
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/2b8b5cae9e892e575f6dcff36993f5a0694fa33b Cr-Commit-Position: refs/heads/master@{#386136}
4 years, 8 months ago (2016-04-08 18:43:11 UTC) #19
mfomitchev
4 years, 8 months ago (2016-04-08 20:14:07 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/1866403006/ by mfomitchev@chromium.org.

The reason for reverting is: crrev.com/1856943003 was reverted, so this needs to
be reverted as well..

Powered by Google App Engine
This is Rietveld 408576698