DescriptionExtension Toolbar redesign, part 1 (overflow)
Add a flag that allows the browser action icons to overflow into the wrench menu and make sure all extensions without browser action/page action icon show at least the default icon.
The overflow is implemented by introducing a master/slave mode for the BrowserActionsContainer (BAC) class. The BAC next to the Omnibox is considered the master and works as before. The BAC in inside the wrench menu is considered the slave and shows only the icons that the master does not.
Known issues:
- Dragging between BAC objects works, but in one direction only (from slave to master). The other way doesn't work because the wrench menu isn't a drop target for browser action icons (and doesn't open).
- Context menu handling for browser action icons needs to be changed to prevent a nested messageloop when you right-click two icons in a row.
- Badges on icons in the overflow container need adjusting (appear a bit too low).
BUG=391280
TBR=cpu
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281291
Patch Set 1 #Patch Set 2 : Sync #Patch Set 3 : #Patch Set 4 : Sync to head #Patch Set 5 : Missing gypi change #Patch Set 6 : Polish #Patch Set 7 : Missing files #Patch Set 8 : Polish #Patch Set 9 : Ready for review #
Total comments: 31
Patch Set 10 : Review comments #
Total comments: 17
Patch Set 11 : Missing changes #Patch Set 12 : Address review comments #Patch Set 13 : Crash fix for Linux #
Total comments: 18
Patch Set 14 : Address Devlin's comments #Patch Set 15 : Address Linux width issue #
Total comments: 60
Patch Set 16 : Address Peter's comments #
Total comments: 2
Patch Set 17 : gclient sync #Patch Set 18 : Comments #Patch Set 19 : Missing gypi change #Messages
Total messages: 22 (0 generated)
|