| OLD | NEW |
| 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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 | 261 |
| 262 | 262 |
| 263 @DocsEditable | 263 @DocsEditable |
| 264 @DomName('WebKitAnimationEvent') | 264 @DomName('WebKitAnimationEvent') |
| 265 @SupportedBrowser(SupportedBrowser.CHROME) | 265 @SupportedBrowser(SupportedBrowser.CHROME) |
| 266 @SupportedBrowser(SupportedBrowser.SAFARI) | 266 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 267 @Experimental | 267 @Experimental |
| 268 class AnimationEvent extends Event { | 268 class AnimationEvent extends Event { |
| 269 AnimationEvent.internal() : super.internal(); | 269 AnimationEvent.internal() : super.internal(); |
| 270 | 270 |
| 271 @DomName('AnimationEvent.animationName') | 271 @DomName('WebKitAnimationEvent.animationName') |
| 272 @DocsEditable | 272 @DocsEditable |
| 273 String get animationName native "AnimationEvent_animationName_Getter"; | 273 String get animationName native "AnimationEvent_animationName_Getter"; |
| 274 | 274 |
| 275 @DomName('AnimationEvent.elapsedTime') | 275 @DomName('WebKitAnimationEvent.elapsedTime') |
| 276 @DocsEditable | 276 @DocsEditable |
| 277 num get elapsedTime native "AnimationEvent_elapsedTime_Getter"; | 277 num get elapsedTime native "AnimationEvent_elapsedTime_Getter"; |
| 278 | 278 |
| 279 } | 279 } |
| 280 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 280 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 281 // for details. All rights reserved. Use of this source code is governed by a | 281 // for details. All rights reserved. Use of this source code is governed by a |
| 282 // BSD-style license that can be found in the LICENSE file. | 282 // BSD-style license that can be found in the LICENSE file. |
| 283 | 283 |
| 284 // WARNING: Do not edit - generated code. | 284 // WARNING: Do not edit - generated code. |
| 285 | 285 |
| (...skipping 6844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7130 static const String NETWORK = 'NetworkError'; | 7130 static const String NETWORK = 'NetworkError'; |
| 7131 static const String ABORT = 'AbortError'; | 7131 static const String ABORT = 'AbortError'; |
| 7132 static const String URL_MISMATCH = 'URLMismatchError'; | 7132 static const String URL_MISMATCH = 'URLMismatchError'; |
| 7133 static const String QUOTA_EXCEEDED = 'QuotaExceededError'; | 7133 static const String QUOTA_EXCEEDED = 'QuotaExceededError'; |
| 7134 static const String TIMEOUT = 'TimeoutError'; | 7134 static const String TIMEOUT = 'TimeoutError'; |
| 7135 static const String INVALID_NODE_TYPE = 'InvalidNodeTypeError'; | 7135 static const String INVALID_NODE_TYPE = 'InvalidNodeTypeError'; |
| 7136 static const String DATA_CLONE = 'DataCloneError'; | 7136 static const String DATA_CLONE = 'DataCloneError'; |
| 7137 | 7137 |
| 7138 DomException.internal(); | 7138 DomException.internal(); |
| 7139 | 7139 |
| 7140 @DomName('DOMCoreException.message') | 7140 @DomName('DOMException.message') |
| 7141 @DocsEditable | 7141 @DocsEditable |
| 7142 String get message native "DOMCoreException_message_Getter"; | 7142 String get message native "DOMCoreException_message_Getter"; |
| 7143 | 7143 |
| 7144 @DomName('DOMCoreException.name') | 7144 @DomName('DOMException.name') |
| 7145 @DocsEditable | 7145 @DocsEditable |
| 7146 String get name native "DOMCoreException_name_Getter"; | 7146 String get name native "DOMCoreException_name_Getter"; |
| 7147 | 7147 |
| 7148 @DomName('DOMCoreException.toString') | 7148 @DomName('DOMException.toString') |
| 7149 @DocsEditable | 7149 @DocsEditable |
| 7150 String toString() native "DOMCoreException_toString_Callback"; | 7150 String toString() native "DOMCoreException_toString_Callback"; |
| 7151 | 7151 |
| 7152 } | 7152 } |
| 7153 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7153 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7154 // for details. All rights reserved. Use of this source code is governed by a | 7154 // for details. All rights reserved. Use of this source code is governed by a |
| 7155 // BSD-style license that can be found in the LICENSE file. | 7155 // BSD-style license that can be found in the LICENSE file. |
| 7156 | 7156 |
| 7157 // WARNING: Do not edit - generated code. | 7157 // WARNING: Do not edit - generated code. |
| 7158 | 7158 |
| (...skipping 2766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9925 class FormData extends NativeFieldWrapperClass1 { | 9925 class FormData extends NativeFieldWrapperClass1 { |
| 9926 FormData.internal(); | 9926 FormData.internal(); |
| 9927 factory FormData([FormElement form]) => _create(form); | 9927 factory FormData([FormElement form]) => _create(form); |
| 9928 | 9928 |
| 9929 @DocsEditable | 9929 @DocsEditable |
| 9930 static FormData _create(form) native "DOMFormData_constructorCallback"; | 9930 static FormData _create(form) native "DOMFormData_constructorCallback"; |
| 9931 | 9931 |
| 9932 /// Checks if this type is supported on the current platform. | 9932 /// Checks if this type is supported on the current platform. |
| 9933 static bool get supported => true; | 9933 static bool get supported => true; |
| 9934 | 9934 |
| 9935 @DomName('DOMFormData.append') | 9935 @DomName('FormData.append') |
| 9936 @DocsEditable | 9936 @DocsEditable |
| 9937 void append(String name, value, [String filename]) native "DOMFormData_append_
Callback"; | 9937 void append(String name, value, [String filename]) native "DOMFormData_append_
Callback"; |
| 9938 | 9938 |
| 9939 } | 9939 } |
| 9940 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9940 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9941 // for details. All rights reserved. Use of this source code is governed by a | 9941 // for details. All rights reserved. Use of this source code is governed by a |
| 9942 // BSD-style license that can be found in the LICENSE file. | 9942 // BSD-style license that can be found in the LICENSE file. |
| 9943 | 9943 |
| 9944 // WARNING: Do not edit - generated code. | 9944 // WARNING: Do not edit - generated code. |
| 9945 | 9945 |
| (...skipping 4514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14460 // BSD-style license that can be found in the LICENSE file. | 14460 // BSD-style license that can be found in the LICENSE file. |
| 14461 | 14461 |
| 14462 // WARNING: Do not edit - generated code. | 14462 // WARNING: Do not edit - generated code. |
| 14463 | 14463 |
| 14464 | 14464 |
| 14465 @DocsEditable | 14465 @DocsEditable |
| 14466 @DomName('MimeType') | 14466 @DomName('MimeType') |
| 14467 class MimeType extends NativeFieldWrapperClass1 { | 14467 class MimeType extends NativeFieldWrapperClass1 { |
| 14468 MimeType.internal(); | 14468 MimeType.internal(); |
| 14469 | 14469 |
| 14470 @DomName('DOMMimeType.description') | 14470 @DomName('MimeType.description') |
| 14471 @DocsEditable | 14471 @DocsEditable |
| 14472 String get description native "DOMMimeType_description_Getter"; | 14472 String get description native "DOMMimeType_description_Getter"; |
| 14473 | 14473 |
| 14474 @DomName('DOMMimeType.enabledPlugin') | 14474 @DomName('MimeType.enabledPlugin') |
| 14475 @DocsEditable | 14475 @DocsEditable |
| 14476 Plugin get enabledPlugin native "DOMMimeType_enabledPlugin_Getter"; | 14476 Plugin get enabledPlugin native "DOMMimeType_enabledPlugin_Getter"; |
| 14477 | 14477 |
| 14478 @DomName('DOMMimeType.suffixes') | 14478 @DomName('MimeType.suffixes') |
| 14479 @DocsEditable | 14479 @DocsEditable |
| 14480 String get suffixes native "DOMMimeType_suffixes_Getter"; | 14480 String get suffixes native "DOMMimeType_suffixes_Getter"; |
| 14481 | 14481 |
| 14482 @DomName('DOMMimeType.type') | 14482 @DomName('MimeType.type') |
| 14483 @DocsEditable | 14483 @DocsEditable |
| 14484 String get type native "DOMMimeType_type_Getter"; | 14484 String get type native "DOMMimeType_type_Getter"; |
| 14485 | 14485 |
| 14486 } | 14486 } |
| 14487 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14487 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14488 // for details. All rights reserved. Use of this source code is governed by a | 14488 // for details. All rights reserved. Use of this source code is governed by a |
| 14489 // BSD-style license that can be found in the LICENSE file. | 14489 // BSD-style license that can be found in the LICENSE file. |
| 14490 | 14490 |
| 14491 // WARNING: Do not edit - generated code. | 14491 // WARNING: Do not edit - generated code. |
| 14492 | 14492 |
| 14493 | 14493 |
| 14494 @DocsEditable | 14494 @DocsEditable |
| 14495 @DomName('MimeTypeArray') | 14495 @DomName('MimeTypeArray') |
| 14496 class MimeTypeArray extends NativeFieldWrapperClass1 with ListMixin<MimeType>, I
mmutableListMixin<MimeType> implements List<MimeType> { | 14496 class MimeTypeArray extends NativeFieldWrapperClass1 with ListMixin<MimeType>, I
mmutableListMixin<MimeType> implements List<MimeType> { |
| 14497 MimeTypeArray.internal(); | 14497 MimeTypeArray.internal(); |
| 14498 | 14498 |
| 14499 @DomName('DOMMimeTypeArray.length') | 14499 @DomName('MimeTypeArray.length') |
| 14500 @DocsEditable | 14500 @DocsEditable |
| 14501 int get length native "DOMMimeTypeArray_length_Getter"; | 14501 int get length native "DOMMimeTypeArray_length_Getter"; |
| 14502 | 14502 |
| 14503 MimeType operator[](int index) native "DOMMimeTypeArray_item_Callback"; | 14503 MimeType operator[](int index) native "DOMMimeTypeArray_item_Callback"; |
| 14504 | 14504 |
| 14505 void operator[]=(int index, MimeType value) { | 14505 void operator[]=(int index, MimeType value) { |
| 14506 throw new UnsupportedError("Cannot assign element of immutable List."); | 14506 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 14507 } | 14507 } |
| 14508 // -- start List<MimeType> mixins. | 14508 // -- start List<MimeType> mixins. |
| 14509 // MimeType is the element type. | 14509 // MimeType is the element type. |
| 14510 | 14510 |
| 14511 | 14511 |
| 14512 void set length(int value) { | 14512 void set length(int value) { |
| 14513 throw new UnsupportedError("Cannot resize immutable List."); | 14513 throw new UnsupportedError("Cannot resize immutable List."); |
| 14514 } | 14514 } |
| 14515 | 14515 |
| 14516 // -- end List<MimeType> mixins. | 14516 // -- end List<MimeType> mixins. |
| 14517 | 14517 |
| 14518 @DomName('DOMMimeTypeArray.item') | 14518 @DomName('MimeTypeArray.item') |
| 14519 @DocsEditable | 14519 @DocsEditable |
| 14520 MimeType item(int index) native "DOMMimeTypeArray_item_Callback"; | 14520 MimeType item(int index) native "DOMMimeTypeArray_item_Callback"; |
| 14521 | 14521 |
| 14522 @DomName('DOMMimeTypeArray.namedItem') | 14522 @DomName('MimeTypeArray.namedItem') |
| 14523 @DocsEditable | 14523 @DocsEditable |
| 14524 MimeType namedItem(String name) native "DOMMimeTypeArray_namedItem_Callback"; | 14524 MimeType namedItem(String name) native "DOMMimeTypeArray_namedItem_Callback"; |
| 14525 | 14525 |
| 14526 } | 14526 } |
| 14527 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14527 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14528 // for details. All rights reserved. Use of this source code is governed by a | 14528 // for details. All rights reserved. Use of this source code is governed by a |
| 14529 // BSD-style license that can be found in the LICENSE file. | 14529 // BSD-style license that can be found in the LICENSE file. |
| 14530 | 14530 |
| 14531 // WARNING: Do not edit - generated code. | 14531 // WARNING: Do not edit - generated code. |
| 14532 | 14532 |
| (...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14901 | 14901 |
| 14902 | 14902 |
| 14903 @DocsEditable | 14903 @DocsEditable |
| 14904 @DomName('WebKitNamedFlow') | 14904 @DomName('WebKitNamedFlow') |
| 14905 @SupportedBrowser(SupportedBrowser.CHROME) | 14905 @SupportedBrowser(SupportedBrowser.CHROME) |
| 14906 @SupportedBrowser(SupportedBrowser.SAFARI) | 14906 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 14907 @Experimental | 14907 @Experimental |
| 14908 class NamedFlow extends EventTarget { | 14908 class NamedFlow extends EventTarget { |
| 14909 NamedFlow.internal() : super.internal(); | 14909 NamedFlow.internal() : super.internal(); |
| 14910 | 14910 |
| 14911 @DomName('NamedFlow.firstEmptyRegionIndex') | 14911 @DomName('WebKitNamedFlow.firstEmptyRegionIndex') |
| 14912 @DocsEditable | 14912 @DocsEditable |
| 14913 int get firstEmptyRegionIndex native "NamedFlow_firstEmptyRegionIndex_Getter"; | 14913 int get firstEmptyRegionIndex native "NamedFlow_firstEmptyRegionIndex_Getter"; |
| 14914 | 14914 |
| 14915 @DomName('NamedFlow.name') | 14915 @DomName('WebKitNamedFlow.name') |
| 14916 @DocsEditable | 14916 @DocsEditable |
| 14917 String get name native "NamedFlow_name_Getter"; | 14917 String get name native "NamedFlow_name_Getter"; |
| 14918 | 14918 |
| 14919 @DomName('NamedFlow.overset') | 14919 @DomName('WebKitNamedFlow.overset') |
| 14920 @DocsEditable | 14920 @DocsEditable |
| 14921 bool get overset native "NamedFlow_overset_Getter"; | 14921 bool get overset native "NamedFlow_overset_Getter"; |
| 14922 | 14922 |
| 14923 @DomName('NamedFlow.addEventListener') | 14923 @DomName('WebKitNamedFlow.addEventListener') |
| 14924 @DocsEditable | 14924 @DocsEditable |
| 14925 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native "NamedFlow_addEventListener_Callback"; | 14925 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native "NamedFlow_addEventListener_Callback"; |
| 14926 | 14926 |
| 14927 @DomName('NamedFlow.dispatchEvent') | 14927 @DomName('WebKitNamedFlow.dispatchEvent') |
| 14928 @DocsEditable | 14928 @DocsEditable |
| 14929 bool dispatchEvent(Event event) native "NamedFlow_dispatchEvent_Callback"; | 14929 bool dispatchEvent(Event event) native "NamedFlow_dispatchEvent_Callback"; |
| 14930 | 14930 |
| 14931 @DomName('NamedFlow.getContent') | 14931 @DomName('WebKitNamedFlow.getContent') |
| 14932 @DocsEditable | 14932 @DocsEditable |
| 14933 List<Node> getContent() native "NamedFlow_getContent_Callback"; | 14933 List<Node> getContent() native "NamedFlow_getContent_Callback"; |
| 14934 | 14934 |
| 14935 @DomName('NamedFlow.getRegions') | 14935 @DomName('WebKitNamedFlow.getRegions') |
| 14936 @DocsEditable | 14936 @DocsEditable |
| 14937 List<Node> getRegions() native "NamedFlow_getRegions_Callback"; | 14937 List<Node> getRegions() native "NamedFlow_getRegions_Callback"; |
| 14938 | 14938 |
| 14939 @DomName('NamedFlow.getRegionsByContent') | 14939 @DomName('WebKitNamedFlow.getRegionsByContent') |
| 14940 @DocsEditable | 14940 @DocsEditable |
| 14941 List<Node> getRegionsByContent(Node contentNode) native "NamedFlow_getRegionsB
yContent_Callback"; | 14941 List<Node> getRegionsByContent(Node contentNode) native "NamedFlow_getRegionsB
yContent_Callback"; |
| 14942 | 14942 |
| 14943 @DomName('NamedFlow.removeEventListener') | 14943 @DomName('WebKitNamedFlow.removeEventListener') |
| 14944 @DocsEditable | 14944 @DocsEditable |
| 14945 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native "NamedFlow_removeEventListener_Callback"; | 14945 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native "NamedFlow_removeEventListener_Callback"; |
| 14946 | 14946 |
| 14947 } | 14947 } |
| 14948 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14948 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14949 // for details. All rights reserved. Use of this source code is governed by a | 14949 // for details. All rights reserved. Use of this source code is governed by a |
| 14950 // BSD-style license that can be found in the LICENSE file. | 14950 // BSD-style license that can be found in the LICENSE file. |
| 14951 | 14951 |
| 14952 // WARNING: Do not edit - generated code. | 14952 // WARNING: Do not edit - generated code. |
| 14953 | 14953 |
| 14954 | 14954 |
| 14955 @DocsEditable | 14955 @DocsEditable |
| 14956 @DomName('WebKitNamedFlowCollection') | 14956 @DomName('WebKitNamedFlowCollection') |
| 14957 @SupportedBrowser(SupportedBrowser.CHROME) | 14957 @SupportedBrowser(SupportedBrowser.CHROME) |
| 14958 @SupportedBrowser(SupportedBrowser.SAFARI) | 14958 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 14959 @Experimental | 14959 @Experimental |
| 14960 class NamedFlowCollection extends NativeFieldWrapperClass1 { | 14960 class NamedFlowCollection extends NativeFieldWrapperClass1 { |
| 14961 NamedFlowCollection.internal(); | 14961 NamedFlowCollection.internal(); |
| 14962 | 14962 |
| 14963 @DomName('DOMNamedFlowCollection.length') | 14963 @DomName('WebKitNamedFlowCollection.length') |
| 14964 @DocsEditable | 14964 @DocsEditable |
| 14965 int get length native "DOMNamedFlowCollection_length_Getter"; | 14965 int get length native "DOMNamedFlowCollection_length_Getter"; |
| 14966 | 14966 |
| 14967 @DomName('DOMNamedFlowCollection.item') | 14967 @DomName('WebKitNamedFlowCollection.item') |
| 14968 @DocsEditable | 14968 @DocsEditable |
| 14969 NamedFlow item(int index) native "DOMNamedFlowCollection_item_Callback"; | 14969 NamedFlow item(int index) native "DOMNamedFlowCollection_item_Callback"; |
| 14970 | 14970 |
| 14971 @DomName('DOMNamedFlowCollection.namedItem') | 14971 @DomName('WebKitNamedFlowCollection.namedItem') |
| 14972 @DocsEditable | 14972 @DocsEditable |
| 14973 NamedFlow namedItem(String name) native "DOMNamedFlowCollection_namedItem_Call
back"; | 14973 NamedFlow namedItem(String name) native "DOMNamedFlowCollection_namedItem_Call
back"; |
| 14974 | 14974 |
| 14975 } | 14975 } |
| 14976 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14976 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14977 // for details. All rights reserved. Use of this source code is governed by a | 14977 // for details. All rights reserved. Use of this source code is governed by a |
| 14978 // BSD-style license that can be found in the LICENSE file. | 14978 // BSD-style license that can be found in the LICENSE file. |
| 14979 | 14979 |
| 14980 | 14980 |
| 14981 @DomName('Navigator') | 14981 @DomName('Navigator') |
| (...skipping 1394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16376 // BSD-style license that can be found in the LICENSE file. | 16376 // BSD-style license that can be found in the LICENSE file. |
| 16377 | 16377 |
| 16378 // WARNING: Do not edit - generated code. | 16378 // WARNING: Do not edit - generated code. |
| 16379 | 16379 |
| 16380 | 16380 |
| 16381 @DocsEditable | 16381 @DocsEditable |
| 16382 @DomName('Path') | 16382 @DomName('Path') |
| 16383 class Path extends NativeFieldWrapperClass1 { | 16383 class Path extends NativeFieldWrapperClass1 { |
| 16384 Path.internal(); | 16384 Path.internal(); |
| 16385 | 16385 |
| 16386 @DomName('DOMPath.DOMPath') | 16386 @DomName('Path.DOMPath') |
| 16387 @DocsEditable | 16387 @DocsEditable |
| 16388 factory Path([path_OR_text]) { | 16388 factory Path([path_OR_text]) { |
| 16389 if (!?path_OR_text) { | 16389 if (!?path_OR_text) { |
| 16390 return Path._create_1(); | 16390 return Path._create_1(); |
| 16391 } | 16391 } |
| 16392 if ((path_OR_text is Path || path_OR_text == null)) { | 16392 if ((path_OR_text is Path || path_OR_text == null)) { |
| 16393 return Path._create_2(path_OR_text); | 16393 return Path._create_2(path_OR_text); |
| 16394 } | 16394 } |
| 16395 if ((path_OR_text is String || path_OR_text == null)) { | 16395 if ((path_OR_text is String || path_OR_text == null)) { |
| 16396 return Path._create_3(path_OR_text); | 16396 return Path._create_3(path_OR_text); |
| 16397 } | 16397 } |
| 16398 throw new ArgumentError("Incorrect number or type of arguments"); | 16398 throw new ArgumentError("Incorrect number or type of arguments"); |
| 16399 } | 16399 } |
| 16400 | 16400 |
| 16401 @DocsEditable | 16401 @DocsEditable |
| 16402 static Path _create_1() native "DOMPath__create_1constructorCallback"; | 16402 static Path _create_1() native "DOMPath__create_1constructorCallback"; |
| 16403 | 16403 |
| 16404 @DocsEditable | 16404 @DocsEditable |
| 16405 static Path _create_2(path_OR_text) native "DOMPath__create_2constructorCallba
ck"; | 16405 static Path _create_2(path_OR_text) native "DOMPath__create_2constructorCallba
ck"; |
| 16406 | 16406 |
| 16407 @DocsEditable | 16407 @DocsEditable |
| 16408 static Path _create_3(path_OR_text) native "DOMPath__create_3constructorCallba
ck"; | 16408 static Path _create_3(path_OR_text) native "DOMPath__create_3constructorCallba
ck"; |
| 16409 | 16409 |
| 16410 @DomName('DOMPath.arc') | 16410 @DomName('Path.arc') |
| 16411 @DocsEditable | 16411 @DocsEditable |
| 16412 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc
kwise) native "DOMPath_arc_Callback"; | 16412 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc
kwise) native "DOMPath_arc_Callback"; |
| 16413 | 16413 |
| 16414 @DomName('DOMPath.arcTo') | 16414 @DomName('Path.arcTo') |
| 16415 @DocsEditable | 16415 @DocsEditable |
| 16416 void arcTo(num x1, num y1, num x2, num y2, num radius) native "DOMPath_arcTo_C
allback"; | 16416 void arcTo(num x1, num y1, num x2, num y2, num radius) native "DOMPath_arcTo_C
allback"; |
| 16417 | 16417 |
| 16418 @DomName('DOMPath.bezierCurveTo') | 16418 @DomName('Path.bezierCurveTo') |
| 16419 @DocsEditable | 16419 @DocsEditable |
| 16420 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) nativ
e "DOMPath_bezierCurveTo_Callback"; | 16420 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) nativ
e "DOMPath_bezierCurveTo_Callback"; |
| 16421 | 16421 |
| 16422 @DomName('DOMPath.closePath') | 16422 @DomName('Path.closePath') |
| 16423 @DocsEditable | 16423 @DocsEditable |
| 16424 void closePath() native "DOMPath_closePath_Callback"; | 16424 void closePath() native "DOMPath_closePath_Callback"; |
| 16425 | 16425 |
| 16426 @DomName('DOMPath.lineTo') | 16426 @DomName('Path.lineTo') |
| 16427 @DocsEditable | 16427 @DocsEditable |
| 16428 void lineTo(num x, num y) native "DOMPath_lineTo_Callback"; | 16428 void lineTo(num x, num y) native "DOMPath_lineTo_Callback"; |
| 16429 | 16429 |
| 16430 @DomName('DOMPath.moveTo') | 16430 @DomName('Path.moveTo') |
| 16431 @DocsEditable | 16431 @DocsEditable |
| 16432 void moveTo(num x, num y) native "DOMPath_moveTo_Callback"; | 16432 void moveTo(num x, num y) native "DOMPath_moveTo_Callback"; |
| 16433 | 16433 |
| 16434 @DomName('DOMPath.quadraticCurveTo') | 16434 @DomName('Path.quadraticCurveTo') |
| 16435 @DocsEditable | 16435 @DocsEditable |
| 16436 void quadraticCurveTo(num cpx, num cpy, num x, num y) native "DOMPath_quadrati
cCurveTo_Callback"; | 16436 void quadraticCurveTo(num cpx, num cpy, num x, num y) native "DOMPath_quadrati
cCurveTo_Callback"; |
| 16437 | 16437 |
| 16438 @DomName('DOMPath.rect') | 16438 @DomName('Path.rect') |
| 16439 @DocsEditable | 16439 @DocsEditable |
| 16440 void rect(num x, num y, num width, num height) native "DOMPath_rect_Callback"; | 16440 void rect(num x, num y, num width, num height) native "DOMPath_rect_Callback"; |
| 16441 | 16441 |
| 16442 } | 16442 } |
| 16443 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16443 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16444 // for details. All rights reserved. Use of this source code is governed by a | 16444 // for details. All rights reserved. Use of this source code is governed by a |
| 16445 // BSD-style license that can be found in the LICENSE file. | 16445 // BSD-style license that can be found in the LICENSE file. |
| 16446 | 16446 |
| 16447 // WARNING: Do not edit - generated code. | 16447 // WARNING: Do not edit - generated code. |
| 16448 | 16448 |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16806 // BSD-style license that can be found in the LICENSE file. | 16806 // BSD-style license that can be found in the LICENSE file. |
| 16807 | 16807 |
| 16808 // WARNING: Do not edit - generated code. | 16808 // WARNING: Do not edit - generated code. |
| 16809 | 16809 |
| 16810 | 16810 |
| 16811 @DocsEditable | 16811 @DocsEditable |
| 16812 @DomName('Plugin') | 16812 @DomName('Plugin') |
| 16813 class Plugin extends NativeFieldWrapperClass1 { | 16813 class Plugin extends NativeFieldWrapperClass1 { |
| 16814 Plugin.internal(); | 16814 Plugin.internal(); |
| 16815 | 16815 |
| 16816 @DomName('DOMPlugin.description') | 16816 @DomName('Plugin.description') |
| 16817 @DocsEditable | 16817 @DocsEditable |
| 16818 String get description native "DOMPlugin_description_Getter"; | 16818 String get description native "DOMPlugin_description_Getter"; |
| 16819 | 16819 |
| 16820 @DomName('DOMPlugin.filename') | 16820 @DomName('Plugin.filename') |
| 16821 @DocsEditable | 16821 @DocsEditable |
| 16822 String get filename native "DOMPlugin_filename_Getter"; | 16822 String get filename native "DOMPlugin_filename_Getter"; |
| 16823 | 16823 |
| 16824 @DomName('DOMPlugin.length') | 16824 @DomName('Plugin.length') |
| 16825 @DocsEditable | 16825 @DocsEditable |
| 16826 int get length native "DOMPlugin_length_Getter"; | 16826 int get length native "DOMPlugin_length_Getter"; |
| 16827 | 16827 |
| 16828 @DomName('DOMPlugin.name') | 16828 @DomName('Plugin.name') |
| 16829 @DocsEditable | 16829 @DocsEditable |
| 16830 String get name native "DOMPlugin_name_Getter"; | 16830 String get name native "DOMPlugin_name_Getter"; |
| 16831 | 16831 |
| 16832 @DomName('DOMPlugin.item') | 16832 @DomName('Plugin.item') |
| 16833 @DocsEditable | 16833 @DocsEditable |
| 16834 MimeType item(int index) native "DOMPlugin_item_Callback"; | 16834 MimeType item(int index) native "DOMPlugin_item_Callback"; |
| 16835 | 16835 |
| 16836 @DomName('DOMPlugin.namedItem') | 16836 @DomName('Plugin.namedItem') |
| 16837 @DocsEditable | 16837 @DocsEditable |
| 16838 MimeType namedItem(String name) native "DOMPlugin_namedItem_Callback"; | 16838 MimeType namedItem(String name) native "DOMPlugin_namedItem_Callback"; |
| 16839 | 16839 |
| 16840 } | 16840 } |
| 16841 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16841 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16842 // for details. All rights reserved. Use of this source code is governed by a | 16842 // for details. All rights reserved. Use of this source code is governed by a |
| 16843 // BSD-style license that can be found in the LICENSE file. | 16843 // BSD-style license that can be found in the LICENSE file. |
| 16844 | 16844 |
| 16845 // WARNING: Do not edit - generated code. | 16845 // WARNING: Do not edit - generated code. |
| 16846 | 16846 |
| 16847 | 16847 |
| 16848 @DocsEditable | 16848 @DocsEditable |
| 16849 @DomName('PluginArray') | 16849 @DomName('PluginArray') |
| 16850 class PluginArray extends NativeFieldWrapperClass1 with ListMixin<Plugin>, Immut
ableListMixin<Plugin> implements List<Plugin> { | 16850 class PluginArray extends NativeFieldWrapperClass1 with ListMixin<Plugin>, Immut
ableListMixin<Plugin> implements List<Plugin> { |
| 16851 PluginArray.internal(); | 16851 PluginArray.internal(); |
| 16852 | 16852 |
| 16853 @DomName('DOMPluginArray.length') | 16853 @DomName('PluginArray.length') |
| 16854 @DocsEditable | 16854 @DocsEditable |
| 16855 int get length native "DOMPluginArray_length_Getter"; | 16855 int get length native "DOMPluginArray_length_Getter"; |
| 16856 | 16856 |
| 16857 Plugin operator[](int index) native "DOMPluginArray_item_Callback"; | 16857 Plugin operator[](int index) native "DOMPluginArray_item_Callback"; |
| 16858 | 16858 |
| 16859 void operator[]=(int index, Plugin value) { | 16859 void operator[]=(int index, Plugin value) { |
| 16860 throw new UnsupportedError("Cannot assign element of immutable List."); | 16860 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 16861 } | 16861 } |
| 16862 // -- start List<Plugin> mixins. | 16862 // -- start List<Plugin> mixins. |
| 16863 // Plugin is the element type. | 16863 // Plugin is the element type. |
| 16864 | 16864 |
| 16865 | 16865 |
| 16866 void set length(int value) { | 16866 void set length(int value) { |
| 16867 throw new UnsupportedError("Cannot resize immutable List."); | 16867 throw new UnsupportedError("Cannot resize immutable List."); |
| 16868 } | 16868 } |
| 16869 | 16869 |
| 16870 // -- end List<Plugin> mixins. | 16870 // -- end List<Plugin> mixins. |
| 16871 | 16871 |
| 16872 @DomName('DOMPluginArray.item') | 16872 @DomName('PluginArray.item') |
| 16873 @DocsEditable | 16873 @DocsEditable |
| 16874 Plugin item(int index) native "DOMPluginArray_item_Callback"; | 16874 Plugin item(int index) native "DOMPluginArray_item_Callback"; |
| 16875 | 16875 |
| 16876 @DomName('DOMPluginArray.namedItem') | 16876 @DomName('PluginArray.namedItem') |
| 16877 @DocsEditable | 16877 @DocsEditable |
| 16878 Plugin namedItem(String name) native "DOMPluginArray_namedItem_Callback"; | 16878 Plugin namedItem(String name) native "DOMPluginArray_namedItem_Callback"; |
| 16879 | 16879 |
| 16880 @DomName('DOMPluginArray.refresh') | 16880 @DomName('PluginArray.refresh') |
| 16881 @DocsEditable | 16881 @DocsEditable |
| 16882 void refresh(bool reload) native "DOMPluginArray_refresh_Callback"; | 16882 void refresh(bool reload) native "DOMPluginArray_refresh_Callback"; |
| 16883 | 16883 |
| 16884 } | 16884 } |
| 16885 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16885 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16886 // for details. All rights reserved. Use of this source code is governed by a | 16886 // for details. All rights reserved. Use of this source code is governed by a |
| 16887 // BSD-style license that can be found in the LICENSE file. | 16887 // BSD-style license that can be found in the LICENSE file. |
| 16888 | 16888 |
| 16889 // WARNING: Do not edit - generated code. | 16889 // WARNING: Do not edit - generated code. |
| 16890 | 16890 |
| (...skipping 1234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18125 // BSD-style license that can be found in the LICENSE file. | 18125 // BSD-style license that can be found in the LICENSE file. |
| 18126 | 18126 |
| 18127 // WARNING: Do not edit - generated code. | 18127 // WARNING: Do not edit - generated code. |
| 18128 | 18128 |
| 18129 | 18129 |
| 18130 @DocsEditable | 18130 @DocsEditable |
| 18131 @DomName('SecurityPolicy') | 18131 @DomName('SecurityPolicy') |
| 18132 class SecurityPolicy extends NativeFieldWrapperClass1 { | 18132 class SecurityPolicy extends NativeFieldWrapperClass1 { |
| 18133 SecurityPolicy.internal(); | 18133 SecurityPolicy.internal(); |
| 18134 | 18134 |
| 18135 @DomName('DOMSecurityPolicy.allowsEval') | 18135 @DomName('SecurityPolicy.allowsEval') |
| 18136 @DocsEditable | 18136 @DocsEditable |
| 18137 bool get allowsEval native "DOMSecurityPolicy_allowsEval_Getter"; | 18137 bool get allowsEval native "DOMSecurityPolicy_allowsEval_Getter"; |
| 18138 | 18138 |
| 18139 @DomName('DOMSecurityPolicy.allowsInlineScript') | 18139 @DomName('SecurityPolicy.allowsInlineScript') |
| 18140 @DocsEditable | 18140 @DocsEditable |
| 18141 bool get allowsInlineScript native "DOMSecurityPolicy_allowsInlineScript_Gette
r"; | 18141 bool get allowsInlineScript native "DOMSecurityPolicy_allowsInlineScript_Gette
r"; |
| 18142 | 18142 |
| 18143 @DomName('DOMSecurityPolicy.allowsInlineStyle') | 18143 @DomName('SecurityPolicy.allowsInlineStyle') |
| 18144 @DocsEditable | 18144 @DocsEditable |
| 18145 bool get allowsInlineStyle native "DOMSecurityPolicy_allowsInlineStyle_Getter"
; | 18145 bool get allowsInlineStyle native "DOMSecurityPolicy_allowsInlineStyle_Getter"
; |
| 18146 | 18146 |
| 18147 @DomName('DOMSecurityPolicy.isActive') | 18147 @DomName('SecurityPolicy.isActive') |
| 18148 @DocsEditable | 18148 @DocsEditable |
| 18149 bool get isActive native "DOMSecurityPolicy_isActive_Getter"; | 18149 bool get isActive native "DOMSecurityPolicy_isActive_Getter"; |
| 18150 | 18150 |
| 18151 @DomName('DOMSecurityPolicy.reportURIs') | 18151 @DomName('SecurityPolicy.reportURIs') |
| 18152 @DocsEditable | 18152 @DocsEditable |
| 18153 List<String> get reportURIs native "DOMSecurityPolicy_reportURIs_Getter"; | 18153 List<String> get reportURIs native "DOMSecurityPolicy_reportURIs_Getter"; |
| 18154 | 18154 |
| 18155 @DomName('DOMSecurityPolicy.allowsConnectionTo') | 18155 @DomName('SecurityPolicy.allowsConnectionTo') |
| 18156 @DocsEditable | 18156 @DocsEditable |
| 18157 bool allowsConnectionTo(String url) native "DOMSecurityPolicy_allowsConnection
To_Callback"; | 18157 bool allowsConnectionTo(String url) native "DOMSecurityPolicy_allowsConnection
To_Callback"; |
| 18158 | 18158 |
| 18159 @DomName('DOMSecurityPolicy.allowsFontFrom') | 18159 @DomName('SecurityPolicy.allowsFontFrom') |
| 18160 @DocsEditable | 18160 @DocsEditable |
| 18161 bool allowsFontFrom(String url) native "DOMSecurityPolicy_allowsFontFrom_Callb
ack"; | 18161 bool allowsFontFrom(String url) native "DOMSecurityPolicy_allowsFontFrom_Callb
ack"; |
| 18162 | 18162 |
| 18163 @DomName('DOMSecurityPolicy.allowsFormAction') | 18163 @DomName('SecurityPolicy.allowsFormAction') |
| 18164 @DocsEditable | 18164 @DocsEditable |
| 18165 bool allowsFormAction(String url) native "DOMSecurityPolicy_allowsFormAction_C
allback"; | 18165 bool allowsFormAction(String url) native "DOMSecurityPolicy_allowsFormAction_C
allback"; |
| 18166 | 18166 |
| 18167 @DomName('DOMSecurityPolicy.allowsFrameFrom') | 18167 @DomName('SecurityPolicy.allowsFrameFrom') |
| 18168 @DocsEditable | 18168 @DocsEditable |
| 18169 bool allowsFrameFrom(String url) native "DOMSecurityPolicy_allowsFrameFrom_Cal
lback"; | 18169 bool allowsFrameFrom(String url) native "DOMSecurityPolicy_allowsFrameFrom_Cal
lback"; |
| 18170 | 18170 |
| 18171 @DomName('DOMSecurityPolicy.allowsImageFrom') | 18171 @DomName('SecurityPolicy.allowsImageFrom') |
| 18172 @DocsEditable | 18172 @DocsEditable |
| 18173 bool allowsImageFrom(String url) native "DOMSecurityPolicy_allowsImageFrom_Cal
lback"; | 18173 bool allowsImageFrom(String url) native "DOMSecurityPolicy_allowsImageFrom_Cal
lback"; |
| 18174 | 18174 |
| 18175 @DomName('DOMSecurityPolicy.allowsMediaFrom') | 18175 @DomName('SecurityPolicy.allowsMediaFrom') |
| 18176 @DocsEditable | 18176 @DocsEditable |
| 18177 bool allowsMediaFrom(String url) native "DOMSecurityPolicy_allowsMediaFrom_Cal
lback"; | 18177 bool allowsMediaFrom(String url) native "DOMSecurityPolicy_allowsMediaFrom_Cal
lback"; |
| 18178 | 18178 |
| 18179 @DomName('DOMSecurityPolicy.allowsObjectFrom') | 18179 @DomName('SecurityPolicy.allowsObjectFrom') |
| 18180 @DocsEditable | 18180 @DocsEditable |
| 18181 bool allowsObjectFrom(String url) native "DOMSecurityPolicy_allowsObjectFrom_C
allback"; | 18181 bool allowsObjectFrom(String url) native "DOMSecurityPolicy_allowsObjectFrom_C
allback"; |
| 18182 | 18182 |
| 18183 @DomName('DOMSecurityPolicy.allowsPluginType') | 18183 @DomName('SecurityPolicy.allowsPluginType') |
| 18184 @DocsEditable | 18184 @DocsEditable |
| 18185 bool allowsPluginType(String type) native "DOMSecurityPolicy_allowsPluginType_
Callback"; | 18185 bool allowsPluginType(String type) native "DOMSecurityPolicy_allowsPluginType_
Callback"; |
| 18186 | 18186 |
| 18187 @DomName('DOMSecurityPolicy.allowsScriptFrom') | 18187 @DomName('SecurityPolicy.allowsScriptFrom') |
| 18188 @DocsEditable | 18188 @DocsEditable |
| 18189 bool allowsScriptFrom(String url) native "DOMSecurityPolicy_allowsScriptFrom_C
allback"; | 18189 bool allowsScriptFrom(String url) native "DOMSecurityPolicy_allowsScriptFrom_C
allback"; |
| 18190 | 18190 |
| 18191 @DomName('DOMSecurityPolicy.allowsStyleFrom') | 18191 @DomName('SecurityPolicy.allowsStyleFrom') |
| 18192 @DocsEditable | 18192 @DocsEditable |
| 18193 bool allowsStyleFrom(String url) native "DOMSecurityPolicy_allowsStyleFrom_Cal
lback"; | 18193 bool allowsStyleFrom(String url) native "DOMSecurityPolicy_allowsStyleFrom_Cal
lback"; |
| 18194 | 18194 |
| 18195 } | 18195 } |
| 18196 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18196 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18197 // for details. All rights reserved. Use of this source code is governed by a | 18197 // for details. All rights reserved. Use of this source code is governed by a |
| 18198 // BSD-style license that can be found in the LICENSE file. | 18198 // BSD-style license that can be found in the LICENSE file. |
| 18199 | 18199 |
| 18200 // WARNING: Do not edit - generated code. | 18200 // WARNING: Do not edit - generated code. |
| 18201 | 18201 |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18386 // BSD-style license that can be found in the LICENSE file. | 18386 // BSD-style license that can be found in the LICENSE file. |
| 18387 | 18387 |
| 18388 // WARNING: Do not edit - generated code. | 18388 // WARNING: Do not edit - generated code. |
| 18389 | 18389 |
| 18390 | 18390 |
| 18391 @DocsEditable | 18391 @DocsEditable |
| 18392 @DomName('Selection') | 18392 @DomName('Selection') |
| 18393 class Selection extends NativeFieldWrapperClass1 { | 18393 class Selection extends NativeFieldWrapperClass1 { |
| 18394 Selection.internal(); | 18394 Selection.internal(); |
| 18395 | 18395 |
| 18396 @DomName('DOMSelection.anchorNode') | 18396 @DomName('Selection.anchorNode') |
| 18397 @DocsEditable | 18397 @DocsEditable |
| 18398 Node get anchorNode native "DOMSelection_anchorNode_Getter"; | 18398 Node get anchorNode native "DOMSelection_anchorNode_Getter"; |
| 18399 | 18399 |
| 18400 @DomName('DOMSelection.anchorOffset') | 18400 @DomName('Selection.anchorOffset') |
| 18401 @DocsEditable | 18401 @DocsEditable |
| 18402 int get anchorOffset native "DOMSelection_anchorOffset_Getter"; | 18402 int get anchorOffset native "DOMSelection_anchorOffset_Getter"; |
| 18403 | 18403 |
| 18404 @DomName('DOMSelection.baseNode') | 18404 @DomName('Selection.baseNode') |
| 18405 @DocsEditable | 18405 @DocsEditable |
| 18406 Node get baseNode native "DOMSelection_baseNode_Getter"; | 18406 Node get baseNode native "DOMSelection_baseNode_Getter"; |
| 18407 | 18407 |
| 18408 @DomName('DOMSelection.baseOffset') | 18408 @DomName('Selection.baseOffset') |
| 18409 @DocsEditable | 18409 @DocsEditable |
| 18410 int get baseOffset native "DOMSelection_baseOffset_Getter"; | 18410 int get baseOffset native "DOMSelection_baseOffset_Getter"; |
| 18411 | 18411 |
| 18412 @DomName('DOMSelection.extentNode') | 18412 @DomName('Selection.extentNode') |
| 18413 @DocsEditable | 18413 @DocsEditable |
| 18414 Node get extentNode native "DOMSelection_extentNode_Getter"; | 18414 Node get extentNode native "DOMSelection_extentNode_Getter"; |
| 18415 | 18415 |
| 18416 @DomName('DOMSelection.extentOffset') | 18416 @DomName('Selection.extentOffset') |
| 18417 @DocsEditable | 18417 @DocsEditable |
| 18418 int get extentOffset native "DOMSelection_extentOffset_Getter"; | 18418 int get extentOffset native "DOMSelection_extentOffset_Getter"; |
| 18419 | 18419 |
| 18420 @DomName('DOMSelection.focusNode') | 18420 @DomName('Selection.focusNode') |
| 18421 @DocsEditable | 18421 @DocsEditable |
| 18422 Node get focusNode native "DOMSelection_focusNode_Getter"; | 18422 Node get focusNode native "DOMSelection_focusNode_Getter"; |
| 18423 | 18423 |
| 18424 @DomName('DOMSelection.focusOffset') | 18424 @DomName('Selection.focusOffset') |
| 18425 @DocsEditable | 18425 @DocsEditable |
| 18426 int get focusOffset native "DOMSelection_focusOffset_Getter"; | 18426 int get focusOffset native "DOMSelection_focusOffset_Getter"; |
| 18427 | 18427 |
| 18428 @DomName('DOMSelection.isCollapsed') | 18428 @DomName('Selection.isCollapsed') |
| 18429 @DocsEditable | 18429 @DocsEditable |
| 18430 bool get isCollapsed native "DOMSelection_isCollapsed_Getter"; | 18430 bool get isCollapsed native "DOMSelection_isCollapsed_Getter"; |
| 18431 | 18431 |
| 18432 @DomName('DOMSelection.rangeCount') | 18432 @DomName('Selection.rangeCount') |
| 18433 @DocsEditable | 18433 @DocsEditable |
| 18434 int get rangeCount native "DOMSelection_rangeCount_Getter"; | 18434 int get rangeCount native "DOMSelection_rangeCount_Getter"; |
| 18435 | 18435 |
| 18436 @DomName('DOMSelection.type') | 18436 @DomName('Selection.type') |
| 18437 @DocsEditable | 18437 @DocsEditable |
| 18438 String get type native "DOMSelection_type_Getter"; | 18438 String get type native "DOMSelection_type_Getter"; |
| 18439 | 18439 |
| 18440 @DomName('DOMSelection.addRange') | 18440 @DomName('Selection.addRange') |
| 18441 @DocsEditable | 18441 @DocsEditable |
| 18442 void addRange(Range range) native "DOMSelection_addRange_Callback"; | 18442 void addRange(Range range) native "DOMSelection_addRange_Callback"; |
| 18443 | 18443 |
| 18444 @DomName('DOMSelection.collapse') | 18444 @DomName('Selection.collapse') |
| 18445 @DocsEditable | 18445 @DocsEditable |
| 18446 void collapse(Node node, int index) native "DOMSelection_collapse_Callback"; | 18446 void collapse(Node node, int index) native "DOMSelection_collapse_Callback"; |
| 18447 | 18447 |
| 18448 @DomName('DOMSelection.collapseToEnd') | 18448 @DomName('Selection.collapseToEnd') |
| 18449 @DocsEditable | 18449 @DocsEditable |
| 18450 void collapseToEnd() native "DOMSelection_collapseToEnd_Callback"; | 18450 void collapseToEnd() native "DOMSelection_collapseToEnd_Callback"; |
| 18451 | 18451 |
| 18452 @DomName('DOMSelection.collapseToStart') | 18452 @DomName('Selection.collapseToStart') |
| 18453 @DocsEditable | 18453 @DocsEditable |
| 18454 void collapseToStart() native "DOMSelection_collapseToStart_Callback"; | 18454 void collapseToStart() native "DOMSelection_collapseToStart_Callback"; |
| 18455 | 18455 |
| 18456 @DomName('DOMSelection.containsNode') | 18456 @DomName('Selection.containsNode') |
| 18457 @DocsEditable | 18457 @DocsEditable |
| 18458 bool containsNode(Node node, bool allowPartial) native "DOMSelection_containsN
ode_Callback"; | 18458 bool containsNode(Node node, bool allowPartial) native "DOMSelection_containsN
ode_Callback"; |
| 18459 | 18459 |
| 18460 @DomName('DOMSelection.deleteFromDocument') | 18460 @DomName('Selection.deleteFromDocument') |
| 18461 @DocsEditable | 18461 @DocsEditable |
| 18462 void deleteFromDocument() native "DOMSelection_deleteFromDocument_Callback"; | 18462 void deleteFromDocument() native "DOMSelection_deleteFromDocument_Callback"; |
| 18463 | 18463 |
| 18464 @DomName('DOMSelection.empty') | 18464 @DomName('Selection.empty') |
| 18465 @DocsEditable | 18465 @DocsEditable |
| 18466 void empty() native "DOMSelection_empty_Callback"; | 18466 void empty() native "DOMSelection_empty_Callback"; |
| 18467 | 18467 |
| 18468 @DomName('DOMSelection.extend') | 18468 @DomName('Selection.extend') |
| 18469 @DocsEditable | 18469 @DocsEditable |
| 18470 void extend(Node node, int offset) native "DOMSelection_extend_Callback"; | 18470 void extend(Node node, int offset) native "DOMSelection_extend_Callback"; |
| 18471 | 18471 |
| 18472 @DomName('DOMSelection.getRangeAt') | 18472 @DomName('Selection.getRangeAt') |
| 18473 @DocsEditable | 18473 @DocsEditable |
| 18474 Range getRangeAt(int index) native "DOMSelection_getRangeAt_Callback"; | 18474 Range getRangeAt(int index) native "DOMSelection_getRangeAt_Callback"; |
| 18475 | 18475 |
| 18476 @DomName('DOMSelection.modify') | 18476 @DomName('Selection.modify') |
| 18477 @DocsEditable | 18477 @DocsEditable |
| 18478 void modify(String alter, String direction, String granularity) native "DOMSel
ection_modify_Callback"; | 18478 void modify(String alter, String direction, String granularity) native "DOMSel
ection_modify_Callback"; |
| 18479 | 18479 |
| 18480 @DomName('DOMSelection.removeAllRanges') | 18480 @DomName('Selection.removeAllRanges') |
| 18481 @DocsEditable | 18481 @DocsEditable |
| 18482 void removeAllRanges() native "DOMSelection_removeAllRanges_Callback"; | 18482 void removeAllRanges() native "DOMSelection_removeAllRanges_Callback"; |
| 18483 | 18483 |
| 18484 @DomName('DOMSelection.selectAllChildren') | 18484 @DomName('Selection.selectAllChildren') |
| 18485 @DocsEditable | 18485 @DocsEditable |
| 18486 void selectAllChildren(Node node) native "DOMSelection_selectAllChildren_Callb
ack"; | 18486 void selectAllChildren(Node node) native "DOMSelection_selectAllChildren_Callb
ack"; |
| 18487 | 18487 |
| 18488 @DomName('DOMSelection.setBaseAndExtent') | 18488 @DomName('Selection.setBaseAndExtent') |
| 18489 @DocsEditable | 18489 @DocsEditable |
| 18490 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte
ntOffset) native "DOMSelection_setBaseAndExtent_Callback"; | 18490 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte
ntOffset) native "DOMSelection_setBaseAndExtent_Callback"; |
| 18491 | 18491 |
| 18492 @DomName('DOMSelection.setPosition') | 18492 @DomName('Selection.setPosition') |
| 18493 @DocsEditable | 18493 @DocsEditable |
| 18494 void setPosition(Node node, int offset) native "DOMSelection_setPosition_Callb
ack"; | 18494 void setPosition(Node node, int offset) native "DOMSelection_setPosition_Callb
ack"; |
| 18495 | 18495 |
| 18496 @DomName('DOMSelection.toString') | 18496 @DomName('Selection.toString') |
| 18497 @DocsEditable | 18497 @DocsEditable |
| 18498 String toString() native "DOMSelection_toString_Callback"; | 18498 String toString() native "DOMSelection_toString_Callback"; |
| 18499 | 18499 |
| 18500 } | 18500 } |
| 18501 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18501 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18502 // for details. All rights reserved. Use of this source code is governed by a | 18502 // for details. All rights reserved. Use of this source code is governed by a |
| 18503 // BSD-style license that can be found in the LICENSE file. | 18503 // BSD-style license that can be found in the LICENSE file. |
| 18504 | 18504 |
| 18505 // WARNING: Do not edit - generated code. | 18505 // WARNING: Do not edit - generated code. |
| 18506 | 18506 |
| (...skipping 2506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21013 } | 21013 } |
| 21014 throw new ArgumentError("Incorrect number or type of arguments"); | 21014 throw new ArgumentError("Incorrect number or type of arguments"); |
| 21015 } | 21015 } |
| 21016 | 21016 |
| 21017 static String _createObjectURL_1(blob_OR_source_OR_stream) native "DOMURL__cre
ateObjectURL_1_Callback"; | 21017 static String _createObjectURL_1(blob_OR_source_OR_stream) native "DOMURL__cre
ateObjectURL_1_Callback"; |
| 21018 | 21018 |
| 21019 static String _createObjectURL_2(blob_OR_source_OR_stream) native "DOMURL__cre
ateObjectURL_2_Callback"; | 21019 static String _createObjectURL_2(blob_OR_source_OR_stream) native "DOMURL__cre
ateObjectURL_2_Callback"; |
| 21020 | 21020 |
| 21021 static String _createObjectURL_3(blob_OR_source_OR_stream) native "DOMURL__cre
ateObjectURL_3_Callback"; | 21021 static String _createObjectURL_3(blob_OR_source_OR_stream) native "DOMURL__cre
ateObjectURL_3_Callback"; |
| 21022 | 21022 |
| 21023 @DomName('DOMURL.revokeObjectURL') | 21023 @DomName('URL.revokeObjectURL') |
| 21024 @DocsEditable | 21024 @DocsEditable |
| 21025 static void revokeObjectUrl(String url) native "DOMURL_revokeObjectURL_Callbac
k"; | 21025 static void revokeObjectUrl(String url) native "DOMURL_revokeObjectURL_Callbac
k"; |
| 21026 | 21026 |
| 21027 } | 21027 } |
| 21028 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21028 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 21029 // for details. All rights reserved. Use of this source code is governed by a | 21029 // for details. All rights reserved. Use of this source code is governed by a |
| 21030 // BSD-style license that can be found in the LICENSE file. | 21030 // BSD-style license that can be found in the LICENSE file. |
| 21031 | 21031 |
| 21032 // WARNING: Do not edit - generated code. | 21032 // WARNING: Do not edit - generated code. |
| 21033 | 21033 |
| (...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21569 return new Point(result.x, result.y); | 21569 return new Point(result.x, result.y); |
| 21570 } | 21570 } |
| 21571 | 21571 |
| 21572 /** | 21572 /** |
| 21573 * Checks whether [convertPointFromNodeToPage] and | 21573 * Checks whether [convertPointFromNodeToPage] and |
| 21574 * [convertPointFromPageToNode] are supported on the current platform. | 21574 * [convertPointFromPageToNode] are supported on the current platform. |
| 21575 */ | 21575 */ |
| 21576 static bool get supportsPointConversions => _DomPoint.supported; | 21576 static bool get supportsPointConversions => _DomPoint.supported; |
| 21577 Window.internal() : super.internal(); | 21577 Window.internal() : super.internal(); |
| 21578 | 21578 |
| 21579 @DomName('DOMWindow.DOMContentLoadedEvent') | 21579 @DomName('Window.DOMContentLoadedEvent') |
| 21580 @DocsEditable | 21580 @DocsEditable |
| 21581 static const EventStreamProvider<Event> contentLoadedEvent = const EventStream
Provider<Event>('DOMContentLoaded'); | 21581 static const EventStreamProvider<Event> contentLoadedEvent = const EventStream
Provider<Event>('DOMContentLoaded'); |
| 21582 | 21582 |
| 21583 @DomName('DOMWindow.devicemotionEvent') | 21583 @DomName('Window.devicemotionEvent') |
| 21584 @DocsEditable | 21584 @DocsEditable |
| 21585 static const EventStreamProvider<DeviceMotionEvent> deviceMotionEvent = const
EventStreamProvider<DeviceMotionEvent>('devicemotion'); | 21585 static const EventStreamProvider<DeviceMotionEvent> deviceMotionEvent = const
EventStreamProvider<DeviceMotionEvent>('devicemotion'); |
| 21586 | 21586 |
| 21587 @DomName('DOMWindow.deviceorientationEvent') | 21587 @DomName('Window.deviceorientationEvent') |
| 21588 @DocsEditable | 21588 @DocsEditable |
| 21589 static const EventStreamProvider<DeviceOrientationEvent> deviceOrientationEven
t = const EventStreamProvider<DeviceOrientationEvent>('deviceorientation'); | 21589 static const EventStreamProvider<DeviceOrientationEvent> deviceOrientationEven
t = const EventStreamProvider<DeviceOrientationEvent>('deviceorientation'); |
| 21590 | 21590 |
| 21591 @DomName('DOMWindow.hashchangeEvent') | 21591 @DomName('Window.hashchangeEvent') |
| 21592 @DocsEditable | 21592 @DocsEditable |
| 21593 static const EventStreamProvider<Event> hashChangeEvent = const EventStreamPro
vider<Event>('hashchange'); | 21593 static const EventStreamProvider<Event> hashChangeEvent = const EventStreamPro
vider<Event>('hashchange'); |
| 21594 | 21594 |
| 21595 @DomName('DOMWindow.messageEvent') | 21595 @DomName('Window.messageEvent') |
| 21596 @DocsEditable | 21596 @DocsEditable |
| 21597 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea
mProvider<MessageEvent>('message'); | 21597 static const EventStreamProvider<MessageEvent> messageEvent = const EventStrea
mProvider<MessageEvent>('message'); |
| 21598 | 21598 |
| 21599 @DomName('DOMWindow.offlineEvent') | 21599 @DomName('Window.offlineEvent') |
| 21600 @DocsEditable | 21600 @DocsEditable |
| 21601 static const EventStreamProvider<Event> offlineEvent = const EventStreamProvid
er<Event>('offline'); | 21601 static const EventStreamProvider<Event> offlineEvent = const EventStreamProvid
er<Event>('offline'); |
| 21602 | 21602 |
| 21603 @DomName('DOMWindow.onlineEvent') | 21603 @DomName('Window.onlineEvent') |
| 21604 @DocsEditable | 21604 @DocsEditable |
| 21605 static const EventStreamProvider<Event> onlineEvent = const EventStreamProvide
r<Event>('online'); | 21605 static const EventStreamProvider<Event> onlineEvent = const EventStreamProvide
r<Event>('online'); |
| 21606 | 21606 |
| 21607 @DomName('DOMWindow.pagehideEvent') | 21607 @DomName('Window.pagehideEvent') |
| 21608 @DocsEditable | 21608 @DocsEditable |
| 21609 static const EventStreamProvider<Event> pageHideEvent = const EventStreamProvi
der<Event>('pagehide'); | 21609 static const EventStreamProvider<Event> pageHideEvent = const EventStreamProvi
der<Event>('pagehide'); |
| 21610 | 21610 |
| 21611 @DomName('DOMWindow.pageshowEvent') | 21611 @DomName('Window.pageshowEvent') |
| 21612 @DocsEditable | 21612 @DocsEditable |
| 21613 static const EventStreamProvider<Event> pageShowEvent = const EventStreamProvi
der<Event>('pageshow'); | 21613 static const EventStreamProvider<Event> pageShowEvent = const EventStreamProvi
der<Event>('pageshow'); |
| 21614 | 21614 |
| 21615 @DomName('DOMWindow.popstateEvent') | 21615 @DomName('Window.popstateEvent') |
| 21616 @DocsEditable | 21616 @DocsEditable |
| 21617 static const EventStreamProvider<PopStateEvent> popStateEvent = const EventStr
eamProvider<PopStateEvent>('popstate'); | 21617 static const EventStreamProvider<PopStateEvent> popStateEvent = const EventStr
eamProvider<PopStateEvent>('popstate'); |
| 21618 | 21618 |
| 21619 @DomName('DOMWindow.resizeEvent') | 21619 @DomName('Window.resizeEvent') |
| 21620 @DocsEditable | 21620 @DocsEditable |
| 21621 static const EventStreamProvider<Event> resizeEvent = const EventStreamProvide
r<Event>('resize'); | 21621 static const EventStreamProvider<Event> resizeEvent = const EventStreamProvide
r<Event>('resize'); |
| 21622 | 21622 |
| 21623 @DomName('DOMWindow.storageEvent') | 21623 @DomName('Window.storageEvent') |
| 21624 @DocsEditable | 21624 @DocsEditable |
| 21625 static const EventStreamProvider<StorageEvent> storageEvent = const EventStrea
mProvider<StorageEvent>('storage'); | 21625 static const EventStreamProvider<StorageEvent> storageEvent = const EventStrea
mProvider<StorageEvent>('storage'); |
| 21626 | 21626 |
| 21627 @DomName('DOMWindow.unloadEvent') | 21627 @DomName('Window.unloadEvent') |
| 21628 @DocsEditable | 21628 @DocsEditable |
| 21629 static const EventStreamProvider<Event> unloadEvent = const EventStreamProvide
r<Event>('unload'); | 21629 static const EventStreamProvider<Event> unloadEvent = const EventStreamProvide
r<Event>('unload'); |
| 21630 | 21630 |
| 21631 @DomName('DOMWindow.webkitAnimationEndEvent') | 21631 @DomName('Window.webkitAnimationEndEvent') |
| 21632 @DocsEditable | 21632 @DocsEditable |
| 21633 @SupportedBrowser(SupportedBrowser.CHROME) | 21633 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21634 @SupportedBrowser(SupportedBrowser.SAFARI) | 21634 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21635 @Experimental | 21635 @Experimental |
| 21636 static const EventStreamProvider<AnimationEvent> animationEndEvent = const Eve
ntStreamProvider<AnimationEvent>('webkitAnimationEnd'); | 21636 static const EventStreamProvider<AnimationEvent> animationEndEvent = const Eve
ntStreamProvider<AnimationEvent>('webkitAnimationEnd'); |
| 21637 | 21637 |
| 21638 @DomName('DOMWindow.webkitAnimationIterationEvent') | 21638 @DomName('Window.webkitAnimationIterationEvent') |
| 21639 @DocsEditable | 21639 @DocsEditable |
| 21640 @SupportedBrowser(SupportedBrowser.CHROME) | 21640 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21641 @SupportedBrowser(SupportedBrowser.SAFARI) | 21641 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21642 @Experimental | 21642 @Experimental |
| 21643 static const EventStreamProvider<AnimationEvent> animationIterationEvent = con
st EventStreamProvider<AnimationEvent>('webkitAnimationIteration'); | 21643 static const EventStreamProvider<AnimationEvent> animationIterationEvent = con
st EventStreamProvider<AnimationEvent>('webkitAnimationIteration'); |
| 21644 | 21644 |
| 21645 @DomName('DOMWindow.webkitAnimationStartEvent') | 21645 @DomName('Window.webkitAnimationStartEvent') |
| 21646 @DocsEditable | 21646 @DocsEditable |
| 21647 @SupportedBrowser(SupportedBrowser.CHROME) | 21647 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21648 @SupportedBrowser(SupportedBrowser.SAFARI) | 21648 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21649 @Experimental | 21649 @Experimental |
| 21650 static const EventStreamProvider<AnimationEvent> animationStartEvent = const E
ventStreamProvider<AnimationEvent>('webkitAnimationStart'); | 21650 static const EventStreamProvider<AnimationEvent> animationStartEvent = const E
ventStreamProvider<AnimationEvent>('webkitAnimationStart'); |
| 21651 | 21651 |
| 21652 static const int PERSISTENT = 1; | 21652 static const int PERSISTENT = 1; |
| 21653 | 21653 |
| 21654 static const int TEMPORARY = 0; | 21654 static const int TEMPORARY = 0; |
| 21655 | 21655 |
| 21656 @DomName('DOMWindow.applicationCache') | 21656 @DomName('Window.applicationCache') |
| 21657 @DocsEditable | 21657 @DocsEditable |
| 21658 ApplicationCache get applicationCache native "DOMWindow_applicationCache_Gette
r"; | 21658 ApplicationCache get applicationCache native "DOMWindow_applicationCache_Gette
r"; |
| 21659 | 21659 |
| 21660 @DomName('DOMWindow.closed') | 21660 @DomName('Window.closed') |
| 21661 @DocsEditable | 21661 @DocsEditable |
| 21662 bool get closed native "DOMWindow_closed_Getter"; | 21662 bool get closed native "DOMWindow_closed_Getter"; |
| 21663 | 21663 |
| 21664 @DomName('DOMWindow.console') | 21664 @DomName('Window.console') |
| 21665 @DocsEditable | 21665 @DocsEditable |
| 21666 Console get console native "DOMWindow_console_Getter"; | 21666 Console get console native "DOMWindow_console_Getter"; |
| 21667 | 21667 |
| 21668 @DomName('DOMWindow.crypto') | 21668 @DomName('Window.crypto') |
| 21669 @DocsEditable | 21669 @DocsEditable |
| 21670 Crypto get crypto native "DOMWindow_crypto_Getter"; | 21670 Crypto get crypto native "DOMWindow_crypto_Getter"; |
| 21671 | 21671 |
| 21672 @DomName('DOMWindow.defaultStatus') | 21672 @DomName('Window.defaultStatus') |
| 21673 @DocsEditable | 21673 @DocsEditable |
| 21674 String get defaultStatus native "DOMWindow_defaultStatus_Getter"; | 21674 String get defaultStatus native "DOMWindow_defaultStatus_Getter"; |
| 21675 | 21675 |
| 21676 @DomName('DOMWindow.defaultStatus') | 21676 @DomName('Window.defaultStatus') |
| 21677 @DocsEditable | 21677 @DocsEditable |
| 21678 void set defaultStatus(String value) native "DOMWindow_defaultStatus_Setter"; | 21678 void set defaultStatus(String value) native "DOMWindow_defaultStatus_Setter"; |
| 21679 | 21679 |
| 21680 @DomName('DOMWindow.defaultstatus') | 21680 @DomName('Window.defaultstatus') |
| 21681 @DocsEditable | 21681 @DocsEditable |
| 21682 String get defaultstatus native "DOMWindow_defaultstatus_Getter"; | 21682 String get defaultstatus native "DOMWindow_defaultstatus_Getter"; |
| 21683 | 21683 |
| 21684 @DomName('DOMWindow.defaultstatus') | 21684 @DomName('Window.defaultstatus') |
| 21685 @DocsEditable | 21685 @DocsEditable |
| 21686 void set defaultstatus(String value) native "DOMWindow_defaultstatus_Setter"; | 21686 void set defaultstatus(String value) native "DOMWindow_defaultstatus_Setter"; |
| 21687 | 21687 |
| 21688 @DomName('DOMWindow.devicePixelRatio') | 21688 @DomName('Window.devicePixelRatio') |
| 21689 @DocsEditable | 21689 @DocsEditable |
| 21690 num get devicePixelRatio native "DOMWindow_devicePixelRatio_Getter"; | 21690 num get devicePixelRatio native "DOMWindow_devicePixelRatio_Getter"; |
| 21691 | 21691 |
| 21692 @DomName('DOMWindow.document') | 21692 @DomName('Window.document') |
| 21693 @DocsEditable | 21693 @DocsEditable |
| 21694 Document get document native "DOMWindow_document_Getter"; | 21694 Document get document native "DOMWindow_document_Getter"; |
| 21695 | 21695 |
| 21696 @DomName('DOMWindow.event') | 21696 @DomName('Window.event') |
| 21697 @DocsEditable | 21697 @DocsEditable |
| 21698 Event get event native "DOMWindow_event_Getter"; | 21698 Event get event native "DOMWindow_event_Getter"; |
| 21699 | 21699 |
| 21700 @DomName('DOMWindow.history') | 21700 @DomName('Window.history') |
| 21701 @DocsEditable | 21701 @DocsEditable |
| 21702 History get history native "DOMWindow_history_Getter"; | 21702 History get history native "DOMWindow_history_Getter"; |
| 21703 | 21703 |
| 21704 @DomName('DOMWindow.indexedDB') | 21704 @DomName('Window.indexedDB') |
| 21705 @DocsEditable | 21705 @DocsEditable |
| 21706 @SupportedBrowser(SupportedBrowser.CHROME) | 21706 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21707 @SupportedBrowser(SupportedBrowser.FIREFOX, '15') | 21707 @SupportedBrowser(SupportedBrowser.FIREFOX, '15') |
| 21708 @SupportedBrowser(SupportedBrowser.IE, '10') | 21708 @SupportedBrowser(SupportedBrowser.IE, '10') |
| 21709 @Experimental | 21709 @Experimental |
| 21710 IdbFactory get indexedDB native "DOMWindow_indexedDB_Getter"; | 21710 IdbFactory get indexedDB native "DOMWindow_indexedDB_Getter"; |
| 21711 | 21711 |
| 21712 @DomName('DOMWindow.innerHeight') | 21712 @DomName('Window.innerHeight') |
| 21713 @DocsEditable | 21713 @DocsEditable |
| 21714 int get innerHeight native "DOMWindow_innerHeight_Getter"; | 21714 int get innerHeight native "DOMWindow_innerHeight_Getter"; |
| 21715 | 21715 |
| 21716 @DomName('DOMWindow.innerWidth') | 21716 @DomName('Window.innerWidth') |
| 21717 @DocsEditable | 21717 @DocsEditable |
| 21718 int get innerWidth native "DOMWindow_innerWidth_Getter"; | 21718 int get innerWidth native "DOMWindow_innerWidth_Getter"; |
| 21719 | 21719 |
| 21720 @DomName('DOMWindow.localStorage') | 21720 @DomName('Window.localStorage') |
| 21721 @DocsEditable | 21721 @DocsEditable |
| 21722 Storage get localStorage native "DOMWindow_localStorage_Getter"; | 21722 Storage get localStorage native "DOMWindow_localStorage_Getter"; |
| 21723 | 21723 |
| 21724 @DomName('DOMWindow.location') | 21724 @DomName('Window.location') |
| 21725 @DocsEditable | 21725 @DocsEditable |
| 21726 Location get location native "DOMWindow_location_Getter"; | 21726 Location get location native "DOMWindow_location_Getter"; |
| 21727 | 21727 |
| 21728 @DomName('DOMWindow.location') | 21728 @DomName('Window.location') |
| 21729 @DocsEditable | 21729 @DocsEditable |
| 21730 void set location(Location value) native "DOMWindow_location_Setter"; | 21730 void set location(Location value) native "DOMWindow_location_Setter"; |
| 21731 | 21731 |
| 21732 @DomName('DOMWindow.locationbar') | 21732 @DomName('Window.locationbar') |
| 21733 @DocsEditable | 21733 @DocsEditable |
| 21734 BarInfo get locationbar native "DOMWindow_locationbar_Getter"; | 21734 BarInfo get locationbar native "DOMWindow_locationbar_Getter"; |
| 21735 | 21735 |
| 21736 @DomName('DOMWindow.menubar') | 21736 @DomName('Window.menubar') |
| 21737 @DocsEditable | 21737 @DocsEditable |
| 21738 BarInfo get menubar native "DOMWindow_menubar_Getter"; | 21738 BarInfo get menubar native "DOMWindow_menubar_Getter"; |
| 21739 | 21739 |
| 21740 @DomName('DOMWindow.name') | 21740 @DomName('Window.name') |
| 21741 @DocsEditable | 21741 @DocsEditable |
| 21742 String get name native "DOMWindow_name_Getter"; | 21742 String get name native "DOMWindow_name_Getter"; |
| 21743 | 21743 |
| 21744 @DomName('DOMWindow.name') | 21744 @DomName('Window.name') |
| 21745 @DocsEditable | 21745 @DocsEditable |
| 21746 void set name(String value) native "DOMWindow_name_Setter"; | 21746 void set name(String value) native "DOMWindow_name_Setter"; |
| 21747 | 21747 |
| 21748 @DomName('DOMWindow.navigator') | 21748 @DomName('Window.navigator') |
| 21749 @DocsEditable | 21749 @DocsEditable |
| 21750 Navigator get navigator native "DOMWindow_navigator_Getter"; | 21750 Navigator get navigator native "DOMWindow_navigator_Getter"; |
| 21751 | 21751 |
| 21752 @DomName('DOMWindow.offscreenBuffering') | 21752 @DomName('Window.offscreenBuffering') |
| 21753 @DocsEditable | 21753 @DocsEditable |
| 21754 bool get offscreenBuffering native "DOMWindow_offscreenBuffering_Getter"; | 21754 bool get offscreenBuffering native "DOMWindow_offscreenBuffering_Getter"; |
| 21755 | 21755 |
| 21756 @DomName('DOMWindow.opener') | 21756 @DomName('Window.opener') |
| 21757 @DocsEditable | 21757 @DocsEditable |
| 21758 WindowBase get opener native "DOMWindow_opener_Getter"; | 21758 WindowBase get opener native "DOMWindow_opener_Getter"; |
| 21759 | 21759 |
| 21760 @DomName('DOMWindow.outerHeight') | 21760 @DomName('Window.outerHeight') |
| 21761 @DocsEditable | 21761 @DocsEditable |
| 21762 int get outerHeight native "DOMWindow_outerHeight_Getter"; | 21762 int get outerHeight native "DOMWindow_outerHeight_Getter"; |
| 21763 | 21763 |
| 21764 @DomName('DOMWindow.outerWidth') | 21764 @DomName('Window.outerWidth') |
| 21765 @DocsEditable | 21765 @DocsEditable |
| 21766 int get outerWidth native "DOMWindow_outerWidth_Getter"; | 21766 int get outerWidth native "DOMWindow_outerWidth_Getter"; |
| 21767 | 21767 |
| 21768 @DomName('DOMWindow.pageXOffset') | 21768 @DomName('Window.pageXOffset') |
| 21769 @DocsEditable | 21769 @DocsEditable |
| 21770 int get pageXOffset native "DOMWindow_pageXOffset_Getter"; | 21770 int get pageXOffset native "DOMWindow_pageXOffset_Getter"; |
| 21771 | 21771 |
| 21772 @DomName('DOMWindow.pageYOffset') | 21772 @DomName('Window.pageYOffset') |
| 21773 @DocsEditable | 21773 @DocsEditable |
| 21774 int get pageYOffset native "DOMWindow_pageYOffset_Getter"; | 21774 int get pageYOffset native "DOMWindow_pageYOffset_Getter"; |
| 21775 | 21775 |
| 21776 @DomName('DOMWindow.parent') | 21776 @DomName('Window.parent') |
| 21777 @DocsEditable | 21777 @DocsEditable |
| 21778 WindowBase get parent native "DOMWindow_parent_Getter"; | 21778 WindowBase get parent native "DOMWindow_parent_Getter"; |
| 21779 | 21779 |
| 21780 @DomName('DOMWindow.performance') | 21780 @DomName('Window.performance') |
| 21781 @DocsEditable | 21781 @DocsEditable |
| 21782 @SupportedBrowser(SupportedBrowser.CHROME) | 21782 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21783 @SupportedBrowser(SupportedBrowser.FIREFOX) | 21783 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 21784 @SupportedBrowser(SupportedBrowser.IE) | 21784 @SupportedBrowser(SupportedBrowser.IE) |
| 21785 Performance get performance native "DOMWindow_performance_Getter"; | 21785 Performance get performance native "DOMWindow_performance_Getter"; |
| 21786 | 21786 |
| 21787 @DomName('DOMWindow.personalbar') | 21787 @DomName('Window.personalbar') |
| 21788 @DocsEditable | 21788 @DocsEditable |
| 21789 BarInfo get personalbar native "DOMWindow_personalbar_Getter"; | 21789 BarInfo get personalbar native "DOMWindow_personalbar_Getter"; |
| 21790 | 21790 |
| 21791 @DomName('DOMWindow.screen') | 21791 @DomName('Window.screen') |
| 21792 @DocsEditable | 21792 @DocsEditable |
| 21793 Screen get screen native "DOMWindow_screen_Getter"; | 21793 Screen get screen native "DOMWindow_screen_Getter"; |
| 21794 | 21794 |
| 21795 @DomName('DOMWindow.screenLeft') | 21795 @DomName('Window.screenLeft') |
| 21796 @DocsEditable | 21796 @DocsEditable |
| 21797 int get screenLeft native "DOMWindow_screenLeft_Getter"; | 21797 int get screenLeft native "DOMWindow_screenLeft_Getter"; |
| 21798 | 21798 |
| 21799 @DomName('DOMWindow.screenTop') | 21799 @DomName('Window.screenTop') |
| 21800 @DocsEditable | 21800 @DocsEditable |
| 21801 int get screenTop native "DOMWindow_screenTop_Getter"; | 21801 int get screenTop native "DOMWindow_screenTop_Getter"; |
| 21802 | 21802 |
| 21803 @DomName('DOMWindow.screenX') | 21803 @DomName('Window.screenX') |
| 21804 @DocsEditable | 21804 @DocsEditable |
| 21805 int get screenX native "DOMWindow_screenX_Getter"; | 21805 int get screenX native "DOMWindow_screenX_Getter"; |
| 21806 | 21806 |
| 21807 @DomName('DOMWindow.screenY') | 21807 @DomName('Window.screenY') |
| 21808 @DocsEditable | 21808 @DocsEditable |
| 21809 int get screenY native "DOMWindow_screenY_Getter"; | 21809 int get screenY native "DOMWindow_screenY_Getter"; |
| 21810 | 21810 |
| 21811 @DomName('DOMWindow.scrollX') | 21811 @DomName('Window.scrollX') |
| 21812 @DocsEditable | 21812 @DocsEditable |
| 21813 int get scrollX native "DOMWindow_scrollX_Getter"; | 21813 int get scrollX native "DOMWindow_scrollX_Getter"; |
| 21814 | 21814 |
| 21815 @DomName('DOMWindow.scrollY') | 21815 @DomName('Window.scrollY') |
| 21816 @DocsEditable | 21816 @DocsEditable |
| 21817 int get scrollY native "DOMWindow_scrollY_Getter"; | 21817 int get scrollY native "DOMWindow_scrollY_Getter"; |
| 21818 | 21818 |
| 21819 @DomName('DOMWindow.scrollbars') | 21819 @DomName('Window.scrollbars') |
| 21820 @DocsEditable | 21820 @DocsEditable |
| 21821 BarInfo get scrollbars native "DOMWindow_scrollbars_Getter"; | 21821 BarInfo get scrollbars native "DOMWindow_scrollbars_Getter"; |
| 21822 | 21822 |
| 21823 @DomName('DOMWindow.self') | 21823 @DomName('Window.self') |
| 21824 @DocsEditable | 21824 @DocsEditable |
| 21825 WindowBase get self native "DOMWindow_self_Getter"; | 21825 WindowBase get self native "DOMWindow_self_Getter"; |
| 21826 | 21826 |
| 21827 @DomName('DOMWindow.sessionStorage') | 21827 @DomName('Window.sessionStorage') |
| 21828 @DocsEditable | 21828 @DocsEditable |
| 21829 Storage get sessionStorage native "DOMWindow_sessionStorage_Getter"; | 21829 Storage get sessionStorage native "DOMWindow_sessionStorage_Getter"; |
| 21830 | 21830 |
| 21831 @DomName('DOMWindow.status') | 21831 @DomName('Window.status') |
| 21832 @DocsEditable | 21832 @DocsEditable |
| 21833 String get status native "DOMWindow_status_Getter"; | 21833 String get status native "DOMWindow_status_Getter"; |
| 21834 | 21834 |
| 21835 @DomName('DOMWindow.status') | 21835 @DomName('Window.status') |
| 21836 @DocsEditable | 21836 @DocsEditable |
| 21837 void set status(String value) native "DOMWindow_status_Setter"; | 21837 void set status(String value) native "DOMWindow_status_Setter"; |
| 21838 | 21838 |
| 21839 @DomName('DOMWindow.statusbar') | 21839 @DomName('Window.statusbar') |
| 21840 @DocsEditable | 21840 @DocsEditable |
| 21841 BarInfo get statusbar native "DOMWindow_statusbar_Getter"; | 21841 BarInfo get statusbar native "DOMWindow_statusbar_Getter"; |
| 21842 | 21842 |
| 21843 @DomName('DOMWindow.styleMedia') | 21843 @DomName('Window.styleMedia') |
| 21844 @DocsEditable | 21844 @DocsEditable |
| 21845 StyleMedia get styleMedia native "DOMWindow_styleMedia_Getter"; | 21845 StyleMedia get styleMedia native "DOMWindow_styleMedia_Getter"; |
| 21846 | 21846 |
| 21847 @DomName('DOMWindow.toolbar') | 21847 @DomName('Window.toolbar') |
| 21848 @DocsEditable | 21848 @DocsEditable |
| 21849 BarInfo get toolbar native "DOMWindow_toolbar_Getter"; | 21849 BarInfo get toolbar native "DOMWindow_toolbar_Getter"; |
| 21850 | 21850 |
| 21851 @DomName('DOMWindow.top') | 21851 @DomName('Window.top') |
| 21852 @DocsEditable | 21852 @DocsEditable |
| 21853 WindowBase get top native "DOMWindow_top_Getter"; | 21853 WindowBase get top native "DOMWindow_top_Getter"; |
| 21854 | 21854 |
| 21855 @DomName('DOMWindow.webkitNotifications') | 21855 @DomName('Window.webkitNotifications') |
| 21856 @DocsEditable | 21856 @DocsEditable |
| 21857 @SupportedBrowser(SupportedBrowser.CHROME) | 21857 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21858 @SupportedBrowser(SupportedBrowser.SAFARI) | 21858 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21859 @Experimental | 21859 @Experimental |
| 21860 NotificationCenter get notifications native "DOMWindow_webkitNotifications_Get
ter"; | 21860 NotificationCenter get notifications native "DOMWindow_webkitNotifications_Get
ter"; |
| 21861 | 21861 |
| 21862 @DomName('DOMWindow.webkitStorageInfo') | 21862 @DomName('Window.webkitStorageInfo') |
| 21863 @DocsEditable | 21863 @DocsEditable |
| 21864 @SupportedBrowser(SupportedBrowser.CHROME) | 21864 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21865 @SupportedBrowser(SupportedBrowser.SAFARI) | 21865 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21866 @Experimental | 21866 @Experimental |
| 21867 StorageInfo get storageInfo native "DOMWindow_webkitStorageInfo_Getter"; | 21867 StorageInfo get storageInfo native "DOMWindow_webkitStorageInfo_Getter"; |
| 21868 | 21868 |
| 21869 @DomName('DOMWindow.window') | 21869 @DomName('Window.window') |
| 21870 @DocsEditable | 21870 @DocsEditable |
| 21871 WindowBase get window native "DOMWindow_window_Getter"; | 21871 WindowBase get window native "DOMWindow_window_Getter"; |
| 21872 | 21872 |
| 21873 @DomName('DOMWindow.addEventListener') | 21873 @DomName('Window.addEventListener') |
| 21874 @DocsEditable | 21874 @DocsEditable |
| 21875 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native "DOMWindow_addEventListener_Callback"; | 21875 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]) native "DOMWindow_addEventListener_Callback"; |
| 21876 | 21876 |
| 21877 @DomName('DOMWindow.alert') | 21877 @DomName('Window.alert') |
| 21878 @DocsEditable | 21878 @DocsEditable |
| 21879 void alert(String message) native "DOMWindow_alert_Callback"; | 21879 void alert(String message) native "DOMWindow_alert_Callback"; |
| 21880 | 21880 |
| 21881 @DomName('DOMWindow.atob') | 21881 @DomName('Window.atob') |
| 21882 @DocsEditable | 21882 @DocsEditable |
| 21883 String atob(String string) native "DOMWindow_atob_Callback"; | 21883 String atob(String string) native "DOMWindow_atob_Callback"; |
| 21884 | 21884 |
| 21885 @DomName('DOMWindow.btoa') | 21885 @DomName('Window.btoa') |
| 21886 @DocsEditable | 21886 @DocsEditable |
| 21887 String btoa(String string) native "DOMWindow_btoa_Callback"; | 21887 String btoa(String string) native "DOMWindow_btoa_Callback"; |
| 21888 | 21888 |
| 21889 @DomName('DOMWindow.cancelAnimationFrame') | 21889 @DomName('Window.cancelAnimationFrame') |
| 21890 @DocsEditable | 21890 @DocsEditable |
| 21891 void cancelAnimationFrame(int id) native "DOMWindow_cancelAnimationFrame_Callb
ack"; | 21891 void cancelAnimationFrame(int id) native "DOMWindow_cancelAnimationFrame_Callb
ack"; |
| 21892 | 21892 |
| 21893 @DomName('DOMWindow.captureEvents') | 21893 @DomName('Window.captureEvents') |
| 21894 @DocsEditable | 21894 @DocsEditable |
| 21895 void captureEvents() native "DOMWindow_captureEvents_Callback"; | 21895 void captureEvents() native "DOMWindow_captureEvents_Callback"; |
| 21896 | 21896 |
| 21897 @DomName('DOMWindow.clearInterval') | 21897 @DomName('Window.clearInterval') |
| 21898 @DocsEditable | 21898 @DocsEditable |
| 21899 void _clearInterval(int handle) native "DOMWindow_clearInterval_Callback"; | 21899 void _clearInterval(int handle) native "DOMWindow_clearInterval_Callback"; |
| 21900 | 21900 |
| 21901 @DomName('DOMWindow.clearTimeout') | 21901 @DomName('Window.clearTimeout') |
| 21902 @DocsEditable | 21902 @DocsEditable |
| 21903 void _clearTimeout(int handle) native "DOMWindow_clearTimeout_Callback"; | 21903 void _clearTimeout(int handle) native "DOMWindow_clearTimeout_Callback"; |
| 21904 | 21904 |
| 21905 @DomName('DOMWindow.close') | 21905 @DomName('Window.close') |
| 21906 @DocsEditable | 21906 @DocsEditable |
| 21907 void close() native "DOMWindow_close_Callback"; | 21907 void close() native "DOMWindow_close_Callback"; |
| 21908 | 21908 |
| 21909 @DomName('DOMWindow.confirm') | 21909 @DomName('Window.confirm') |
| 21910 @DocsEditable | 21910 @DocsEditable |
| 21911 bool confirm(String message) native "DOMWindow_confirm_Callback"; | 21911 bool confirm(String message) native "DOMWindow_confirm_Callback"; |
| 21912 | 21912 |
| 21913 @DomName('DOMWindow.dispatchEvent') | 21913 @DomName('Window.dispatchEvent') |
| 21914 @DocsEditable | 21914 @DocsEditable |
| 21915 bool dispatchEvent(Event evt) native "DOMWindow_dispatchEvent_Callback"; | 21915 bool dispatchEvent(Event evt) native "DOMWindow_dispatchEvent_Callback"; |
| 21916 | 21916 |
| 21917 @DomName('DOMWindow.find') | 21917 @DomName('Window.find') |
| 21918 @DocsEditable | 21918 @DocsEditable |
| 21919 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w
holeWord, bool searchInFrames, bool showDialog) native "DOMWindow_find_Callback"
; | 21919 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w
holeWord, bool searchInFrames, bool showDialog) native "DOMWindow_find_Callback"
; |
| 21920 | 21920 |
| 21921 @DomName('DOMWindow.getComputedStyle') | 21921 @DomName('Window.getComputedStyle') |
| 21922 @DocsEditable | 21922 @DocsEditable |
| 21923 CssStyleDeclaration $dom_getComputedStyle(Element element, String pseudoElemen
t) native "DOMWindow_getComputedStyle_Callback"; | 21923 CssStyleDeclaration $dom_getComputedStyle(Element element, String pseudoElemen
t) native "DOMWindow_getComputedStyle_Callback"; |
| 21924 | 21924 |
| 21925 @DomName('DOMWindow.getMatchedCSSRules') | 21925 @DomName('Window.getMatchedCSSRules') |
| 21926 @DocsEditable | 21926 @DocsEditable |
| 21927 List<CssRule> getMatchedCssRules(Element element, String pseudoElement) native
"DOMWindow_getMatchedCSSRules_Callback"; | 21927 List<CssRule> getMatchedCssRules(Element element, String pseudoElement) native
"DOMWindow_getMatchedCSSRules_Callback"; |
| 21928 | 21928 |
| 21929 @DomName('DOMWindow.getSelection') | 21929 @DomName('Window.getSelection') |
| 21930 @DocsEditable | 21930 @DocsEditable |
| 21931 Selection getSelection() native "DOMWindow_getSelection_Callback"; | 21931 Selection getSelection() native "DOMWindow_getSelection_Callback"; |
| 21932 | 21932 |
| 21933 @DomName('DOMWindow.matchMedia') | 21933 @DomName('Window.matchMedia') |
| 21934 @DocsEditable | 21934 @DocsEditable |
| 21935 MediaQueryList matchMedia(String query) native "DOMWindow_matchMedia_Callback"
; | 21935 MediaQueryList matchMedia(String query) native "DOMWindow_matchMedia_Callback"
; |
| 21936 | 21936 |
| 21937 @DomName('DOMWindow.moveBy') | 21937 @DomName('Window.moveBy') |
| 21938 @DocsEditable | 21938 @DocsEditable |
| 21939 void moveBy(num x, num y) native "DOMWindow_moveBy_Callback"; | 21939 void moveBy(num x, num y) native "DOMWindow_moveBy_Callback"; |
| 21940 | 21940 |
| 21941 @DomName('DOMWindow.moveTo') | 21941 @DomName('Window.moveTo') |
| 21942 @DocsEditable | 21942 @DocsEditable |
| 21943 void moveTo(num x, num y) native "DOMWindow_moveTo_Callback"; | 21943 void moveTo(num x, num y) native "DOMWindow_moveTo_Callback"; |
| 21944 | 21944 |
| 21945 @DomName('DOMWindow.open') | 21945 @DomName('Window.open') |
| 21946 @DocsEditable | 21946 @DocsEditable |
| 21947 WindowBase open(String url, String name, [String options]) native "DOMWindow_o
pen_Callback"; | 21947 WindowBase open(String url, String name, [String options]) native "DOMWindow_o
pen_Callback"; |
| 21948 | 21948 |
| 21949 @DomName('DOMWindow.openDatabase') | 21949 @DomName('Window.openDatabase') |
| 21950 @DocsEditable | 21950 @DocsEditable |
| 21951 @SupportedBrowser(SupportedBrowser.CHROME) | 21951 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21952 @SupportedBrowser(SupportedBrowser.SAFARI) | 21952 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 21953 @Experimental | 21953 @Experimental |
| 21954 SqlDatabase openDatabase(String name, String version, String displayName, int
estimatedSize, [DatabaseCallback creationCallback]) native "DOMWindow_openDataba
se_Callback"; | 21954 SqlDatabase openDatabase(String name, String version, String displayName, int
estimatedSize, [DatabaseCallback creationCallback]) native "DOMWindow_openDataba
se_Callback"; |
| 21955 | 21955 |
| 21956 @DomName('DOMWindow.postMessage') | 21956 @DomName('Window.postMessage') |
| 21957 @DocsEditable | 21957 @DocsEditable |
| 21958 void postMessage(/*SerializedScriptValue*/ message, String targetOrigin, [List
messagePorts]) native "DOMWindow_postMessage_Callback"; | 21958 void postMessage(/*SerializedScriptValue*/ message, String targetOrigin, [List
messagePorts]) native "DOMWindow_postMessage_Callback"; |
| 21959 | 21959 |
| 21960 @DomName('DOMWindow.print') | 21960 @DomName('Window.print') |
| 21961 @DocsEditable | 21961 @DocsEditable |
| 21962 void print() native "DOMWindow_print_Callback"; | 21962 void print() native "DOMWindow_print_Callback"; |
| 21963 | 21963 |
| 21964 @DomName('DOMWindow.releaseEvents') | 21964 @DomName('Window.releaseEvents') |
| 21965 @DocsEditable | 21965 @DocsEditable |
| 21966 void releaseEvents() native "DOMWindow_releaseEvents_Callback"; | 21966 void releaseEvents() native "DOMWindow_releaseEvents_Callback"; |
| 21967 | 21967 |
| 21968 @DomName('DOMWindow.removeEventListener') | 21968 @DomName('Window.removeEventListener') |
| 21969 @DocsEditable | 21969 @DocsEditable |
| 21970 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native "DOMWindow_removeEventListener_Callback"; | 21970 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]) native "DOMWindow_removeEventListener_Callback"; |
| 21971 | 21971 |
| 21972 @DomName('DOMWindow.requestAnimationFrame') | 21972 @DomName('Window.requestAnimationFrame') |
| 21973 @DocsEditable | 21973 @DocsEditable |
| 21974 int requestAnimationFrame(RequestAnimationFrameCallback callback) native "DOMW
indow_requestAnimationFrame_Callback"; | 21974 int requestAnimationFrame(RequestAnimationFrameCallback callback) native "DOMW
indow_requestAnimationFrame_Callback"; |
| 21975 | 21975 |
| 21976 @DomName('DOMWindow.resizeBy') | 21976 @DomName('Window.resizeBy') |
| 21977 @DocsEditable | 21977 @DocsEditable |
| 21978 void resizeBy(num x, num y) native "DOMWindow_resizeBy_Callback"; | 21978 void resizeBy(num x, num y) native "DOMWindow_resizeBy_Callback"; |
| 21979 | 21979 |
| 21980 @DomName('DOMWindow.resizeTo') | 21980 @DomName('Window.resizeTo') |
| 21981 @DocsEditable | 21981 @DocsEditable |
| 21982 void resizeTo(num width, num height) native "DOMWindow_resizeTo_Callback"; | 21982 void resizeTo(num width, num height) native "DOMWindow_resizeTo_Callback"; |
| 21983 | 21983 |
| 21984 @DomName('DOMWindow.scroll') | 21984 @DomName('Window.scroll') |
| 21985 @DocsEditable | 21985 @DocsEditable |
| 21986 void scroll(int x, int y) native "DOMWindow_scroll_Callback"; | 21986 void scroll(int x, int y) native "DOMWindow_scroll_Callback"; |
| 21987 | 21987 |
| 21988 @DomName('DOMWindow.scrollBy') | 21988 @DomName('Window.scrollBy') |
| 21989 @DocsEditable | 21989 @DocsEditable |
| 21990 void scrollBy(int x, int y) native "DOMWindow_scrollBy_Callback"; | 21990 void scrollBy(int x, int y) native "DOMWindow_scrollBy_Callback"; |
| 21991 | 21991 |
| 21992 @DomName('DOMWindow.scrollTo') | 21992 @DomName('Window.scrollTo') |
| 21993 @DocsEditable | 21993 @DocsEditable |
| 21994 void scrollTo(int x, int y) native "DOMWindow_scrollTo_Callback"; | 21994 void scrollTo(int x, int y) native "DOMWindow_scrollTo_Callback"; |
| 21995 | 21995 |
| 21996 @DomName('DOMWindow.setInterval') | 21996 @DomName('Window.setInterval') |
| 21997 @DocsEditable | 21997 @DocsEditable |
| 21998 int _setInterval(Object handler, int timeout) native "DOMWindow_setInterval_Ca
llback"; | 21998 int _setInterval(Object handler, int timeout) native "DOMWindow_setInterval_Ca
llback"; |
| 21999 | 21999 |
| 22000 @DomName('DOMWindow.setTimeout') | 22000 @DomName('Window.setTimeout') |
| 22001 @DocsEditable | 22001 @DocsEditable |
| 22002 int _setTimeout(Object handler, int timeout) native "DOMWindow_setTimeout_Call
back"; | 22002 int _setTimeout(Object handler, int timeout) native "DOMWindow_setTimeout_Call
back"; |
| 22003 | 22003 |
| 22004 @DomName('DOMWindow.showModalDialog') | 22004 @DomName('Window.showModalDialog') |
| 22005 @DocsEditable | 22005 @DocsEditable |
| 22006 Object showModalDialog(String url, [Object dialogArgs, String featureArgs]) na
tive "DOMWindow_showModalDialog_Callback"; | 22006 Object showModalDialog(String url, [Object dialogArgs, String featureArgs]) na
tive "DOMWindow_showModalDialog_Callback"; |
| 22007 | 22007 |
| 22008 @DomName('DOMWindow.stop') | 22008 @DomName('Window.stop') |
| 22009 @DocsEditable | 22009 @DocsEditable |
| 22010 void stop() native "DOMWindow_stop_Callback"; | 22010 void stop() native "DOMWindow_stop_Callback"; |
| 22011 | 22011 |
| 22012 @DomName('DOMWindow.toString') | 22012 @DomName('Window.toString') |
| 22013 @DocsEditable | 22013 @DocsEditable |
| 22014 String toString() native "DOMWindow_toString_Callback"; | 22014 String toString() native "DOMWindow_toString_Callback"; |
| 22015 | 22015 |
| 22016 @DomName('DOMWindow.webkitConvertPointFromNodeToPage') | 22016 @DomName('Window.webkitConvertPointFromNodeToPage') |
| 22017 @DocsEditable | 22017 @DocsEditable |
| 22018 @SupportedBrowser(SupportedBrowser.CHROME) | 22018 @SupportedBrowser(SupportedBrowser.CHROME) |
| 22019 @SupportedBrowser(SupportedBrowser.SAFARI) | 22019 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 22020 @Experimental | 22020 @Experimental |
| 22021 _DomPoint _convertPointFromNodeToPage(Node node, _DomPoint p) native "DOMWindo
w_webkitConvertPointFromNodeToPage_Callback"; | 22021 _DomPoint _convertPointFromNodeToPage(Node node, _DomPoint p) native "DOMWindo
w_webkitConvertPointFromNodeToPage_Callback"; |
| 22022 | 22022 |
| 22023 @DomName('DOMWindow.webkitConvertPointFromPageToNode') | 22023 @DomName('Window.webkitConvertPointFromPageToNode') |
| 22024 @DocsEditable | 22024 @DocsEditable |
| 22025 @SupportedBrowser(SupportedBrowser.CHROME) | 22025 @SupportedBrowser(SupportedBrowser.CHROME) |
| 22026 @SupportedBrowser(SupportedBrowser.SAFARI) | 22026 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 22027 @Experimental | 22027 @Experimental |
| 22028 _DomPoint _convertPointFromPageToNode(Node node, _DomPoint p) native "DOMWindo
w_webkitConvertPointFromPageToNode_Callback"; | 22028 _DomPoint _convertPointFromPageToNode(Node node, _DomPoint p) native "DOMWindo
w_webkitConvertPointFromPageToNode_Callback"; |
| 22029 | 22029 |
| 22030 @DomName('DOMWindow.webkitRequestFileSystem') | 22030 @DomName('Window.webkitRequestFileSystem') |
| 22031 @DocsEditable | 22031 @DocsEditable |
| 22032 @SupportedBrowser(SupportedBrowser.CHROME) | 22032 @SupportedBrowser(SupportedBrowser.CHROME) |
| 22033 @Experimental | 22033 @Experimental |
| 22034 void __requestFileSystem(int type, int size, _FileSystemCallback successCallba
ck, [_ErrorCallback errorCallback]) native "DOMWindow_webkitRequestFileSystem_Ca
llback"; | 22034 void __requestFileSystem(int type, int size, _FileSystemCallback successCallba
ck, [_ErrorCallback errorCallback]) native "DOMWindow_webkitRequestFileSystem_Ca
llback"; |
| 22035 | 22035 |
| 22036 Future<FileSystem> _requestFileSystem(int type, int size) { | 22036 Future<FileSystem> _requestFileSystem(int type, int size) { |
| 22037 var completer = new Completer<FileSystem>(); | 22037 var completer = new Completer<FileSystem>(); |
| 22038 __requestFileSystem(type, size, | 22038 __requestFileSystem(type, size, |
| 22039 (value) { completer.complete(value); }, | 22039 (value) { completer.complete(value); }, |
| 22040 (error) { completer.completeError(error); }); | 22040 (error) { completer.completeError(error); }); |
| 22041 return completer.future; | 22041 return completer.future; |
| 22042 } | 22042 } |
| 22043 | 22043 |
| 22044 @DomName('DOMWindow.webkitResolveLocalFileSystemURL') | 22044 @DomName('Window.webkitResolveLocalFileSystemURL') |
| 22045 @DocsEditable | 22045 @DocsEditable |
| 22046 @SupportedBrowser(SupportedBrowser.CHROME) | 22046 @SupportedBrowser(SupportedBrowser.CHROME) |
| 22047 @Experimental | 22047 @Experimental |
| 22048 void _resolveLocalFileSystemUrl(String url, _EntryCallback successCallback, [_
ErrorCallback errorCallback]) native "DOMWindow_webkitResolveLocalFileSystemURL_
Callback"; | 22048 void _resolveLocalFileSystemUrl(String url, _EntryCallback successCallback, [_
ErrorCallback errorCallback]) native "DOMWindow_webkitResolveLocalFileSystemURL_
Callback"; |
| 22049 | 22049 |
| 22050 Future<Entry> resolveLocalFileSystemUrl(String url) { | 22050 Future<Entry> resolveLocalFileSystemUrl(String url) { |
| 22051 var completer = new Completer<Entry>(); | 22051 var completer = new Completer<Entry>(); |
| 22052 _resolveLocalFileSystemUrl(url, | 22052 _resolveLocalFileSystemUrl(url, |
| 22053 (value) { completer.complete(value); }, | 22053 (value) { completer.complete(value); }, |
| 22054 (error) { completer.completeError(error); }); | 22054 (error) { completer.completeError(error); }); |
| 22055 return completer.future; | 22055 return completer.future; |
| 22056 } | 22056 } |
| 22057 | 22057 |
| 22058 @DomName('DOMWindow.onDOMContentLoaded') | 22058 @DomName('Window.onDOMContentLoaded') |
| 22059 @DocsEditable | 22059 @DocsEditable |
| 22060 Stream<Event> get onContentLoaded => contentLoadedEvent.forTarget(this); | 22060 Stream<Event> get onContentLoaded => contentLoadedEvent.forTarget(this); |
| 22061 | 22061 |
| 22062 @DomName('DOMWindow.onabort') | 22062 @DomName('Window.onabort') |
| 22063 @DocsEditable | 22063 @DocsEditable |
| 22064 Stream<Event> get onAbort => Element.abortEvent.forTarget(this); | 22064 Stream<Event> get onAbort => Element.abortEvent.forTarget(this); |
| 22065 | 22065 |
| 22066 @DomName('DOMWindow.onblur') | 22066 @DomName('Window.onblur') |
| 22067 @DocsEditable | 22067 @DocsEditable |
| 22068 Stream<Event> get onBlur => Element.blurEvent.forTarget(this); | 22068 Stream<Event> get onBlur => Element.blurEvent.forTarget(this); |
| 22069 | 22069 |
| 22070 @DomName('DOMWindow.onchange') | 22070 @DomName('Window.onchange') |
| 22071 @DocsEditable | 22071 @DocsEditable |
| 22072 Stream<Event> get onChange => Element.changeEvent.forTarget(this); | 22072 Stream<Event> get onChange => Element.changeEvent.forTarget(this); |
| 22073 | 22073 |
| 22074 @DomName('DOMWindow.onclick') | 22074 @DomName('Window.onclick') |
| 22075 @DocsEditable | 22075 @DocsEditable |
| 22076 Stream<MouseEvent> get onClick => Element.clickEvent.forTarget(this); | 22076 Stream<MouseEvent> get onClick => Element.clickEvent.forTarget(this); |
| 22077 | 22077 |
| 22078 @DomName('DOMWindow.oncontextmenu') | 22078 @DomName('Window.oncontextmenu') |
| 22079 @DocsEditable | 22079 @DocsEditable |
| 22080 Stream<MouseEvent> get onContextMenu => Element.contextMenuEvent.forTarget(thi
s); | 22080 Stream<MouseEvent> get onContextMenu => Element.contextMenuEvent.forTarget(thi
s); |
| 22081 | 22081 |
| 22082 @DomName('DOMWindow.ondblclick') | 22082 @DomName('Window.ondblclick') |
| 22083 @DocsEditable | 22083 @DocsEditable |
| 22084 Stream<Event> get onDoubleClick => Element.doubleClickEvent.forTarget(this); | 22084 Stream<Event> get onDoubleClick => Element.doubleClickEvent.forTarget(this); |
| 22085 | 22085 |
| 22086 @DomName('DOMWindow.ondevicemotion') | 22086 @DomName('Window.ondevicemotion') |
| 22087 @DocsEditable | 22087 @DocsEditable |
| 22088 Stream<DeviceMotionEvent> get onDeviceMotion => deviceMotionEvent.forTarget(th
is); | 22088 Stream<DeviceMotionEvent> get onDeviceMotion => deviceMotionEvent.forTarget(th
is); |
| 22089 | 22089 |
| 22090 @DomName('DOMWindow.ondeviceorientation') | 22090 @DomName('Window.ondeviceorientation') |
| 22091 @DocsEditable | 22091 @DocsEditable |
| 22092 Stream<DeviceOrientationEvent> get onDeviceOrientation => deviceOrientationEve
nt.forTarget(this); | 22092 Stream<DeviceOrientationEvent> get onDeviceOrientation => deviceOrientationEve
nt.forTarget(this); |
| 22093 | 22093 |
| 22094 @DomName('DOMWindow.ondrag') | 22094 @DomName('Window.ondrag') |
| 22095 @DocsEditable | 22095 @DocsEditable |
| 22096 Stream<MouseEvent> get onDrag => Element.dragEvent.forTarget(this); | 22096 Stream<MouseEvent> get onDrag => Element.dragEvent.forTarget(this); |
| 22097 | 22097 |
| 22098 @DomName('DOMWindow.ondragend') | 22098 @DomName('Window.ondragend') |
| 22099 @DocsEditable | 22099 @DocsEditable |
| 22100 Stream<MouseEvent> get onDragEnd => Element.dragEndEvent.forTarget(this); | 22100 Stream<MouseEvent> get onDragEnd => Element.dragEndEvent.forTarget(this); |
| 22101 | 22101 |
| 22102 @DomName('DOMWindow.ondragenter') | 22102 @DomName('Window.ondragenter') |
| 22103 @DocsEditable | 22103 @DocsEditable |
| 22104 Stream<MouseEvent> get onDragEnter => Element.dragEnterEvent.forTarget(this); | 22104 Stream<MouseEvent> get onDragEnter => Element.dragEnterEvent.forTarget(this); |
| 22105 | 22105 |
| 22106 @DomName('DOMWindow.ondragleave') | 22106 @DomName('Window.ondragleave') |
| 22107 @DocsEditable | 22107 @DocsEditable |
| 22108 Stream<MouseEvent> get onDragLeave => Element.dragLeaveEvent.forTarget(this); | 22108 Stream<MouseEvent> get onDragLeave => Element.dragLeaveEvent.forTarget(this); |
| 22109 | 22109 |
| 22110 @DomName('DOMWindow.ondragover') | 22110 @DomName('Window.ondragover') |
| 22111 @DocsEditable | 22111 @DocsEditable |
| 22112 Stream<MouseEvent> get onDragOver => Element.dragOverEvent.forTarget(this); | 22112 Stream<MouseEvent> get onDragOver => Element.dragOverEvent.forTarget(this); |
| 22113 | 22113 |
| 22114 @DomName('DOMWindow.ondragstart') | 22114 @DomName('Window.ondragstart') |
| 22115 @DocsEditable | 22115 @DocsEditable |
| 22116 Stream<MouseEvent> get onDragStart => Element.dragStartEvent.forTarget(this); | 22116 Stream<MouseEvent> get onDragStart => Element.dragStartEvent.forTarget(this); |
| 22117 | 22117 |
| 22118 @DomName('DOMWindow.ondrop') | 22118 @DomName('Window.ondrop') |
| 22119 @DocsEditable | 22119 @DocsEditable |
| 22120 Stream<MouseEvent> get onDrop => Element.dropEvent.forTarget(this); | 22120 Stream<MouseEvent> get onDrop => Element.dropEvent.forTarget(this); |
| 22121 | 22121 |
| 22122 @DomName('DOMWindow.onerror') | 22122 @DomName('Window.onerror') |
| 22123 @DocsEditable | 22123 @DocsEditable |
| 22124 Stream<Event> get onError => Element.errorEvent.forTarget(this); | 22124 Stream<Event> get onError => Element.errorEvent.forTarget(this); |
| 22125 | 22125 |
| 22126 @DomName('DOMWindow.onfocus') | 22126 @DomName('Window.onfocus') |
| 22127 @DocsEditable | 22127 @DocsEditable |
| 22128 Stream<Event> get onFocus => Element.focusEvent.forTarget(this); | 22128 Stream<Event> get onFocus => Element.focusEvent.forTarget(this); |
| 22129 | 22129 |
| 22130 @DomName('DOMWindow.onhashchange') | 22130 @DomName('Window.onhashchange') |
| 22131 @DocsEditable | 22131 @DocsEditable |
| 22132 Stream<Event> get onHashChange => hashChangeEvent.forTarget(this); | 22132 Stream<Event> get onHashChange => hashChangeEvent.forTarget(this); |
| 22133 | 22133 |
| 22134 @DomName('DOMWindow.oninput') | 22134 @DomName('Window.oninput') |
| 22135 @DocsEditable | 22135 @DocsEditable |
| 22136 Stream<Event> get onInput => Element.inputEvent.forTarget(this); | 22136 Stream<Event> get onInput => Element.inputEvent.forTarget(this); |
| 22137 | 22137 |
| 22138 @DomName('DOMWindow.oninvalid') | 22138 @DomName('Window.oninvalid') |
| 22139 @DocsEditable | 22139 @DocsEditable |
| 22140 Stream<Event> get onInvalid => Element.invalidEvent.forTarget(this); | 22140 Stream<Event> get onInvalid => Element.invalidEvent.forTarget(this); |
| 22141 | 22141 |
| 22142 @DomName('DOMWindow.onkeydown') | 22142 @DomName('Window.onkeydown') |
| 22143 @DocsEditable | 22143 @DocsEditable |
| 22144 Stream<KeyboardEvent> get onKeyDown => Element.keyDownEvent.forTarget(this); | 22144 Stream<KeyboardEvent> get onKeyDown => Element.keyDownEvent.forTarget(this); |
| 22145 | 22145 |
| 22146 @DomName('DOMWindow.onkeypress') | 22146 @DomName('Window.onkeypress') |
| 22147 @DocsEditable | 22147 @DocsEditable |
| 22148 Stream<KeyboardEvent> get onKeyPress => Element.keyPressEvent.forTarget(this); | 22148 Stream<KeyboardEvent> get onKeyPress => Element.keyPressEvent.forTarget(this); |
| 22149 | 22149 |
| 22150 @DomName('DOMWindow.onkeyup') | 22150 @DomName('Window.onkeyup') |
| 22151 @DocsEditable | 22151 @DocsEditable |
| 22152 Stream<KeyboardEvent> get onKeyUp => Element.keyUpEvent.forTarget(this); | 22152 Stream<KeyboardEvent> get onKeyUp => Element.keyUpEvent.forTarget(this); |
| 22153 | 22153 |
| 22154 @DomName('DOMWindow.onload') | 22154 @DomName('Window.onload') |
| 22155 @DocsEditable | 22155 @DocsEditable |
| 22156 Stream<Event> get onLoad => Element.loadEvent.forTarget(this); | 22156 Stream<Event> get onLoad => Element.loadEvent.forTarget(this); |
| 22157 | 22157 |
| 22158 @DomName('DOMWindow.onmessage') | 22158 @DomName('Window.onmessage') |
| 22159 @DocsEditable | 22159 @DocsEditable |
| 22160 Stream<MessageEvent> get onMessage => messageEvent.forTarget(this); | 22160 Stream<MessageEvent> get onMessage => messageEvent.forTarget(this); |
| 22161 | 22161 |
| 22162 @DomName('DOMWindow.onmousedown') | 22162 @DomName('Window.onmousedown') |
| 22163 @DocsEditable | 22163 @DocsEditable |
| 22164 Stream<MouseEvent> get onMouseDown => Element.mouseDownEvent.forTarget(this); | 22164 Stream<MouseEvent> get onMouseDown => Element.mouseDownEvent.forTarget(this); |
| 22165 | 22165 |
| 22166 @DomName('DOMWindow.onmousemove') | 22166 @DomName('Window.onmousemove') |
| 22167 @DocsEditable | 22167 @DocsEditable |
| 22168 Stream<MouseEvent> get onMouseMove => Element.mouseMoveEvent.forTarget(this); | 22168 Stream<MouseEvent> get onMouseMove => Element.mouseMoveEvent.forTarget(this); |
| 22169 | 22169 |
| 22170 @DomName('DOMWindow.onmouseout') | 22170 @DomName('Window.onmouseout') |
| 22171 @DocsEditable | 22171 @DocsEditable |
| 22172 Stream<MouseEvent> get onMouseOut => Element.mouseOutEvent.forTarget(this); | 22172 Stream<MouseEvent> get onMouseOut => Element.mouseOutEvent.forTarget(this); |
| 22173 | 22173 |
| 22174 @DomName('DOMWindow.onmouseover') | 22174 @DomName('Window.onmouseover') |
| 22175 @DocsEditable | 22175 @DocsEditable |
| 22176 Stream<MouseEvent> get onMouseOver => Element.mouseOverEvent.forTarget(this); | 22176 Stream<MouseEvent> get onMouseOver => Element.mouseOverEvent.forTarget(this); |
| 22177 | 22177 |
| 22178 @DomName('DOMWindow.onmouseup') | 22178 @DomName('Window.onmouseup') |
| 22179 @DocsEditable | 22179 @DocsEditable |
| 22180 Stream<MouseEvent> get onMouseUp => Element.mouseUpEvent.forTarget(this); | 22180 Stream<MouseEvent> get onMouseUp => Element.mouseUpEvent.forTarget(this); |
| 22181 | 22181 |
| 22182 @DomName('DOMWindow.onmousewheel') | 22182 @DomName('Window.onmousewheel') |
| 22183 @DocsEditable | 22183 @DocsEditable |
| 22184 Stream<WheelEvent> get onMouseWheel => Element.mouseWheelEvent.forTarget(this)
; | 22184 Stream<WheelEvent> get onMouseWheel => Element.mouseWheelEvent.forTarget(this)
; |
| 22185 | 22185 |
| 22186 @DomName('DOMWindow.onoffline') | 22186 @DomName('Window.onoffline') |
| 22187 @DocsEditable | 22187 @DocsEditable |
| 22188 Stream<Event> get onOffline => offlineEvent.forTarget(this); | 22188 Stream<Event> get onOffline => offlineEvent.forTarget(this); |
| 22189 | 22189 |
| 22190 @DomName('DOMWindow.ononline') | 22190 @DomName('Window.ononline') |
| 22191 @DocsEditable | 22191 @DocsEditable |
| 22192 Stream<Event> get onOnline => onlineEvent.forTarget(this); | 22192 Stream<Event> get onOnline => onlineEvent.forTarget(this); |
| 22193 | 22193 |
| 22194 @DomName('DOMWindow.onpagehide') | 22194 @DomName('Window.onpagehide') |
| 22195 @DocsEditable | 22195 @DocsEditable |
| 22196 Stream<Event> get onPageHide => pageHideEvent.forTarget(this); | 22196 Stream<Event> get onPageHide => pageHideEvent.forTarget(this); |
| 22197 | 22197 |
| 22198 @DomName('DOMWindow.onpageshow') | 22198 @DomName('Window.onpageshow') |
| 22199 @DocsEditable | 22199 @DocsEditable |
| 22200 Stream<Event> get onPageShow => pageShowEvent.forTarget(this); | 22200 Stream<Event> get onPageShow => pageShowEvent.forTarget(this); |
| 22201 | 22201 |
| 22202 @DomName('DOMWindow.onpopstate') | 22202 @DomName('Window.onpopstate') |
| 22203 @DocsEditable | 22203 @DocsEditable |
| 22204 Stream<PopStateEvent> get onPopState => popStateEvent.forTarget(this); | 22204 Stream<PopStateEvent> get onPopState => popStateEvent.forTarget(this); |
| 22205 | 22205 |
| 22206 @DomName('DOMWindow.onreset') | 22206 @DomName('Window.onreset') |
| 22207 @DocsEditable | 22207 @DocsEditable |
| 22208 Stream<Event> get onReset => Element.resetEvent.forTarget(this); | 22208 Stream<Event> get onReset => Element.resetEvent.forTarget(this); |
| 22209 | 22209 |
| 22210 @DomName('DOMWindow.onresize') | 22210 @DomName('Window.onresize') |
| 22211 @DocsEditable | 22211 @DocsEditable |
| 22212 Stream<Event> get onResize => resizeEvent.forTarget(this); | 22212 Stream<Event> get onResize => resizeEvent.forTarget(this); |
| 22213 | 22213 |
| 22214 @DomName('DOMWindow.onscroll') | 22214 @DomName('Window.onscroll') |
| 22215 @DocsEditable | 22215 @DocsEditable |
| 22216 Stream<Event> get onScroll => Element.scrollEvent.forTarget(this); | 22216 Stream<Event> get onScroll => Element.scrollEvent.forTarget(this); |
| 22217 | 22217 |
| 22218 @DomName('DOMWindow.onsearch') | 22218 @DomName('Window.onsearch') |
| 22219 @DocsEditable | 22219 @DocsEditable |
| 22220 Stream<Event> get onSearch => Element.searchEvent.forTarget(this); | 22220 Stream<Event> get onSearch => Element.searchEvent.forTarget(this); |
| 22221 | 22221 |
| 22222 @DomName('DOMWindow.onselect') | 22222 @DomName('Window.onselect') |
| 22223 @DocsEditable | 22223 @DocsEditable |
| 22224 Stream<Event> get onSelect => Element.selectEvent.forTarget(this); | 22224 Stream<Event> get onSelect => Element.selectEvent.forTarget(this); |
| 22225 | 22225 |
| 22226 @DomName('DOMWindow.onstorage') | 22226 @DomName('Window.onstorage') |
| 22227 @DocsEditable | 22227 @DocsEditable |
| 22228 Stream<StorageEvent> get onStorage => storageEvent.forTarget(this); | 22228 Stream<StorageEvent> get onStorage => storageEvent.forTarget(this); |
| 22229 | 22229 |
| 22230 @DomName('DOMWindow.onsubmit') | 22230 @DomName('Window.onsubmit') |
| 22231 @DocsEditable | 22231 @DocsEditable |
| 22232 Stream<Event> get onSubmit => Element.submitEvent.forTarget(this); | 22232 Stream<Event> get onSubmit => Element.submitEvent.forTarget(this); |
| 22233 | 22233 |
| 22234 @DomName('DOMWindow.ontouchcancel') | 22234 @DomName('Window.ontouchcancel') |
| 22235 @DocsEditable | 22235 @DocsEditable |
| 22236 Stream<TouchEvent> get onTouchCancel => Element.touchCancelEvent.forTarget(thi
s); | 22236 Stream<TouchEvent> get onTouchCancel => Element.touchCancelEvent.forTarget(thi
s); |
| 22237 | 22237 |
| 22238 @DomName('DOMWindow.ontouchend') | 22238 @DomName('Window.ontouchend') |
| 22239 @DocsEditable | 22239 @DocsEditable |
| 22240 Stream<TouchEvent> get onTouchEnd => Element.touchEndEvent.forTarget(this); | 22240 Stream<TouchEvent> get onTouchEnd => Element.touchEndEvent.forTarget(this); |
| 22241 | 22241 |
| 22242 @DomName('DOMWindow.ontouchmove') | 22242 @DomName('Window.ontouchmove') |
| 22243 @DocsEditable | 22243 @DocsEditable |
| 22244 Stream<TouchEvent> get onTouchMove => Element.touchMoveEvent.forTarget(this); | 22244 Stream<TouchEvent> get onTouchMove => Element.touchMoveEvent.forTarget(this); |
| 22245 | 22245 |
| 22246 @DomName('DOMWindow.ontouchstart') | 22246 @DomName('Window.ontouchstart') |
| 22247 @DocsEditable | 22247 @DocsEditable |
| 22248 Stream<TouchEvent> get onTouchStart => Element.touchStartEvent.forTarget(this)
; | 22248 Stream<TouchEvent> get onTouchStart => Element.touchStartEvent.forTarget(this)
; |
| 22249 | 22249 |
| 22250 @DomName('DOMWindow.onunload') | 22250 @DomName('Window.onunload') |
| 22251 @DocsEditable | 22251 @DocsEditable |
| 22252 Stream<Event> get onUnload => unloadEvent.forTarget(this); | 22252 Stream<Event> get onUnload => unloadEvent.forTarget(this); |
| 22253 | 22253 |
| 22254 @DomName('DOMWindow.onwebkitAnimationEnd') | 22254 @DomName('Window.onwebkitAnimationEnd') |
| 22255 @DocsEditable | 22255 @DocsEditable |
| 22256 Stream<AnimationEvent> get onAnimationEnd => animationEndEvent.forTarget(this)
; | 22256 Stream<AnimationEvent> get onAnimationEnd => animationEndEvent.forTarget(this)
; |
| 22257 | 22257 |
| 22258 @DomName('DOMWindow.onwebkitAnimationIteration') | 22258 @DomName('Window.onwebkitAnimationIteration') |
| 22259 @DocsEditable | 22259 @DocsEditable |
| 22260 Stream<AnimationEvent> get onAnimationIteration => animationIterationEvent.for
Target(this); | 22260 Stream<AnimationEvent> get onAnimationIteration => animationIterationEvent.for
Target(this); |
| 22261 | 22261 |
| 22262 @DomName('DOMWindow.onwebkitAnimationStart') | 22262 @DomName('Window.onwebkitAnimationStart') |
| 22263 @DocsEditable | 22263 @DocsEditable |
| 22264 Stream<AnimationEvent> get onAnimationStart => animationStartEvent.forTarget(t
his); | 22264 Stream<AnimationEvent> get onAnimationStart => animationStartEvent.forTarget(t
his); |
| 22265 | 22265 |
| 22266 @DomName('DOMWindow.onwebkitTransitionEnd') | 22266 @DomName('Window.onwebkitTransitionEnd') |
| 22267 @DocsEditable | 22267 @DocsEditable |
| 22268 Stream<TransitionEvent> get onTransitionEnd => Element.transitionEndEvent.forT
arget(this); | 22268 Stream<TransitionEvent> get onTransitionEnd => Element.transitionEndEvent.forT
arget(this); |
| 22269 | 22269 |
| 22270 | 22270 |
| 22271 @DomName('DOMWindow.beforeunloadEvent') | 22271 @DomName('DOMWindow.beforeunloadEvent') |
| 22272 @DocsEditable | 22272 @DocsEditable |
| 22273 static const EventStreamProvider<BeforeUnloadEvent> beforeUnloadEvent = | 22273 static const EventStreamProvider<BeforeUnloadEvent> beforeUnloadEvent = |
| 22274 const _BeforeUnloadEventStreamProvider('beforeunload'); | 22274 const _BeforeUnloadEventStreamProvider('beforeunload'); |
| 22275 | 22275 |
| 22276 @DomName('DOMWindow.onbeforeunload') | 22276 @DomName('DOMWindow.onbeforeunload') |
| (...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22976 // BSD-style license that can be found in the LICENSE file. | 22976 // BSD-style license that can be found in the LICENSE file. |
| 22977 | 22977 |
| 22978 // WARNING: Do not edit - generated code. | 22978 // WARNING: Do not edit - generated code. |
| 22979 | 22979 |
| 22980 | 22980 |
| 22981 @DocsEditable | 22981 @DocsEditable |
| 22982 @DomName('WebKitPoint') | 22982 @DomName('WebKitPoint') |
| 22983 @SupportedBrowser(SupportedBrowser.CHROME) | 22983 @SupportedBrowser(SupportedBrowser.CHROME) |
| 22984 @SupportedBrowser(SupportedBrowser.SAFARI) | 22984 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 22985 @Experimental | 22985 @Experimental |
| 22986 @SupportedBrowser(SupportedBrowser.CHROME) | |
| 22987 @SupportedBrowser(SupportedBrowser.SAFARI) | |
| 22988 @Experimental | |
| 22989 class _DomPoint extends NativeFieldWrapperClass1 { | 22986 class _DomPoint extends NativeFieldWrapperClass1 { |
| 22990 _DomPoint.internal(); | 22987 _DomPoint.internal(); |
| 22991 factory _DomPoint(num x, num y) => _create(x, y); | 22988 factory _DomPoint(num x, num y) => _create(x, y); |
| 22992 | 22989 |
| 22993 @DocsEditable | 22990 @DocsEditable |
| 22994 static _DomPoint _create(x, y) native "DOMPoint_constructorCallback"; | 22991 static _DomPoint _create(x, y) native "DOMPoint_constructorCallback"; |
| 22995 | 22992 |
| 22996 /// Checks if this type is supported on the current platform. | 22993 /// Checks if this type is supported on the current platform. |
| 22997 static bool get supported => true; | 22994 static bool get supported => true; |
| 22998 | 22995 |
| 22999 @DomName('DOMPoint.x') | 22996 @DomName('WebKitPoint.x') |
| 23000 @DocsEditable | 22997 @DocsEditable |
| 23001 num get x native "DOMPoint_x_Getter"; | 22998 num get x native "DOMPoint_x_Getter"; |
| 23002 | 22999 |
| 23003 @DomName('DOMPoint.x') | 23000 @DomName('WebKitPoint.x') |
| 23004 @DocsEditable | 23001 @DocsEditable |
| 23005 void set x(num value) native "DOMPoint_x_Setter"; | 23002 void set x(num value) native "DOMPoint_x_Setter"; |
| 23006 | 23003 |
| 23007 @DomName('DOMPoint.y') | 23004 @DomName('WebKitPoint.y') |
| 23008 @DocsEditable | 23005 @DocsEditable |
| 23009 num get y native "DOMPoint_y_Getter"; | 23006 num get y native "DOMPoint_y_Getter"; |
| 23010 | 23007 |
| 23011 @DomName('DOMPoint.y') | 23008 @DomName('WebKitPoint.y') |
| 23012 @DocsEditable | 23009 @DocsEditable |
| 23013 void set y(num value) native "DOMPoint_y_Setter"; | 23010 void set y(num value) native "DOMPoint_y_Setter"; |
| 23014 | 23011 |
| 23015 } | 23012 } |
| 23016 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23013 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23017 // for details. All rights reserved. Use of this source code is governed by a | 23014 // for details. All rights reserved. Use of this source code is governed by a |
| 23018 // BSD-style license that can be found in the LICENSE file. | 23015 // BSD-style license that can be found in the LICENSE file. |
| 23019 | 23016 |
| 23020 // WARNING: Do not edit - generated code. | 23017 // WARNING: Do not edit - generated code. |
| 23021 | 23018 |
| (...skipping 3983 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 27005 } | 27002 } |
| 27006 | 27003 |
| 27007 T get current => _current; | 27004 T get current => _current; |
| 27008 } | 27005 } |
| 27009 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 27006 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 27010 // for details. All rights reserved. Use of this source code is governed by a | 27007 // for details. All rights reserved. Use of this source code is governed by a |
| 27011 // BSD-style license that can be found in the LICENSE file. | 27008 // BSD-style license that can be found in the LICENSE file. |
| 27012 | 27009 |
| 27013 | 27010 |
| 27014 _makeSendPortFuture(spawnRequest) { | 27011 _makeSendPortFuture(spawnRequest) { |
| 27015 final completer = new Completer<SendPort>(); | 27012 final completer = new Completer<SendPort>.sync(); |
| 27016 final port = new ReceivePort(); | 27013 final port = new ReceivePort(); |
| 27017 port.receive((result, _) { | 27014 port.receive((result, _) { |
| 27018 completer.complete(result); | 27015 completer.complete(result); |
| 27019 port.close(); | 27016 port.close(); |
| 27020 }); | 27017 }); |
| 27021 // TODO: SendPort.hashCode is ugly way to access port id. | 27018 // TODO: SendPort.hashCode is ugly way to access port id. |
| 27022 spawnRequest(port.toSendPort().hashCode); | 27019 spawnRequest(port.toSendPort().hashCode); |
| 27023 return completer.future; | 27020 return completer.future; |
| 27024 } | 27021 } |
| 27025 | 27022 |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 27302 } | 27299 } |
| 27303 | 27300 |
| 27304 _send(msg) { | 27301 _send(msg) { |
| 27305 _sendToHelperIsolate(msg, _sendPort); | 27302 _sendToHelperIsolate(msg, _sendPort); |
| 27306 } | 27303 } |
| 27307 } | 27304 } |
| 27308 | 27305 |
| 27309 get _pureIsolateTimerFactoryClosure => | 27306 get _pureIsolateTimerFactoryClosure => |
| 27310 ((int milliSeconds, void callback(Timer time), bool repeating) => | 27307 ((int milliSeconds, void callback(Timer time), bool repeating) => |
| 27311 new _PureIsolateTimer(milliSeconds, callback, repeating)); | 27308 new _PureIsolateTimer(milliSeconds, callback, repeating)); |
| OLD | NEW |