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

Side by Side Diff: third_party/WebKit/Source/core/dom/DOMPointReadOnly.idl

Issue 2586083002: Adding fromPoint to DOMPoint and DOMPointReadOnly interfaces following spec. (Closed)
Patch Set: Adding fromPoint to DOMPoint and DOMPointReadOnly interfaces following spec. Created 4 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // https://dev.w3.org/fxtf/geometry/#DOMPoint 5 // https://dev.w3.org/fxtf/geometry/#DOMPoint
6 6
7 [ 7 [
8 Constructor(unrestricted double x, unrestricted double y, 8 Constructor(unrestricted double x, unrestricted double y,
9 unrestricted double z, unrestricted double w), 9 unrestricted double z, unrestricted double w),
10 // FIXME: Exposed=(Window,Worker) 10 // FIXME: Exposed=(Window,Worker)
11 RuntimeEnabled=GeometryInterfaces, 11 RuntimeEnabled=GeometryInterfaces,
12 ] interface DOMPointReadOnly { 12 ] interface DOMPointReadOnly {
13 [NewObject] static DOMPointReadOnly fromPoint(optional DOMPointInit other);
14
13 readonly attribute unrestricted double x; 15 readonly attribute unrestricted double x;
14 readonly attribute unrestricted double y; 16 readonly attribute unrestricted double y;
15 readonly attribute unrestricted double z; 17 readonly attribute unrestricted double z;
16 readonly attribute unrestricted double w; 18 readonly attribute unrestricted double w;
17 19
18 // FIXME: Implement matrixTransform. 20 // FIXME: Implement matrixTransform.
19 // DOMPoint matrixTransform(DOMMatrixReadOnly matrix); 21 // DOMPoint matrixTransform(DOMMatrixReadOnly matrix);
20 }; 22 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698