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

Unified Diff: android_webview/native/aw_settings.cc

Issue 292573004: Don't use webmediaplayer to FullscreenController about fullscreen change (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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 3779cd80a2768f85e9a6e0063fc358ddf81bf9ad..eb5527a2938b73491c88e265778b2f98e4e2a1d3 100644
--- a/android_webview/native/aw_settings.cc
+++ b/android_webview/native/aw_settings.cc
@@ -428,6 +428,8 @@ void AwSettings::PopulateWebPreferencesLocked(
Java_AwSettings_getAllowDisplayingInsecureContentLocked(env, obj);
web_prefs->allow_running_insecure_content =
Java_AwSettings_getAllowRunningInsecureContentLocked(env, obj);
+
+ web_prefs->disallow_fullscreen_for_non_media_elements = true;
}
static jlong Init(JNIEnv* env,

Powered by Google App Engine
This is Rietveld 408576698