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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java

Issue 2640023008: Enabling autoplay and fullscreen for downloaded media (Closed)
Patch Set: Added a single pref Created 3 years, 10 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
Index: chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java
index cdbb845f42b526104106f6f94cabb6e772ebb199..566833342faf12c2f6a0bef8b24eb2a2914503a4 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java
@@ -540,6 +540,11 @@ public class CustomTabActivity extends ChromeActivity {
mIntentDataProvider.isOpenedByChrome(),
getFullscreenManager().getBrowserVisibilityDelegate()),
false, false);
+
+ if (mIntentDataProvider.shouldEnableEmbeddedMediaExperience()) {
+ tab.configureEmbeddedMediaExperience();
+ }
+
initializeMainTab(tab);
return tab;
}

Powered by Google App Engine
This is Rietveld 408576698