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

Unified Diff: lib/dom/templates/dom/native/dart_implementation.darttemplate

Issue 10383302: Move dart:dom implementation classes to dart:html library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 months 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: lib/dom/templates/dom/native/dart_implementation.darttemplate
diff --git a/lib/dom/templates/dom/native/dart_implementation.darttemplate b/lib/dom/templates/dom/native/dart_implementation.darttemplate
index 62a255d3aa76870c4dc3865c7b97f4f14b1473d7..c4422b49aa7418965509bcdab0d8df0e105f93ca 100644
--- a/lib/dom/templates/dom/native/dart_implementation.darttemplate
+++ b/lib/dom/templates/dom/native/dart_implementation.darttemplate
@@ -4,9 +4,15 @@
// WARNING: Do not edit - generated code.
-class $CLASS extends $BASE implements $INTERFACE {
- static $CLASS _create$CLASS() => new $CLASS._create$CLASS();
+interface _$INTERFACE {
+}
+
+class $CLASS extends $BASE implements _$INTERFACE {
$CLASS._create$CLASS();
String get typeName() => "$INTERFACE";
$MEMBERS
}
+
+_create$CLASS() => new $CLASS._create$CLASS();
Anton Muhin 2012/05/23 14:03:31 why those are not static methods?
podivilov 2012/05/23 14:52:40 Because of the bug with Dart_GetClass for private
+
+_is$CLASS(object) => object is $CLASS;

Powered by Google App Engine
This is Rietveld 408576698