Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Issue 10963016: Fix disabled browser action appearance on Mac. (Closed)

Created:
8 years, 3 months ago by Yoyo Zhou
Modified:
8 years, 2 months ago
Reviewers:
Nico
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org
Visibility:
Public.

Description

Fix disabled browser action appearance on Mac. BUG=150795 TEST=Using chrome.browserAction.disable(), check that a disabled browser action is grayed out and not clickable. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158280

Patch Set 1 #

Patch Set 2 : a #

Total comments: 6

Patch Set 3 : thakis's #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M chrome/browser/ui/cocoa/extensions/browser_action_button.mm View 1 2 4 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Yoyo Zhou
8 years, 3 months ago (2012-09-20 21:58:11 UTC) #1
Nico
Thanks for working on this! https://codereview.chromium.org/10963016/diff/3001/chrome/browser/ui/cocoa/extensions/browser_action_button.mm File chrome/browser/ui/cocoa/extensions/browser_action_button.mm (right): https://codereview.chromium.org/10963016/diff/3001/chrome/browser/ui/cocoa/extensions/browser_action_button.mm#newcode259 chrome/browser/ui/cocoa/extensions/browser_action_button.mm:259: [self setImage:gfx::Image(image).ToNSImage()]; It looks ...
8 years, 3 months ago (2012-09-21 02:02:02 UTC) #2
Yoyo Zhou
By the way, I just noticed there's a bunch of very similar code between -compositedImage ...
8 years, 3 months ago (2012-09-21 18:04:59 UTC) #3
Nico
lgtm
8 years, 2 months ago (2012-09-24 00:33:54 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/10963016/5002
8 years, 2 months ago (2012-09-24 06:15:26 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/10963016/5002
8 years, 2 months ago (2012-09-24 15:26:34 UTC) #6
commit-bot: I haz the power
8 years, 2 months ago (2012-09-24 15:26:53 UTC) #7
Change committed as 158280

Powered by Google App Engine
This is Rietveld 408576698