This 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

Review URL: https://codereview.chromium.org/105673008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245031 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 245031