Index: Source/web/WebRuntimeFeatures.cpp |
diff --git a/Source/web/WebRuntimeFeatures.cpp b/Source/web/WebRuntimeFeatures.cpp |
index eb374e7046068e3631e715de1569489aedf80e00..eb9a2bf1a41f029c12867aa48816a513034de25a 100644 |
--- a/Source/web/WebRuntimeFeatures.cpp |
+++ b/Source/web/WebRuntimeFeatures.cpp |
@@ -280,6 +280,16 @@ bool WebRuntimeFeatures::isNavigatorContentUtilsEnabled() |
return RuntimeEnabledFeatures::navigatorContentUtilsEnabled(); |
} |
+void WebRuntimeFeatures::enableOrientationEvent(bool enable) |
+{ |
+ RuntimeEnabledFeatures::setOrientationEventEnabled(enable); |
+} |
+ |
+bool WebRuntimeFeatures::isOrientationEventEnabled() |
+{ |
+ return RuntimeEnabledFeatures::orientationEventEnabled(); |
+} |
+ |
void WebRuntimeFeatures::enablePagePopup(bool enable) |
{ |
RuntimeEnabledFeatures::setPagePopupEnabled(enable); |