Extension 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
Review URL: https://codereview.chromium.org/
324393002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281291 0039d316-1c4b-4281-b951-d872f2087c98