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

Unified Diff: Source/web/WebRuntimeFeatures.cpp

Issue 143823004: Implement DeviceLight (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase after r169270 Created 6 years, 9 months 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: Source/web/WebRuntimeFeatures.cpp
diff --git a/Source/web/WebRuntimeFeatures.cpp b/Source/web/WebRuntimeFeatures.cpp
index da0480bcc7e770b079311b8450f43e76d9a87081..a5c0e8004b644bd1e1c1408f2d5cef71aa21fbb2 100644
--- a/Source/web/WebRuntimeFeatures.cpp
+++ b/Source/web/WebRuntimeFeatures.cpp
@@ -82,6 +82,11 @@ void WebRuntimeFeatures::enableDeviceOrientation(bool enable)
RuntimeEnabledFeatures::setDeviceOrientationEnabled(enable);
}
+void WebRuntimeFeatures::enableDeviceLight(bool enable)
+{
+ RuntimeEnabledFeatures::setDeviceLightEnabled(enable);
+}
abarth-chromium 2014/03/18 22:48:53 There's no need for this function. It should just
riju_ 2014/03/19 12:28:13 Done.
+
void WebRuntimeFeatures::enableDialogElement(bool enable)
{
RuntimeEnabledFeatures::setDialogElementEnabled(enable);

Powered by Google App Engine
This is Rietveld 408576698