forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace shelf_constants.h with a new ShelfConfig class.
- Remove the shelf_constants.h file and replace it with a new ShelfConfig class used to access the current shelf values. - Replace the usage of constants from shelf_constants.h with the use of ShelfConfig::Get(), encapsulating the constants. - No visible UI changes can be seen with this change. - ShelfConfig is owned and instantiated by the shell, so that in the future ShelfConfig can add and remove itself as an observer to things such as tabler_mode_controller. - This change is in preparation for dense shelf. In the future, ShelfConfig will be used for transitioning between dense shelf and the standard (current) shelf during runtime. Classes that use changed ShelfConfig values will observe ShelfConfig and be notified by ShelfConfig to update their layout and use the new values. Bug: 973483 Change-Id: I7c14ed3248b32e3a337b91e0822003894e7ba37e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1775390 Commit-Queue: Matthew Mourgos <mmourgos@chromium.org> Reviewed-by: James Cook <jamescook@chromium.org> Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#694923}
- Loading branch information
Matthew Mourgos
authored and
Commit Bot
committed
Sep 9, 2019
1 parent
3288827
commit 7532756
Showing
78 changed files
with
755 additions
and
551 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.