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

Issue 149046: PageActions can now specify multiple icons and switch between them... (Closed)

Created:
11 years, 6 months ago by Finnur
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com, Erik does not do reviews, darin (slow to review), Ben Goodger (Google)
Visibility:
Public.

Description

PageActions can now specify multiple icons and switch between them using optional parameters to enableForTab. BUG=http://crbug.com/11906 TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=19772

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 8

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -67 lines) Patch
M chrome/browser/extensions/extension_page_actions_module.cc View 1 2 2 chunks +13 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_page_actions_module_constants.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_page_actions_module_constants.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extensions_service.cc View 1 2 1 chunk +10 lines, -6 lines 0 comments Download
M chrome/browser/extensions/extensions_service_unittest.cc View 2 3 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.h View 1 2 3 chunks +17 lines, -7 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.cc View 1 2 1 chunk +18 lines, -10 lines 0 comments Download
M chrome/browser/views/location_bar_view.h View 1 2 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/views/location_bar_view.cc View 1 2 7 chunks +58 lines, -17 lines 0 comments Download
M chrome/common/extensions/extension.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension.cc View 1 2 5 chunks +33 lines, -10 lines 0 comments Download
M chrome/common/page_action.h View 1 2 3 chunks +28 lines, -6 lines 0 comments Download
M chrome/renderer/renderer_resources.grd View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/resources/extension_process_bindings.js View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M chrome/test/data/extensions/page_action.crx View Binary file 0 comments Download
M chrome/test/data/extensions/samples/subscribe_page_action/background.html View 1 2 5 chunks +47 lines, -4 lines 0 comments Download
A chrome/test/data/extensions/samples/subscribe_page_action/feed-icon-16x16-subscribed.png View Binary file 0 comments Download
M chrome/test/data/extensions/samples/subscribe_page_action/manifest.json View 1 2 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Finnur
11 years, 6 months ago (2009-06-26 00:16:36 UTC) #1
Finnur
Please take a look. Changes since patch set 1: I added an updated page_action.crx to ...
11 years, 6 months ago (2009-06-26 20:03:01 UTC) #2
Aaron Boodman
This is great, thanks for pushing on it and sorry for the delayed review. One ...
11 years, 5 months ago (2009-06-29 21:42:57 UTC) #3
Matt Perry
On 2009/06/29 21:42:57, Aaron Boodman wrote: > One meta-comment (maybe for a subsequence CL?): I ...
11 years, 5 months ago (2009-06-29 22:14:56 UTC) #4
Finnur
I've updated the patch. I believe I've addressed everything but the idea of not having ...
11 years, 5 months ago (2009-07-01 20:28:32 UTC) #5
Aaron Boodman
lgtm On 2009/07/01 20:28:32, Finnur wrote: > I think that would be good for a ...
11 years, 5 months ago (2009-07-01 21:17:49 UTC) #6
Finnur
Increased awesomeness and decreased dorkiness is something all coders should strive for. Although... is Matt ...
11 years, 5 months ago (2009-07-01 21:52:03 UTC) #7
Matt Perry
On 2009/07/01 21:52:03, Finnur wrote: > Increased awesomeness and decreased dorkiness is something all coders ...
11 years, 5 months ago (2009-07-01 22:05:05 UTC) #8
Finnur
11 years, 5 months ago (2009-07-01 22:06:31 UTC) #9
I thought he was soliciting your feedback because the unpacker would need to
change? Do you not rely on the manifest to know which images to unpack? That
information would no longer be present, if we change this.

On 2009/07/01 22:05:05, Matt Perry wrote:
> On 2009/07/01 21:52:03, Finnur wrote:
> > Increased awesomeness and decreased dorkiness is something all coders should
> > strive for. 
> > 
> > Although... is Matt on board or has the image unpacker code reached
perfection
> > already? :)
> 
> It's technically feasible to do what Aaron suggests.  I don't know a whole lot
> about the page actions API or what it would look like either way.  I'll trust
> you guys to do the right thing.

Powered by Google App Engine
This is Rietveld 408576698