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

Issue 332021: Move page actions over to ExtensionAction2 (Closed)

Created:
11 years, 2 months ago by Aaron Boodman
Modified:
9 years, 6 months ago
Reviewers:
Matt Perry, Evan Stade
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Move page actions over to ExtensionAction2 and get rid of extension_action.*. Final bit of refactor will be to rename ExtensionAction2 to ExtensionAction will be the next CL. BUG=24472, 25844 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30133

Patch Set 1 #

Total comments: 5

Patch Set 2 : Pre-review #

Total comments: 16

Patch Set 3 : comments #

Patch Set 4 : Review feedback #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+484 lines, -546 lines) Patch
M chrome/browser/extensions/extension_file_util.cc View 1 2 chunks +10 lines, -8 lines 0 comments Download
M chrome/browser/extensions/extension_page_actions_module.h View 1 chunk +3 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_page_actions_module.cc View 9 chunks +18 lines, -18 lines 0 comments Download
M chrome/browser/extensions/extensions_service.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extensions_service.cc View 1 chunk +0 lines, -13 lines 0 comments Download
M chrome/browser/extensions/page_action_apitest.cc View 3 chunks +8 lines, -9 lines 0 comments Download
M chrome/browser/gtk/browser_actions_toolbar_gtk.cc View 1 2 3 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/gtk/location_bar_view_gtk.h View 1 2 5 chunks +9 lines, -7 lines 2 comments Download
M chrome/browser/gtk/location_bar_view_gtk.cc View 1 2 8 chunks +79 lines, -49 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.h View 1 2 4 chunks +1 line, -34 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.cc View 1 2 3 chunks +18 lines, -44 lines 0 comments Download
M chrome/browser/views/browser_actions_container.cc View 1 2 4 chunks +4 lines, -9 lines 0 comments Download
M chrome/browser/views/location_bar_view.h View 1 2 4 chunks +10 lines, -7 lines 0 comments Download
M chrome/browser/views/location_bar_view.cc View 1 2 5 chunks +72 lines, -74 lines 0 comments Download
M chrome/chrome.gyp View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/extensions/extension.h View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/common/extensions/extension.cc View 6 chunks +10 lines, -97 lines 0 comments Download
M chrome/common/extensions/extension_action2.h View 1 2 3 5 chunks +49 lines, -24 lines 1 comment Download
M chrome/common/extensions/extension_action2.cc View 1 chunk +116 lines, -15 lines 0 comments Download
M chrome/common/extensions/extension_action2_unittest.cc View 2 chunks +35 lines, -25 lines 0 comments Download
M chrome/common/extensions/extension_unittest.cc View 6 chunks +25 lines, -77 lines 0 comments Download
M chrome/test/data/extensions/samples/test_page_action/background.html View 1 2 3 chunks +9 lines, -14 lines 0 comments Download
A chrome/test/data/extensions/samples/test_page_action/icon1.png View Binary file 0 comments Download
A chrome/test/data/extensions/samples/test_page_action/icon2.png View Binary file 0 comments Download
M chrome/test/data/extensions/samples/test_page_action/manifest.json View 1 2 1 chunk +1 line, -2 lines 0 comments Download
D chrome/test/data/extensions/samples/test_page_action/print_16x16.png View Binary file 0 comments Download

Messages

Total messages: 7 (0 generated)
Aaron Boodman
estade: can you please review the _gtk.* bits again? mpcompete: everything else Recommended order: - ...
11 years, 2 months ago (2009-10-24 07:21:40 UTC) #1
Evan Stade
mostly nits http://codereview.chromium.org/332021/diff/2001/2009 File chrome/browser/gtk/location_bar_view_gtk.cc (right): http://codereview.chromium.org/332021/diff/2001/2009#newcode410 Line 410: nit: extra line? http://codereview.chromium.org/332021/diff/2001/2009#newcode765 Line 765: ...
11 years, 1 month ago (2009-10-26 17:39:50 UTC) #2
Matt Perry
mostly LG http://codereview.chromium.org/332021/diff/2001/2014 File chrome/browser/views/location_bar_view.cc (right): http://codereview.chromium.org/332021/diff/2001/2014#newcode1321 Line 1321: // - The developer can set ...
11 years, 1 month ago (2009-10-26 18:16:48 UTC) #3
Aaron Boodman
Ready for another look. http://codereview.chromium.org/332021/diff/2001/2009 File chrome/browser/gtk/location_bar_view_gtk.cc (right): http://codereview.chromium.org/332021/diff/2001/2009#newcode410 Line 410: On 2009/10/26 17:39:50, Evan ...
11 years, 1 month ago (2009-10-26 23:05:00 UTC) #4
Evan Stade
lgtm http://codereview.chromium.org/332021/diff/8002/64 File chrome/browser/gtk/location_bar_view_gtk.h (right): http://codereview.chromium.org/332021/diff/8002/64#newcode11 Line 11: #include <map> nit: map before string http://codereview.chromium.org/332021/diff/8002/64#newcode32 ...
11 years, 1 month ago (2009-10-26 23:07:22 UTC) #5
Matt Perry
lgtm http://codereview.chromium.org/332021/diff/8002/74 File chrome/common/extensions/extension_action2.h (right): http://codereview.chromium.org/332021/diff/8002/74#newcode182 Line 182: struct ExtensionAction2::ValueTraits<int> { nit: can you move ...
11 years, 1 month ago (2009-10-26 23:17:17 UTC) #6
Aaron Boodman
11 years, 1 month ago (2009-10-26 23:21:16 UTC) #7
On 2009/10/26 23:17:17, Matt Perry wrote:
> lgtm
> 
> http://codereview.chromium.org/332021/diff/8002/74
> File chrome/common/extensions/extension_action2.h (right):
> 
> http://codereview.chromium.org/332021/diff/8002/74#newcode182
> Line 182: struct ExtensionAction2::ValueTraits<int> {
> nit: can you move this inside the ExtensionAction2 class, below the
ValueTraits
> definition?

No, apparently that is not legal for gcc. (complains of template specialization
nested in non-namespace scope).

Powered by Google App Engine
This is Rietveld 408576698