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

Unified Diff: third_party/WebKit/Source/modules/sensor/Sensor.h

Issue 2675483003: [Sensors] Introduce 'unconnected' sensor state (Closed)
Patch Set: rebased Created 3 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
Index: third_party/WebKit/Source/modules/sensor/Sensor.h
diff --git a/third_party/WebKit/Source/modules/sensor/Sensor.h b/third_party/WebKit/Source/modules/sensor/Sensor.h
index 76540175c23263163a63384ee4dd1cee827e751d..171e3a32e10b3a66ad950a37e1eb40f864c7642f 100644
--- a/third_party/WebKit/Source/modules/sensor/Sensor.h
+++ b/third_party/WebKit/Source/modules/sensor/Sensor.h
@@ -31,7 +31,7 @@ class Sensor : public EventTargetWithInlineData,
DEFINE_WRAPPERTYPEINFO();
public:
- enum class SensorState { Idle, Activating, Activated, Errored };
+ enum class SensorState { Unconnected, Activating, Activated, Idle, Errored };
~Sensor() override;

Powered by Google App Engine
This is Rietveld 408576698