OLD | NEW |
1 library html; | 1 library html; |
2 | 2 |
3 import 'dart:async'; | 3 import 'dart:async'; |
4 import 'dart:collection'; | 4 import 'dart:collection'; |
5 import 'dart:html_common'; | 5 import 'dart:html_common'; |
6 import 'dart:indexed_db'; | 6 import 'dart:indexed_db'; |
7 import 'dart:isolate'; | 7 import 'dart:isolate'; |
8 import 'dart:json' as json; | 8 import 'dart:json' as json; |
9 import 'dart:math'; | 9 import 'dart:math'; |
10 import 'dart:svg' as svg; | 10 import 'dart:svg' as svg; |
(...skipping 5509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5520 final num gamma; | 5520 final num gamma; |
5521 | 5521 |
5522 /// @domName DeviceOrientationEvent.initDeviceOrientationEvent; @docsEditable
true | 5522 /// @domName DeviceOrientationEvent.initDeviceOrientationEvent; @docsEditable
true |
5523 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu
m alpha, num beta, num gamma, bool absolute) native; | 5523 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu
m alpha, num beta, num gamma, bool absolute) native; |
5524 } | 5524 } |
5525 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5525 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5526 // for details. All rights reserved. Use of this source code is governed by a | 5526 // for details. All rights reserved. Use of this source code is governed by a |
5527 // BSD-style license that can be found in the LICENSE file. | 5527 // BSD-style license that can be found in the LICENSE file. |
5528 | 5528 |
5529 | 5529 |
5530 /// @domName HTMLDirectoryElement; @docsEditable true | |
5531 class DirectoryElement extends Element native "*HTMLDirectoryElement" { | |
5532 | |
5533 /// @domName HTMLDirectoryElement.compact; @docsEditable true | |
5534 bool compact; | |
5535 } | |
5536 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
5537 // for details. All rights reserved. Use of this source code is governed by a | |
5538 // BSD-style license that can be found in the LICENSE file. | |
5539 | |
5540 | |
5541 /// @domName DirectoryEntry; @docsEditable true | 5530 /// @domName DirectoryEntry; @docsEditable true |
5542 class DirectoryEntry extends Entry native "*DirectoryEntry" { | 5531 class DirectoryEntry extends Entry native "*DirectoryEntry" { |
5543 | 5532 |
5544 /// @domName DirectoryEntry.createReader; @docsEditable true | 5533 /// @domName DirectoryEntry.createReader; @docsEditable true |
5545 DirectoryReader createReader() native; | 5534 DirectoryReader createReader() native; |
5546 | 5535 |
5547 /// @domName DirectoryEntry.getDirectory; @docsEditable true | 5536 /// @domName DirectoryEntry.getDirectory; @docsEditable true |
5548 void getDirectory(String path, {Map options, EntryCallback successCallback, Er
rorCallback errorCallback}) { | 5537 void getDirectory(String path, {Map options, EntryCallback successCallback, Er
rorCallback errorCallback}) { |
5549 if (?errorCallback) { | 5538 if (?errorCallback) { |
5550 var options_1 = convertDartToNative_Dictionary(options); | 5539 var options_1 = convertDartToNative_Dictionary(options); |
(...skipping 18065 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
23616 // -- end List<CssValue> mixins. | 23605 // -- end List<CssValue> mixins. |
23617 | 23606 |
23618 /// @domName CSSValueList.item; @docsEditable true | 23607 /// @domName CSSValueList.item; @docsEditable true |
23619 CssValue item(int index) native; | 23608 CssValue item(int index) native; |
23620 } | 23609 } |
23621 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23610 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
23622 // for details. All rights reserved. Use of this source code is governed by a | 23611 // for details. All rights reserved. Use of this source code is governed by a |
23623 // BSD-style license that can be found in the LICENSE file. | 23612 // BSD-style license that can be found in the LICENSE file. |
23624 | 23613 |
23625 | 23614 |
| 23615 /// @domName HTMLDirectoryElement; @docsEditable true |
| 23616 class _DirectoryElement extends Element native "*HTMLDirectoryElement" { |
| 23617 } |
| 23618 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23619 // for details. All rights reserved. Use of this source code is governed by a |
| 23620 // BSD-style license that can be found in the LICENSE file. |
| 23621 |
| 23622 |
23626 /// @domName EntryArray; @docsEditable true | 23623 /// @domName EntryArray; @docsEditable true |
23627 class _EntryArray implements JavaScriptIndexingBehavior, List<Entry> native "*En
tryArray" { | 23624 class _EntryArray implements JavaScriptIndexingBehavior, List<Entry> native "*En
tryArray" { |
23628 | 23625 |
23629 /// @domName EntryArray.length; @docsEditable true | 23626 /// @domName EntryArray.length; @docsEditable true |
23630 int get length => JS("int", "#.length", this); | 23627 int get length => JS("int", "#.length", this); |
23631 | 23628 |
23632 Entry operator[](int index) => JS("Entry", "#[#]", this, index); | 23629 Entry operator[](int index) => JS("Entry", "#[#]", this, index); |
23633 | 23630 |
23634 void operator[]=(int index, Entry value) { | 23631 void operator[]=(int index, Entry value) { |
23635 throw new UnsupportedError("Cannot assign element of immutable List."); | 23632 throw new UnsupportedError("Cannot assign element of immutable List."); |
(...skipping 4343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
27979 _position = nextPosition; | 27976 _position = nextPosition; |
27980 return true; | 27977 return true; |
27981 } | 27978 } |
27982 _current = null; | 27979 _current = null; |
27983 _position = _array.length; | 27980 _position = _array.length; |
27984 return false; | 27981 return false; |
27985 } | 27982 } |
27986 | 27983 |
27987 T get current => _current; | 27984 T get current => _current; |
27988 } | 27985 } |
OLD | NEW |