Index: Source/core/dom/DOMPointReadOnly.idl |
diff --git a/Source/core/dom/DOMPointReadOnly.idl b/Source/core/dom/DOMPointReadOnly.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a02868d27b16ff2dc343dd6b1297ac8cce5bacbb |
--- /dev/null |
+++ b/Source/core/dom/DOMPointReadOnly.idl |
@@ -0,0 +1,18 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+[ |
+ Constructor(unrestricted double x, unrestricted double y, |
+ unrestricted double z, unrestricted double w), |
+ GarbageCollected, |
+ RuntimeEnabled=GeometryInterfaces, |
+] interface DOMPointReadOnly { |
+ readonly attribute unrestricted double x; |
+ readonly attribute unrestricted double y; |
+ readonly attribute unrestricted double z; |
+ readonly attribute unrestricted double w; |
+ |
+ // FIXME: We should implement DOMMatrixReadOnly interface. |
+ // DOMPoint matrixTransform(DOMMatrixReadOnly matrix); |
+}; |