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

Issue 1856943003: AppListController refactoring part 2: Ash's AppListShowerDelegate imlementation. (Closed)

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

Description

AppListController refactoring part 2: Ash's AppListShowerDelegate imlementation. Part 1 of the refactoring: https://crrev.com/1830293002 Design doc: https://docs.google.com/document/d/1M9vqTTuprMssRXs8UIVaFjQUq3lUxSzwrWoPjPvca6Q/edit?ts=56d0e9f0#heading=h.b2znwtuxd2x2 This CL adds ash::AppListShowerDelegate, which is the Ash implementation of app_list::AppListShowerDelegate. At this point it is unused - Ash is still using the old ash::AppListController class to control the app list. BUG=557408 Committed: https://crrev.com/412803081c9d4f4321d267133512f45ce434fc10 Cr-Commit-Position: refs/heads/master@{#386123}

Patch Set 1 #

Patch Set 2 : --similarity 30, re-adding app_list_controller_unittest.cc. #

Patch Set 3 : Couple of small fixes. #

Patch Set 4 : Rebase. #

Patch Set 5 : Rebase. #

Total comments: 8

Patch Set 6 : Addressing review feedback. #

Total comments: 5

Patch Set 7 : Addressing @sky's review feedback. #

Patch Set 8 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+355 lines, -370 lines) Patch
M ash/BUILD.gn View 4 chunks +4 lines, -4 lines 0 comments Download
A ash/app_list/app_list_shower_delegate.h View 1 2 3 4 5 6 1 chunk +102 lines, -0 lines 0 comments Download
A + ash/app_list/app_list_shower_delegate.cc View 1 2 3 4 5 6 7 chunks +134 lines, -334 lines 0 comments Download
A ash/app_list/app_list_shower_delegate_factory.h View 1 2 3 4 5 6 1 chunk +40 lines, -0 lines 0 comments Download
A ash/app_list/app_list_shower_delegate_factory.cc View 1 2 3 4 5 6 1 chunk +25 lines, -0 lines 0 comments Download
A + ash/app_list/app_list_shower_delegate_unittest.cc View 1 2 3 4 5 6 7 9 chunks +28 lines, -24 lines 0 comments Download
A + ash/app_list/app_list_view_delegate_factory.h View 1 2 3 4 5 6 7 1 chunk +10 lines, -8 lines 0 comments Download
M ash/ash.gyp View 1 2 3 4 5 6 7 6 chunks +12 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 21 (8 generated)
mfomitchev
@sky, would you be able to review this? @xiyuan is not the owner ash/wm files..
4 years, 8 months ago (2016-04-06 22:04:22 UTC) #2
mfomitchev
I guess it would be best if @xiyuan reviewed this first (and then @sky can ...
4 years, 8 months ago (2016-04-07 01:37:24 UTC) #5
xiyuan
lgtm https://codereview.chromium.org/1856943003/diff/80001/ash/wm/app_list_shower_delegate.cc File ash/wm/app_list_shower_delegate.cc (right): https://codereview.chromium.org/1856943003/diff/80001/ash/wm/app_list_shower_delegate.cc#newcode245 ash/wm/app_list_shower_delegate.cc:245: view_->SetAnchorPoint(GetCenterOfDisplayForView( nit: wrap with {} https://codereview.chromium.org/1856943003/diff/80001/ash/wm/app_list_shower_delegate.h File ash/wm/app_list_shower_delegate.h ...
4 years, 8 months ago (2016-04-07 18:13:22 UTC) #6
mfomitchev
@sky, can you PTAL? https://codereview.chromium.org/1856943003/diff/80001/ash/wm/app_list_shower_delegate.cc File ash/wm/app_list_shower_delegate.cc (right): https://codereview.chromium.org/1856943003/diff/80001/ash/wm/app_list_shower_delegate.cc#newcode245 ash/wm/app_list_shower_delegate.cc:245: view_->SetAnchorPoint(GetCenterOfDisplayForView( On 2016/04/07 18:13:22, xiyuan ...
4 years, 8 months ago (2016-04-07 19:23:28 UTC) #7
sky
https://codereview.chromium.org/1856943003/diff/100001/ash/wm/app_list_shower_delegate.h File ash/wm/app_list_shower_delegate.h (right): https://codereview.chromium.org/1856943003/diff/100001/ash/wm/app_list_shower_delegate.h#newcode5 ash/wm/app_list_shower_delegate.h:5: #ifndef ASH_WM_APP_LIST_SHOWER_DELEGATE_H_ Is there a reason you want this ...
4 years, 8 months ago (2016-04-07 20:11:16 UTC) #8
mfomitchev
https://codereview.chromium.org/1856943003/diff/100001/ash/wm/app_list_shower_delegate.h File ash/wm/app_list_shower_delegate.h (right): https://codereview.chromium.org/1856943003/diff/100001/ash/wm/app_list_shower_delegate.h#newcode5 ash/wm/app_list_shower_delegate.h:5: #ifndef ASH_WM_APP_LIST_SHOWER_DELEGATE_H_ On 2016/04/07 20:11:16, sky wrote: > Is ...
4 years, 8 months ago (2016-04-08 15:47:41 UTC) #10
sky
LGTM https://codereview.chromium.org/1856943003/diff/100001/ash/wm/app_list_shower_delegate_factory.h File ash/wm/app_list_shower_delegate_factory.h (right): https://codereview.chromium.org/1856943003/diff/100001/ash/wm/app_list_shower_delegate_factory.h#newcode26 ash/wm/app_list_shower_delegate_factory.h:26: scoped_ptr<AppListViewDelegateFactory> view_delegate_factory); On 2016/04/08 15:47:40, mfomitchev wrote: > ...
4 years, 8 months ago (2016-04-08 16:35:33 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1856943003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1856943003/160001
4 years, 8 months ago (2016-04-08 17:09:15 UTC) #14
commit-bot: I haz the power
Committed patchset #8 (id:160001)
4 years, 8 months ago (2016-04-08 17:50:17 UTC) #16
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/412803081c9d4f4321d267133512f45ce434fc10 Cr-Commit-Position: refs/heads/master@{#386123}
4 years, 8 months ago (2016-04-08 17:52:05 UTC) #18
beaudoin1
A revert of this CL (patchset #8 id:160001) has been created in https://codereview.chromium.org/1872893002/ by beaudoin@google.com. ...
4 years, 8 months ago (2016-04-08 19:44:04 UTC) #19
beaudoin
A revert of this CL (patchset #8 id:160001) has been created in https://codereview.chromium.org/1873903003/ by beaudoin@chromium.org. ...
4 years, 8 months ago (2016-04-08 20:12:18 UTC) #20
beaudoin
4 years, 8 months ago (2016-04-08 20:19:20 UTC) #21
Message was sent while issue was closed.
A revert of this CL (patchset #8 id:160001) has been created in
https://codereview.chromium.org/1872033002/ by beaudoin@chromium.org.

The reason for reverting is: Trying revert again now that dependent patch was
reverted..

Powered by Google App Engine
This is Rietveld 408576698