CrOS Shelf: Let the nav widget calculate & keep track of its own bounds
Also remove |TargetBounds| comparison logic in the shelf layout manager that isn't used any more, and access some of the shelf components directly from |Shelf| instead of going through |ShelfWidget|. This is a step in the direction of better compartmentalizing each shelf component and better coordinate animations. Change-Id: If9e4b6dcb17c40988e54db2395271b84922a6167 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2032073 Commit-Queue: Manu Cornet <manucornet@chromium.org> Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#737415}
Showing
Please register or sign in to comment