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

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

Issue 404803002: Implement DOMPoint of geometry interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase 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 unified diff | Download patch
« no previous file with comments | « Source/core/dom/DOMPoint.cpp ('k') | Source/core/dom/DOMPointReadOnly.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // FIXME: Blink doesn't currently support dictionary definitions.
6 // For now, we can use Dictionary interface. See http://crbug.com/321462.
7 // dictionary DOMPointInit {
8 // unrestricted double x = 0;
9 // unrestricted double y = 0;
10 // unrestricted double z = 0;
11 // unrestricted double w = 1;
12 // };
13
14 [
15 Constructor(optional Dictionary point),
16 Constructor(unrestricted double x, unrestricted double y,
17 optional unrestricted double z = 0, optional unrestricted double w = 1),
18 RuntimeEnabled=GeometryInterfaces,
19 ] interface DOMPoint : DOMPointReadOnly {
20 attribute unrestricted double x;
21 attribute unrestricted double y;
22 attribute unrestricted double z;
23 attribute unrestricted double w;
24 };
OLDNEW
« no previous file with comments | « Source/core/dom/DOMPoint.cpp ('k') | Source/core/dom/DOMPointReadOnly.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698