Chromium Code Reviews| Index: lib/dom/templates/html/frog/impl_CanvasElement.darttemplate |
| diff --git a/lib/dom/templates/dom/native/dart_implementation.darttemplate b/lib/dom/templates/html/frog/impl_CanvasElement.darttemplate |
| similarity index 66% |
| copy from lib/dom/templates/dom/native/dart_implementation.darttemplate |
| copy to lib/dom/templates/html/frog/impl_CanvasElement.darttemplate |
| index 885414fa4e9c02d40a38aa12d0718ccc0d47f85e..a7da3e5abce813988741a615b16cb01d96c1b1d5 100644 |
| --- a/lib/dom/templates/dom/native/dart_implementation.darttemplate |
| +++ b/lib/dom/templates/html/frog/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 |
| + |
| + _CanvasRenderingContext2DImpl get context2d() => getContext('2d'); |
|
Anton Muhin
2012/06/13 15:02:52
Do we really need a separate template? May we add
|
| } |