summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/bookmark_bar_controller.mm
diff options
context:
space:
mode:
authorpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-29 20:16:50 +0000
committerpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-29 20:16:50 +0000
commit842ad85cac86edad3036a20d8680de63f00bcb7c (patch)
treeccf41938711814ed5599bbf1b9bd8521019d2a6e /chrome/browser/cocoa/bookmark_bar_controller.mm
parent55683e21a68a2c0df23c126c4a002054bad5725d (diff)
downloadchromium_src-842ad85cac86edad3036a20d8680de63f00bcb7c.zip
chromium_src-842ad85cac86edad3036a20d8680de63f00bcb7c.tar.gz
chromium_src-842ad85cac86edad3036a20d8680de63f00bcb7c.tar.bz2
Create a new type of button cell for bookmark bar buttons that don't darken when pressed, leaving "standard" buttons (like used on the toolbar) to darken as expected.
BUG=44574 TEST=test bookmark buttons and toolbar buttons with different themes, make sure the appearance isn't crappy Review URL: http://codereview.chromium.org/2866031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51154 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/bookmark_bar_controller.mm')
-rw-r--r--chrome/browser/cocoa/bookmark_bar_controller.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/bookmark_bar_controller.mm b/chrome/browser/cocoa/bookmark_bar_controller.mm
index 4d91c88..b918707 100644
--- a/chrome/browser/cocoa/bookmark_bar_controller.mm
+++ b/chrome/browser/cocoa/bookmark_bar_controller.mm
@@ -1377,6 +1377,7 @@ const NSTimeInterval kBookmarkBarAnimationDuration = 0.12;
contextMenu:menu
cellText:nil
cellImage:image];
+ [cell setTag:kStandardButtonTypeWithLimitedClickFeedback];
// Note: a quirk of setting a cell's text color is that it won't work
// until the cell is associated with a button, so we can't theme the cell yet.