| Index: third_party/WebKit/Source/core/dom/DOMPointReadOnly.idl
|
| diff --git a/third_party/WebKit/Source/core/dom/DOMPointReadOnly.idl b/third_party/WebKit/Source/core/dom/DOMPointReadOnly.idl
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f1b0d0b8f6ecee0c487d44458850373f0893b784
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/dom/DOMPointReadOnly.idl
|
| @@ -0,0 +1,23 @@
|
| +// 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.
|
| +
|
| +// https://drafts.fxtf.org/geometry/#dompointreadonly
|
| +
|
| +[
|
| + Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
|
| + optional unrestricted double z = 0, optional unrestricted double w = 1),
|
| + Exposed=(Window,Worker),
|
| + RuntimeEnabled=GeometryInterfaces,
|
| +] interface DOMPointReadOnly {
|
| + [NewObject] static DOMPointReadOnly fromPoint(optional DOMPointInit other);
|
| +
|
| + readonly attribute unrestricted double x;
|
| + readonly attribute unrestricted double y;
|
| + readonly attribute unrestricted double z;
|
| + readonly attribute unrestricted double w;
|
| +
|
| + [RaisesException] DOMPoint matrixTransform(optional DOMMatrixInit matrix);
|
| +
|
| + serializer = { attribute };
|
| +};
|
|
|