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

Unified Diff: client/dom/generated/src/frog/HTMLCollection.dart

Issue 9233028: Frog dart:dom using interfaces and native implementation classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 8 years, 11 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: client/dom/generated/src/frog/HTMLCollection.dart
diff --git a/client/dom/generated/src/frog/HTMLCollection.dart b/client/dom/generated/src/frog/HTMLCollection.dart
index fd1bb3358cd893cec0e4dcf8f87475326344245f..51a855f5e1e8e155ae3a16b97d135b5f7e5ef9f3 100644
--- a/client/dom/generated/src/frog/HTMLCollection.dart
+++ b/client/dom/generated/src/frog/HTMLCollection.dart
@@ -1,17 +1,17 @@
-class HTMLCollection native "*HTMLCollection" {
+class HTMLCollectionJS implements HTMLCollection native "*HTMLCollection" {
int get length() native "return this.length;";
- Node operator[](int index) native;
+ NodeJS operator[](int index) native;
- void operator[]=(int index, Node value) {
+ void operator[]=(int index, NodeJS value) {
throw new UnsupportedOperationException("Cannot assign element of immutable List.");
}
- Node item(int index) native;
+ NodeJS item(int index) native;
- Node namedItem(String name) native;
+ NodeJS namedItem(String name) native;
var dartObjectLocalStorage;
« no previous file with comments | « client/dom/generated/src/frog/HTMLCanvasElement.dart ('k') | client/dom/generated/src/frog/HTMLDListElement.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698