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

Issue 8404046: When creating a tab contents for a browser in the RVHDelegateHelper, create a wrapper immediately. (Closed)

Created:
9 years, 1 month ago by jochen (gone - plz use gerrit)
Modified:
9 years, 1 month ago
Reviewers:
sky, battre
CC:
chromium-reviews, Matt Perry
Visibility:
Public.

Description

When creating a tab contents for a browser in the RVHDelegateHelper, create a wrapper immediately. BUG=100456 TEST=ExtensionApiTest.WebRequestNewTab Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107777

Patch Set 1 #

Patch Set 2 : with tests #

Patch Set 3 : updates #

Total comments: 1

Patch Set 4 : updates #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -4 lines) Patch
M chrome/browser/extensions/extension_tab_id_map.cc View 1 2 3 4 3 chunks +22 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_webrequest_apitest.cc View 1 2 chunks +40 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/render_view_host_delegate_helper.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/api_test/webrequest/framework.js View 1 2 3 4 chunks +11 lines, -1 line 0 comments Download
A chrome/test/data/extensions/api_test/webrequest/newTab/a.html View 1 1 chunk +11 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/webrequest/newTab/b.html View 1 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/webrequest/test_newTab.html View 1 1 chunk +75 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
jochen (gone - plz use gerrit)
Scott, before I continue to add a test to this, could you please have look ...
9 years, 1 month ago (2011-10-27 15:44:06 UTC) #1
sky
In theory this seems fine. But presumably we have some existing place that does this ...
9 years, 1 month ago (2011-10-27 16:41:42 UTC) #2
jochen (gone - plz use gerrit)
On 2011/10/27 16:41:42, sky wrote: > In theory this seems fine. But presumably we have ...
9 years, 1 month ago (2011-10-27 19:11:27 UTC) #3
Avi (use Gerrit)
If you're always adding a wrapper, is it redundant? BTW, don't forget that TCWs change ...
9 years, 1 month ago (2011-10-27 19:32:58 UTC) #4
jochen (gone - plz use gerrit)
On 2011/10/27 19:32:58, Avi wrote: > If you're always adding a wrapper, is it redundant? ...
9 years, 1 month ago (2011-10-27 19:42:12 UTC) #5
sky
On 2011/10/27 19:42:12, jochen wrote: > On 2011/10/27 19:32:58, Avi wrote: > > If you're ...
9 years, 1 month ago (2011-10-27 19:49:53 UTC) #6
jochen (gone - plz use gerrit)
ok, now with tests Scott, plz review chrome/browser/ui bits Dominic, rest
9 years, 1 month ago (2011-10-28 13:03:53 UTC) #7
battre
Awesome. Thanks a lot! LGTM http://codereview.chromium.org/8404046/diff/3003/chrome/test/data/extensions/api_test/webrequest/framework.js File chrome/test/data/extensions/api_test/webrequest/framework.js (right): http://codereview.chromium.org/8404046/diff/3003/chrome/test/data/extensions/api_test/webrequest/framework.js#newcode167 chrome/test/data/extensions/api_test/webrequest/framework.js:167: if (!(details.tabId in tabIdMap)) ...
9 years, 1 month ago (2011-10-28 13:27:50 UTC) #8
battre
nit: TEST=tdb in issue description
9 years, 1 month ago (2011-10-28 13:28:21 UTC) #9
sky
LGTM
9 years, 1 month ago (2011-10-28 17:40:59 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/8404046/9002
9 years, 1 month ago (2011-10-28 18:04:28 UTC) #11
commit-bot: I haz the power
Can't apply patch for file chrome/browser/extensions/extension_tab_id_map.cc. While running patch -p1 --forward --force; patching file chrome/browser/extensions/extension_tab_id_map.cc ...
9 years, 1 month ago (2011-10-28 18:04:30 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/8404046/3014
9 years, 1 month ago (2011-10-28 18:51:42 UTC) #13
commit-bot: I haz the power
9 years, 1 month ago (2011-10-28 19:59:11 UTC) #14
Change committed as 107777

Powered by Google App Engine
This is Rietveld 408576698