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

Unified Diff: Source/core/dom/DOMQuad.idl

Issue 964333002: Implement DOMQuad of geometry interfaces. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: expected Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/DOMQuad.cpp ('k') | Source/core/dom/DOMRectInit.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMQuad.idl
diff --git a/Source/core/dom/DOMQuad.idl b/Source/core/dom/DOMQuad.idl
new file mode 100644
index 0000000000000000000000000000000000000000..cd7912b63a9e4974b1ea07b4bfec006b4688ee6e
--- /dev/null
+++ b/Source/core/dom/DOMQuad.idl
@@ -0,0 +1,22 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// http://dev.w3.org/fxtf/geometry/#DOMQuad
+
+[
+ // FIXME: The point argument is optional in the spec:
+ // https://www.w3.org/Bugs/Public/show_bug.cgi?id=28108
+ Constructor(DOMRectInit rect),
+ Constructor(optional DOMPointInit p1, optional DOMPointInit p2,
+ optional DOMPointInit p3, optional DOMPointInit p4),
+ // FIXME: Exposed=(Window,Worker)
+ GarbageCollected,
+ RuntimeEnabled=GeometryInterfaces,
+] interface DOMQuad {
+ readonly attribute DOMPoint p1;
+ readonly attribute DOMPoint p2;
+ readonly attribute DOMPoint p3;
+ readonly attribute DOMPoint p4;
+ readonly attribute DOMRectReadOnly bounds;
+};
« no previous file with comments | « Source/core/dom/DOMQuad.cpp ('k') | Source/core/dom/DOMRectInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698