|
|
Replicate whether a frame is in a document or shadow tree.
This is needed for Blink to determine whether or not a frame can be
accessed via the window indexed getters (window[num]) and named
getters (window["name"]). Previously, Blink simply inspected the
tree scope of the frame's owner element and checked that it matched
the tree scope of the parent document. This breaks down in the case
of remote frames, since the document and owner element are not
available in the same process.
Since this information is determined at frame creation and cannot
change, Blink will rely on the embedder to forward this information
through frame replication. This CL is mostly straightforward
plumbing changes, but required updating lots of call sites and
function signatures.
BUG= 473518
TBR=sky,tommycli,thestig,kalman,jrummell
Committed: https://crrev.com/860817a9cd18ebf745517be58fd2ed0d937f8dcd
Cr-Commit-Position: refs/heads/master@{#331059}
Total comments: 1
Total comments: 17
Total comments: 3
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+206 lines, -88 lines) |
Patch |
 |
M |
components/html_viewer/ax_provider_impl_unittest.cc
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/html_viewer/html_document.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/html_viewer/html_document.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/plugins/renderer/webview_plugin.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/printing/renderer/print_web_view_helper.cc
|
View
|
1
|
4 chunks |
+7 lines, -3 lines |
2 comments
|
Download
|
 |
M |
content/browser/DEPS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/frame_tree.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/frame_tree.cc
|
View
|
1
|
3 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/frame_tree_node.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/frame_tree_node.cc
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/frame_tree_unittest.cc
|
View
|
1
|
8 chunks |
+64 lines, -37 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/navigation_controller_impl_unittest.cc
|
View
|
1
2
3
|
5 chunks |
+14 lines, -9 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_frame_host_impl.h
|
View
|
1
2
3
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_frame_host_impl.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_frame_host_manager_unittest.cc
|
View
|
|
4 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_frame_message_filter.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_frame_message_filter.cc
|
View
|
|
4 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/DEPS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/frame_messages.h
|
View
|
1
2
3
|
3 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/frame_replication_state.h
|
View
|
1
2
3
|
3 chunks |
+15 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/frame_replication_state.cc
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/public/test/mock_render_thread.h
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/test/mock_render_thread.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_impl.h
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_impl.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+17 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_proxy.h
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_proxy.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+12 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.cc
|
View
|
1
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/test/test_render_frame_host.cc
|
View
|
1
2
3
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
extensions/renderer/script_context_set_unittest.cc
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/blink/buffered_data_source_unittest.cc
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
media/blink/buffered_resource_loader_unittest.cc
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
Total messages: 29 (7 generated)
|