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

Unified Diff: android_webview/lib/main/aw_main_delegate.cc

Issue 2738893002: Add flag for enabling/disabling video fullscreen detection (Closed)
Patch Set: s/AppHooksHelper/AppHooks 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
Index: android_webview/lib/main/aw_main_delegate.cc
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc
index b356d27fa8ed710b41a3a7c450e05141694e7bec..a2890b7d4cb17b3a0b73da53c612e6a9d1d186ce 100644
--- a/android_webview/lib/main/aw_main_delegate.cc
+++ b/android_webview/lib/main/aw_main_delegate.cc
@@ -119,6 +119,9 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) {
// metadata and controls.
cl->AppendSwitch(switches::kDisableMediaSessionAPI);
+ // WebView does not use the video fullscreen detection feature.
+ cl->AppendSwitch(switches::kDisableVideoFullscreenDetection);
+
#if defined(V8_USE_EXTERNAL_STARTUP_DATA)
if (cl->GetSwitchValueASCII(switches::kProcessType).empty()) {
// Browser process (no type specified).
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/AppHooks.java » ('j') | chrome/browser/android/app_hooks.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698