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

Issue 1157863005: Use WebFrame::loadRequest for reloads and history navigations (Closed)

Created:
5 years, 7 months ago by clamy
Modified:
5 years, 6 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_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

Use WebFrame::loadRequest for reloads and history navigations This CL follows the blink interface changes of https://codereview.chromium.org/1156473002/. It removes the uses of WebFrame::reload, WebFrame::reloadWithOverrideURL and WebFrame::loadHistoryItem in favor of using WebFrame::loadRequest for all kinds of navigations. PlzNavigate: reload and history navigations are properly recognized as such at commit time when browser-side navigation is enabled. BUG=490713 Committed: https://crrev.com/8751a8d7a2f64e8678d61f58edfcbb4dd83d4fdb Cr-Commit-Position: refs/heads/master@{#333485}

Patch Set 1 #

Total comments: 20

Patch Set 2 : Rebase #

Patch Set 3 : Adressed comments #

Total comments: 4

Patch Set 4 : Rebase #

Patch Set 5 : Addressed Charlie's comments #

Total comments: 10

Patch Set 6 : Rebase #

Patch Set 7 : Addressed Charlie's comments + rebase on blink patch #

Total comments: 6

Patch Set 8 : Rebase #

Patch Set 9 : Addressed comments #

Patch Set 10 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -47 lines) Patch
M content/renderer/history_controller.cc View 1 2 3 4 5 6 3 chunks +11 lines, -6 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 3 chunks +70 lines, -41 lines 0 comments Download

Messages

Total messages: 16 (3 generated)
clamy
@avi, creis, japhet: PTAL @nasko, carlosk, fdegans: FYI This is the chromium side patch of ...
5 years, 7 months ago (2015-05-27 14:47:01 UTC) #2
Charlie Reis
Hmm, I don't think this is a good time to be making these changes. I'm ...
5 years, 7 months ago (2015-05-27 23:34:36 UTC) #3
clamy
Thanks! I may not have been clear in my description of the patch, but the ...
5 years, 6 months ago (2015-05-29 14:47:01 UTC) #4
Charlie Reis
Thanks-- this seems more reasonable to me. One request for making the method a bit ...
5 years, 6 months ago (2015-06-02 05:41:42 UTC) #5
clamy
Thanks! https://codereview.chromium.org/1157863005/diff/40001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/1157863005/diff/40001/content/renderer/render_frame_impl.cc#newcode4413 content/renderer/render_frame_impl.cc:4413: Send(new FrameHostMsg_DidDropNavigation(routing_id_)); On 2015/06/02 05:41:42, Charlie Reis wrote: ...
5 years, 6 months ago (2015-06-02 13:30:13 UTC) #6
Charlie Reis
Ok, LGTM with nits (if the UpdateFrameNavigationTiming thing isn't a problem). https://codereview.chromium.org/1157863005/diff/80001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): ...
5 years, 6 months ago (2015-06-02 16:27:45 UTC) #7
clamy
Thanks! The NavigationTiming thing seemed to be a problem, so I moved it back below ...
5 years, 6 months ago (2015-06-03 15:06:19 UTC) #8
nasko
Just a couple of drive-by nits. https://codereview.chromium.org/1157863005/diff/120001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/1157863005/diff/120001/content/renderer/render_frame_impl.cc#newcode4489 content/renderer/render_frame_impl.cc:4489: // time nit: ...
5 years, 6 months ago (2015-06-03 19:45:37 UTC) #9
Charlie Reis
Thanks. LGTM once this and Nasko's comments are fixed. https://codereview.chromium.org/1157863005/diff/120001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/1157863005/diff/120001/content/renderer/render_frame_impl.cc#newcode4387 content/renderer/render_frame_impl.cc:4387: ...
5 years, 6 months ago (2015-06-03 20:40:27 UTC) #10
clamy
Thanks! https://codereview.chromium.org/1157863005/diff/120001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/1157863005/diff/120001/content/renderer/render_frame_impl.cc#newcode4387 content/renderer/render_frame_impl.cc:4387: bool perform_load_url = false; On 2015/06/03 20:40:26, Charlie ...
5 years, 6 months ago (2015-06-05 14:43:41 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1157863005/170001
5 years, 6 months ago (2015-06-09 13:46:10 UTC) #14
commit-bot: I haz the power
Committed patchset #10 (id:170001)
5 years, 6 months ago (2015-06-09 14:44:36 UTC) #15
commit-bot: I haz the power
5 years, 6 months ago (2015-06-09 14:45:21 UTC) #16
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/8751a8d7a2f64e8678d61f58edfcbb4dd83d4fdb
Cr-Commit-Position: refs/heads/master@{#333485}

Powered by Google App Engine
This is Rietveld 408576698