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

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

Issue 1135283005: Sky: Add a CustomDart attribute to the IDL compiler, and use that with Canvas (Closed) Base URL: git@github.com:/domokit/mojo.git@master
Patch Set: . 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
« no previous file with comments | « sky/engine/core/painting/Canvas.dart ('k') | sky/examples/raw/painting.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/painting/Canvas.idl
diff --git a/sky/engine/core/painting/Canvas.idl b/sky/engine/core/painting/Canvas.idl
index 2eead032dc4beb5dcee3643ad3d1354dec3aa4e5..8aef9c562b3241af5a7e2c03ca7f40fc29d5c70a 100644
--- a/sky/engine/core/painting/Canvas.idl
+++ b/sky/engine/core/painting/Canvas.idl
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// TODO(mpcomplete): Figure out a better SkMatrix/SkRect representation.
-interface Canvas {
+// TODO(mpcomplete): Figure out a better SkMatrix representation.
+[CustomDart] interface Canvas {
// Height and width are used for culling optimizations and do not necessarily
// imply that the Canvas is backed by a buffer with any specific bounds.
readonly attribute float height;
« no previous file with comments | « sky/engine/core/painting/Canvas.dart ('k') | sky/examples/raw/painting.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698