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

Unified Diff: content/browser/device_orientation/inertial_sensor_consts.h

Issue 152893002: [DeviceLight API] Content Side Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix in Java file, stop() 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: content/browser/device_orientation/inertial_sensor_consts.h
diff --git a/content/browser/device_orientation/inertial_sensor_consts.h b/content/browser/device_orientation/inertial_sensor_consts.h
index 6a37fc82a4ebbeb7748e17d62ad7844a7101089c..1664cdf0b97ce6a8ea99dab3f9bc5e35966d8a1e 100644
--- a/content/browser/device_orientation/inertial_sensor_consts.h
+++ b/content/browser/device_orientation/inertial_sensor_consts.h
@@ -7,11 +7,12 @@
namespace content {
-// Constants related to the Device Motion/Device Orientation APIs.
+// Constants related to the Device Motion/Device Orientation/Device Light APIs.
enum ConsumerType {
CONSUMER_TYPE_MOTION = 1 << 0,
CONSUMER_TYPE_ORIENTATION = 1 << 1,
+ CONSUMER_TYPE_LIGHT = 1 << 2
};
// Specifies the minimal interval between subsequent sensor data updates.

Powered by Google App Engine
This is Rietveld 408576698