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

Issue 1104603002: Pick frame to navigate in the browser process. (Closed)

Created:
5 years, 8 months ago by Charlie Reis
Modified:
5 years, 8 months ago
Reviewers:
alexmos, dcheng, sky
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, Nate Chapin, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move frame_to_navigate logic to the browser process. Layout tests can choose a frame by name to navigate, using testRunner.queueLoad(url, name). This frame should be found in the browser process rather than RenderFrameImpl. This is useful cleanup in general, but also makes it possible for layout tests to target OOPIFs. TBR=dcheng,sky BUG=477150 TEST=Layout tests continue to pass Committed: https://crrev.com/6a93a81c92cddec263040f5970113f126f733f4f Cr-Commit-Position: refs/heads/master@{#326928}

Patch Set 1 #

Patch Set 2 : FindByName and remove cruft #

Patch Set 3 : Add unit test #

Total comments: 6

Patch Set 4 : Add test cases #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -95 lines) Patch
M components/sessions/content/content_serialized_navigation_builder.cc View 1 1 chunk +0 lines, -3 lines 0 comments Download
M content/browser/frame_host/frame_tree.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/frame_host/frame_tree.cc View 1 5 chunks +27 lines, -5 lines 0 comments Download
M content/browser/frame_host/frame_tree_unittest.cc View 1 2 3 1 chunk +43 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_controller_delegate.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl.cc View 1 2 chunks +7 lines, -1 line 0 comments Download
M content/browser/frame_host/navigation_entry_impl.h View 1 2 chunks +0 lines, -6 lines 0 comments Download
M content/browser/frame_host/navigation_entry_impl.cc View 1 3 chunks +3 lines, -13 lines 0 comments Download
M content/browser/frame_host/navigation_entry_impl_unittest.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M content/common/frame_messages.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/common/navigation_params.h View 1 2 chunks +0 lines, -4 lines 0 comments Download
M content/common/navigation_params.cc View 1 2 chunks +0 lines, -2 lines 0 comments Download
M content/public/browser/navigation_entry.h View 1 1 chunk +0 lines, -6 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 5 chunks +6 lines, -16 lines 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 21 chunks +44 lines, -34 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
Charlie Reis
Alex, can you take a look? This was a TODO I wanted to kill in ...
5 years, 8 months ago (2015-04-23 20:05:37 UTC) #2
alexmos
LGTM. The named frame lookup will also come in handy to implement postMessages to named ...
5 years, 8 months ago (2015-04-23 23:32:54 UTC) #3
Charlie Reis
[+sky, dcheng] Thanks! sky@, can you review content_serialized_navigation_builder.cc for OWNERS? dcheng@, can you review the ...
5 years, 8 months ago (2015-04-24 18:30:54 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1104603002/60001
5 years, 8 months ago (2015-04-24 22:20:23 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 8 months ago (2015-04-24 22:26:06 UTC) #10
Charlie Reis
TBR'ing dcheng and sky, since those files are simple line removals for now-dead code.
5 years, 8 months ago (2015-04-24 23:11:23 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1104603002/60001
5 years, 8 months ago (2015-04-24 23:12:15 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-04-24 23:13:31 UTC) #14
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/6a93a81c92cddec263040f5970113f126f733f4f Cr-Commit-Position: refs/heads/master@{#326928}
5 years, 8 months ago (2015-04-24 23:14:30 UTC) #15
dcheng
5 years, 8 months ago (2015-04-24 23:33:28 UTC) #16
Message was sent while issue was closed.
rs lgtm for ipc changes

Powered by Google App Engine
This is Rietveld 408576698