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

Unified Diff: chrome/browser/android/tab_android.h

Issue 2640023008: Enabling autoplay and fullscreen for downloaded media (Closed)
Patch Set: removed include 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/browser/android/tab_android.h
diff --git a/chrome/browser/android/tab_android.h b/chrome/browser/android/tab_android.h
index 12ee17ca5c34428c89bf490f413b9868056752e9..311218a34f65ff72cd0dd0214c7b9c451226e8dd 100644
--- a/chrome/browser/android/tab_android.h
+++ b/chrome/browser/android/tab_android.h
@@ -240,6 +240,13 @@ class TabAndroid : public CoreTabHelperDelegate,
return webapp_manifest_scope_;
}
+ void EnableEmbeddedMediaExperience(
+ JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& obj,
+ jboolean enabled);
+
+ bool ShouldEnableEmbeddedMediaExperience() const;
+
// Register the Tab's native methods through JNI.
static bool RegisterTabAndroid(JNIEnv* env);
@@ -266,6 +273,7 @@ class TabAndroid : public CoreTabHelperDelegate,
std::unique_ptr<browser_sync::SyncedTabDelegateAndroid> synced_tab_delegate_;
std::string webapp_manifest_scope_;
+ bool embedded_media_experience_enabled_;
DISALLOW_COPY_AND_ASSIGN(TabAndroid);
};
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java ('k') | chrome/browser/android/tab_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698