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

Unified 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: Oops, don't include the next patch in this one 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/html/src/SVGElement.dart ('k') | client/html/src/SVGSVGElement.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/html/src/SVGElementWrappingImplementation.dart
diff --git a/client/html/generated/src/wrapping/_SVGElementWrappingImplementation.dart b/client/html/src/SVGElementWrappingImplementation.dart
similarity index 82%
rename from client/html/generated/src/wrapping/_SVGElementWrappingImplementation.dart
rename to client/html/src/SVGElementWrappingImplementation.dart
index 368024817abaacb1f8b677ca19abd958f8782ed6..71203a4a513cb8d7a983d664f44e7dafb09f8ed1 100644
--- a/client/html/generated/src/wrapping/_SVGElementWrappingImplementation.dart
+++ b/client/html/src/SVGElementWrappingImplementation.dart
@@ -2,11 +2,13 @@
// 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 SVGElementWrappingImplementation extends ElementWrappingImplementation implements SVGElement {
SVGElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
+ factory SVGElementWrappingImplementation.tag(String tag) =>
+ LevelDom.wrapSVGElement(dom.document.createElementNS(
+ "http://www.w3.org/2000/svg", tag));
+
String get id() { return _ptr.id; }
void set id(String value) { _ptr.id = value; }
« no previous file with comments | « client/html/src/SVGElement.dart ('k') | client/html/src/SVGSVGElement.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698