Stub implementation of RWHV for webview plugin. This will be modified to enable HW...
commitb5a4084f9dbf0bb9166f83e0981fa7ad7a42cb99
authoralexst@chromium.org <alexst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 28 Nov 2012 15:26:11 +0000 (28 15:26 +0000)
committeralexst@chromium.org <alexst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 28 Nov 2012 15:26:11 +0000 (28 15:26 +0000)
tree18d862ebe3c43ee9761ff13684339f7dbf04f5aa
parenta4e0b9e06ab4adcb4c1739d704468d4362be9f91
Stub implementation of RWHV for webview plugin. This will be modified to enable HW accelerated compositing.

We need to override some of the HW accelerated behaviour on the views and since most of the
platform specific stuff isn't used by the webview, these are stubs.

The only function getting called on this mostly stub class are:

GetBoundsInRootWindow()
GetNativeView() const
GetScreenInfo(WebKit::WebScreenInfo *)
OnAcceleratedCompositingStateChange()
SetHasHorizontalScrollbar(bool)
SetIsLoading(bool)
SetScrollOffsetPinning(bool, bool)
SetTooltipText(const string16 &)
SelectionBoundsChanged()

BUG=143424

Review URL: https://chromiumcodereview.appspot.com/11365158

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169947 0039d316-1c4b-4281-b951-d872f2087c98
17 files changed:
content/browser/browser_plugin/browser_plugin_guest.cc
content/browser/browser_plugin/browser_plugin_guest.h
content/browser/browser_plugin/browser_plugin_host_browsertest.cc
content/browser/browser_plugin/browser_plugin_host_factory.h
content/browser/browser_plugin/test_browser_plugin_guest.cc
content/browser/browser_plugin/test_browser_plugin_guest.h
content/browser/renderer_host/render_process_host_impl.cc
content/browser/renderer_host/render_widget_host_view_guest.cc [new file with mode: 0644]
content/browser/renderer_host/render_widget_host_view_guest.h [new file with mode: 0644]
content/browser/renderer_host/render_widget_host_view_guest_unittest.cc [new file with mode: 0644]
content/browser/web_contents/web_contents_impl.cc
content/browser/web_contents/web_contents_view_guest.cc [new file with mode: 0644]
content/browser/web_contents/web_contents_view_guest.h [new file with mode: 0644]
content/content_browser.gypi
content/content_tests.gypi
content/public/common/content_switches.cc
content/public/common/content_switches.h