diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/html/ImageData.idl')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/html/ImageData.idl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/chromium/third_party/WebKit/Source/core/html/ImageData.idl b/chromium/third_party/WebKit/Source/core/html/ImageData.idl index 06847999097..18ed72f2478 100644 --- a/chromium/third_party/WebKit/Source/core/html/ImageData.idl +++ b/chromium/third_party/WebKit/Source/core/html/ImageData.idl @@ -26,10 +26,16 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#imagedata + [ + Constructor(unsigned long width, unsigned long height), + Constructor(Uint8ClampedArray data, unsigned long width, [Default=Undefined] optional unsigned long height), Custom=Wrap, + Exposed=Window&Worker, + RaisesException=Constructor, + WillBeGarbageCollected, ] interface ImageData { readonly attribute long width; readonly attribute long height; }; - |