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

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

Issue 2606763002: Delete DOMPoint constructor using DOMPointInit as parameter. (Closed)
Patch Set: Delete DOMPoint constructor using DOMPointInit as parameter. Created 3 years, 11 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 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 // FIXME: The point argument is optional in the spec:
9 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=28108 8 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=28108
zino 2016/12/31 03:03:59 Please remove this comment as well.
Byoungkwon Ko 2017/01/03 08:53:10 Done.
10 Constructor(DOMPointInit point),
11 Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0, 9 Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
12 optional unrestricted double z = 0, optional unrestricted double w = 1), 10 optional unrestricted double z = 0, optional unrestricted double w = 1),
13 // FIXME: Exposed=(Window,Worker) 11 // FIXME: Exposed=(Window,Worker)
14 RuntimeEnabled=GeometryInterfaces, 12 RuntimeEnabled=GeometryInterfaces,
15 ] interface DOMPoint : DOMPointReadOnly { 13 ] interface DOMPoint : DOMPointReadOnly {
16 [NewObject] static DOMPoint fromPoint(optional DOMPointInit other); 14 [NewObject] static DOMPoint fromPoint(optional DOMPointInit other);
17 inherit attribute unrestricted double x; 15 inherit attribute unrestricted double x;
18 inherit attribute unrestricted double y; 16 inherit attribute unrestricted double y;
19 inherit attribute unrestricted double z; 17 inherit attribute unrestricted double z;
20 inherit attribute unrestricted double w; 18 inherit attribute unrestricted double w;
21 }; 19 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698