Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // https://drafts.fxtf.org/geometry/#domquad | |
| 6 | |
| 7 [ | |
| 8 Constructor(optional DOMPointInit p1, optional DOMPointInit p2, | |
| 9 optional DOMPointInit p3, optional DOMPointInit p4), | |
| 10 // FIXME: Exposed=(Window,Worker) | |
|
dominicc (has gone to gerrit)
2017/01/11 08:07:54
Any reason not to just do this?
Hwanseung Lee
2017/01/11 13:34:04
no, i will fix it after all functions was complete
| |
| 11 RuntimeEnabled=GeometryInterfaces | |
| 12 ] | |
| 13 interface DOMQuad { | |
| 14 // TODO(hs1217.lee): [NewObject] static DOMQuad fromRect(optional DOMRectIni t other); | |
| 15 // TODO(hs1217.lee): [NewObject] static DOMQuad fromQuad(optional DOMQuadIni t other); | |
| 16 | |
| 17 [SameObject] readonly attribute DOMPoint p1; | |
| 18 [SameObject] readonly attribute DOMPoint p2; | |
| 19 [SameObject] readonly attribute DOMPoint p3; | |
| 20 [SameObject] readonly attribute DOMPoint p4; | |
| 21 // TODO(hs1217.lee): [NewObject] DOMRect getBounds(); | |
| 22 | |
| 23 // TODO(hs1217.lee): serializer = { attribute }; | |
| 24 }; | |
| OLD | NEW |