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

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: nits Created 6 years, 5 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..a90903251bd86c5b5a181ba0925ecff7766b85db 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->full_screen_enabled =
+ Java_AwSettings_getFullScreenEnabled(env, obj);
}
static jlong Init(JNIEnv* env,

Powered by Google App Engine
This is Rietveld 408576698