[ios] Fix tabgrid rotation content inset bug
This CL fixes the issue in which the bottom toolbar covers over the last row of tabs. This was caused by the inset not being properly reset when rotating between portrait and landscape. The TabGridBottomToolbar is smart about rotation changes. It automatically adjusts it's intrinsicContentSize, so this does not need to be adjusted by the TabGridViewController. The user of TabGridBottomToolbar just needs to set insets to the intrinsicContentSize given by TabGridBottomToolbar. Bug: 1003768 Change-Id: Ib61039bf7d872ebe27d1971ba5848afafa643af0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1874611Reviewed-by:Mark Cogan <marq@chromium.org> Reviewed-by:
edchin <edchin@chromium.org> Commit-Queue: edchin <edchin@chromium.org> Cr-Commit-Position: refs/heads/master@{#708646}
Showing
Please register or sign in to comment