|
Unify RenderWidgetHostView(ChildFrame and Guest) compositing code
This CL achieves two goals:
- Right now the code in OnSwapCompositorFrame methods in
RenderWidgetHostViewChildFrame and RenderWidgetHostViewGuest are almost
identical. This CL extracts the common parts of these two methods into
a new method called ProcessCompositorFrame to minimize code
duplication.
- Switches to cc::SurfaceInfo in IPC communications to simplify the
API and be consistent with Mojo which already uses SurfaceInfo.
TBR=sunnyps@chromium.org
BUG= 668890
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
Review-Url: https://codereview.chromium.org/2633303003
Cr-Commit-Position: refs/heads/master@{#445585}
Committed: https://chromium.googlesource.com/chromium/src/+/56cee024237174f6a5a6281fa534bc3874aee8ef
Total comments: 1
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+137 lines, -178 lines) |
Patch |
|
M |
cc/ipc/cc_param_traits_macros.h
|
View
|
1
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
cc/surfaces/surface_info.h
|
View
|
1
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/browser_plugin/browser_plugin_guest.h
|
View
|
1
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/browser/browser_plugin/browser_plugin_guest.cc
|
View
|
1
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
|
M |
content/browser/frame_host/cross_process_frame_connector.h
|
View
|
1
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/browser/frame_host/cross_process_frame_connector.cc
|
View
|
1
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
|
M |
content/browser/frame_host/render_widget_host_view_child_frame.h
|
View
|
1
2
3
|
3 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/frame_host/render_widget_host_view_child_frame.cc
|
View
|
1
2
3
|
3 chunks |
+46 lines, -34 lines |
0 comments
|
Download
|
|
M |
content/browser/frame_host/render_widget_host_view_child_frame_unittest.cc
|
View
|
1
|
2 chunks |
+6 lines, -14 lines |
0 comments
|
Download
|
|
M |
content/browser/frame_host/render_widget_host_view_guest.h
|
View
|
1
2
3
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/frame_host/render_widget_host_view_guest.cc
|
View
|
1
2
3
|
2 chunks |
+18 lines, -65 lines |
0 comments
|
Download
|
|
M |
content/browser/frame_host/render_widget_host_view_guest_unittest.cc
|
View
|
1
|
4 chunks |
+10 lines, -23 lines |
0 comments
|
Download
|
|
M |
content/common/browser_plugin/browser_plugin_messages.h
|
View
|
1
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/common/frame_messages.h
|
View
|
1
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/renderer/browser_plugin/browser_plugin.h
|
View
|
1
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/renderer/browser_plugin/browser_plugin.cc
|
View
|
1
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_frame_proxy.h
|
View
|
1
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_frame_proxy.cc
|
View
|
1
|
2 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
Total messages: 42 (28 generated)
|