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

Side by Side Diff: client/dom/generated/src/frog/NamedNodeMap.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 1
2 class NamedNodeMap native "*NamedNodeMap" { 2 class NamedNodeMapJS implements NamedNodeMap native "*NamedNodeMap" {
3 3
4 int get length() native "return this.length;"; 4 int get length() native "return this.length;";
5 5
6 Node operator[](int index) native; 6 NodeJS operator[](int index) native;
7 7
8 void operator[]=(int index, Node value) { 8 void operator[]=(int index, NodeJS value) {
9 throw new UnsupportedOperationException("Cannot assign element of immutable List."); 9 throw new UnsupportedOperationException("Cannot assign element of immutable List.");
10 } 10 }
11 11
12 Node getNamedItem(String name) native; 12 NodeJS getNamedItem(String name) native;
13 13
14 Node getNamedItemNS(String namespaceURI, String localName) native; 14 NodeJS getNamedItemNS(String namespaceURI, String localName) native;
15 15
16 Node item(int index) native; 16 NodeJS item(int index) native;
17 17
18 Node removeNamedItem(String name) native; 18 NodeJS removeNamedItem(String name) native;
19 19
20 Node removeNamedItemNS(String namespaceURI, String localName) native; 20 NodeJS removeNamedItemNS(String namespaceURI, String localName) native;
21 21
22 Node setNamedItem(Node node) native; 22 NodeJS setNamedItem(NodeJS node) native;
23 23
24 Node setNamedItemNS(Node node) native; 24 NodeJS setNamedItemNS(NodeJS node) native;
25 25
26 var dartObjectLocalStorage; 26 var dartObjectLocalStorage;
27 27
28 String get typeName() native; 28 String get typeName() native;
29 } 29 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/MutationRecord.dart ('k') | client/dom/generated/src/frog/Navigator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698