WebUI Tab Strip: Handle group move events
Currently, when a group is moved, there is a tab-moved event that is fired for every single tab in the group. This leads to issues when trying to preserve the parent-child relationship of the TabGroup and the TabElement when certain tab-moved events have fired before others and leads to temporary re-ordering of tabs within the group. This CL coalesces multiple tab-moved events to a synthetic group-moved event only after every tab-moved event is fired, so that the TabGroup element is only moved once. Bug: 1027373 Change-Id: I70ccddd4cb674642a219cab6f7cecc9166bf6f12 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2001744 Commit-Queue: John Lee <johntlee@chromium.org> Reviewed-by:Demetrios Papadopoulos <dpapad@chromium.org> Cr-Commit-Position: refs/heads/master@{#732580}
Showing
Please register or sign in to comment