Description[Extensions Toolbar] Make the ExtensionToolbarModel icon count more stable
Make two changes to the ExtensionToolbarModel:
- Only create views for actions once the extension system is fully loaded;
- Make sure we guard the visible_icon_count() to the possible range.
BUG=432148
Committed: https://crrev.com/3ceefb6e7910127d12104c1ecbc6bddf49f0caea
Cr-Commit-Position: refs/heads/master@{#304295}
Patch Set 1 : #
Total comments: 8
Patch Set 2 : Peter's #
Messages
Total messages: 16 (7 generated)
|