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

Unified Diff: Source/core/dom/DOMPointReadOnly.idl

Issue 399923002: [WIP] Implement DOMPoint of geometry interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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: 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..47c558a90071837f13091b33bc8c192d71450b08
--- /dev/null
+++ b/Source/core/dom/DOMPointReadOnly.idl
@@ -0,0 +1,16 @@
+// 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.
+
+[
+ GarbageCollected,
+ RuntimeEnabled=GeometryInterface,
+] interface DOMPointReadOnly {
+ [ImplementedInPrivateScript] readonly attribute unrestricted double x;
+ [ImplementedInPrivateScript] readonly attribute unrestricted double y;
+ [ImplementedInPrivateScript] readonly attribute unrestricted double z;
+ [ImplementedInPrivateScript] readonly attribute unrestricted double w;
+
+ // FIXME: We should implement DOMMatrixReadOnly interface.
+ // [ImplementedInPrivateScript] DOMPoint matrixTransform(DOMMatrixReadOnly matrix);
+};

Powered by Google App Engine
This is Rietveld 408576698