Index: Source/core/html/canvas/CanvasRenderingContext2D.idl |
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.idl b/Source/core/html/canvas/CanvasRenderingContext2D.idl |
index 6b5723abbee04a77e6d7d2dfeebcb8c58a14fd06..0c3428828b7fd63d9e5e9433e216587ccb24ed99 100644 |
--- a/Source/core/html/canvas/CanvasRenderingContext2D.idl |
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.idl |
@@ -134,6 +134,10 @@ 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: s/Dictionary/HitRegionOptions/) |
+ [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] void addHitRegion(optional Dictionary options); |
+ [RuntimeEnabled=ExperimentalCanvasFeatures] void removeHitRegion(DOMString id); |
+ |
// pixel manipulation |
ImageData createImageData(ImageData imagedata); |
[RaisesException] ImageData createImageData(float sw, float sh); |