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

Unified Diff: android_webview/native/aw_settings.cc

Issue 425343002: [Android WebView] API to enable fullscreen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update AwContentsClientGetVideoLoadingProgressViewTest Created 6 years, 4 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: android_webview/native/aw_settings.cc
diff --git a/android_webview/native/aw_settings.cc b/android_webview/native/aw_settings.cc
index 2a0a50b39d64ce137da834bcd9aedc9fd16e4c3a..9d454a8e050582094c0455533a180eca34b77c6a 100644
--- a/android_webview/native/aw_settings.cc
+++ b/android_webview/native/aw_settings.cc
@@ -394,6 +394,8 @@ void AwSettings::PopulateWebPreferencesLocked(
Java_AwSettings_getAllowRunningInsecureContentLocked(env, obj);
web_prefs->disallow_fullscreen_for_non_media_elements = true;
+ web_prefs->fullscreen_supported =
+ Java_AwSettings_getFullscreenSupportedLocked(env, obj);
}
static jlong Init(JNIEnv* env,

Powered by Google App Engine
This is Rietveld 408576698