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

Unified Diff: sky/engine/core/painting/Image.idl

Issue 1151753009: Add Sky framework support for drawing images (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: More style fixes, ran git cl format Created 5 years, 7 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: sky/engine/core/painting/Image.idl
diff --git a/sky/engine/core/frame/ImageBitmap.idl b/sky/engine/core/painting/Image.idl
similarity index 71%
copy from sky/engine/core/frame/ImageBitmap.idl
copy to sky/engine/core/painting/Image.idl
index 903a2d7421f10c16804e3e29f10767cd7d119251..3d24b9aa40a1a3abc7218af9ebcb579e006686b1 100644
--- a/sky/engine/core/frame/ImageBitmap.idl
+++ b/sky/engine/core/painting/Image.idl
@@ -3,7 +3,10 @@
// found in the LICENSE file.
[
-] interface ImageBitmap {
+ Constructor(),
+ ImplementedAs=CanvasImage,
+] interface Image {
readonly attribute long width;
readonly attribute long height;
+ attribute DOMString src;
};

Powered by Google App Engine
This is Rietveld 408576698