|
|
Create a new RenderFrameHost per child frame when --site-per-process is enabled.
This CL is continuation of https://codereview.chromium.org/23841002/:
- Adds a new sync IPC for child frame creation.
- Added frame_messages.h for frame related messages.
- RenderView now creates and closes the main frame
WebFrame rather than relying on the WebView to do it.
- Extracted FrameTree out of WebContents.
FYI, UMA stats for tracking for site instances has been disabled in another CL since they won't make sense until this code is enabled w/o the flag.
Also, FrameHostMsg_Detach is ViewHostMsg_FrameDeatch renamed and FrameHostMsg_CreateChildFrame is ViewHostMsg_FrameAttached renamed plus a little more functionality to get a routing ID assigned by the browser.
( https://codereview.chromium.org/23506013/ is the Blink-side of the CL)
BUG= 245126
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=226779
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+968 lines, -416 lines) |
Patch |
 |
A |
content/browser/renderer_host/frame_tree.h
|
View
|
1
2
3
4
|
1 chunk |
+103 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/renderer_host/frame_tree.cc
|
View
|
1
2
3
4
|
1 chunk |
+138 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
content/browser/renderer_host/frame_tree_node.h
|
View
|
|
3 chunks |
+43 lines, -3 lines |
0 comments
|
Download
|
 |
A |
content/browser/renderer_host/frame_tree_node.cc
|
View
|
1
|
1 chunk |
+57 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/renderer_host/frame_tree_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+153 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_frame_host_impl.h
|
View
|
1
2
3
4
|
3 chunks |
+25 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_frame_host_impl.cc
|
View
|
1
2
3
4
|
4 chunks |
+27 lines, -3 lines |
0 comments
|
Download
|
 |
A |
content/browser/renderer_host/render_frame_message_filter.h
|
View
|
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/renderer_host/render_frame_message_filter.cc
|
View
|
|
1 chunk |
+71 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_view_host_browsertest.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_view_host_delegate.h
|
View
|
1
2
3
4
5
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_view_host_delegate.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_view_host_impl.h
|
View
|
|
2 chunks |
+21 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_view_host_impl.cc
|
View
|
1
|
5 chunks |
+13 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/browser/site_per_process_browsertest.cc
|
View
|
|
4 chunks |
+81 lines, -3 lines |
0 comments
|
Download
|
 |
D |
content/browser/web_contents/frame_tree_node.h
|
View
|
|
1 chunk |
+0 lines, -76 lines |
0 comments
|
Download
|
 |
D |
content/browser/web_contents/frame_tree_node.cc
|
View
|
|
1 chunk |
+0 lines, -37 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/interstitial_page_impl.h
|
View
|
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/interstitial_page_impl.cc
|
View
|
|
5 chunks |
+15 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/render_view_host_manager.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl.h
|
View
|
1
2
3
4
5
|
8 chunks |
+7 lines, -14 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl.cc
|
View
|
1
2
3
4
5
|
11 chunks |
+29 lines, -97 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl_browsertest.cc
|
View
|
|
2 chunks |
+1 line, -40 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl_unittest.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+0 lines, -79 lines |
0 comments
|
Download
|
 |
M |
content/common/content_message_generator.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
content/common/frame_messages.h
|
View
|
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/view_messages.h
|
View
|
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
 |
M |
content/content_browser.gypi
|
View
|
1
2
3
4
5
|
3 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/content_tests.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_impl.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_impl.cc
|
View
|
1
2
3
|
5 chunks |
+48 lines, -13 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
A |
content/test/data/site_isolation/blank.html
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
content/test/data/site_isolation/frames-X-X.html
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ipc/ipc_message_start.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|