diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-01 19:25:21 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-01 19:25:21 +0000 |
commit | 2ef216b5f623f9f4f9e4b00963c490c96ca7b83e (patch) | |
tree | 0f1011569ee0fc40bbbb3dd975edb8a77ad072dc /chrome/common | |
parent | 384289827fef763f9e3155bf4c45b5835f6e0e2e (diff) | |
download | chromium_src-2ef216b5f623f9f4f9e4b00963c490c96ca7b83e.zip chromium_src-2ef216b5f623f9f4f9e4b00963c490c96ca7b83e.tar.gz chromium_src-2ef216b5f623f9f4f9e4b00963c490c96ca7b83e.tar.bz2 |
Add a new flag to enable GPU compositing on chrome: pages
BUG=none
TEST=manual
Review URL: http://codereview.chromium.org/7519017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94954 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/chrome_switches.cc | 3 | ||||
-rw-r--r-- | chrome/common/chrome_switches.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index c8667c8..99ffb5a 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -37,6 +37,9 @@ const char kAllowScriptingGallery[] = "allow-scripting-gallery"; // websocket proxy. const char kAllowWebSocketProxy[] = "allow-websocket-proxy"; +// Allow compositing on chrome:// pages. +const char kAllowWebUICompositing[] = "allow-webui-compositing"; + // Allows WebUI based OOBE. Note, WebUI will be used iff kWebUILogin is also // true. const char kAllowWebUIOobe[] = "allow-webui-oobe"; diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index 4fa2c0b..5a27b07 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -29,6 +29,7 @@ extern const char kAllowOutdatedPlugins[]; extern const char kAllowHTTPBackgroundPage[]; extern const char kAllowScriptingGallery[]; extern const char kAllowWebSocketProxy[]; +extern const char kAllowWebUICompositing[]; extern const char kAllowWebUIOobe[]; extern const char kAlwaysAuthorizePlugins[]; extern const char kAlwaysEnableDevTools[]; |