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

Unified Diff: client/html/src/SVGElement.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 side-by-side diff with in-line comments
Download patch
Index: client/html/src/SVGElement.dart
diff --git a/client/html/generated/src/interface/SVGElement.dart b/client/html/src/SVGElement.dart
similarity index 78%
rename from client/html/generated/src/interface/SVGElement.dart
rename to client/html/src/SVGElement.dart
index d51e4265fa9e7c368dbb1a97ffa674b1e5b0db2f..b0c3838948029485c310ed5a70a2daf0233fc006 100644
--- a/client/html/generated/src/interface/SVGElement.dart
+++ b/client/html/src/SVGElement.dart
@@ -2,9 +2,9 @@
// 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.
+interface SVGElement extends Element factory SVGElementWrappingImplementation {
-interface SVGElement extends Element {
+ SVGElement.tag(String tag);
Jacob 2011/12/13 01:49:22 Add a comment clarifying when you should use this
nweiz 2011/12/13 19:08:06 It seems clear from context that this one creates
Jacob 2011/12/13 19:21:54 What worries me is it isn't really clear from new
nweiz 2011/12/13 19:27:57 I think it's reasonable to expect users to know th
String get id();

Powered by Google App Engine
This is Rietveld 408576698