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

Unified Diff: Source/WebKit/chromium/src/WebRuntimeFeatures.cpp

Issue 14254007: Web MIDI: Add a run-time flag in blink (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: make func names consistent Created 7 years, 8 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 | « Source/WebKit/chromium/public/WebRuntimeFeatures.h ('k') | Source/bindings/v8/RuntimeEnabledFeatures.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
diff --git a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
index c9197edf5b363a4d1b8123a4337dea62d13d17a8..08b9a04dd0eb66b081d98c007ee0152f135bd1f7 100644
--- a/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
+++ b/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
@@ -556,4 +556,14 @@ bool WebRuntimeFeatures::isExperimentalWebSocketEnabled()
return RuntimeEnabledFeatures::experimentalWebSocketEnabled();
}
+void WebRuntimeFeatures::enableWebMIDI(bool enable)
+{
+ return RuntimeEnabledFeatures::setWebMIDIEnabled(enable);
+}
+
+bool WebRuntimeFeatures::isWebMIDIEnabled()
+{
+ return RuntimeEnabledFeatures::webMIDIEnabled();
+}
+
} // namespace WebKit
« no previous file with comments | « Source/WebKit/chromium/public/WebRuntimeFeatures.h ('k') | Source/bindings/v8/RuntimeEnabledFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698