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

Side by Side Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 13852015: unhide nodeType constants (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merged Created 7 years, 8 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
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /// The Dart HTML library. 1 /// The Dart HTML library.
2 library dart.dom.html; 2 library dart.dom.html;
3 3
4 import 'dart:async'; 4 import 'dart:async';
5 import 'dart:collection'; 5 import 'dart:collection';
6 import 'dart:_collection-dev'; 6 import 'dart:_collection-dev';
7 import 'dart:html_common'; 7 import 'dart:html_common';
8 import 'dart:indexed_db'; 8 import 'dart:indexed_db';
9 import 'dart:isolate'; 9 import 'dart:isolate';
10 import 'dart:json' as json; 10 import 'dart:json' as json;
(...skipping 16119 matching lines...) Expand 10 before | Expand all | Expand 10 after
16130 return controller.stream; 16130 return controller.stream;
16131 } 16131 }
16132 16132
16133 /** 16133 /**
16134 * Print out a String representation of this Node. 16134 * Print out a String representation of this Node.
16135 */ 16135 */
16136 String toString() => localName == null ? 16136 String toString() => localName == null ?
16137 (nodeValue == null ? super.toString() : nodeValue) : localName; 16137 (nodeValue == null ? super.toString() : nodeValue) : localName;
16138 16138
16139 16139
16140 static const int ATTRIBUTE_NODE = 2;
16141
16142 static const int CDATA_SECTION_NODE = 4;
16143
16144 static const int COMMENT_NODE = 8;
16145
16146 static const int DOCUMENT_FRAGMENT_NODE = 11;
16147
16148 static const int DOCUMENT_NODE = 9;
16149
16150 static const int DOCUMENT_TYPE_NODE = 10;
16151
16152 static const int ELEMENT_NODE = 1;
16153
16154 static const int ENTITY_NODE = 6;
16155
16156 static const int ENTITY_REFERENCE_NODE = 5;
16157
16158 static const int NOTATION_NODE = 12;
16159
16160 static const int PROCESSING_INSTRUCTION_NODE = 7;
16161
16162 static const int TEXT_NODE = 3;
16163
16140 @JSName('childNodes') 16164 @JSName('childNodes')
16141 @DomName('Node.childNodes') 16165 @DomName('Node.childNodes')
16142 @DocsEditable 16166 @DocsEditable
16143 @Returns('NodeList') 16167 @Returns('NodeList')
16144 @Creates('NodeList') 16168 @Creates('NodeList')
16145 final List<Node> $dom_childNodes; 16169 final List<Node> $dom_childNodes;
16146 16170
16147 @JSName('firstChild') 16171 @JSName('firstChild')
16148 @DomName('Node.firstChild') 16172 @DomName('Node.firstChild')
16149 @DocsEditable 16173 @DocsEditable
(...skipping 13735 matching lines...) Expand 10 before | Expand all | Expand 10 after
29885 _position = nextPosition; 29909 _position = nextPosition;
29886 return true; 29910 return true;
29887 } 29911 }
29888 _current = null; 29912 _current = null;
29889 _position = _array.length; 29913 _position = _array.length;
29890 return false; 29914 return false;
29891 } 29915 }
29892 29916
29893 T get current => _current; 29917 T get current => _current;
29894 } 29918 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698