diff options
author | boliu@google.com <boliu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-11 16:56:09 +0000 |
---|---|---|
committer | boliu@google.com <boliu@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-11 16:56:09 +0000 |
commit | 52f139e2c4189849974901c38aa47b739a40d98a (patch) | |
tree | b284938315d82099af8f4ceb1983d93892469a5b /chrome/common | |
parent | 9bd441e721dcb221a7ffd6b87dab749dc60897f6 (diff) | |
download | chromium_src-52f139e2c4189849974901c38aa47b739a40d98a.zip chromium_src-52f139e2c4189849974901c38aa47b739a40d98a.tar.gz chromium_src-52f139e2c4189849974901c38aa47b739a40d98a.tar.bz2 |
Add enable-video-fullscreen switch.
Corresponding Webkit patch to make this work is here:
https://bugs.webkit.org/show_bug.cgi?id=40317
BUG=16735
TEST=webkitSupportsFullscreen() js call should return true with switch.
(Requires webkit patch)
Review URL: http://codereview.chromium.org/2775001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49539 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/chrome_switches.cc | 4 | ||||
-rw-r--r-- | chrome/common/chrome_switches.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index a4a2ca4..2317fe8 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -376,6 +376,10 @@ const char kEnableTouch[] = "enable-touch"; // browser window. const char kEnableVerticalTabs[] = "enable-vertical-tabs"; +// Enables support for fullscreen video. Current implementation is +// incomplete and this flag is used for development and testing. +const char kEnableVideoFullscreen[] = "enable-video-fullscreen"; + // Enables video layering where video is rendered as a separate layer outside // of the backing store. const char kEnableVideoLayering[] = "enable-video-layering"; diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index c0e3d3e..c047e9d7 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -124,6 +124,7 @@ extern const char kEnableSyncThemes[]; extern const char kEnableSyncTypedUrls[]; extern const char kEnableTouch[]; extern const char kEnableVerticalTabs[]; +extern const char kEnableVideoFullscreen[]; extern const char kEnableVideoLayering[]; extern const char kEnableVideoLogging[]; extern const char kEnableWatchdog[]; |