Chromium Code Reviews| Index: lib/dom/templates/html/impl/impl_CanvasElement.darttemplate |
| diff --git a/lib/dom/templates/html/impl/impl_CanvasElement.darttemplate b/lib/dom/templates/html/impl/impl_CanvasElement.darttemplate |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..61ce64c22a825bf8a11f9d68069653852b42ac4c |
| --- /dev/null |
| +++ b/lib/dom/templates/html/impl/impl_CanvasElement.darttemplate |
| @@ -0,0 +1,9 @@ |
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| +// 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. |
| + |
| +class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
| +$!MEMBERS |
| + |
| + CanvasRenderingContext2D get context2d() => getContext('2d'); |
|
sra1
2012/06/12 21:00:58
the frog version of this should return the impleme
|
| +} |
|
Jacob
2012/06/12 19:48:13
add context3d as well
context3d will need to prov
|