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

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

Issue 2547563002: Unflag the MediaDevices devicechange event in Blink. (Closed)
Patch Set: Created 4 years 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: 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 f4f1ca22c43d267aec1e1955a70bb1e0144de8f5..a239776c3d7980499ad098f11e9dc466372fc3ea 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -174,6 +174,10 @@ void WebRuntimeFeatures::enableNetworkInformation(bool enable) {
RuntimeEnabledFeatures::setNetworkInformationEnabled(enable);
}
+void WebRuntimeFeatures::enableOnDeviceChange(bool enable) {
+ RuntimeEnabledFeatures::setOnDeviceChangeEnabled(enable);
+}
+
void WebRuntimeFeatures::enableOrientationEvent(bool enable) {
RuntimeEnabledFeatures::setOrientationEventEnabled(enable);
}

Powered by Google App Engine
This is Rietveld 408576698