Chromium Code Reviews| Index: Source/core/html/canvas/CanvasRenderingContext2D.idl |
| diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.idl b/Source/core/html/canvas/CanvasRenderingContext2D.idl |
| index 2b28f1769210239f359d73ad847fb62f50b7a85a..2262f6c8ea1aeb72c1ecb8a17ff638bb5c211f4b 100644 |
| --- a/Source/core/html/canvas/CanvasRenderingContext2D.idl |
| +++ b/Source/core/html/canvas/CanvasRenderingContext2D.idl |
| @@ -133,6 +133,15 @@ enum CanvasFillRule { "nonzero", "evenodd" }; |
| [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] void drawImage(ImageBitmap imageBitmap, unrestricted float x, unrestricted float y, unrestricted float width, unrestricted float height); |
| [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] void drawImage(ImageBitmap imageBitmap, unrestricted float sx, unrestricted float sy, unrestricted float sw, unrestricted float sh, unrestricted float dx, unrestricted float dy, unrestricted float dw, unrestricted float dh); |
| + // hit regions |
| + // FIXME: Blink does not currently support WebIDL dictionary definitions. |
| + // See http://crbug.com/321462 |
| + [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] void addHitRegion(optional Dictionary options); |
| + [RuntimeEnabled=ExperimentalCanvasFeatures] void removeHitRegion(DOMString id); |
| + [RuntimeEnabled=ExperimentalCanvasFeatures] void clearHitRegions(); |
| + // This attribute is supplied only for the purpose of testing. |
| + [RuntimeEnabled=ExperimentalCanvasFeatures] readonly attribute unsigned short hitRegionsCount; |
|
Rik
2014/06/02 22:57:40
will this be removed later then?
fs
2014/06/03 11:47:01
Move to Internals?
zino
2014/06/06 06:35:16
Done.
|
| + |
| // pixel manipulation |
| ImageData createImageData(ImageData imagedata); |
| [RaisesException] ImageData createImageData(float sw, float sh); |