Stops animations when removing a window from its parent.
This prevents overwriting target bounds when reparenting layers during animation. In snapped scenario we snap a window (with a call to WindowState::OnWMEvent in WorkspaceWindowResizer::CompleteDrag()) which starts animation and then immediately reparent it (back to workspace in DockedWindowResizer::MaybeReparentWindowOnDragCompletion). Stopping (completing) BOUNDS animation allows the child window to honor previously set target bounds and keep them when it gets reparented. BUG=364517, 366993 TEST=aura_unittests --gtest_filter=WindowTest.RootWindowSetWhenReparenting Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266115 Review URL: https://codereview.chromium.org/241983003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266451 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment