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

Unified Diff: Source/modules/imagebitmap/ImageBitmapFactories.idl

Issue 20748002: Blob creation methods for ImageBitmap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use IntRect() instead of IntRect(0, 0, 0, 0) 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
« no previous file with comments | « Source/modules/imagebitmap/ImageBitmapFactories.cpp ('k') | Source/modules/imagebitmap/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/imagebitmap/ImageBitmapFactories.idl
diff --git a/Source/core/page/ImageBitmapFactories.idl b/Source/modules/imagebitmap/ImageBitmapFactories.idl
similarity index 94%
rename from Source/core/page/ImageBitmapFactories.idl
rename to Source/modules/imagebitmap/ImageBitmapFactories.idl
index 65c0dc6c549e745ac0aa40e48e47f3fd08399998..d704ba007649ad5d050003c7e283057a5a9793d5 100644
--- a/Source/core/page/ImageBitmapFactories.idl
+++ b/Source/modules/imagebitmap/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);
« no previous file with comments | « Source/modules/imagebitmap/ImageBitmapFactories.cpp ('k') | Source/modules/imagebitmap/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698