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

Issue 2316003002: Notify the renderer if a history navigation has no subframe items. (Closed)

Created:
4 years, 3 months ago by Charlie Reis
Modified:
4 years, 3 months ago
Reviewers:
alexmos, nasko
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org, mlamouri+watch-content_chromium.org, site-isolation-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Notify the renderer if a history navigation has no subframe items. In this case, the renderer does not need to consult the browser process if subframes are created during the navigation. Since there are no history items for it, the renderer can just load the default URL. BUG=638088, 639842 TEST=Restore chrome://settings after disabling MD settings mode. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/45b3bba45f5c1276726541db2f6f8ca6c5e05b65 Cr-Commit-Position: refs/heads/master@{#420486}

Patch Set 1 #

Patch Set 2 : Inherit from parent frame. #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Patch Set 5 : Clean up #

Total comments: 14

Patch Set 6 : Rebase #

Patch Set 7 : Alex's review #

Total comments: 2

Patch Set 8 : Fix indent. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -6 lines) Patch
M content/browser/frame_host/navigation_controller_impl_browsertest.cc View 1 2 3 4 5 6 7 1 chunk +72 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_entry_impl.h View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_entry_impl.cc View 1 2 3 4 5 6 3 chunks +10 lines, -3 lines 0 comments Download
M content/browser/frame_host/navigation_request.cc View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/common/frame_messages.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/common/navigation_params.h View 1 2 3 4 5 2 chunks +9 lines, -0 lines 0 comments Download
M content/common/navigation_params.cc View 1 2 3 4 5 3 chunks +3 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 5 chunks +22 lines, -3 lines 0 comments Download

Messages

Total messages: 38 (29 generated)
Charlie Reis
Alex, would you be interested in reviewing this one? It's a step towards fixing https://crbug.com/639842 ...
4 years, 3 months ago (2016-09-21 21:17:49 UTC) #18
alexmos
Thanks! LGTM with nit and a few small questions. https://codereview.chromium.org/2316003002/diff/80001/content/browser/frame_host/navigation_controller_impl_browsertest.cc File content/browser/frame_host/navigation_controller_impl_browsertest.cc (right): https://codereview.chromium.org/2316003002/diff/80001/content/browser/frame_host/navigation_controller_impl_browsertest.cc#newcode3684 content/browser/frame_host/navigation_controller_impl_browsertest.cc:3684: ...
4 years, 3 months ago (2016-09-22 01:44:06 UTC) #21
Charlie Reis
Thanks! Fixes and answers below. Nasko, can you review frame_messages.h for IPC owners? https://codereview.chromium.org/2316003002/diff/80001/content/browser/frame_host/navigation_controller_impl_browsertest.cc File ...
4 years, 3 months ago (2016-09-22 21:00:37 UTC) #25
alexmos
Thanks for the answers! LGTM. https://codereview.chromium.org/2316003002/diff/120001/content/browser/frame_host/navigation_controller_impl_browsertest.cc File content/browser/frame_host/navigation_controller_impl_browsertest.cc (right): https://codereview.chromium.org/2316003002/diff/120001/content/browser/frame_host/navigation_controller_impl_browsertest.cc#newcode3680 content/browser/frame_host/navigation_controller_impl_browsertest.cc:3680: RestoreType::LAST_SESSION_EXITED_CLEANLY, &entries); nit: indent
4 years, 3 months ago (2016-09-22 21:09:39 UTC) #26
Charlie Reis
Oops, thanks! https://codereview.chromium.org/2316003002/diff/120001/content/browser/frame_host/navigation_controller_impl_browsertest.cc File content/browser/frame_host/navigation_controller_impl_browsertest.cc (right): https://codereview.chromium.org/2316003002/diff/120001/content/browser/frame_host/navigation_controller_impl_browsertest.cc#newcode3680 content/browser/frame_host/navigation_controller_impl_browsertest.cc:3680: RestoreType::LAST_SESSION_EXITED_CLEANLY, &entries); On 2016/09/22 21:09:39, alexmos wrote: ...
4 years, 3 months ago (2016-09-22 21:14:39 UTC) #27
nasko
IPC LGTM
4 years, 3 months ago (2016-09-22 21:40:34 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2316003002/140001
4 years, 3 months ago (2016-09-22 21:45:05 UTC) #34
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 3 months ago (2016-09-22 22:47:35 UTC) #36
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 22:50:09 UTC) #38
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/45b3bba45f5c1276726541db2f6f8ca6c5e05b65
Cr-Commit-Position: refs/heads/master@{#420486}

Powered by Google App Engine
This is Rietveld 408576698