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

Issue 559613002: PlzNavigate: Implement RequestNavigation on the renderer side (Closed)

Created:
6 years, 3 months ago by clamy
Modified:
6 years, 2 months ago
Reviewers:
Charlie Reis, carlosk, nasko
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@commit-navigation-renderer
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: RequestNavigation on the renderer side This CL provides a basic implementation of RequestNavigation on the renderer side, that allows all browser initiated navigations to proceed in the PlzNavigate world. Note that this implementation is missing a certain number of features to be fully functional, in particular the BeforeUnload event will not be executed here. This will be corrected in latter patches. BUG=376014, 376006 Committed: https://crrev.com/79b3da6756024fea55906b1639e5fe9e92c098b7 Cr-Commit-Position: refs/heads/master@{#299447}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 17

Patch Set 6 : Addressed comments #

Patch Set 7 : Added comment to clarify RenderFrameImpl::RequestNavigation #

Patch Set 8 : Fixed error in tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+230 lines, -129 lines) Patch
M content/browser/frame_host/navigator_impl.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/child/web_url_loader_impl.cc View 1 2 3 4 5 4 chunks +3 lines, -85 lines 0 comments Download
M content/child/web_url_request_util.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M content/child/web_url_request_util.cc View 1 2 chunks +97 lines, -0 lines 0 comments Download
M content/common/frame_messages.h View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 6 3 chunks +4 lines, -1 line 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 6 chunks +108 lines, -39 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
clamy
@carlosk, creis, nasko: PTAL This CL is based on the CommitNavigation one, and implements very ...
6 years, 2 months ago (2014-10-07 20:23:04 UTC) #2
carlosk
Found just a few minor things... https://codereview.chromium.org/559613002/diff/80001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/559613002/diff/80001/content/renderer/render_frame_impl.cc#newcode406 content/renderer/render_frame_impl.cc:406: WebData(data, request_params.browser_initiated_post_data.size())); Shouldn't ...
6 years, 2 months ago (2014-10-08 14:28:56 UTC) #3
nasko
Nice to see the PlzNavigate picture getting filled in :). https://codereview.chromium.org/559613002/diff/80001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/559613002/diff/80001/content/browser/frame_host/render_frame_host_impl.cc#newcode1386 ...
6 years, 2 months ago (2014-10-08 17:40:32 UTC) #4
clamy
Thanks! Please find my answers to your comments below. https://codereview.chromium.org/559613002/diff/80001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/559613002/diff/80001/content/browser/frame_host/render_frame_host_impl.cc#newcode1386 content/browser/frame_host/render_frame_host_impl.cc:1386: ...
6 years, 2 months ago (2014-10-10 02:33:12 UTC) #5
carlosk
Cool, LGTM. https://codereview.chromium.org/559613002/diff/80001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/559613002/diff/80001/content/renderer/render_frame_impl.cc#newcode455 content/renderer/render_frame_impl.cc:455: const RequestExtraData kEmptyData; On 2014/10/10 02:33:11, clamy ...
6 years, 2 months ago (2014-10-10 08:44:09 UTC) #6
nasko
LGTM, provided the comment is added. https://codereview.chromium.org/559613002/diff/80001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/559613002/diff/80001/content/renderer/render_frame_impl.cc#newcode3506 content/renderer/render_frame_impl.cc:3506: willSendRequest(frame_, 0, request, ...
6 years, 2 months ago (2014-10-13 17:04:24 UTC) #7
clamy
Thanks! https://codereview.chromium.org/559613002/diff/80001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/559613002/diff/80001/content/renderer/render_frame_impl.cc#newcode3506 content/renderer/render_frame_impl.cc:3506: willSendRequest(frame_, 0, request, blink::WebURLResponse()); On 2014/10/13 17:04:24, nasko ...
6 years, 2 months ago (2014-10-13 19:13:10 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/559613002/310001
6 years, 2 months ago (2014-10-13 19:14:10 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu_triggered_tests/builds/67869)
6 years, 2 months ago (2014-10-13 20:08:25 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/559613002/580001
6 years, 2 months ago (2014-10-14 07:59:09 UTC) #14
commit-bot: I haz the power
Committed patchset #8 (id:580001)
6 years, 2 months ago (2014-10-14 08:50:45 UTC) #15
commit-bot: I haz the power
6 years, 2 months ago (2014-10-14 08:51:29 UTC) #16
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/79b3da6756024fea55906b1639e5fe9e92c098b7
Cr-Commit-Position: refs/heads/master@{#299447}

Powered by Google App Engine
This is Rietveld 408576698