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

Issue 10700007: Page actions behave as disableable browser actions when script badges are enabled. (Closed)

Created:
8 years, 5 months ago by Yoyo Zhou
Modified:
8 years, 5 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org, not at google - send to devlin
Visibility:
Public.

Description

Page actions behave as disableable browser actions when script badges are enabled. Some code is based off http://codereview.chromium.org/10703090/ Includes: transparentization of icons on views. Does not include: overflow menu on cocoa updating properly. It currently only updates when the set of actions in the overflow menu changes, _not_ when any of those actions change state. BUG=133094 TEST=Enable script badges; have extensions with page actions; observe them (as browser actions) changing state, both on the toolbar and in the overflow menu. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=147188

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : more views #

Patch Set 4 : mac overflow kinda #

Patch Set 5 : . #

Total comments: 6

Patch Set 6 : kalman #

Patch Set 7 : rebase #

Total comments: 8

Patch Set 8 : estade + sky #

Messages

Total messages: 12 (0 generated)
Yoyo Zhou
kalman: this is about 90% of the way there. Can you please review? thakis: Can ...
8 years, 5 months ago (2012-07-11 23:03:15 UTC) #1
not at google - send to devlin
lgtm http://codereview.chromium.org/10700007/diff/1002/chrome/browser/ui/views/browser_action_view.cc File chrome/browser/ui/views/browser_action_view.cc (right): http://codereview.chromium.org/10700007/diff/1002/chrome/browser/ui/views/browser_action_view.cc#newcode38 chrome/browser/ui/views/browser_action_view.cc:38: alpha.eraseColor(0x40000000); 0x40 isn't 40% alpha, it's 25% alpha? ...
8 years, 5 months ago (2012-07-12 01:07:29 UTC) #2
Yoyo Zhou
http://codereview.chromium.org/10700007/diff/1002/chrome/browser/ui/views/browser_action_view.cc File chrome/browser/ui/views/browser_action_view.cc (right): http://codereview.chromium.org/10700007/diff/1002/chrome/browser/ui/views/browser_action_view.cc#newcode38 chrome/browser/ui/views/browser_action_view.cc:38: alpha.eraseColor(0x40000000); On 2012/07/12 01:07:29, kalman wrote: > 0x40 isn't ...
8 years, 5 months ago (2012-07-12 01:33:27 UTC) #3
Yoyo Zhou
sky: can you please review views? estade: can you please review gtk?
8 years, 5 months ago (2012-07-12 18:06:10 UTC) #4
Evan Stade
gtk lgtm http://codereview.chromium.org/10700007/diff/2004/chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc File chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc (right): http://codereview.chromium.org/10700007/diff/2004/chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc#newcode241 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc:241: gtk_widget_set_sensitive(button(), enabled ? TRUE : FALSE); just ...
8 years, 5 months ago (2012-07-13 08:42:44 UTC) #5
sky
LGTM http://codereview.chromium.org/10700007/diff/2004/chrome/browser/ui/views/browser_action_view.cc File chrome/browser/ui/views/browser_action_view.cc (right): http://codereview.chromium.org/10700007/diff/2004/chrome/browser/ui/views/browser_action_view.cc#newcode31 chrome/browser/ui/views/browser_action_view.cc:31: SkBitmap TransparentizeImage(const SkBitmap& image) { How about MakeTransparent ...
8 years, 5 months ago (2012-07-16 15:43:46 UTC) #6
Yoyo Zhou
http://codereview.chromium.org/10700007/diff/2004/chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc File chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc (right): http://codereview.chromium.org/10700007/diff/2004/chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc#newcode241 chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc:241: gtk_widget_set_sensitive(button(), enabled ? TRUE : FALSE); On 2012/07/13 08:42:44, ...
8 years, 5 months ago (2012-07-16 17:45:45 UTC) #7
Yoyo Zhou
rsesek: since thakis seems to be OOO, can you please review cocoa? Also, see the ...
8 years, 5 months ago (2012-07-16 22:09:59 UTC) #8
Robert Sesek
The Cocoa pieces here LGTM. On 2012/07/16 22:09:59, Yoyo Zhou wrote: > rsesek: since thakis ...
8 years, 5 months ago (2012-07-17 15:06:45 UTC) #9
Yoyo Zhou
On Tue, Jul 17, 2012 at 8:06 AM, <rsesek@chromium.org> wrote: > Whatever is the NSMenu's ...
8 years, 5 months ago (2012-07-18 05:04:15 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yoz@chromium.org/10700007/19001
8 years, 5 months ago (2012-07-18 05:04:39 UTC) #11
commit-bot: I haz the power
8 years, 5 months ago (2012-07-18 06:19:57 UTC) #12
Change committed as 147188

Powered by Google App Engine
This is Rietveld 408576698