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

Unified Diff: public/web/WebRuntimeFeatures.h

Issue 143823004: Implement DeviceLight (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: DeviceLight API working fine (make the flag back to status=experimental) Created 6 years, 10 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
« public/platform/Platform.h ('K') | « public/platform/WebDeviceLightListener.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebRuntimeFeatures.h
diff --git a/public/web/WebRuntimeFeatures.h b/public/web/WebRuntimeFeatures.h
index b2ba4e3ca82ac049f5311831b9a1dd3974d8d9d0..60d72ed159207a2bab56d99ab38efd3004ed3fd3 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();
+
BLINK_EXPORT static void enableDialogElement(bool);
BLINK_EXPORT static void enableEncryptedMedia(bool);
« public/platform/Platform.h ('K') | « public/platform/WebDeviceLightListener.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698