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

Unified Diff: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp

Issue 2613133003: Disable MediaSession API for WebView (Closed)
Patch Set: rebased Created 3 years, 11 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
« no previous file with comments | « content/public/common/content_switches.cc ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
diff --git a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
index 755229389ec0f1358f48947557d774792ec806a9..c7bcaa15f4d95b774f9c47c5498bdf4bcc3cd6c8 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -166,6 +166,10 @@ void WebRuntimeFeatures::enableMediaDocumentDownloadButton(bool enable) {
RuntimeEnabledFeatures::setMediaDocumentDownloadButtonEnabled(enable);
}
+void WebRuntimeFeatures::enableMediaSession(bool enable) {
+ RuntimeEnabledFeatures::setMediaSessionEnabled(enable);
+}
+
void WebRuntimeFeatures::enableNotificationConstructor(bool enable) {
RuntimeEnabledFeatures::setNotificationConstructorEnabled(enable);
}
« no previous file with comments | « content/public/common/content_switches.cc ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698