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

Issue 11571037: Pass load events from prerenders to launching elements. (Closed)

Created:
8 years ago by gavinp
Modified:
7 years, 11 months ago
Reviewers:
jschuh, mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org, tburkard+watch_chromium.org, gavinp+prer_chromium.org, dominich+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Pass load events from prerenders to launching elements. The event is already on the webkit side, this patch plumbs it through. Note that this patch is downstream from https://codereview.chromium.org/11551003/ and so it can't land until after that one. R=mmenke@chromium.org,jschuh@chromium.org BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175011

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : rebase #

Patch Set 4 : clean up tests #

Patch Set 5 : guh! #

Patch Set 6 : how about now? #

Patch Set 7 : ready for review #

Total comments: 10

Patch Set 8 : rebase #

Patch Set 9 : remediate #

Total comments: 2

Patch Set 10 : rebase on top of slots update #

Patch Set 11 : remediate to review #

Patch Set 12 : rebase to fix build #

Total comments: 2

Patch Set 13 : did you know prerenders can be canceled? #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -66 lines) Patch
M chrome/browser/prerender/prerender_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 9 chunks +42 lines, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_contents.h View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_contents.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_handle.h View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_handle.cc View 2 chunks +12 lines, -3 lines 0 comments Download
M chrome/browser/prerender/prerender_link_manager.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_link_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +16 lines, -5 lines 0 comments Download
M chrome/common/prerender_messages.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/renderer/prerender/prerender_dispatcher.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/prerender/prerender_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +14 lines, -0 lines 0 comments Download
A chrome/test/data/prerender/prerender_events_common.js View 1 2 3 4 5 6 7 8 1 chunk +53 lines, -0 lines 0 comments Download
M chrome/test/data/prerender/prerender_loader.html View 1 2 3 2 chunks +3 lines, -13 lines 0 comments Download
M chrome/test/data/prerender/prerender_loader_removing_links.html View 1 2 3 3 chunks +3 lines, -15 lines 0 comments Download
M chrome/test/data/prerender/prerender_page_pending.html View 1 2 3 4 5 2 chunks +3 lines, -15 lines 0 comments Download
M chrome/test/data/prerender/prerender_page_removes_pending.html View 1 2 3 2 chunks +3 lines, -15 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
gavinp
Matt: PTAL. I'd be happier with better testing coverage here... Oh boy, I would be. ...
8 years ago (2012-12-18 20:45:55 UTC) #1
jschuh
lgtm
8 years ago (2012-12-18 21:06:27 UTC) #2
gavinp
On 2012/12/18 21:06:27, Justin Schuh wrote: > lgtm Matt: hold off on taking a closer ...
8 years ago (2012-12-19 18:26:32 UTC) #3
gavinp
Matt, This is ready for you to look at now. I've cleaned up the event ...
8 years ago (2012-12-20 20:41:09 UTC) #4
mmenke
This LGTM, just fairly minor comments. I'll plan to take another look once you've responded, ...
7 years, 11 months ago (2012-12-27 19:11:08 UTC) #5
gavinp
Matt, Thanks for your review. I'm not in a rush to land this, so please ...
7 years, 11 months ago (2012-12-28 13:23:15 UTC) #6
mmenke
On Fri, Dec 28, 2012 at 8:23 AM, <gavinp@chromium.org> wrote: > Matt, > > Thanks ...
7 years, 11 months ago (2012-12-28 13:59:50 UTC) #7
mmenke
https://codereview.chromium.org/11571037/diff/16016/chrome/renderer/prerender/prerender_dispatcher.cc File chrome/renderer/prerender/prerender_dispatcher.cc (right): https://codereview.chromium.org/11571037/diff/16016/chrome/renderer/prerender/prerender_dispatcher.cc#newcode55 chrome/renderer/prerender/prerender_dispatcher.cc:55: // The prerender should only be null in unit ...
7 years, 11 months ago (2012-12-28 18:48:36 UTC) #8
gavinp
Gah, good catch on the dispatcher. Thanks. I'm letting this bake as it's waiting for ...
7 years, 11 months ago (2012-12-28 20:13:16 UTC) #9
mmenke
On 2012/12/28 20:13:16, gavinp wrote: > Gah, good catch on the dispatcher. Thanks. > > ...
7 years, 11 months ago (2012-12-28 20:14:37 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gavinp@chromium.org/11571037/30036
7 years, 11 months ago (2012-12-31 15:49:50 UTC) #11
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) unit_tests
7 years, 11 months ago (2012-12-31 16:36:15 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gavinp@chromium.org/11571037/30036
7 years, 11 months ago (2013-01-01 17:02:55 UTC) #13
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests
7 years, 11 months ago (2013-01-01 18:50:54 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gavinp@chromium.org/11571037/30036
7 years, 11 months ago (2013-01-02 13:06:59 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gavinp@chromium.org/11571037/30036
7 years, 11 months ago (2013-01-02 14:56:25 UTC) #16
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests
7 years, 11 months ago (2013-01-02 17:11:01 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gavinp@chromium.org/11571037/30036
7 years, 11 months ago (2013-01-02 18:09:26 UTC) #18
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests
7 years, 11 months ago (2013-01-02 20:37:12 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gavinp@chromium.org/11571037/30036
7 years, 11 months ago (2013-01-02 21:57:29 UTC) #20
gavinp
On 2013/01/02 20:37:12, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 11 months ago (2013-01-02 21:57:58 UTC) #21
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) browser_tests
7 years, 11 months ago (2013-01-02 23:35:17 UTC) #22
gavinp
On 2013/01/02 23:35:17, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 11 months ago (2013-01-03 00:42:14 UTC) #23
gavinp
I found the flakiness, it was a silly DCHECK. The print test was the perfect ...
7 years, 11 months ago (2013-01-03 17:20:09 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gavinp@chromium.org/11571037/62005
7 years, 11 months ago (2013-01-03 17:20:24 UTC) #25
mmenke
Good find. https://chromiumcodereview.appspot.com/11571037/diff/66004/chrome/browser/prerender/prerender_contents.cc File chrome/browser/prerender/prerender_contents.cc (right): https://chromiumcodereview.appspot.com/11571037/diff/66004/chrome/browser/prerender/prerender_contents.cc#newcode475 chrome/browser/prerender/prerender_contents.cc:475: DCHECK_EQ(FINAL_STATUS_MAX, final_status_); On 2013/01/03 17:20:10, gavinp wrote: ...
7 years, 11 months ago (2013-01-03 17:23:47 UTC) #26
gavinp
On 2013/01/03 17:23:47, Matt Menke wrote: > Good find. > > https://chromiumcodereview.appspot.com/11571037/diff/66004/chrome/browser/prerender/prerender_contents.cc > File chrome/browser/prerender/prerender_contents.cc ...
7 years, 11 months ago (2013-01-03 17:30:48 UTC) #27
commit-bot: I haz the power
7 years, 11 months ago (2013-01-03 21:05:23 UTC) #28
Message was sent while issue was closed.
Change committed as 175011

Powered by Google App Engine
This is Rietveld 408576698