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

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

Issue 14159020: Make RadioNodeList be NodeList (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 16351 matching lines...) Expand 10 before | Expand all | Expand 10 after
16362 @DocsEditable 16362 @DocsEditable
16363 Node previousNode() native; 16363 Node previousNode() native;
16364 } 16364 }
16365 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16365 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16366 // for details. All rights reserved. Use of this source code is governed by a 16366 // for details. All rights reserved. Use of this source code is governed by a
16367 // BSD-style license that can be found in the LICENSE file. 16367 // BSD-style license that can be found in the LICENSE file.
16368 16368
16369 16369
16370 @DocsEditable 16370 @DocsEditable
16371 @DomName('NodeList') 16371 @DomName('NodeList')
16372 class NodeList implements JavaScriptIndexingBehavior, List<Node> native "NodeLis t" { 16372 class NodeList implements JavaScriptIndexingBehavior, List<Node> native "NodeLis t,RadioNodeList" {
16373 16373
16374 @DomName('NodeList.length') 16374 @DomName('NodeList.length')
16375 @DocsEditable 16375 @DocsEditable
16376 int get length => JS("int", "#.length", this); 16376 int get length => JS("int", "#.length", this);
16377 16377
16378 Node operator[](int index) => JS("Node", "#[#]", this, index); 16378 Node operator[](int index) => JS("Node", "#[#]", this, index);
16379 16379
16380 void operator[]=(int index, Node value) { 16380 void operator[]=(int index, Node value) {
16381 throw new UnsupportedError("Cannot assign element of immutable List."); 16381 throw new UnsupportedError("Cannot assign element of immutable List.");
16382 } 16382 }
(...skipping 1281 matching lines...) Expand 10 before | Expand all | Expand 10 after
17664 // BSD-style license that can be found in the LICENSE file. 17664 // BSD-style license that can be found in the LICENSE file.
17665 17665
17666 // WARNING: Do not edit - generated code. 17666 // WARNING: Do not edit - generated code.
17667 17667
17668 17668
17669 typedef void RtcStatsCallback(RtcStatsResponse response); 17669 typedef void RtcStatsCallback(RtcStatsResponse response);
17670 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17670 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17671 // for details. All rights reserved. Use of this source code is governed by a 17671 // for details. All rights reserved. Use of this source code is governed by a
17672 // BSD-style license that can be found in the LICENSE file. 17672 // BSD-style license that can be found in the LICENSE file.
17673 17673
17674
17675 @DocsEditable
17676 @DomName('RadioNodeList')
17677 class RadioNodeList extends NodeList native "RadioNodeList" {
17678
17679 @DomName('RadioNodeList.value')
17680 @DocsEditable
17681 String value;
17682 }
17683 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17684 // for details. All rights reserved. Use of this source code is governed by a
17685 // BSD-style license that can be found in the LICENSE file.
17686
17687 // WARNING: Do not edit - generated code. 17674 // WARNING: Do not edit - generated code.
17688 17675
17689 17676
17690 @DomName('Range') 17677 @DomName('Range')
17691 class Range native "Range" { 17678 class Range native "Range" {
17692 factory Range() => document.$dom_createRange(); 17679 factory Range() => document.$dom_createRange();
17693 17680
17694 17681
17695 static const int END_TO_END = 2; 17682 static const int END_TO_END = 2;
17696 17683
(...skipping 7895 matching lines...) Expand 10 before | Expand all | Expand 10 after
25592 } 25579 }
25593 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 25580 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25594 // for details. All rights reserved. Use of this source code is governed by a 25581 // for details. All rights reserved. Use of this source code is governed by a
25595 // BSD-style license that can be found in the LICENSE file. 25582 // BSD-style license that can be found in the LICENSE file.
25596 25583
25597 25584
25598 @DocsEditable 25585 @DocsEditable
25599 @DomName('RGBColor') 25586 @DomName('RGBColor')
25600 abstract class _RGBColor native "RGBColor" { 25587 abstract class _RGBColor native "RGBColor" {
25601 } 25588 }
25589 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
25590 // for details. All rights reserved. Use of this source code is governed by a
25591 // BSD-style license that can be found in the LICENSE file.
25592
25593
25594 // Omit RadioNodeList for dart2js. The Dart Form and FieldSet APIs don't
25595 // currently expose an API the returns RadioNodeList. The only use of a
25596 // RadioNodeList is to get the selected value and it will be cleaner to
25597 // introduce a different API for that purpose.
25602 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 25598 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
25603 // for details. All rights reserved. Use of this source code is governed by a 25599 // for details. All rights reserved. Use of this source code is governed by a
25604 // BSD-style license that can be found in the LICENSE file. 25600 // BSD-style license that can be found in the LICENSE file.
25605 25601
25606 25602
25607 @DocsEditable 25603 @DocsEditable
25608 @DomName('Rect') 25604 @DomName('Rect')
25609 abstract class _Rect native "Rect" { 25605 abstract class _Rect native "Rect" {
25610 } 25606 }
25611 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 25607 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
(...skipping 4298 matching lines...) Expand 10 before | Expand all | Expand 10 after
29910 _position = nextPosition; 29906 _position = nextPosition;
29911 return true; 29907 return true;
29912 } 29908 }
29913 _current = null; 29909 _current = null;
29914 _position = _array.length; 29910 _position = _array.length;
29915 return false; 29911 return false;
29916 } 29912 }
29917 29913
29918 T get current => _current; 29914 T get current => _current;
29919 } 29915 }
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