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

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

Issue 2381913002: [sensors] Dispatch sensor events using postTask (Closed)
Patch Set: Rebased. Created 4 years, 2 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 4e8b81665a3c06ab69c566bc7f2699ed8d19f565..e34d9f4d9b841aa48a3a9a9c1d97df511fe06c83 100644
--- a/third_party/WebKit/Source/modules/sensor/Sensor.h
+++ b/third_party/WebKit/Source/modules/sensor/Sensor.h
@@ -102,6 +102,9 @@ class Sensor : public EventTargetWithInlineData,
void updatePollingStatus();
+ void notifySensorReadingChanged();
+ void notifyStateChanged();
+
private:
Member<SensorReading> m_sensorReading;
SensorOptions m_sensorOptions;
« no previous file with comments | « third_party/WebKit/LayoutTests/sensor/resources/sensor-helpers.js ('k') | third_party/WebKit/Source/modules/sensor/Sensor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698