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

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, 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 e9ba10ee2b678b354edc1f148e191f58fca07115..9f704c3d6346c8945aef5802964020c1c14e31a0 100644
--- a/android_webview/native/aw_settings.cc
+++ b/android_webview/native/aw_settings.cc
@@ -395,6 +395,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