Reset app list state on parent bounds change only if its bound change
We should not have to call AppListView::SetState with the current state in ParentWindowBoundsChanged if the app list window bounds remained the same. This avoids unnecessary work when display metrics change without affecting app list window bounds (e.g. when work area is changed due to a change in shelf height). Change-Id: Ic9555d95ae4479a8310ecbe7a9ba6431d60c2503 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1880450Reviewed-by:Alex Newcomer <newcomer@chromium.org> Commit-Queue: Toni Baržić <tbarzic@chromium.org> Cr-Commit-Position: refs/heads/master@{#709501}
Showing
Please register or sign in to comment