DescriptionThis CL
- Introduces views::corewm::SetWindowShowAnimationDuration() and views::corewm::SetWindowHideAnimationDuration(). This allows the animation duration for showing and hiding the window to be different.
- Fixes a memory leak in AddLayerAnimationsForRotate()
- Fixes calls to views::corewm::SetWindowVisibilityAnimationType() and views::corewm::SetWindowVisibilityAnimationDuration(). In particular, the animation type and animation duration were not properly reset. So docking a window would permanently affect the duration of the show and hide animations.
- Removes unneeded ScopedLayerAnimationSettings::LockTransitionDuration(). This API is not currently necessary so it is best for it to not exist at this point in time.
BUG=323791
TEST=None
R=varkha, oshima
TBR=vollick
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245031
Patch Set 1 : #
Total comments: 6
Patch Set 2 : #Patch Set 3 : #
Total comments: 9
Patch Set 4 : #
Total comments: 1
Patch Set 5 : #Patch Set 6 : #
Messages
Total messages: 21 (0 generated)
|