Fix a bug in TabGridDialog animation setup
http://crrev.com/c/2119188 exposes two bugs in the setup introduced in http://crrev.com/c/2143671, which jointly lead to a corner case where the dialog animation is not setup correctly. This CL fixes this issue by 1) restoring dialog view size and position after animation 2) restoring the animation view alpha in the correct position. This CL also revives a disabled test that could have caught this issue by removing the flaky parts and add some bug-specific checkings. Bug: 1075677, 1099563 Change-Id: Ie722d77f806dd556f69cb2df6b758500739cdc65 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2278923Reviewed-by:Wei-Yin Chen (陳威尹) <wychen@chromium.org> Commit-Queue: Yue Zhang <yuezhanggg@chromium.org> Cr-Commit-Position: refs/heads/master@{#788801}
Showing
Please register or sign in to comment