Index: sky/engine/core/loader/ImageLoader.idl |
diff --git a/sky/engine/core/frame/ImageBitmap.idl b/sky/engine/core/loader/ImageLoader.idl |
similarity index 55% |
copy from sky/engine/core/frame/ImageBitmap.idl |
copy to sky/engine/core/loader/ImageLoader.idl |
index 903a2d7421f10c16804e3e29f10767cd7d119251..c4f7723958ac81ea6303cf53bf2780457c448803 100644 |
--- a/sky/engine/core/frame/ImageBitmap.idl |
+++ b/sky/engine/core/loader/ImageLoader.idl |
@@ -3,7 +3,8 @@ |
// found in the LICENSE file. |
[ |
-] interface ImageBitmap { |
- readonly attribute long width; |
- readonly attribute long height; |
+ Constructor(DOMString src, ImageLoaderCallback callback), |
+ ImplementedAs=CanvasImageLoader, |
+] interface ImageLoader { |
+ void load(); |
abarth-chromium
2015/06/01 23:24:49
What's the point of having a |load| function anymo
|
}; |