Chromium Code Reviews| Index: Source/web/WebRuntimeFeatures.cpp |
| diff --git a/Source/web/WebRuntimeFeatures.cpp b/Source/web/WebRuntimeFeatures.cpp |
| index 26b0afd933790205d564e4dc4f4b4393acac915b..9cc98ddea038ed58ab9732bd76a196e1ae60dabd 100644 |
| --- a/Source/web/WebRuntimeFeatures.cpp |
| +++ b/Source/web/WebRuntimeFeatures.cpp |
| @@ -79,6 +79,16 @@ void WebRuntimeFeatures::enableDeviceOrientation(bool enable) |
| RuntimeEnabledFeatures::setDeviceOrientationEnabled(enable); |
| } |
| +void WebRuntimeFeatures::enableDeviceLight(bool enable) |
| +{ |
| + RuntimeEnabledFeatures::setDeviceLightEnabled(enable); |
| +} |
| + |
| +bool WebRuntimeFeatures::isDeviceLightEnabled() |
| +{ |
| + return RuntimeEnabledFeatures::deviceLightEnabled(); |
| +} |
|
abarth-chromium
2014/03/04 18:59:32
Why is this needed?
riju_
2014/03/05 15:47:27
Done.
|
| + |
| void WebRuntimeFeatures::enableDialogElement(bool enable) |
| { |
| RuntimeEnabledFeatures::setDialogElementEnabled(enable); |