summaryrefslogtreecommitdiffstats
path: root/content/public/common
diff options
context:
space:
mode:
authoralexst@chromium.org <alexst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-28 15:26:11 +0000
committeralexst@chromium.org <alexst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-28 15:26:11 +0000
commitb5a4084f9dbf0bb9166f83e0981fa7ad7a42cb99 (patch)
tree18d862ebe3c43ee9761ff13684339f7dbf04f5aa /content/public/common
parenta4e0b9e06ab4adcb4c1739d704468d4362be9f91 (diff)
downloadchromium_src-b5a4084f9dbf0bb9166f83e0981fa7ad7a42cb99.zip
chromium_src-b5a4084f9dbf0bb9166f83e0981fa7ad7a42cb99.tar.gz
chromium_src-b5a4084f9dbf0bb9166f83e0981fa7ad7a42cb99.tar.bz2
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
Diffstat (limited to 'content/public/common')
-rw-r--r--content/public/common/content_switches.cc4
-rw-r--r--content/public/common/content_switches.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 689e39e..0cf6300 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -245,6 +245,10 @@ const char kEnableAcceleratedFilters[] = "enable-accelerated-filters";
// Turns on extremely verbose logging of accessibility events.
const char kEnableAccessibilityLogging[] = "enable-accessibility-logging";
+// Enables browser plugin compositing experiment.
+const char kEnableBrowserPluginCompositing[] =
+ "enable-browser-plugin-compositing";
+
// Enables browser plugin for all types of pages.
const char kEnableBrowserPluginForAllViewTypes[] =
"enable-browser-plugin-for-all-view-types";
diff --git a/content/public/common/content_switches.h b/content/public/common/content_switches.h
index 0a5b978..126696a 100644
--- a/content/public/common/content_switches.h
+++ b/content/public/common/content_switches.h
@@ -90,6 +90,7 @@ CONTENT_EXPORT extern const char kDomAutomationController[];
CONTENT_EXPORT extern const char kEnableAcceleratedPainting[];
CONTENT_EXPORT extern const char kEnableAcceleratedFilters[];
extern const char kEnableAccessibilityLogging[];
+CONTENT_EXPORT extern const char kEnableBrowserPluginCompositing[];
CONTENT_EXPORT extern const char kEnableBrowserPluginForAllViewTypes[];
CONTENT_EXPORT extern const char kEnableCompositingForFixedPosition[];
CONTENT_EXPORT extern const char kEnableCssShaders[];