[Extensions UI] Add a placeholder icon for extensions in the toolbar
commita437dab3e6f188c53f452b35198b770b33a8aa96
authorrdevlin.cronin <rdevlin.cronin@chromium.org>
Thu, 14 May 2015 21:16:27 +0000 (14 14:16 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 14 May 2015 21:16:58 +0000 (14 21:16 +0000)
treece2564cf965c9d391060159e67623bdcfd5917ec
parentb80d3de9f663b35a20860c311a475aef1b1774c8
[Extensions UI] Add a placeholder icon for extensions in the toolbar

Create a placeholder icon source for extensions that don't have an icon, so that
they don't just look like puzzle pieces in the toolbar.
To start, only use this in the toolbar, but the class is flexible enough that
it could also be used, e.g., in the chrome://extensions page.

BUG=486206

Review URL: https://codereview.chromium.org/1131443006

Cr-Commit-Position: refs/heads/master@{#329932}
chrome/browser/extensions/extension_action.cc
chrome/browser/extensions/extension_action.h
extensions/browser/extension_icon_placeholder.cc [new file with mode: 0644]
extensions/browser/extension_icon_placeholder.h [new file with mode: 0644]
extensions/browser/resources/default_100_percent/extension_action_plain_background.png [new file with mode: 0644]
extensions/browser/resources/default_100_percent/extension_icon_plain_background.png [new file with mode: 0644]
extensions/browser/resources/default_200_percent/extension_action_plain_background.png [new file with mode: 0644]
extensions/browser/resources/default_200_percent/extension_icon_plain_background.png [new file with mode: 0644]
extensions/browser/resources/extensions_browser_resources.grd
extensions/extensions.gypi