[iOS] Fix Clumsy CBD Interface Loading
The new Clear Browsing Data interface (behind the new-clear-browsing-data-ui flag) currently loads its cells rather clumsily: multiple cells changing their size upon loading. This is due to counter callbacks filling in data counting results. This change fixes this issue to a great extent through including a placeholder text in each cell upon creation; a cell no longer needs to grow , as long as the data counting result (that comes in later) requires no more than one line to show. Bug: 952379 Change-Id: I503d2bf8e052b90da2ace334d5df4c49ef8b09b0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1583717 Commit-Queue: Huanzhong Huang <huanzhong@chromium.org> Reviewed-by:Gauthier Ambard <gambard@chromium.org> Cr-Commit-Position: refs/heads/master@{#654818}
Showing
Please register or sign in to comment