|
OOPIF: Replicate dynamic window.name updates.
This CL adds the plumbing to replicate window.name updates to the
associated RenderFrameProxies. This consists of:
- sending a FrameHostMsg_DidChangeName to the browser process whenever
there's a window.name update in JS
- recording the changed name in the frame's FrameReplicationState
- forwarding the updated name to any of the frame's proxies in other
renderer processes via FrameMsg_DidUpdateName.
This is a Chromium-only patch since the plumbing for getting
window.name notifications out of Blink was already in place and used
in <webview>. <webview>'s Chromium-side window.name code is
refactored to use the new plumbing in this CL.
BUG= 426512
Committed: https://crrev.com/be2f4c337f17e85533f5a23dc31ee08bf7c0c167
Cr-Commit-Position: refs/heads/master@{#319823}
Total comments: 17
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+148 lines, -45 lines) |
Patch |
 |
M |
content/browser/frame_host/frame_tree_node.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/frame_tree_node.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_frame_host_delegate.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_frame_host_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_frame_host_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_frame_host_manager.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/frame_host/render_frame_host_manager.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/site_per_process_browsertest.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+58 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/web_contents/web_contents_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/frame_messages.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/browser/web_contents_observer.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/renderer/render_frame_observer.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+14 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_proxy.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_proxy.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/test/data/frame_tree/top.html
|
View
|
1
2
3
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/guest_view/web_view/web_view_guest.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/guest_view/web_view/web_view_guest.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+11 lines, -21 lines |
0 comments
|
Download
|
 |
M |
extensions/common/extension_messages.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
extensions/renderer/extensions_render_frame_observer.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
extensions/renderer/extensions_render_frame_observer.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
Total messages: 20 (7 generated)
|