Convert BrowserPlugin to render using cc::Surfaces.
commit53032adf732a092a342ae1ef2f3039adf89082d1
authorwjmaclean <wjmaclean@chromium.org>
Mon, 15 Jun 2015 16:49:22 +0000 (15 09:49 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 15 Jun 2015 16:49:49 +0000 (15 16:49 +0000)
treec4eb0c2c6d115a1e2d55f5d09178b21c27a50595
parent07bbd38f13474770ab04769480dddefd2042e812
Convert BrowserPlugin to render using cc::Surfaces.

This CL adds the appropriate machinery to allow BrowserPlugin to render
using surfaces. This directly affects WebView and other GuestView
types, such as the out-of-process PDF viewer.

Where possible, functionality in RenderWidgetHostViewChildFrame that did
not need to be replicated in RenderWidgetHostViewGuest was left
untouched.

This CL is based closely on https://codereview.chromium.org/1094113003/.

BUG=none

Review URL: https://codereview.chromium.org/1169983006

Cr-Commit-Position: refs/heads/master@{#334392}
content/browser/browser_plugin/browser_plugin_guest.cc
content/browser/browser_plugin/browser_plugin_guest.h
content/browser/frame_host/render_widget_host_view_child_frame.h
content/browser/frame_host/render_widget_host_view_guest.cc
content/browser/frame_host/render_widget_host_view_guest.h
content/browser/frame_host/render_widget_host_view_guest_unittest.cc
content/common/browser_plugin/browser_plugin_messages.h
content/renderer/browser_plugin/browser_plugin.cc
content/renderer/browser_plugin/browser_plugin.h
content/renderer/child_frame_compositing_helper.cc
content/renderer/child_frame_compositing_helper.h