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

Issue 979443002: PlzNavigate: send history params at commit time to the renderer (Closed)

Created:
5 years, 9 months ago by clamy
Modified:
5 years, 9 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, je_julie(Not used), creis+watch_chromium.org, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, nasko+codewatch_chromium.org, jam, yuzo+watch_chromium.org, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: send history params at commit time to the renderer This CL introduces a new struct HistoryNavigationParams used in FrameMsg_Navigate and FrameMsg_CommitNavigation. This allows to check for stale backforward navigations when browser-side navigation is enabled. BUG=376091 TBR=nasko@chromium.org Committed: https://crrev.com/cbe86a0c3963fa295521e10f94367e5a45378fd5 Cr-Commit-Position: refs/heads/master@{#319276}

Patch Set 1 : #

Total comments: 11

Patch Set 2 : Rebase #

Patch Set 3 : Addressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+284 lines, -180 lines) Patch
M content/browser/frame_host/navigation_request.h View 5 chunks +11 lines, -2 lines 0 comments Download
M content/browser/frame_host/navigation_request.cc View 6 chunks +17 lines, -13 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 6 chunks +30 lines, -19 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 2 chunks +3 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 4 chunks +10 lines, -9 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_unittest.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M content/common/frame_messages.h View 4 chunks +15 lines, -25 lines 0 comments Download
M content/common/navigation_params.h View 2 chunks +37 lines, -5 lines 0 comments Download
M content/common/navigation_params.cc View 1 chunk +28 lines, -4 lines 0 comments Download
M content/public/test/render_view_test.cc View 1 chunk +7 lines, -5 lines 0 comments Download
M content/renderer/accessibility/renderer_accessibility_browsertest.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 7 chunks +32 lines, -32 lines 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 2 18 chunks +79 lines, -51 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
clamy
@ nasko, avi: PTAL @ carlosk, fdegans: FYI This CL properly transmits the history parameters ...
5 years, 9 months ago (2015-03-03 18:02:08 UTC) #3
Avi (use Gerrit)
I think I have the mental model of the flow in my head, and this ...
5 years, 9 months ago (2015-03-04 21:23:13 UTC) #4
Charlie Reis
Yes, it looks like this should work, apart from one bug below. I'm a bit ...
5 years, 9 months ago (2015-03-05 05:01:04 UTC) #6
Avi (use Gerrit)
https://codereview.chromium.org/979443002/diff/20001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/979443002/diff/20001/content/renderer/render_frame_impl.cc#newcode4291 content/renderer/render_frame_impl.cc:4291: bool is_history_navigation, On 2015/03/05 05:01:04, Charlie Reis wrote: > ...
5 years, 9 months ago (2015-03-05 05:05:55 UTC) #7
clamy
Thanks! I added a RenderViewTest that fails if the history list update of the RenderView ...
5 years, 9 months ago (2015-03-05 13:15:00 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/979443002/60001
5 years, 9 months ago (2015-03-05 13:16:36 UTC) #11
nasko
IPC LGTM
5 years, 9 months ago (2015-03-05 14:33:44 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/32751)
5 years, 9 months ago (2015-03-05 16:46:53 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/979443002/60001
5 years, 9 months ago (2015-03-05 17:05:53 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years, 9 months ago (2015-03-05 17:40:10 UTC) #17
commit-bot: I haz the power
5 years, 9 months ago (2015-03-05 17:41:30 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/cbe86a0c3963fa295521e10f94367e5a45378fd5
Cr-Commit-Position: refs/heads/master@{#319276}

Powered by Google App Engine
This is Rietveld 408576698