Chromium Code Reviews| Index: Source/web/WebRuntimeFeatures.cpp |
| diff --git a/Source/web/WebRuntimeFeatures.cpp b/Source/web/WebRuntimeFeatures.cpp |
| index eb374e7046068e3631e715de1569489aedf80e00..d160c6e4f2958186e084aa3b214621200b460270 100644 |
| --- a/Source/web/WebRuntimeFeatures.cpp |
| +++ b/Source/web/WebRuntimeFeatures.cpp |
| @@ -280,6 +280,16 @@ bool WebRuntimeFeatures::isNavigatorContentUtilsEnabled() |
| return RuntimeEnabledFeatures::navigatorContentUtilsEnabled(); |
| } |
| +void enableOrientationEvent(bool enable) |
|
eseidel
2014/01/09 21:47:53
This won't work. You're missing WebRuntimeFeature
|
| +{ |
| + RuntimeEnabledFeatures::setOrientationEventEnabled(enable); |
| +} |
| + |
| +bool isOrientationEventEnabled() |
| +{ |
| + return RuntimeEnabledFeatures::orientationEventEnabled(); |
| +} |
| + |
| void WebRuntimeFeatures::enablePagePopup(bool enable) |
| { |
| RuntimeEnabledFeatures::setPagePopupEnabled(enable); |