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

Issue 545068: Allow extensions to add, remove, or change their page action popup. (Closed)

Created:
10 years, 11 months ago by Sam Kerner (Chrome)
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Allow extensions to add, remove, or change their page action popup. A similar change will be made for browser action popups. BUG=27526 TEST=Added unit tests. Manual testing on linux. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=37353

Patch Set 1 #

Total comments: 29

Patch Set 2 : Address first round of review comments. #

Total comments: 23

Patch Set 3 : Address more review comments. #

Total comments: 2

Patch Set 4 : Rebase to trunk. #

Patch Set 5 : Rebase to trunk. #

Patch Set 6 : Rebase the change on top of trunk. trunk has per-tab popups. #

Patch Set 7 : To work around try server failures, commit test files before the tests. #

Patch Set 8 : Rebase, to run trybots with test data in place. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+438 lines, -28 lines) Patch
M chrome/browser/extensions/extension_function_dispatcher.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_page_actions_module.h View 1 2 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_page_actions_module.cc View 1 2 3 4 5 1 chunk +23 lines, -0 lines 0 comments Download
M chrome/browser/extensions/page_action_apitest.cc View 1 2 3 4 5 2 chunks +81 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/extension_api.json View 1 2 3 1 chunk +19 lines, -1 line 0 comments Download
M chrome/common/extensions/docs/pageAction.html View 1 2 4 chunks +180 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/static/pageAction.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/extension.cc View 1 2 3 4 5 1 chunk +43 lines, -24 lines 0 comments Download
M chrome/common/extensions/extension_constants.h View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_constants.cc View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_unittest.cc View 1 2 3 4 5 3 chunks +67 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Sam Kerner (Chrome)
10 years, 11 months ago (2010-01-14 23:19:02 UTC) #1
Aaron Boodman
http://codereview.chromium.org/545068/diff/1/3 File chrome/browser/extensions/extension_page_actions_module.cc (right): http://codereview.chromium.org/545068/diff/1/3#newcode204 chrome/browser/extensions/extension_page_actions_module.cc:204: // TODO: Consider allowing null and undefined to mean ...
10 years, 11 months ago (2010-01-15 03:11:43 UTC) #2
Erik does not do reviews
http://codereview.chromium.org/545068/diff/1/3 File chrome/browser/extensions/extension_page_actions_module.cc (right): http://codereview.chromium.org/545068/diff/1/3#newcode210 chrome/browser/extensions/extension_page_actions_module.cc:210: if (!popup_string.empty()) { nit: remove {} around one line ...
10 years, 11 months ago (2010-01-15 17:20:38 UTC) #3
Sam Kerner (Chrome)
http://codereview.chromium.org/545068/diff/1/3 File chrome/browser/extensions/extension_page_actions_module.cc (right): http://codereview.chromium.org/545068/diff/1/3#newcode204 chrome/browser/extensions/extension_page_actions_module.cc:204: // TODO: Consider allowing null and undefined to mean ...
10 years, 11 months ago (2010-01-19 19:30:06 UTC) #4
Sam Kerner (Chrome)
http://codereview.chromium.org/545068/diff/1/3 File chrome/browser/extensions/extension_page_actions_module.cc (right): http://codereview.chromium.org/545068/diff/1/3#newcode204 chrome/browser/extensions/extension_page_actions_module.cc:204: // TODO: Consider allowing null and undefined to mean ...
10 years, 11 months ago (2010-01-19 19:42:57 UTC) #5
Erik does not do reviews
http://codereview.chromium.org/545068/diff/3002/3010 File chrome/common/extensions/extension.cc (right): http://codereview.chromium.org/545068/diff/3002/3010#newcode475 chrome/common/extensions/extension.cc:475: // An empty string is treated as having no ...
10 years, 11 months ago (2010-01-19 20:37:33 UTC) #6
Finnur
http://codereview.chromium.org/545068/diff/3002/3004 File chrome/browser/extensions/extension_page_actions_module.cc (right): http://codereview.chromium.org/545068/diff/3002/3004#newcode214 chrome/browser/extensions/extension_page_actions_module.cc:214: nit: If you want to be consistent with other ...
10 years, 11 months ago (2010-01-19 21:31:35 UTC) #7
Finnur
Also: PageAction browser tests are failing on Linux, it seems.
10 years, 11 months ago (2010-01-19 21:32:53 UTC) #8
Erik does not do reviews
Sam, based on your other comment, I'm assuming the per-tab behavior is still coming in ...
10 years, 11 months ago (2010-01-19 22:22:11 UTC) #9
Sam Kerner (Chrome)
http://codereview.chromium.org/545068/diff/3002/3004 File chrome/browser/extensions/extension_page_actions_module.cc (right): http://codereview.chromium.org/545068/diff/3002/3004#newcode214 chrome/browser/extensions/extension_page_actions_module.cc:214: On 2010/01/19 21:31:35, Finnur wrote: > nit: If you ...
10 years, 11 months ago (2010-01-20 22:21:56 UTC) #10
Finnur
LGTM, with nits http://codereview.chromium.org/545068/diff/3002/3006 File chrome/browser/extensions/page_action_apitest.cc (right): http://codereview.chromium.org/545068/diff/3002/3006#newcode105 chrome/browser/extensions/page_action_apitest.cc:105: ASSERT_TRUE(extension); That's fine. http://codereview.chromium.org/545068/diff/8002/2012#newcode98 chrome/browser/extensions/page_action_apitest.cc:98: IN_PROC_BROWSER_TEST_F(ExtensionApiTest, ...
10 years, 11 months ago (2010-01-21 01:14:51 UTC) #11
skerner
On Tue, Jan 19, 2010 at 5:22 PM, <erikkay@chromium.org> wrote: > Sam, based on your ...
10 years, 11 months ago (2010-01-21 04:04:42 UTC) #12
Erik does not do reviews
10 years, 11 months ago (2010-01-21 15:57:42 UTC) #13
OK.  LGTM.

Erik


On Wed, Jan 20, 2010 at 8:04 PM, Sam Kerner <skerner@google.com> wrote:

> On Tue, Jan 19, 2010 at 5:22 PM,  <erikkay@chromium.org> wrote:
> > Sam, based on your other comment, I'm assuming the per-tab behavior is
> still
> > coming in this review, so I'm still waiting on that for the lg.
>
> Erik,
>   I will be sending out a new CL which adds per-tab behavior, and I
> will submit it before this change.  Making popups per-tab touches a
> few more files, and this change is large enough already.
>
> Sam
>

Powered by Google App Engine
This is Rietveld 408576698