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

Unified Diff: third_party/WebKit/Source/core/dom/DOMRect.idl

Issue 2612263002: Adding fromRect to DOMRect and DOMRectReadOnly interfaces following spec. (Closed)
Patch Set: Adding fromRect to DOMRect and DOMRectReadOnly interfaces following spec. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMRect.cpp ('k') | third_party/WebKit/Source/core/dom/DOMRectInit.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/DOMRect.idl
diff --git a/third_party/WebKit/Source/core/dom/DOMRect.idl b/third_party/WebKit/Source/core/dom/DOMRect.idl
index 293066b886a9cd1a5af810b83728ea3c269863fb..782cc41646739bb943a91a7c58bbd416f0e3b640 100644
--- a/third_party/WebKit/Source/core/dom/DOMRect.idl
+++ b/third_party/WebKit/Source/core/dom/DOMRect.idl
@@ -12,6 +12,8 @@
// FIXME: Exposed=(Window,Worker)
RuntimeEnabled=GeometryInterfaces,
] interface DOMRect : DOMRectReadOnly {
+ [NewObject] static DOMRect fromRect(optional DOMRectInit other);
+
inherit attribute unrestricted double x;
inherit attribute unrestricted double y;
inherit attribute unrestricted double width;
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMRect.cpp ('k') | third_party/WebKit/Source/core/dom/DOMRectInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698