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

Side by Side Diff: client/html/src/SVGElementWrappingImplementation.dart

Issue 8919029: Add a couple useful SVG constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 SVGElementWrappingImplementation extends ElementWrappingImplementation imp lements SVGElement { 5 class SVGElementWrappingImplementation extends ElementWrappingImplementation imp lements SVGElement {
8 SVGElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} 6 SVGElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
9 7
8 factory SVGElementWrappingImplementation.tag(String tag) =>
9 LevelDom.wrapSVGElement(dom.document.createElementNS(
10 "http://www.w3.org/2000/svg", tag));
11
10 String get id() { return _ptr.id; } 12 String get id() { return _ptr.id; }
11 13
12 void set id(String value) { _ptr.id = value; } 14 void set id(String value) { _ptr.id = value; }
13 15
14 SVGSVGElement get ownerSVGElement() { return LevelDom.wrapSVGSVGElement(_ptr.o wnerSVGElement); } 16 SVGSVGElement get ownerSVGElement() { return LevelDom.wrapSVGSVGElement(_ptr.o wnerSVGElement); }
15 17
16 SVGElement get viewportElement() { return LevelDom.wrapSVGElement(_ptr.viewpor tElement); } 18 SVGElement get viewportElement() { return LevelDom.wrapSVGElement(_ptr.viewpor tElement); }
17 19
18 String get xmlbase() { return _ptr.xmlbase; } 20 String get xmlbase() { return _ptr.xmlbase; }
19 21
20 void set xmlbase(String value) { _ptr.xmlbase = value; } 22 void set xmlbase(String value) { _ptr.xmlbase = value; }
21 } 23 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698