Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java

Issue 212663004: Fix a problem that video does not show up in Chrome Shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java
diff --git a/chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java b/chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java
index 3a2d2945b6ae8507f34b4bab003166be8e3fa64f..025b1f2562f7eff1a72092e0d6cf20eeb3f33c20 100644
--- a/chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java
+++ b/chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java
@@ -79,6 +79,15 @@ public class TabManager extends LinearLayout {
}
/**
+ * Enter or leave overlay video mode.
+ * @param enabled Whether overlay mode is enabled.
+ */
+ public void setOverlayVideoMode(boolean enabled) {
+ if (mContentViewRenderView == null) return;
+ mContentViewRenderView.setOverlayVideoMode(enabled);
+ }
+
+ /**
* @return The currently visible {@link ChromeShellTab}.
*/
public ChromeShellTab getCurrentTab() {
« no previous file with comments | « chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698