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

Side by Side Diff: Source/modules/imagebitmap/ImageBitmapFactories.idl

Issue 20748002: Blob creation methods for ImageBitmap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Do not pass "this" to PassRefPtr... 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013, Google Inc. All rights reserved. 2 * Copyright (c) 2013, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 23 matching lines...) Expand all
34 ] interface ImageBitmapFactories { 34 ] interface ImageBitmapFactories {
35 // FIXME: these methods should return |Promise|. http://crbug.com/266700 35 // FIXME: these methods should return |Promise|. http://crbug.com/266700
36 [RaisesException] any createImageBitmap(HTMLImageElement image); 36 [RaisesException] any createImageBitmap(HTMLImageElement image);
37 [RaisesException] any createImageBitmap(HTMLImageElement image, long sx, lon g sy, long sw, long sh); 37 [RaisesException] any createImageBitmap(HTMLImageElement image, long sx, lon g sy, long sw, long sh);
38 [RaisesException] any createImageBitmap(HTMLVideoElement video); 38 [RaisesException] any createImageBitmap(HTMLVideoElement video);
39 [RaisesException] any createImageBitmap(HTMLVideoElement video, long sx, lon g sy, long sw, long sh); 39 [RaisesException] any createImageBitmap(HTMLVideoElement video, long sx, lon g sy, long sw, long sh);
40 [RaisesException] any createImageBitmap(CanvasRenderingContext2D context); 40 [RaisesException] any createImageBitmap(CanvasRenderingContext2D context);
41 [RaisesException] any createImageBitmap(CanvasRenderingContext2D context, lo ng sx, long sy, long sw, long sh); 41 [RaisesException] any createImageBitmap(CanvasRenderingContext2D context, lo ng sx, long sy, long sw, long sh);
42 [RaisesException] any createImageBitmap(HTMLCanvasElement canvas); 42 [RaisesException] any createImageBitmap(HTMLCanvasElement canvas);
43 [RaisesException] any createImageBitmap(HTMLCanvasElement canvas, long sx, l ong sy, long sw, long sh); 43 [RaisesException] any createImageBitmap(HTMLCanvasElement canvas, long sx, l ong sy, long sw, long sh);
44 [RaisesException] any createImageBitmap(Blob blob);
45 [RaisesException] any createImageBitmap(Blob blob, long sx, long sy, long sw , long sh);
44 [RaisesException] any createImageBitmap(ImageData data); 46 [RaisesException] any createImageBitmap(ImageData data);
45 [RaisesException] any createImageBitmap(ImageData data, long sx, long sy, lo ng sw, long sh); 47 [RaisesException] any createImageBitmap(ImageData data, long sx, long sy, lo ng sw, long sh);
46 [RaisesException] any createImageBitmap(ImageBitmap bitmap); 48 [RaisesException] any createImageBitmap(ImageBitmap bitmap);
47 [RaisesException] any createImageBitmap(ImageBitmap bitmap, long sx, long sy , long sw, long sh); 49 [RaisesException] any createImageBitmap(ImageBitmap bitmap, long sx, long sy , long sw, long sh);
48 }; 50 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698