Chromium Code Reviews| 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 3c91dc748dbc69bab0fe1a56e7ea1f998f0b004f..6697767ba704bdf9eb4f69d6678a0654eae17a16 100644 |
| --- a/android_webview/lib/main/aw_main_delegate.cc |
| +++ b/android_webview/lib/main/aw_main_delegate.cc |
| @@ -112,6 +112,10 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) { |
| // Presentation API, see https://crbug.com/521319. |
| cl->AppendSwitch(switches::kDisableRemotePlaybackAPI); |
| + // WebView does not support MediaSession API since there's no UI for media |
| + // metadata and controls. |
| + cl->AppendSwitchASCII(switches::kDisableBlinkFeatures, "MediaSession"); |
|
Torne
2017/01/09 11:47:06
I'm not too familiar with how command line manipul
Zhiqiang Zhang (Slow)
2017/01/09 14:29:21
You are right, they will conflict.
Now I just foll
|
| + |
| #if defined(V8_USE_EXTERNAL_STARTUP_DATA) |
| if (cl->GetSwitchValueASCII(switches::kProcessType).empty()) { |
| // Browser process (no type specified). |