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

Issue 10823143: Make the getAttention badge grey. (Closed)

Created:
8 years, 4 months ago by Jeffrey Yasskin
Modified:
8 years, 4 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org
Visibility:
Public.

Description

Make the getAttention badge grey. The grey badge fades in using the existing animation, and when the user clicks on it, it snaps to the full-color version, without an animation. Also avoided granting access on right clicks, which I noticed because of the color change. This change has the side-effect that pageaction.show() will cause the badge to fade in. This doesn't yet show the grey background, as that takes platform-specific code. BUG=133142 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149846

Patch Set 1 #

Total comments: 9

Patch Set 2 : Fix most of kalman's comments. #

Patch Set 3 : Move the Grant/Appearance code into the switch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -26 lines) Patch
M chrome/browser/extensions/api/extension_action/extension_actions_api.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/extension_action/extension_page_actions_api.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/script_badge_controller.cc View 1 2 3 chunks +21 lines, -10 lines 0 comments Download
M chrome/common/extensions/extension.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/common/extensions/extension_action.h View 1 4 chunks +17 lines, -7 lines 0 comments Download
M chrome/common/extensions/extension_action.cc View 1 6 chunks +46 lines, -2 lines 0 comments Download
M chrome/common/extensions/extension_action_unittest.cc View 1 2 chunks +34 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Jeffrey Yasskin
8 years, 4 months ago (2012-08-02 15:00:02 UTC) #1
not at google - send to devlin
lgtm https://chromiumcodereview.appspot.com/10823143/diff/1/chrome/browser/extensions/script_badge_controller.cc File chrome/browser/extensions/script_badge_controller.cc (right): https://chromiumcodereview.appspot.com/10823143/diff/1/chrome/browser/extensions/script_badge_controller.cc#newcode71 chrome/browser/extensions/script_badge_controller.cc:71: // Don't grant access on right clicks, so ...
8 years, 4 months ago (2012-08-02 15:38:09 UTC) #2
Jeffrey Yasskin
https://chromiumcodereview.appspot.com/10823143/diff/1/chrome/browser/extensions/script_badge_controller.cc File chrome/browser/extensions/script_badge_controller.cc (right): https://chromiumcodereview.appspot.com/10823143/diff/1/chrome/browser/extensions/script_badge_controller.cc#newcode71 chrome/browser/extensions/script_badge_controller.cc:71: // Don't grant access on right clicks, so users ...
8 years, 4 months ago (2012-08-02 15:55:56 UTC) #3
Jeffrey Yasskin
https://chromiumcodereview.appspot.com/10823143/diff/1/chrome/browser/extensions/script_badge_controller.cc File chrome/browser/extensions/script_badge_controller.cc (right): https://chromiumcodereview.appspot.com/10823143/diff/1/chrome/browser/extensions/script_badge_controller.cc#newcode71 chrome/browser/extensions/script_badge_controller.cc:71: // Don't grant access on right clicks, so users ...
8 years, 4 months ago (2012-08-03 11:11:30 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jyasskin@chromium.org/10823143/10001
8 years, 4 months ago (2012-08-03 11:11:40 UTC) #5
commit-bot: I haz the power
Change committed as 149846
8 years, 4 months ago (2012-08-03 12:53:01 UTC) #6
Timur Iskhodzhanov
8 years, 4 months ago (2012-08-03 16:31:48 UTC) #7
Jeffrey,
Can you please take a look at the Valgrind reports that appeared on the bots
after the commit ?

Powered by Google App Engine
This is Rietveld 408576698