Chromium Code Reviews| Index: client/html/src/SVGSVGElementWrappingImplementation.dart |
| diff --git a/client/html/generated/src/wrapping/_SVGSVGElementWrappingImplementation.dart b/client/html/src/SVGSVGElementWrappingImplementation.dart |
| similarity index 96% |
| rename from client/html/generated/src/wrapping/_SVGSVGElementWrappingImplementation.dart |
| rename to client/html/src/SVGSVGElementWrappingImplementation.dart |
| index 214705269cd1d6225cd83e34adc6c4c911662451..1d46f3be5a37e442becb5dd65a0035ee8109021e 100644 |
| --- a/client/html/generated/src/wrapping/_SVGSVGElementWrappingImplementation.dart |
| +++ b/client/html/src/SVGSVGElementWrappingImplementation.dart |
| @@ -2,11 +2,16 @@ |
| // 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 SVGSVGElementWrappingImplementation extends SVGElementWrappingImplementation implements SVGSVGElement { |
| SVGSVGElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| + factory SVGSVGElementWrappingImplementation() { |
|
Jacob
2011/12/13 01:49:22
Should we instead hide SVGSVGElement completely? I
nweiz
2011/12/13 19:08:06
It's more useful in that you want to create an SVG
|
| + var el = new SVGElement.tag("svg"); |
| + el.attributes['xmlns'] = "http://www.w3.org/2000/svg"; |
| + el.attributes['version'] = 1.1; |
|
Jacob
2011/12/13 01:49:22
At least comment why you want to hard code this ve
nweiz
2011/12/13 19:08:06
Done.
|
| + return el; |
| + } |
| + |
| String get contentScriptType() { return _ptr.contentScriptType; } |
| void set contentScriptType(String value) { _ptr.contentScriptType = value; } |