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

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

Issue 2764673002: Embedded media: Rotate to fullscreen
Patch Set: Created 3 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/browser/android/tab_android.h ('k') | third_party/WebKit/Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/tab_android.cc
diff --git a/chrome/browser/android/tab_android.cc b/chrome/browser/android/tab_android.cc
index 1cbed611875d7ab50fee6a896a21f1930341af61..408ec0e8cb5df9fcbdd751dab498fffa7061c624 100644
--- a/chrome/browser/android/tab_android.cc
+++ b/chrome/browser/android/tab_android.cc
@@ -732,6 +732,12 @@ void TabAndroid::EnableEmbeddedMediaExperience(
web_contents()->GetRenderViewHost()->OnWebkitPreferencesChanged();
}
+jboolean TabAndroid::GetEmbeddedMediaExperienceEnabled(
+ JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& obj) {
+ return embedded_media_experience_enabled_;
+}
+
bool TabAndroid::ShouldEnableEmbeddedMediaExperience() const {
return embedded_media_experience_enabled_;
}
« no previous file with comments | « chrome/browser/android/tab_android.h ('k') | third_party/WebKit/Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698