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

Issue 289006: Issue 21729: Add new event chrome.tabs.onStatusChange . (Closed)

Created:
11 years, 2 months ago by skerner
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, Erik does not do reviews, ben+cc_chromium.org, pam+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Issue 21729: Add new event chrome.tabs.onStatusChange . BUG=21729 TEST= Manually tested that onUpdated sends all tab info. Updated unit tests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30341

Patch Set 1 #

Patch Set 2 : Diff was reversed last upload. Fixing this. #

Patch Set 3 : CHange in plans: Add new tabs arg to onUpdated, rather than creating a new event. #

Patch Set 4 : Change in plans: Add new tabs arg to onUpdated, rather than creating a new event. #

Total comments: 6

Patch Set 5 : Issue 21729: Add new event chrome.tabs.onStatusChange . ... #

Patch Set 6 : '' #

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -34 lines) Patch
M chrome/browser/extensions/extension_browser_event_router.cc View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_uitest.cc View 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chrome/common/extensions/api/extension_api.json View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/tabs.html View 1 2 3 4 5 4 chunks +45 lines, -6 lines 0 comments Download
MM chrome/test/data/extensions/api_test/executescript/test.html View 3 4 5 1 chunk +1 line, -1 line 0 comments Download
MM chrome/test/data/extensions/api_test/isolated_world1/background.html View 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/tabs/test.js View 3 4 5 10 chunks +49 lines, -25 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
skerner
11 years, 2 months ago (2009-10-16 20:09:27 UTC) #1
skerner
This change needs a unit test. The unit tests for tabs are windows only at ...
11 years, 2 months ago (2009-10-16 20:11:55 UTC) #2
Aaron Boodman
One major thing that looks off here is that the change shows the onStatusChange event ...
11 years, 2 months ago (2009-10-17 00:56:47 UTC) #3
Aaron Boodman
Another thing, in the code review description, the convention is something like: Add new event ...
11 years, 2 months ago (2009-10-17 00:58:22 UTC) #4
Aaron Boodman
Other than that, the change looks pretty good to me.
11 years, 2 months ago (2009-10-17 01:02:31 UTC) #5
rafaelw
per irc discussion, remove this new event and change tabs.onUpdated to have a third parameter ...
11 years, 2 months ago (2009-10-20 20:02:39 UTC) #6
Sam Kerner (Chrome)
Per IRC discussion, this change now adds a new tab argument to the chrome.tabs.onUpdated event ...
11 years, 1 month ago (2009-10-26 21:56:47 UTC) #7
rafaelw
lgtm. thanks for doing this. http://codereview.chromium.org/289006/diff/9001/10007 File chrome/test/data/extensions/api_test/tabs/test.js (right): http://codereview.chromium.org/289006/diff/9001/10007#newcode298 Line 298: pass()); looks like ...
11 years, 1 month ago (2009-10-27 18:48:01 UTC) #8
Sam Kerner (Chrome)
http://codereview.chromium.org/289006/diff/9001/10007 File chrome/test/data/extensions/api_test/tabs/test.js (right): http://codereview.chromium.org/289006/diff/9001/10007#newcode298 Line 298: pass()); On 2009/10/27 18:48:01, rafaelw wrote: > > ...
11 years, 1 month ago (2009-10-27 21:25:54 UTC) #9
Aaron Boodman
fwiw, Sam, the convention is that when you get an 'lgtm' plus some comments it ...
11 years, 1 month ago (2009-10-28 06:09:27 UTC) #10
Sam Kerner (Chrome)
11 years, 1 month ago (2009-10-28 15:09:40 UTC) #11
On 2009/10/28 06:09:27, Aaron Boodman wrote:
> fwiw, Sam, the convention is that when you get an 'lgtm' plus some comments it
> means 'Please make these changes, then submit.' You don't need to get a
> re-review.
> 
> Not sure if Raf mentioned that to you.

Aaron,
   Thanks for the clarification.  Submitted as revision 30341.

Sam

Powered by Google App Engine
This is Rietveld 408576698