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

Unified Diff: public/web/WebRuntimeFeatures.h

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: public/web/WebRuntimeFeatures.h
diff --git a/public/web/WebRuntimeFeatures.h b/public/web/WebRuntimeFeatures.h
index 70958d3310a45ee67acc06e2906270c103891866..f794c7376bafeac93900cf8bdce750aab8764529 100644
--- a/public/web/WebRuntimeFeatures.h
+++ b/public/web/WebRuntimeFeatures.h
@@ -53,6 +53,9 @@ public:
BLINK_EXPORT static void enableDeviceOrientation(bool);
+ BLINK_EXPORT static void enableDeviceLight(bool);
+ BLINK_EXPORT static bool isDeviceLightEnabled();
abarth-chromium 2014/03/18 22:48:53 Please don't export these functions. They shouldn
riju_ 2014/03/19 12:28:13 Done.
+
BLINK_EXPORT static void enableDialogElement(bool);
BLINK_EXPORT static void enableEncryptedMedia(bool);
« Source/web/WebRuntimeFeatures.cpp ('K') | « public/platform/WebDeviceLightListener.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698