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

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

Issue 2702003002: [GeometryInterface] enable Exposed keyword at DOMRect*.idl. (Closed)
Patch Set: [GeometryInterface] enable Exposed keyword at DOMRect*.idl. Created 3 years, 10 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, 8 Constructor(optional unrestricted double x = 0,
9 optional unrestricted double y = 0, 9 optional unrestricted double y = 0,
10 optional unrestricted double width = 0, 10 optional unrestricted double width = 0,
11 optional unrestricted double height = 0), 11 optional unrestricted double height = 0),
12 // FIXME: Exposed=(Window,Worker) 12 Exposed=(Window,Worker),
13 RuntimeEnabled=GeometryInterfaces, 13 RuntimeEnabled=GeometryInterfaces,
14 ] interface DOMRect : DOMRectReadOnly { 14 ] interface DOMRect : DOMRectReadOnly {
15 [NewObject] static DOMRect fromRect(optional DOMRectInit other); 15 [NewObject] static DOMRect fromRect(optional DOMRectInit other);
16 16
17 inherit attribute unrestricted double x; 17 inherit attribute unrestricted double x;
18 inherit attribute unrestricted double y; 18 inherit attribute unrestricted double y;
19 inherit attribute unrestricted double width; 19 inherit attribute unrestricted double width;
20 inherit attribute unrestricted double height; 20 inherit attribute unrestricted double height;
21 }; 21 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698