Index: core/html/canvas/HitRegionOptions.idl |
diff --git a/core/html/canvas/HitRegionOptions.idl b/core/html/canvas/HitRegionOptions.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..33380b80cf823333794b240adc4e83790e1dcdff |
--- /dev/null |
+++ b/core/html/canvas/HitRegionOptions.idl |
@@ -0,0 +1,17 @@ |
+// Copyright 2014 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. |
+ |
+// Spec: https://html.spec.whatwg.org/multipage/scripting.html#hitregionoptions |
+ |
+enum CanvasFillRule { "nonzero", "evenodd" }; |
+ |
+[ |
+ GarbageCollected |
+] dictionary HitRegionOptions { |
+ Path2D? path = null; |
+ CanvasFillRule fillRule = "nonzero"; |
+ DOMString id = ""; |
+ Element? control = null; |
+ // We don't use parentID, label and role yet. |
+}; |