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

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

Issue 2547563002: Unflag the MediaDevices devicechange event in Blink. (Closed)
Patch Set: rebase 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 5d947a12be77f0f5619accee8f7a4ec7b5485f22..22fa27179c1a266a1c016e86301c56ae343d59d6 100644
--- a/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
+++ b/third_party/WebKit/Source/web/WebRuntimeFeatures.cpp
@@ -178,6 +178,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);
}
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in ('k') | third_party/WebKit/public/web/WebRuntimeFeatures.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698