Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1556)

Unified Diff: Source/core/page/ImageBitmapFactories.idl

Issue 20748002: Blob creation methods for ImageBitmap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Make ImageBitmapFactories a class. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/page/ImageBitmapFactories.idl
diff --git a/Source/core/page/ImageBitmapFactories.idl b/Source/core/page/ImageBitmapFactories.idl
index 65c0dc6c549e745ac0aa40e48e47f3fd08399998..d704ba007649ad5d050003c7e283057a5a9793d5 100644
--- a/Source/core/page/ImageBitmapFactories.idl
+++ b/Source/core/page/ImageBitmapFactories.idl
@@ -41,6 +41,8 @@
[RaisesException] any createImageBitmap(CanvasRenderingContext2D context, long sx, long sy, long sw, long sh);
[RaisesException] any createImageBitmap(HTMLCanvasElement canvas);
[RaisesException] any createImageBitmap(HTMLCanvasElement canvas, long sx, long sy, long sw, long sh);
+ [RaisesException] any createImageBitmap(Blob blob);
+ [RaisesException] any createImageBitmap(Blob blob, long sx, long sy, long sw, long sh);
[RaisesException] any createImageBitmap(ImageData data);
[RaisesException] any createImageBitmap(ImageData data, long sx, long sy, long sw, long sh);
[RaisesException] any createImageBitmap(ImageBitmap bitmap);
« Source/core/page/ImageBitmapFactories.cpp ('K') | « Source/core/page/ImageBitmapFactories.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698