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

Issue 701773002: App list: Added contents view custom animation framework. (Closed)

Created:
6 years, 1 month ago by Matt Giuca
Modified:
6 years, 1 month ago
Reviewers:
calamity
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

App list: Added contents view custom animation framework. Adds ContentsAnimator class. A ContentsAnimator subclass can implement an animation between two states of the ContentsView. This will allow us to have custom animations between arbitrary pages of the app launcher, instead of just sliding. The default animation is just a slide. BUG=425444 Committed: https://crrev.com/a723b068167b82d3757584ad456c2a5df92c344f Cr-Commit-Position: refs/heads/master@{#303568}

Patch Set 1 #

Patch Set 2 : Cleanup and add tests. #

Patch Set 3 : Replaced WickedSpiralAnimator with StartToAppsAnimator. #

Patch Set 4 : Rename some arguments. #

Total comments: 28

Patch Set 5 : Calamity review. #

Patch Set 6 : IWYU. #

Patch Set 7 : Rebase. #

Patch Set 8 : Respond to comments. #

Total comments: 2

Patch Set 9 : Remove unnecessary namespaces. #

Patch Set 10 : Rebase. #

Patch Set 11 : Update BUILD.gn. #

Patch Set 12 : ContentsView::AddAnimator takes states, not page indices. #

Total comments: 1

Patch Set 13 : Fixed default animator reverse not being set. Oooops. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+329 lines, -29 lines) Patch
M ui/app_list/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -0 lines 0 comments Download
M ui/app_list/app_list.gyp View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -0 lines 0 comments Download
A ui/app_list/views/contents_animator.h View 1 2 3 4 1 chunk +83 lines, -0 lines 0 comments Download
A ui/app_list/views/contents_animator.cc View 1 2 3 4 5 1 chunk +88 lines, -0 lines 0 comments Download
M ui/app_list/views/contents_view.h View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +31 lines, -5 lines 0 comments Download
M ui/app_list/views/contents_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +44 lines, -24 lines 0 comments Download
A ui/app_list/views/contents_view_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +77 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (12 generated)
Matt Giuca
6 years, 1 month ago (2014-11-05 03:42:02 UTC) #2
calamity
https://codereview.chromium.org/701773002/diff/60001/ui/app_list/views/app_list_view_unittest.cc File ui/app_list/views/app_list_view_unittest.cc (right): https://codereview.chromium.org/701773002/diff/60001/ui/app_list/views/app_list_view_unittest.cc#newcode481 ui/app_list/views/app_list_view_unittest.cc:481: Close(); It's probably worth putting this in its own ...
6 years, 1 month ago (2014-11-05 06:29:07 UTC) #3
Matt Giuca
https://codereview.chromium.org/701773002/diff/60001/ui/app_list/views/app_list_view_unittest.cc File ui/app_list/views/app_list_view_unittest.cc (right): https://codereview.chromium.org/701773002/diff/60001/ui/app_list/views/app_list_view_unittest.cc#newcode481 ui/app_list/views/app_list_view_unittest.cc:481: Close(); I just tried doing this. It basically requires ...
6 years, 1 month ago (2014-11-06 00:32:59 UTC) #4
calamity
https://codereview.chromium.org/701773002/diff/60001/ui/app_list/views/app_list_view_unittest.cc File ui/app_list/views/app_list_view_unittest.cc (right): https://codereview.chromium.org/701773002/diff/60001/ui/app_list/views/app_list_view_unittest.cc#newcode481 ui/app_list/views/app_list_view_unittest.cc:481: Close(); On 2014/11/06 00:32:58, Matt Giuca wrote: > I ...
6 years, 1 month ago (2014-11-06 05:34:47 UTC) #5
Matt Giuca
https://codereview.chromium.org/701773002/diff/60001/ui/app_list/views/app_list_view_unittest.cc File ui/app_list/views/app_list_view_unittest.cc (right): https://codereview.chromium.org/701773002/diff/60001/ui/app_list/views/app_list_view_unittest.cc#newcode481 ui/app_list/views/app_list_view_unittest.cc:481: Close(); On 2014/11/06 05:34:47, calamity wrote: > On 2014/11/06 ...
6 years, 1 month ago (2014-11-10 04:08:26 UTC) #6
calamity
lgtm w/ a nit. https://codereview.chromium.org/701773002/diff/60001/ui/app_list/views/contents_animator.h File ui/app_list/views/contents_animator.h (right): https://codereview.chromium.org/701773002/diff/60001/ui/app_list/views/contents_animator.h#newcode36 ui/app_list/views/contents_animator.h:36: On 2014/11/10 04:08:26, Matt Giuca ...
6 years, 1 month ago (2014-11-10 05:18:56 UTC) #7
Matt Giuca
https://codereview.chromium.org/701773002/diff/140001/ui/app_list/views/contents_view_unittest.cc File ui/app_list/views/contents_view_unittest.cc (right): https://codereview.chromium.org/701773002/diff/140001/ui/app_list/views/contents_view_unittest.cc#newcode42 ui/app_list/views/contents_view_unittest.cc:42: scoped_ptr<app_list::SearchBoxView> search_box_view_; On 2014/11/10 05:18:55, calamity wrote: > These ...
6 years, 1 month ago (2014-11-10 09:37:31 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/701773002/160001
6 years, 1 month ago (2014-11-10 09:37:57 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/15813) mac_chromium_rel_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/4118)
6 years, 1 month ago (2014-11-10 09:40:33 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/701773002/180001
6 years, 1 month ago (2014-11-10 23:12:08 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/15994) linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/32745)
6 years, 1 month ago (2014-11-10 23:22:45 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/701773002/180001
6 years, 1 month ago (2014-11-10 23:27:59 UTC) #19
Matt Giuca
Take a quick look at PS 12? https://codereview.chromium.org/701773002/diff/220001/ui/app_list/views/contents_view.h File ui/app_list/views/contents_view.h (right): https://codereview.chromium.org/701773002/diff/220001/ui/app_list/views/contents_view.h#newcode175 ui/app_list/views/contents_view.h:175: void AddAnimator(AppListModel::State ...
6 years, 1 month ago (2014-11-10 23:37:31 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/701773002/220001
6 years, 1 month ago (2014-11-10 23:38:26 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/701773002/220001
6 years, 1 month ago (2014-11-11 00:43:46 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/701773002/240001
6 years, 1 month ago (2014-11-11 00:52:12 UTC) #28
calamity
slgtm
6 years, 1 month ago (2014-11-11 01:26:52 UTC) #29
commit-bot: I haz the power
Committed patchset #13 (id:240001)
6 years, 1 month ago (2014-11-11 01:39:39 UTC) #30
commit-bot: I haz the power
6 years, 1 month ago (2014-11-11 01:40:15 UTC) #31
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/a723b068167b82d3757584ad456c2a5df92c344f
Cr-Commit-Position: refs/heads/master@{#303568}

Powered by Google App Engine
This is Rietveld 408576698