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

Side by Side Diff: third_party/WebKit/Source/core/geometry/DOMRectReadOnly.idl

Issue 2741723005: Move geometry interface files to geometry directory. (Closed)
Patch Set: Rebase Created 3 years, 8 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/#DOMRect 5 // https://dev.w3.org/fxtf/geometry/#DOMRect
6 6
7 [ 7 [
8 Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0, 8 Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
9 optional unrestricted double width = 0, optional unrestricted do uble height = 0), 9 optional unrestricted double width = 0, optional unrestricted do uble height = 0),
10 Exposed=(Window,Worker), 10 Exposed=(Window,Worker),
11 RuntimeEnabled=GeometryInterfaces, 11 RuntimeEnabled=GeometryInterfaces,
12 ] interface DOMRectReadOnly { 12 ] interface DOMRectReadOnly {
13 [NewObject] static DOMRectReadOnly fromRect(optional DOMRectInit other); 13 [NewObject] static DOMRectReadOnly fromRect(optional DOMRectInit other);
14 14
15 readonly attribute unrestricted double x; 15 readonly attribute unrestricted double x;
16 readonly attribute unrestricted double y; 16 readonly attribute unrestricted double y;
17 readonly attribute unrestricted double width; 17 readonly attribute unrestricted double width;
18 readonly attribute unrestricted double height; 18 readonly attribute unrestricted double height;
19 readonly attribute unrestricted double top; 19 readonly attribute unrestricted double top;
20 readonly attribute unrestricted double right; 20 readonly attribute unrestricted double right;
21 readonly attribute unrestricted double bottom; 21 readonly attribute unrestricted double bottom;
22 readonly attribute unrestricted double left; 22 readonly attribute unrestricted double left;
23 23
24 serializer = { attribute }; 24 serializer = { attribute };
25 }; 25 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/geometry/DOMRectReadOnly.cpp ('k') | third_party/WebKit/Source/core/geometry/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698