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

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

Issue 2381913002: [sensors] Dispatch sensor events using postTask (Closed)
Patch Set: Created 4 years, 3 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 39c21752c7fd804a63ce6ba4851c1b69e9c7961c..4cc506176b3c7b7a44bc2b680442878442fe2121 100644
--- a/third_party/WebKit/Source/modules/sensor/Sensor.h
+++ b/third_party/WebKit/Source/modules/sensor/Sensor.h
@@ -99,6 +99,9 @@ private:
void updatePollingStatus();
+ void notifySensorReadingChanged();
+ void notifyStateChanged();
+
private:
Member<SensorReading> m_sensorReading;
SensorOptions m_sensorOptions;

Powered by Google App Engine
This is Rietveld 408576698