Description[Home] Polish bottom sheet content transitions
This change adds animation when transitioning between bottom sheet
content. The existing view is faded out completely before the new
view is faded in. The animation is applied to both the sheet content
and the toolbar view.
Notably, the onContentChanged() event is now called when the
transition animation has finished instead of immediately when
showContent(...) is called.
BUG=702717
Review-Url: https://codereview.chromium.org/2839673002
Cr-Original-Commit-Position: refs/heads/master@{#466780}
Committed: https://chromium.googlesource.com/chromium/src/+/419509cbf0ac3a8a8595b3ce9e56daf75e5c2f0c
Review-Url: https://codereview.chromium.org/2839673002
Cr-Commit-Position: refs/heads/master@{#467589}
Committed: https://chromium.googlesource.com/chromium/src/+/a3113f3049092c40df4181b98e960785eaadcfb9
Patch Set 1 #Patch Set 2 : end animation immediately if no previous content #
Depends on Patchset: Messages
Total messages: 18 (9 generated)
|