diff options
author | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-03 00:36:46 +0000 |
---|---|---|
committer | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-03 00:36:46 +0000 |
commit | a4180a032e389c40d1cd954073e9a69d23ce85ad (patch) | |
tree | 7b16a656071a0ca98f65370256bfec6980492caa /chrome/chrome_nibs.gyp | |
parent | 50e73927a67adc5df9efbee18d066a3c7a362f23 (diff) | |
download | chromium_src-a4180a032e389c40d1cd954073e9a69d23ce85ad.zip chromium_src-a4180a032e389c40d1cd954073e9a69d23ce85ad.tar.gz chromium_src-a4180a032e389c40d1cd954073e9a69d23ce85ad.tar.bz2 |
Wrench Icon: Cocoa button cell
The wrench icon will no longer show status using a badge. Instead, the icon color will change to indicate status.
This CL adds a NSButton cell to draw the wrench button icon.
XIB changes:
* Change class of wrench button cell from ClickHoldButtonCell to WrenchToolbarButtonCell.
Screenshot: http://i.imgur.com/OfZA4uE.png
Video: https://docs.google.com/file/d/0B0Odde3V7EhWelB6ZEgwcE03ckk/edit?usp=sharing
BUG=180107
TEST=Ran Chrome with --simulate-upgrade. Verified that no badge was shown and that the wrench icon was colored.
Review URL: https://chromiumcodereview.appspot.com/13375016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191948 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_nibs.gyp')
-rw-r--r-- | chrome/chrome_nibs.gyp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/chrome_nibs.gyp b/chrome/chrome_nibs.gyp index fb52f24..d80a732 100644 --- a/chrome/chrome_nibs.gyp +++ b/chrome/chrome_nibs.gyp @@ -249,6 +249,8 @@ 'browser/ui/cocoa/toolbar/toolbar_controller.mm', 'browser/ui/cocoa/toolbar/toolbar_view.h', 'browser/ui/cocoa/toolbar/toolbar_view.mm', + 'browser/ui/cocoa/toolbar/wrench_toolbar_button_cell.h', + 'browser/ui/cocoa/toolbar/wrench_toolbar_button_cell.mm', 'browser/ui/cocoa/ui_localizer.h', 'browser/ui/cocoa/ui_localizer.mm', 'browser/ui/cocoa/vertical_gradient_view.h', |