diff options
author | qinmin@chromium.org <qinmin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-07 02:35:40 +0000 |
---|---|---|
committer | qinmin@chromium.org <qinmin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-07 02:35:40 +0000 |
commit | 2c528de832a9edea0bbad61e35cc45e831505a71 (patch) | |
tree | 2b749126d7e195a982f25204cf31ede38dbda764 /content/shell/android/java/src | |
parent | 1b4ec385671074ce4b857344acc11346c1f2da47 (diff) | |
download | chromium_src-2c528de832a9edea0bbad61e35cc45e831505a71.zip chromium_src-2c528de832a9edea0bbad61e35cc45e831505a71.tar.gz chromium_src-2c528de832a9edea0bbad61e35cc45e831505a71.tar.bz2 |
enable subtitle support and the new fullscreen video
This CL enables the subtitle and new fullscreen video for chrome.
The new fullscreen mode has been in testing for a while, this Cl will enable this new fullscreen mode.
BUG=262945
Review URL: https://codereview.chromium.org/182493003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255500 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/android/java/src')
-rw-r--r-- | content/shell/android/java/src/org/chromium/content_shell/ShellManager.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/content/shell/android/java/src/org/chromium/content_shell/ShellManager.java b/content/shell/android/java/src/org/chromium/content_shell/ShellManager.java index 96b4112..6d6db1c 100644 --- a/content/shell/android/java/src/org/chromium/content_shell/ShellManager.java +++ b/content/shell/android/java/src/org/chromium/content_shell/ShellManager.java @@ -53,8 +53,8 @@ public class ShellManager extends FrameLayout { @Override public void onShowCustomView(View view) { super.onShowCustomView(view); - if (CommandLine.getInstance().hasSwitch( - ContentSwitches.ENABLE_OVERLAY_FULLSCREEN_VIDEO_SUBTITLE)) { + if (!CommandLine.getInstance().hasSwitch( + ContentSwitches.DISABLE_OVERLAY_FULLSCREEN_VIDEO_SUBTITLE)) { setOverlayVideoMode(true); } } @@ -62,8 +62,8 @@ public class ShellManager extends FrameLayout { @Override public void onDestroyContentVideoView() { super.onDestroyContentVideoView(); - if (CommandLine.getInstance().hasSwitch( - ContentSwitches.ENABLE_OVERLAY_FULLSCREEN_VIDEO_SUBTITLE)) { + if (!CommandLine.getInstance().hasSwitch( + ContentSwitches.DISABLE_OVERLAY_FULLSCREEN_VIDEO_SUBTITLE)) { setOverlayVideoMode(false); } } |