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

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

Issue 2668173003: [Sensors] Remove SensorReading interfaces (Closed)
Patch Set: updated global-interface-listing.html Created 3 years, 11 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/Gyroscope.h
diff --git a/third_party/WebKit/Source/modules/sensor/Gyroscope.h b/third_party/WebKit/Source/modules/sensor/Gyroscope.h
index 058502985831b9a28ff0bc1432f955c44e60b844..4b97c2d4d4612649d15d471365918c5d4e0fc669 100644
--- a/third_party/WebKit/Source/modules/sensor/Gyroscope.h
+++ b/third_party/WebKit/Source/modules/sensor/Gyroscope.h
@@ -9,8 +9,6 @@
namespace blink {
-class GyroscopeReading;
-
class Gyroscope final : public Sensor {
DEFINE_WRAPPERTYPEINFO();
@@ -20,14 +18,14 @@ class Gyroscope final : public Sensor {
ExceptionState&);
static Gyroscope* create(ExecutionContext*, ExceptionState&);
- GyroscopeReading* reading() const;
+ double x(bool& isNull) const;
+ double y(bool& isNull) const;
+ double z(bool& isNull) const;
DECLARE_VIRTUAL_TRACE();
private:
Gyroscope(ExecutionContext*, const SensorOptions&, ExceptionState&);
- // Sensor overrides.
- std::unique_ptr<SensorReadingFactory> createSensorReadingFactory() override;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/modules/sensor/BUILD.gn ('k') | third_party/WebKit/Source/modules/sensor/Gyroscope.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698