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

Unified Diff: lib/dom/templates/html/impl/impl_CanvasElement.darttemplate

Issue 10544111: Some HTML API cleanup (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add new template Created 8 years, 6 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: lib/dom/templates/html/impl/impl_CanvasElement.darttemplate
diff --git a/lib/dom/templates/dom/native/dart_implementation.darttemplate b/lib/dom/templates/html/impl/impl_CanvasElement.darttemplate
similarity index 67%
copy from lib/dom/templates/dom/native/dart_implementation.darttemplate
copy to lib/dom/templates/html/impl/impl_CanvasElement.darttemplate
index 885414fa4e9c02d40a38aa12d0718ccc0d47f85e..61ce64c22a825bf8a11f9d68069653852b42ac4c 100644
--- a/lib/dom/templates/dom/native/dart_implementation.darttemplate
+++ b/lib/dom/templates/html/impl/impl_CanvasElement.darttemplate
@@ -2,8 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-// WARNING: Do not edit - generated code.
-
-class $CLASSNAME$EXTENDS$IMPLEMENTS {
+class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
$!MEMBERS
+
+ CanvasRenderingContext2D get context2d() => getContext('2d');
}

Powered by Google App Engine
This is Rietveld 408576698