| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | |
| 6 | |
| 7 class SVGSVGElementWrappingImplementation extends SVGElementWrappingImplementati
on implements SVGSVGElement { | 5 class SVGSVGElementWrappingImplementation extends SVGElementWrappingImplementati
on implements SVGSVGElement { |
| 8 SVGSVGElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 6 SVGSVGElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9 | 7 |
| 8 factory SVGSVGElementWrappingImplementation() { |
| 9 var el = new SVGElement.tag("svg"); |
| 10 // The SVG spec requires the version attribute to match the spec version |
| 11 el.attributes['version'] = 1.1; |
| 12 return el; |
| 13 } |
| 14 |
| 10 String get contentScriptType() { return _ptr.contentScriptType; } | 15 String get contentScriptType() { return _ptr.contentScriptType; } |
| 11 | 16 |
| 12 void set contentScriptType(String value) { _ptr.contentScriptType = value; } | 17 void set contentScriptType(String value) { _ptr.contentScriptType = value; } |
| 13 | 18 |
| 14 String get contentStyleType() { return _ptr.contentStyleType; } | 19 String get contentStyleType() { return _ptr.contentStyleType; } |
| 15 | 20 |
| 16 void set contentStyleType(String value) { _ptr.contentStyleType = value; } | 21 void set contentStyleType(String value) { _ptr.contentStyleType = value; } |
| 17 | 22 |
| 18 num get currentScale() { return _ptr.currentScale; } | 23 num get currentScale() { return _ptr.currentScale; } |
| 19 | 24 |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 SVGAnimatedPreserveAspectRatio get preserveAspectRatio() { return LevelDom.wra
pSVGAnimatedPreserveAspectRatio(_ptr.preserveAspectRatio); } | 210 SVGAnimatedPreserveAspectRatio get preserveAspectRatio() { return LevelDom.wra
pSVGAnimatedPreserveAspectRatio(_ptr.preserveAspectRatio); } |
| 206 | 211 |
| 207 SVGAnimatedRect get viewBox() { return LevelDom.wrapSVGAnimatedRect(_ptr.viewB
ox); } | 212 SVGAnimatedRect get viewBox() { return LevelDom.wrapSVGAnimatedRect(_ptr.viewB
ox); } |
| 208 | 213 |
| 209 // From SVGZoomAndPan | 214 // From SVGZoomAndPan |
| 210 | 215 |
| 211 int get zoomAndPan() { return _ptr.zoomAndPan; } | 216 int get zoomAndPan() { return _ptr.zoomAndPan; } |
| 212 | 217 |
| 213 void set zoomAndPan(int value) { _ptr.zoomAndPan = value; } | 218 void set zoomAndPan(int value) { _ptr.zoomAndPan = value; } |
| 214 } | 219 } |
| OLD | NEW |