OLD | NEW |
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 Loading... |
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 }; |
OLD | NEW |