Adapt app list folder view bounds for scalable app list margins
AppListFolderView should ensure it respects apps container margins when shown with ScalableAppList feature enabled, in particular it should ensure its bounds do not overlap with the search box widget. It was using search_box_fullscreen_top_padding() to determine search box location, but this does not work correctly for ScalableAppList - when the feature is enabled, use AppsContainerView::CalculateMarginsForAvailableBounds to get the container margins. BUG=999273 Change-Id: Ie842da042cf6215fe9b1345229a1575d10ca55a4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1815581 Commit-Queue: Toni Baržić <tbarzic@chromium.org> Reviewed-by:Alex Newcomer <newcomer@chromium.org> Cr-Commit-Position: refs/heads/master@{#698649}
Showing
Please register or sign in to comment