Index: core/html/canvas/OffscreenCanvas.idl |
diff --git a/core/html/canvas/OffscreenCanvas.idl b/core/html/canvas/OffscreenCanvas.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..be5bf9128569e7bf0702354f142c44a037338a56 |
--- /dev/null |
+++ b/core/html/canvas/OffscreenCanvas.idl |
@@ -0,0 +1,13 @@ |
+// 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. |
+ |
+[ |
+ Constructor([EnforceRange] unsigned long width, [EnforceRange] unsigned long height), |
+ GarbageCollected, |
+ Exposed=(Window,Worker), |
+ RuntimeEnabled=ExperimentalCanvasFeatures, |
+] interface OffscreenCanvas { |
+ [EnforceRange] attribute unsigned long width; |
+ [EnforceRange] attribute unsigned long height; |
+}; |