|
Hide compositor_frame_sink_id from RenderWidgetHostView*
compositor_frame_sink_id won't exist once we switch to mojo, so it
should not be exposed to non-IPC methods. Instead of passing
compositor_frame_sink_id to the views, we just keep track of it in
RenderWidgetHostImpl and call DidCreateNewRendererCompositorFrameSink
on the view when its value changes. When
DidCreateNewRendererCompositorFrameSink is called, the views ensure
that they never return resources of the old RendererCompositorFrameSink
by recreating CompositorFrameSinkSupport.
bug= 697864
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
Review-Url: https://codereview.chromium.org/2780713004
Cr-Commit-Position: refs/heads/master@{#460504}
Committed: https://chromium.googlesource.com/chromium/src/+/40e8020cbd6c9920cef435a68d5c38addff57c6a
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+356 lines, -348 lines) |
Patch |
|
M |
content/browser/frame_host/render_widget_host_view_child_frame.h
|
View
|
1
2
3
4
5
|
4 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
|
M |
content/browser/frame_host/render_widget_host_view_child_frame.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+11 lines, -20 lines |
0 comments
|
Download
|
|
M |
content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
content/browser/frame_host/render_widget_host_view_guest.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/frame_host/render_widget_host_view_guest.cc
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/browser/frame_host/render_widget_host_view_guest_unittest.cc
|
View
|
1
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/browser_compositor_view_mac.h
|
View
|
1
2
|
3 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/browser_compositor_view_mac.mm
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/delegated_frame_host.h
|
View
|
|
3 chunks |
+3 lines, -9 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/delegated_frame_host.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+10 lines, -21 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/delegated_frame_host_client_aura.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/delegated_frame_host_client_aura.cc
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_impl.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
3 chunks |
+13 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_impl.cc
|
View
|
1
|
3 chunks |
+84 lines, -81 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
9 chunks |
+58 lines, -12 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_view_android.h
|
View
|
1
2
3
|
4 chunks |
+3 lines, -17 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_view_android.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
6 chunks |
+9 lines, -33 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_view_aura.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_view_aura.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_view_aura_unittest.cc
|
View
|
1
|
42 chunks |
+88 lines, -84 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_view_base.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+8 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_view_mac.h
|
View
|
1
2
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_view_mac.mm
|
View
|
1
2
3
4
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
content/test/test_render_view_host.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
3 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/test/test_render_view_host.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
Total messages: 73 (62 generated)
|