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

Unified Diff: third_party/WebKit/Source/modules/sensor/OrientationSensor.idl

Issue 2785493002: [Sensors] OrientationSensor.populateMatrix() works also with Float64Array and DOMMatrix types (Closed)
Patch Set: Comments from Reilly Created 3 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
« no previous file with comments | « third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/sensor/OrientationSensor.idl
diff --git a/third_party/WebKit/Source/modules/sensor/OrientationSensor.idl b/third_party/WebKit/Source/modules/sensor/OrientationSensor.idl
index 98692644d44a95471560c66e3df30038dfc48b2c..bfd51f37c05301d106b363721fe9c9df14e26043 100644
--- a/third_party/WebKit/Source/modules/sensor/OrientationSensor.idl
+++ b/third_party/WebKit/Source/modules/sensor/OrientationSensor.idl
@@ -5,9 +5,11 @@
// Specification at:
// https://w3c.github.io/orientation-sensor/
+typedef (Float32Array or Float64Array or DOMMatrix) RotationMatrixType;
+
[
RuntimeEnabled=Sensor,
] interface OrientationSensor : Sensor {
[CachedAttribute=isReadingDirty] readonly attribute FrozenArray<double>? quaternion;
- [RaisesException] void populateMatrix(Float32Array targetBuffer);
+ [RaisesException] void populateMatrix(RotationMatrixType targetBuffer);
};
« no previous file with comments | « third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698