| 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' hide Symbol; | 6 import 'dart:_collection-dev' hide Symbol; |
| 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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 @DocsEditable | 323 @DocsEditable |
| 324 static const EventStreamProvider<Event> progressEvent = const EventStreamProvi
der<Event>('progress'); | 324 static const EventStreamProvider<Event> progressEvent = const EventStreamProvi
der<Event>('progress'); |
| 325 | 325 |
| 326 @DomName('DOMApplicationCache.updatereadyEvent') | 326 @DomName('DOMApplicationCache.updatereadyEvent') |
| 327 @DocsEditable | 327 @DocsEditable |
| 328 static const EventStreamProvider<Event> updateReadyEvent = const EventStreamPr
ovider<Event>('updateready'); | 328 static const EventStreamProvider<Event> updateReadyEvent = const EventStreamPr
ovider<Event>('updateready'); |
| 329 | 329 |
| 330 /// Checks if this type is supported on the current platform. | 330 /// Checks if this type is supported on the current platform. |
| 331 static bool get supported => true; | 331 static bool get supported => true; |
| 332 | 332 |
| 333 @DomName('DOMApplicationCache.CHECKING') |
| 334 @DocsEditable |
| 333 static const int CHECKING = 2; | 335 static const int CHECKING = 2; |
| 334 | 336 |
| 337 @DomName('DOMApplicationCache.DOWNLOADING') |
| 338 @DocsEditable |
| 335 static const int DOWNLOADING = 3; | 339 static const int DOWNLOADING = 3; |
| 336 | 340 |
| 341 @DomName('DOMApplicationCache.IDLE') |
| 342 @DocsEditable |
| 337 static const int IDLE = 1; | 343 static const int IDLE = 1; |
| 338 | 344 |
| 345 @DomName('DOMApplicationCache.OBSOLETE') |
| 346 @DocsEditable |
| 339 static const int OBSOLETE = 5; | 347 static const int OBSOLETE = 5; |
| 340 | 348 |
| 349 @DomName('DOMApplicationCache.UNCACHED') |
| 350 @DocsEditable |
| 341 static const int UNCACHED = 0; | 351 static const int UNCACHED = 0; |
| 342 | 352 |
| 353 @DomName('DOMApplicationCache.UPDATEREADY') |
| 354 @DocsEditable |
| 343 static const int UPDATEREADY = 4; | 355 static const int UPDATEREADY = 4; |
| 344 | 356 |
| 345 @DomName('DOMApplicationCache.status') | 357 @DomName('DOMApplicationCache.status') |
| 346 @DocsEditable | 358 @DocsEditable |
| 347 int get status native "DOMApplicationCache_status_Getter"; | 359 int get status native "DOMApplicationCache_status_Getter"; |
| 348 | 360 |
| 349 @DomName('DOMApplicationCache.abort') | 361 @DomName('DOMApplicationCache.abort') |
| 350 @DocsEditable | 362 @DocsEditable |
| 351 void abort() native "DOMApplicationCache_abort_Callback"; | 363 void abort() native "DOMApplicationCache_abort_Callback"; |
| 352 | 364 |
| (...skipping 2108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2461 // BSD-style license that can be found in the LICENSE file. | 2473 // BSD-style license that can be found in the LICENSE file. |
| 2462 | 2474 |
| 2463 // WARNING: Do not edit - generated code. | 2475 // WARNING: Do not edit - generated code. |
| 2464 | 2476 |
| 2465 | 2477 |
| 2466 @DocsEditable | 2478 @DocsEditable |
| 2467 @DomName('CSSRule') | 2479 @DomName('CSSRule') |
| 2468 class CssRule extends NativeFieldWrapperClass1 { | 2480 class CssRule extends NativeFieldWrapperClass1 { |
| 2469 CssRule.internal(); | 2481 CssRule.internal(); |
| 2470 | 2482 |
| 2483 @DomName('CSSRule.CHARSET_RULE') |
| 2484 @DocsEditable |
| 2471 static const int CHARSET_RULE = 2; | 2485 static const int CHARSET_RULE = 2; |
| 2472 | 2486 |
| 2487 @DomName('CSSRule.FONT_FACE_RULE') |
| 2488 @DocsEditable |
| 2473 static const int FONT_FACE_RULE = 5; | 2489 static const int FONT_FACE_RULE = 5; |
| 2474 | 2490 |
| 2491 @DomName('CSSRule.HOST_RULE') |
| 2492 @DocsEditable |
| 2475 static const int HOST_RULE = 1001; | 2493 static const int HOST_RULE = 1001; |
| 2476 | 2494 |
| 2495 @DomName('CSSRule.IMPORT_RULE') |
| 2496 @DocsEditable |
| 2477 static const int IMPORT_RULE = 3; | 2497 static const int IMPORT_RULE = 3; |
| 2478 | 2498 |
| 2499 @DomName('CSSRule.MEDIA_RULE') |
| 2500 @DocsEditable |
| 2479 static const int MEDIA_RULE = 4; | 2501 static const int MEDIA_RULE = 4; |
| 2480 | 2502 |
| 2503 @DomName('CSSRule.PAGE_RULE') |
| 2504 @DocsEditable |
| 2481 static const int PAGE_RULE = 6; | 2505 static const int PAGE_RULE = 6; |
| 2482 | 2506 |
| 2507 @DomName('CSSRule.STYLE_RULE') |
| 2508 @DocsEditable |
| 2483 static const int STYLE_RULE = 1; | 2509 static const int STYLE_RULE = 1; |
| 2484 | 2510 |
| 2511 @DomName('CSSRule.UNKNOWN_RULE') |
| 2512 @DocsEditable |
| 2485 static const int UNKNOWN_RULE = 0; | 2513 static const int UNKNOWN_RULE = 0; |
| 2486 | 2514 |
| 2515 @DomName('CSSRule.WEBKIT_FILTER_RULE') |
| 2516 @DocsEditable |
| 2487 static const int WEBKIT_FILTER_RULE = 17; | 2517 static const int WEBKIT_FILTER_RULE = 17; |
| 2488 | 2518 |
| 2519 @DomName('CSSRule.WEBKIT_KEYFRAMES_RULE') |
| 2520 @DocsEditable |
| 2489 static const int WEBKIT_KEYFRAMES_RULE = 7; | 2521 static const int WEBKIT_KEYFRAMES_RULE = 7; |
| 2490 | 2522 |
| 2523 @DomName('CSSRule.WEBKIT_KEYFRAME_RULE') |
| 2524 @DocsEditable |
| 2491 static const int WEBKIT_KEYFRAME_RULE = 8; | 2525 static const int WEBKIT_KEYFRAME_RULE = 8; |
| 2492 | 2526 |
| 2527 @DomName('CSSRule.WEBKIT_REGION_RULE') |
| 2528 @DocsEditable |
| 2493 static const int WEBKIT_REGION_RULE = 16; | 2529 static const int WEBKIT_REGION_RULE = 16; |
| 2494 | 2530 |
| 2495 @DomName('CSSRule.cssText') | 2531 @DomName('CSSRule.cssText') |
| 2496 @DocsEditable | 2532 @DocsEditable |
| 2497 String get cssText native "CSSRule_cssText_Getter"; | 2533 String get cssText native "CSSRule_cssText_Getter"; |
| 2498 | 2534 |
| 2499 @DomName('CSSRule.cssText') | 2535 @DomName('CSSRule.cssText') |
| 2500 @DocsEditable | 2536 @DocsEditable |
| 2501 void set cssText(String value) native "CSSRule_cssText_Setter"; | 2537 void set cssText(String value) native "CSSRule_cssText_Setter"; |
| 2502 | 2538 |
| (...skipping 5773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8276 String dropzone; | 8312 String dropzone; |
| 8277 | 8313 |
| 8278 void click(); | 8314 void click(); |
| 8279 | 8315 |
| 8280 Element insertAdjacentElement(String where, Element element); | 8316 Element insertAdjacentElement(String where, Element element); |
| 8281 | 8317 |
| 8282 void insertAdjacentHtml(String where, String html); | 8318 void insertAdjacentHtml(String where, String html); |
| 8283 | 8319 |
| 8284 void insertAdjacentText(String where, String text); | 8320 void insertAdjacentText(String where, String text); |
| 8285 | 8321 |
| 8322 @DomName('Element.ALLOW_KEYBOARD_INPUT') |
| 8323 @DocsEditable |
| 8286 static const int ALLOW_KEYBOARD_INPUT = 1; | 8324 static const int ALLOW_KEYBOARD_INPUT = 1; |
| 8287 | 8325 |
| 8288 @DomName('Element.attributes') | 8326 @DomName('Element.attributes') |
| 8289 @DocsEditable | 8327 @DocsEditable |
| 8290 _NamedNodeMap get $dom_attributes native "Element_attributes_Getter"; | 8328 _NamedNodeMap get $dom_attributes native "Element_attributes_Getter"; |
| 8291 | 8329 |
| 8292 @DomName('Element.childElementCount') | 8330 @DomName('Element.childElementCount') |
| 8293 @DocsEditable | 8331 @DocsEditable |
| 8294 int get $dom_childElementCount native "Element_childElementCount_Getter"; | 8332 int get $dom_childElementCount native "Element_childElementCount_Getter"; |
| 8295 | 8333 |
| (...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9210 * var e = new Event.type('MouseEvent', 'mousedown', true, true); | 9248 * var e = new Event.type('MouseEvent', 'mousedown', true, true); |
| 9211 */ | 9249 */ |
| 9212 factory Event.eventType(String type, String name, {bool canBubble: true, | 9250 factory Event.eventType(String type, String name, {bool canBubble: true, |
| 9213 bool cancelable: true}) { | 9251 bool cancelable: true}) { |
| 9214 final Event e = document.$dom_createEvent(type); | 9252 final Event e = document.$dom_createEvent(type); |
| 9215 e.$dom_initEvent(name, canBubble, cancelable); | 9253 e.$dom_initEvent(name, canBubble, cancelable); |
| 9216 return e; | 9254 return e; |
| 9217 } | 9255 } |
| 9218 Event.internal(); | 9256 Event.internal(); |
| 9219 | 9257 |
| 9258 @DomName('Event.AT_TARGET') |
| 9259 @DocsEditable |
| 9220 static const int AT_TARGET = 2; | 9260 static const int AT_TARGET = 2; |
| 9221 | 9261 |
| 9262 @DomName('Event.BLUR') |
| 9263 @DocsEditable |
| 9222 static const int BLUR = 8192; | 9264 static const int BLUR = 8192; |
| 9223 | 9265 |
| 9266 @DomName('Event.BUBBLING_PHASE') |
| 9267 @DocsEditable |
| 9224 static const int BUBBLING_PHASE = 3; | 9268 static const int BUBBLING_PHASE = 3; |
| 9225 | 9269 |
| 9270 @DomName('Event.CAPTURING_PHASE') |
| 9271 @DocsEditable |
| 9226 static const int CAPTURING_PHASE = 1; | 9272 static const int CAPTURING_PHASE = 1; |
| 9227 | 9273 |
| 9274 @DomName('Event.CHANGE') |
| 9275 @DocsEditable |
| 9228 static const int CHANGE = 32768; | 9276 static const int CHANGE = 32768; |
| 9229 | 9277 |
| 9278 @DomName('Event.CLICK') |
| 9279 @DocsEditable |
| 9230 static const int CLICK = 64; | 9280 static const int CLICK = 64; |
| 9231 | 9281 |
| 9282 @DomName('Event.DBLCLICK') |
| 9283 @DocsEditable |
| 9232 static const int DBLCLICK = 128; | 9284 static const int DBLCLICK = 128; |
| 9233 | 9285 |
| 9286 @DomName('Event.DRAGDROP') |
| 9287 @DocsEditable |
| 9234 static const int DRAGDROP = 2048; | 9288 static const int DRAGDROP = 2048; |
| 9235 | 9289 |
| 9290 @DomName('Event.FOCUS') |
| 9291 @DocsEditable |
| 9236 static const int FOCUS = 4096; | 9292 static const int FOCUS = 4096; |
| 9237 | 9293 |
| 9294 @DomName('Event.KEYDOWN') |
| 9295 @DocsEditable |
| 9238 static const int KEYDOWN = 256; | 9296 static const int KEYDOWN = 256; |
| 9239 | 9297 |
| 9298 @DomName('Event.KEYPRESS') |
| 9299 @DocsEditable |
| 9240 static const int KEYPRESS = 1024; | 9300 static const int KEYPRESS = 1024; |
| 9241 | 9301 |
| 9302 @DomName('Event.KEYUP') |
| 9303 @DocsEditable |
| 9242 static const int KEYUP = 512; | 9304 static const int KEYUP = 512; |
| 9243 | 9305 |
| 9306 @DomName('Event.MOUSEDOWN') |
| 9307 @DocsEditable |
| 9244 static const int MOUSEDOWN = 1; | 9308 static const int MOUSEDOWN = 1; |
| 9245 | 9309 |
| 9310 @DomName('Event.MOUSEDRAG') |
| 9311 @DocsEditable |
| 9246 static const int MOUSEDRAG = 32; | 9312 static const int MOUSEDRAG = 32; |
| 9247 | 9313 |
| 9314 @DomName('Event.MOUSEMOVE') |
| 9315 @DocsEditable |
| 9248 static const int MOUSEMOVE = 16; | 9316 static const int MOUSEMOVE = 16; |
| 9249 | 9317 |
| 9318 @DomName('Event.MOUSEOUT') |
| 9319 @DocsEditable |
| 9250 static const int MOUSEOUT = 8; | 9320 static const int MOUSEOUT = 8; |
| 9251 | 9321 |
| 9322 @DomName('Event.MOUSEOVER') |
| 9323 @DocsEditable |
| 9252 static const int MOUSEOVER = 4; | 9324 static const int MOUSEOVER = 4; |
| 9253 | 9325 |
| 9326 @DomName('Event.MOUSEUP') |
| 9327 @DocsEditable |
| 9254 static const int MOUSEUP = 2; | 9328 static const int MOUSEUP = 2; |
| 9255 | 9329 |
| 9330 @DomName('Event.NONE') |
| 9331 @DocsEditable |
| 9256 static const int NONE = 0; | 9332 static const int NONE = 0; |
| 9257 | 9333 |
| 9334 @DomName('Event.SELECT') |
| 9335 @DocsEditable |
| 9258 static const int SELECT = 16384; | 9336 static const int SELECT = 16384; |
| 9259 | 9337 |
| 9260 @DomName('Event.bubbles') | 9338 @DomName('Event.bubbles') |
| 9261 @DocsEditable | 9339 @DocsEditable |
| 9262 bool get bubbles native "Event_bubbles_Getter"; | 9340 bool get bubbles native "Event_bubbles_Getter"; |
| 9263 | 9341 |
| 9264 @DomName('Event.cancelBubble') | 9342 @DomName('Event.cancelBubble') |
| 9265 @DocsEditable | 9343 @DocsEditable |
| 9266 bool get cancelBubble native "Event_cancelBubble_Getter"; | 9344 bool get cancelBubble native "Event_cancelBubble_Getter"; |
| 9267 | 9345 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9326 // BSD-style license that can be found in the LICENSE file. | 9404 // BSD-style license that can be found in the LICENSE file. |
| 9327 | 9405 |
| 9328 // WARNING: Do not edit - generated code. | 9406 // WARNING: Do not edit - generated code. |
| 9329 | 9407 |
| 9330 | 9408 |
| 9331 @DocsEditable | 9409 @DocsEditable |
| 9332 @DomName('EventException') | 9410 @DomName('EventException') |
| 9333 class EventException extends NativeFieldWrapperClass1 { | 9411 class EventException extends NativeFieldWrapperClass1 { |
| 9334 EventException.internal(); | 9412 EventException.internal(); |
| 9335 | 9413 |
| 9414 @DomName('EventException.DISPATCH_REQUEST_ERR') |
| 9415 @DocsEditable |
| 9336 static const int DISPATCH_REQUEST_ERR = 1; | 9416 static const int DISPATCH_REQUEST_ERR = 1; |
| 9337 | 9417 |
| 9418 @DomName('EventException.UNSPECIFIED_EVENT_TYPE_ERR') |
| 9419 @DocsEditable |
| 9338 static const int UNSPECIFIED_EVENT_TYPE_ERR = 0; | 9420 static const int UNSPECIFIED_EVENT_TYPE_ERR = 0; |
| 9339 | 9421 |
| 9340 @DomName('EventException.code') | 9422 @DomName('EventException.code') |
| 9341 @DocsEditable | 9423 @DocsEditable |
| 9342 int get code native "EventException_code_Getter"; | 9424 int get code native "EventException_code_Getter"; |
| 9343 | 9425 |
| 9344 @DomName('EventException.message') | 9426 @DomName('EventException.message') |
| 9345 @DocsEditable | 9427 @DocsEditable |
| 9346 String get message native "EventException_message_Getter"; | 9428 String get message native "EventException_message_Getter"; |
| 9347 | 9429 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9383 | 9465 |
| 9384 @DomName('EventSource.EventSource') | 9466 @DomName('EventSource.EventSource') |
| 9385 @DocsEditable | 9467 @DocsEditable |
| 9386 static EventSource _factoryEventSource(String url, [Map eventSourceInit]) { | 9468 static EventSource _factoryEventSource(String url, [Map eventSourceInit]) { |
| 9387 return EventSource._create_1(url, eventSourceInit); | 9469 return EventSource._create_1(url, eventSourceInit); |
| 9388 } | 9470 } |
| 9389 | 9471 |
| 9390 @DocsEditable | 9472 @DocsEditable |
| 9391 static EventSource _create_1(url, eventSourceInit) native "EventSource__create
_1constructorCallback"; | 9473 static EventSource _create_1(url, eventSourceInit) native "EventSource__create
_1constructorCallback"; |
| 9392 | 9474 |
| 9475 @DomName('EventSource.CLOSED') |
| 9476 @DocsEditable |
| 9393 static const int CLOSED = 2; | 9477 static const int CLOSED = 2; |
| 9394 | 9478 |
| 9479 @DomName('EventSource.CONNECTING') |
| 9480 @DocsEditable |
| 9395 static const int CONNECTING = 0; | 9481 static const int CONNECTING = 0; |
| 9396 | 9482 |
| 9483 @DomName('EventSource.OPEN') |
| 9484 @DocsEditable |
| 9397 static const int OPEN = 1; | 9485 static const int OPEN = 1; |
| 9398 | 9486 |
| 9399 @DomName('EventSource.readyState') | 9487 @DomName('EventSource.readyState') |
| 9400 @DocsEditable | 9488 @DocsEditable |
| 9401 int get readyState native "EventSource_readyState_Getter"; | 9489 int get readyState native "EventSource_readyState_Getter"; |
| 9402 | 9490 |
| 9403 @DomName('EventSource.url') | 9491 @DomName('EventSource.url') |
| 9404 @DocsEditable | 9492 @DocsEditable |
| 9405 String get url native "EventSource_url_Getter"; | 9493 String get url native "EventSource_url_Getter"; |
| 9406 | 9494 |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9662 // BSD-style license that can be found in the LICENSE file. | 9750 // BSD-style license that can be found in the LICENSE file. |
| 9663 | 9751 |
| 9664 // WARNING: Do not edit - generated code. | 9752 // WARNING: Do not edit - generated code. |
| 9665 | 9753 |
| 9666 | 9754 |
| 9667 @DocsEditable | 9755 @DocsEditable |
| 9668 @DomName('FileError') | 9756 @DomName('FileError') |
| 9669 class FileError extends NativeFieldWrapperClass1 { | 9757 class FileError extends NativeFieldWrapperClass1 { |
| 9670 FileError.internal(); | 9758 FileError.internal(); |
| 9671 | 9759 |
| 9760 @DomName('FileError.ABORT_ERR') |
| 9761 @DocsEditable |
| 9672 static const int ABORT_ERR = 3; | 9762 static const int ABORT_ERR = 3; |
| 9673 | 9763 |
| 9764 @DomName('FileError.ENCODING_ERR') |
| 9765 @DocsEditable |
| 9674 static const int ENCODING_ERR = 5; | 9766 static const int ENCODING_ERR = 5; |
| 9675 | 9767 |
| 9768 @DomName('FileError.INVALID_MODIFICATION_ERR') |
| 9769 @DocsEditable |
| 9676 static const int INVALID_MODIFICATION_ERR = 9; | 9770 static const int INVALID_MODIFICATION_ERR = 9; |
| 9677 | 9771 |
| 9772 @DomName('FileError.INVALID_STATE_ERR') |
| 9773 @DocsEditable |
| 9678 static const int INVALID_STATE_ERR = 7; | 9774 static const int INVALID_STATE_ERR = 7; |
| 9679 | 9775 |
| 9776 @DomName('FileError.NOT_FOUND_ERR') |
| 9777 @DocsEditable |
| 9680 static const int NOT_FOUND_ERR = 1; | 9778 static const int NOT_FOUND_ERR = 1; |
| 9681 | 9779 |
| 9780 @DomName('FileError.NOT_READABLE_ERR') |
| 9781 @DocsEditable |
| 9682 static const int NOT_READABLE_ERR = 4; | 9782 static const int NOT_READABLE_ERR = 4; |
| 9683 | 9783 |
| 9784 @DomName('FileError.NO_MODIFICATION_ALLOWED_ERR') |
| 9785 @DocsEditable |
| 9684 static const int NO_MODIFICATION_ALLOWED_ERR = 6; | 9786 static const int NO_MODIFICATION_ALLOWED_ERR = 6; |
| 9685 | 9787 |
| 9788 @DomName('FileError.PATH_EXISTS_ERR') |
| 9789 @DocsEditable |
| 9686 static const int PATH_EXISTS_ERR = 12; | 9790 static const int PATH_EXISTS_ERR = 12; |
| 9687 | 9791 |
| 9792 @DomName('FileError.QUOTA_EXCEEDED_ERR') |
| 9793 @DocsEditable |
| 9688 static const int QUOTA_EXCEEDED_ERR = 10; | 9794 static const int QUOTA_EXCEEDED_ERR = 10; |
| 9689 | 9795 |
| 9796 @DomName('FileError.SECURITY_ERR') |
| 9797 @DocsEditable |
| 9690 static const int SECURITY_ERR = 2; | 9798 static const int SECURITY_ERR = 2; |
| 9691 | 9799 |
| 9800 @DomName('FileError.SYNTAX_ERR') |
| 9801 @DocsEditable |
| 9692 static const int SYNTAX_ERR = 8; | 9802 static const int SYNTAX_ERR = 8; |
| 9693 | 9803 |
| 9804 @DomName('FileError.TYPE_MISMATCH_ERR') |
| 9805 @DocsEditable |
| 9694 static const int TYPE_MISMATCH_ERR = 11; | 9806 static const int TYPE_MISMATCH_ERR = 11; |
| 9695 | 9807 |
| 9696 @DomName('FileError.code') | 9808 @DomName('FileError.code') |
| 9697 @DocsEditable | 9809 @DocsEditable |
| 9698 int get code native "FileError_code_Getter"; | 9810 int get code native "FileError_code_Getter"; |
| 9699 | 9811 |
| 9700 } | 9812 } |
| 9701 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 9813 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 9702 // for details. All rights reserved. Use of this source code is governed by a | 9814 // for details. All rights reserved. Use of this source code is governed by a |
| 9703 // BSD-style license that can be found in the LICENSE file. | 9815 // BSD-style license that can be found in the LICENSE file. |
| 9704 | 9816 |
| 9705 // WARNING: Do not edit - generated code. | 9817 // WARNING: Do not edit - generated code. |
| 9706 | 9818 |
| 9707 | 9819 |
| 9708 @DocsEditable | 9820 @DocsEditable |
| 9709 @DomName('FileException') | 9821 @DomName('FileException') |
| 9710 class FileException extends NativeFieldWrapperClass1 { | 9822 class FileException extends NativeFieldWrapperClass1 { |
| 9711 FileException.internal(); | 9823 FileException.internal(); |
| 9712 | 9824 |
| 9825 @DomName('FileException.ABORT_ERR') |
| 9826 @DocsEditable |
| 9713 static const int ABORT_ERR = 3; | 9827 static const int ABORT_ERR = 3; |
| 9714 | 9828 |
| 9829 @DomName('FileException.ENCODING_ERR') |
| 9830 @DocsEditable |
| 9715 static const int ENCODING_ERR = 5; | 9831 static const int ENCODING_ERR = 5; |
| 9716 | 9832 |
| 9833 @DomName('FileException.INVALID_MODIFICATION_ERR') |
| 9834 @DocsEditable |
| 9717 static const int INVALID_MODIFICATION_ERR = 9; | 9835 static const int INVALID_MODIFICATION_ERR = 9; |
| 9718 | 9836 |
| 9837 @DomName('FileException.INVALID_STATE_ERR') |
| 9838 @DocsEditable |
| 9719 static const int INVALID_STATE_ERR = 7; | 9839 static const int INVALID_STATE_ERR = 7; |
| 9720 | 9840 |
| 9841 @DomName('FileException.NOT_FOUND_ERR') |
| 9842 @DocsEditable |
| 9721 static const int NOT_FOUND_ERR = 1; | 9843 static const int NOT_FOUND_ERR = 1; |
| 9722 | 9844 |
| 9845 @DomName('FileException.NOT_READABLE_ERR') |
| 9846 @DocsEditable |
| 9723 static const int NOT_READABLE_ERR = 4; | 9847 static const int NOT_READABLE_ERR = 4; |
| 9724 | 9848 |
| 9849 @DomName('FileException.NO_MODIFICATION_ALLOWED_ERR') |
| 9850 @DocsEditable |
| 9725 static const int NO_MODIFICATION_ALLOWED_ERR = 6; | 9851 static const int NO_MODIFICATION_ALLOWED_ERR = 6; |
| 9726 | 9852 |
| 9853 @DomName('FileException.PATH_EXISTS_ERR') |
| 9854 @DocsEditable |
| 9727 static const int PATH_EXISTS_ERR = 12; | 9855 static const int PATH_EXISTS_ERR = 12; |
| 9728 | 9856 |
| 9857 @DomName('FileException.QUOTA_EXCEEDED_ERR') |
| 9858 @DocsEditable |
| 9729 static const int QUOTA_EXCEEDED_ERR = 10; | 9859 static const int QUOTA_EXCEEDED_ERR = 10; |
| 9730 | 9860 |
| 9861 @DomName('FileException.SECURITY_ERR') |
| 9862 @DocsEditable |
| 9731 static const int SECURITY_ERR = 2; | 9863 static const int SECURITY_ERR = 2; |
| 9732 | 9864 |
| 9865 @DomName('FileException.SYNTAX_ERR') |
| 9866 @DocsEditable |
| 9733 static const int SYNTAX_ERR = 8; | 9867 static const int SYNTAX_ERR = 8; |
| 9734 | 9868 |
| 9869 @DomName('FileException.TYPE_MISMATCH_ERR') |
| 9870 @DocsEditable |
| 9735 static const int TYPE_MISMATCH_ERR = 11; | 9871 static const int TYPE_MISMATCH_ERR = 11; |
| 9736 | 9872 |
| 9737 @DomName('FileException.code') | 9873 @DomName('FileException.code') |
| 9738 @DocsEditable | 9874 @DocsEditable |
| 9739 int get code native "FileException_code_Getter"; | 9875 int get code native "FileException_code_Getter"; |
| 9740 | 9876 |
| 9741 @DomName('FileException.message') | 9877 @DomName('FileException.message') |
| 9742 @DocsEditable | 9878 @DocsEditable |
| 9743 String get message native "FileException_message_Getter"; | 9879 String get message native "FileException_message_Getter"; |
| 9744 | 9880 |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9825 | 9961 |
| 9826 @DomName('FileReader.FileReader') | 9962 @DomName('FileReader.FileReader') |
| 9827 @DocsEditable | 9963 @DocsEditable |
| 9828 factory FileReader() { | 9964 factory FileReader() { |
| 9829 return FileReader._create_1(); | 9965 return FileReader._create_1(); |
| 9830 } | 9966 } |
| 9831 | 9967 |
| 9832 @DocsEditable | 9968 @DocsEditable |
| 9833 static FileReader _create_1() native "FileReader__create_1constructorCallback"
; | 9969 static FileReader _create_1() native "FileReader__create_1constructorCallback"
; |
| 9834 | 9970 |
| 9971 @DomName('FileReader.DONE') |
| 9972 @DocsEditable |
| 9835 static const int DONE = 2; | 9973 static const int DONE = 2; |
| 9836 | 9974 |
| 9975 @DomName('FileReader.EMPTY') |
| 9976 @DocsEditable |
| 9837 static const int EMPTY = 0; | 9977 static const int EMPTY = 0; |
| 9838 | 9978 |
| 9979 @DomName('FileReader.LOADING') |
| 9980 @DocsEditable |
| 9839 static const int LOADING = 1; | 9981 static const int LOADING = 1; |
| 9840 | 9982 |
| 9841 @DomName('FileReader.error') | 9983 @DomName('FileReader.error') |
| 9842 @DocsEditable | 9984 @DocsEditable |
| 9843 FileError get error native "FileReader_error_Getter"; | 9985 FileError get error native "FileReader_error_Getter"; |
| 9844 | 9986 |
| 9845 @DomName('FileReader.readyState') | 9987 @DomName('FileReader.readyState') |
| 9846 @DocsEditable | 9988 @DocsEditable |
| 9847 int get readyState native "FileReader_readyState_Getter"; | 9989 int get readyState native "FileReader_readyState_Getter"; |
| 9848 | 9990 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9979 static const EventStreamProvider<ProgressEvent> writeEvent = const EventStream
Provider<ProgressEvent>('write'); | 10121 static const EventStreamProvider<ProgressEvent> writeEvent = const EventStream
Provider<ProgressEvent>('write'); |
| 9980 | 10122 |
| 9981 @DomName('FileWriter.writeendEvent') | 10123 @DomName('FileWriter.writeendEvent') |
| 9982 @DocsEditable | 10124 @DocsEditable |
| 9983 static const EventStreamProvider<ProgressEvent> writeEndEvent = const EventStr
eamProvider<ProgressEvent>('writeend'); | 10125 static const EventStreamProvider<ProgressEvent> writeEndEvent = const EventStr
eamProvider<ProgressEvent>('writeend'); |
| 9984 | 10126 |
| 9985 @DomName('FileWriter.writestartEvent') | 10127 @DomName('FileWriter.writestartEvent') |
| 9986 @DocsEditable | 10128 @DocsEditable |
| 9987 static const EventStreamProvider<ProgressEvent> writeStartEvent = const EventS
treamProvider<ProgressEvent>('writestart'); | 10129 static const EventStreamProvider<ProgressEvent> writeStartEvent = const EventS
treamProvider<ProgressEvent>('writestart'); |
| 9988 | 10130 |
| 10131 @DomName('FileWriter.DONE') |
| 10132 @DocsEditable |
| 9989 static const int DONE = 2; | 10133 static const int DONE = 2; |
| 9990 | 10134 |
| 10135 @DomName('FileWriter.INIT') |
| 10136 @DocsEditable |
| 9991 static const int INIT = 0; | 10137 static const int INIT = 0; |
| 9992 | 10138 |
| 10139 @DomName('FileWriter.WRITING') |
| 10140 @DocsEditable |
| 9993 static const int WRITING = 1; | 10141 static const int WRITING = 1; |
| 9994 | 10142 |
| 9995 @DomName('FileWriter.error') | 10143 @DomName('FileWriter.error') |
| 9996 @DocsEditable | 10144 @DocsEditable |
| 9997 FileError get error native "FileWriter_error_Getter"; | 10145 FileError get error native "FileWriter_error_Getter"; |
| 9998 | 10146 |
| 9999 @DomName('FileWriter.length') | 10147 @DomName('FileWriter.length') |
| 10000 @DocsEditable | 10148 @DocsEditable |
| 10001 int get length native "FileWriter_length_Getter"; | 10149 int get length native "FileWriter_length_Getter"; |
| 10002 | 10150 |
| (...skipping 1077 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11080 static const EventStreamProvider<ProgressEvent> progressEvent = const EventStr
eamProvider<ProgressEvent>('progress'); | 11228 static const EventStreamProvider<ProgressEvent> progressEvent = const EventStr
eamProvider<ProgressEvent>('progress'); |
| 11081 | 11229 |
| 11082 @DomName('XMLHttpRequest.readystatechangeEvent') | 11230 @DomName('XMLHttpRequest.readystatechangeEvent') |
| 11083 @DocsEditable | 11231 @DocsEditable |
| 11084 static const EventStreamProvider<ProgressEvent> readyStateChangeEvent = const
EventStreamProvider<ProgressEvent>('readystatechange'); | 11232 static const EventStreamProvider<ProgressEvent> readyStateChangeEvent = const
EventStreamProvider<ProgressEvent>('readystatechange'); |
| 11085 factory HttpRequest() => _create(); | 11233 factory HttpRequest() => _create(); |
| 11086 | 11234 |
| 11087 @DocsEditable | 11235 @DocsEditable |
| 11088 static HttpRequest _create() native "XMLHttpRequest_constructorCallback"; | 11236 static HttpRequest _create() native "XMLHttpRequest_constructorCallback"; |
| 11089 | 11237 |
| 11238 @DomName('XMLHttpRequest.DONE') |
| 11239 @DocsEditable |
| 11090 static const int DONE = 4; | 11240 static const int DONE = 4; |
| 11091 | 11241 |
| 11242 @DomName('XMLHttpRequest.HEADERS_RECEIVED') |
| 11243 @DocsEditable |
| 11092 static const int HEADERS_RECEIVED = 2; | 11244 static const int HEADERS_RECEIVED = 2; |
| 11093 | 11245 |
| 11246 @DomName('XMLHttpRequest.LOADING') |
| 11247 @DocsEditable |
| 11094 static const int LOADING = 3; | 11248 static const int LOADING = 3; |
| 11095 | 11249 |
| 11250 @DomName('XMLHttpRequest.OPENED') |
| 11251 @DocsEditable |
| 11096 static const int OPENED = 1; | 11252 static const int OPENED = 1; |
| 11097 | 11253 |
| 11254 @DomName('XMLHttpRequest.UNSENT') |
| 11255 @DocsEditable |
| 11098 static const int UNSENT = 0; | 11256 static const int UNSENT = 0; |
| 11099 | 11257 |
| 11100 /** | 11258 /** |
| 11101 * Indicator of the current state of the request: | 11259 * Indicator of the current state of the request: |
| 11102 * | 11260 * |
| 11103 * <table> | 11261 * <table> |
| 11104 * <tr> | 11262 * <tr> |
| 11105 * <td>Value</td> | 11263 * <td>Value</td> |
| 11106 * <td>State</td> | 11264 * <td>State</td> |
| 11107 * <td>Meaning</td> | 11265 * <td>Meaning</td> |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11399 // BSD-style license that can be found in the LICENSE file. | 11557 // BSD-style license that can be found in the LICENSE file. |
| 11400 | 11558 |
| 11401 // WARNING: Do not edit - generated code. | 11559 // WARNING: Do not edit - generated code. |
| 11402 | 11560 |
| 11403 | 11561 |
| 11404 @DocsEditable | 11562 @DocsEditable |
| 11405 @DomName('XMLHttpRequestException') | 11563 @DomName('XMLHttpRequestException') |
| 11406 class HttpRequestException extends NativeFieldWrapperClass1 { | 11564 class HttpRequestException extends NativeFieldWrapperClass1 { |
| 11407 HttpRequestException.internal(); | 11565 HttpRequestException.internal(); |
| 11408 | 11566 |
| 11567 @DomName('XMLHttpRequestException.ABORT_ERR') |
| 11568 @DocsEditable |
| 11409 static const int ABORT_ERR = 102; | 11569 static const int ABORT_ERR = 102; |
| 11410 | 11570 |
| 11571 @DomName('XMLHttpRequestException.NETWORK_ERR') |
| 11572 @DocsEditable |
| 11411 static const int NETWORK_ERR = 101; | 11573 static const int NETWORK_ERR = 101; |
| 11412 | 11574 |
| 11413 @DomName('XMLHttpRequestException.code') | 11575 @DomName('XMLHttpRequestException.code') |
| 11414 @DocsEditable | 11576 @DocsEditable |
| 11415 int get code native "XMLHttpRequestException_code_Getter"; | 11577 int get code native "XMLHttpRequestException_code_Getter"; |
| 11416 | 11578 |
| 11417 @DomName('XMLHttpRequestException.message') | 11579 @DomName('XMLHttpRequestException.message') |
| 11418 @DocsEditable | 11580 @DocsEditable |
| 11419 String get message native "XMLHttpRequestException_message_Getter"; | 11581 String get message native "XMLHttpRequestException_message_Getter"; |
| 11420 | 11582 |
| (...skipping 2133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13554 @Experimental | 13716 @Experimental |
| 13555 static const EventStreamProvider<MediaKeyEvent> keyMessageEvent = const EventS
treamProvider<MediaKeyEvent>('webkitkeymessage'); | 13717 static const EventStreamProvider<MediaKeyEvent> keyMessageEvent = const EventS
treamProvider<MediaKeyEvent>('webkitkeymessage'); |
| 13556 | 13718 |
| 13557 @DomName('HTMLMediaElement.webkitneedkeyEvent') | 13719 @DomName('HTMLMediaElement.webkitneedkeyEvent') |
| 13558 @DocsEditable | 13720 @DocsEditable |
| 13559 @SupportedBrowser(SupportedBrowser.CHROME) | 13721 @SupportedBrowser(SupportedBrowser.CHROME) |
| 13560 @SupportedBrowser(SupportedBrowser.SAFARI) | 13722 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 13561 @Experimental | 13723 @Experimental |
| 13562 static const EventStreamProvider<MediaKeyEvent> needKeyEvent = const EventStre
amProvider<MediaKeyEvent>('webkitneedkey'); | 13724 static const EventStreamProvider<MediaKeyEvent> needKeyEvent = const EventStre
amProvider<MediaKeyEvent>('webkitneedkey'); |
| 13563 | 13725 |
| 13726 @DomName('HTMLMediaElement.HAVE_CURRENT_DATA') |
| 13727 @DocsEditable |
| 13564 static const int HAVE_CURRENT_DATA = 2; | 13728 static const int HAVE_CURRENT_DATA = 2; |
| 13565 | 13729 |
| 13730 @DomName('HTMLMediaElement.HAVE_ENOUGH_DATA') |
| 13731 @DocsEditable |
| 13566 static const int HAVE_ENOUGH_DATA = 4; | 13732 static const int HAVE_ENOUGH_DATA = 4; |
| 13567 | 13733 |
| 13734 @DomName('HTMLMediaElement.HAVE_FUTURE_DATA') |
| 13735 @DocsEditable |
| 13568 static const int HAVE_FUTURE_DATA = 3; | 13736 static const int HAVE_FUTURE_DATA = 3; |
| 13569 | 13737 |
| 13738 @DomName('HTMLMediaElement.HAVE_METADATA') |
| 13739 @DocsEditable |
| 13570 static const int HAVE_METADATA = 1; | 13740 static const int HAVE_METADATA = 1; |
| 13571 | 13741 |
| 13742 @DomName('HTMLMediaElement.HAVE_NOTHING') |
| 13743 @DocsEditable |
| 13572 static const int HAVE_NOTHING = 0; | 13744 static const int HAVE_NOTHING = 0; |
| 13573 | 13745 |
| 13746 @DomName('HTMLMediaElement.NETWORK_EMPTY') |
| 13747 @DocsEditable |
| 13574 static const int NETWORK_EMPTY = 0; | 13748 static const int NETWORK_EMPTY = 0; |
| 13575 | 13749 |
| 13750 @DomName('HTMLMediaElement.NETWORK_IDLE') |
| 13751 @DocsEditable |
| 13576 static const int NETWORK_IDLE = 1; | 13752 static const int NETWORK_IDLE = 1; |
| 13577 | 13753 |
| 13754 @DomName('HTMLMediaElement.NETWORK_LOADING') |
| 13755 @DocsEditable |
| 13578 static const int NETWORK_LOADING = 2; | 13756 static const int NETWORK_LOADING = 2; |
| 13579 | 13757 |
| 13758 @DomName('HTMLMediaElement.NETWORK_NO_SOURCE') |
| 13759 @DocsEditable |
| 13580 static const int NETWORK_NO_SOURCE = 3; | 13760 static const int NETWORK_NO_SOURCE = 3; |
| 13581 | 13761 |
| 13582 @DomName('HTMLMediaElement.autoplay') | 13762 @DomName('HTMLMediaElement.autoplay') |
| 13583 @DocsEditable | 13763 @DocsEditable |
| 13584 bool get autoplay native "HTMLMediaElement_autoplay_Getter"; | 13764 bool get autoplay native "HTMLMediaElement_autoplay_Getter"; |
| 13585 | 13765 |
| 13586 @DomName('HTMLMediaElement.autoplay') | 13766 @DomName('HTMLMediaElement.autoplay') |
| 13587 @DocsEditable | 13767 @DocsEditable |
| 13588 void set autoplay(bool value) native "HTMLMediaElement_autoplay_Setter"; | 13768 void set autoplay(bool value) native "HTMLMediaElement_autoplay_Setter"; |
| 13589 | 13769 |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13959 // BSD-style license that can be found in the LICENSE file. | 14139 // BSD-style license that can be found in the LICENSE file. |
| 13960 | 14140 |
| 13961 // WARNING: Do not edit - generated code. | 14141 // WARNING: Do not edit - generated code. |
| 13962 | 14142 |
| 13963 | 14143 |
| 13964 @DocsEditable | 14144 @DocsEditable |
| 13965 @DomName('MediaError') | 14145 @DomName('MediaError') |
| 13966 class MediaError extends NativeFieldWrapperClass1 { | 14146 class MediaError extends NativeFieldWrapperClass1 { |
| 13967 MediaError.internal(); | 14147 MediaError.internal(); |
| 13968 | 14148 |
| 14149 @DomName('MediaError.MEDIA_ERR_ABORTED') |
| 14150 @DocsEditable |
| 13969 static const int MEDIA_ERR_ABORTED = 1; | 14151 static const int MEDIA_ERR_ABORTED = 1; |
| 13970 | 14152 |
| 14153 @DomName('MediaError.MEDIA_ERR_DECODE') |
| 14154 @DocsEditable |
| 13971 static const int MEDIA_ERR_DECODE = 3; | 14155 static const int MEDIA_ERR_DECODE = 3; |
| 13972 | 14156 |
| 14157 @DomName('MediaError.MEDIA_ERR_ENCRYPTED') |
| 14158 @DocsEditable |
| 13973 static const int MEDIA_ERR_ENCRYPTED = 5; | 14159 static const int MEDIA_ERR_ENCRYPTED = 5; |
| 13974 | 14160 |
| 14161 @DomName('MediaError.MEDIA_ERR_NETWORK') |
| 14162 @DocsEditable |
| 13975 static const int MEDIA_ERR_NETWORK = 2; | 14163 static const int MEDIA_ERR_NETWORK = 2; |
| 13976 | 14164 |
| 14165 @DomName('MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED') |
| 14166 @DocsEditable |
| 13977 static const int MEDIA_ERR_SRC_NOT_SUPPORTED = 4; | 14167 static const int MEDIA_ERR_SRC_NOT_SUPPORTED = 4; |
| 13978 | 14168 |
| 13979 @DomName('MediaError.code') | 14169 @DomName('MediaError.code') |
| 13980 @DocsEditable | 14170 @DocsEditable |
| 13981 int get code native "MediaError_code_Getter"; | 14171 int get code native "MediaError_code_Getter"; |
| 13982 | 14172 |
| 13983 } | 14173 } |
| 13984 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14174 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 13985 // for details. All rights reserved. Use of this source code is governed by a | 14175 // for details. All rights reserved. Use of this source code is governed by a |
| 13986 // BSD-style license that can be found in the LICENSE file. | 14176 // BSD-style license that can be found in the LICENSE file. |
| 13987 | 14177 |
| 13988 // WARNING: Do not edit - generated code. | 14178 // WARNING: Do not edit - generated code. |
| 13989 | 14179 |
| 13990 | 14180 |
| 13991 @DocsEditable | 14181 @DocsEditable |
| 13992 @DomName('MediaKeyError') | 14182 @DomName('MediaKeyError') |
| 13993 class MediaKeyError extends NativeFieldWrapperClass1 { | 14183 class MediaKeyError extends NativeFieldWrapperClass1 { |
| 13994 MediaKeyError.internal(); | 14184 MediaKeyError.internal(); |
| 13995 | 14185 |
| 14186 @DomName('MediaKeyError.MEDIA_KEYERR_CLIENT') |
| 14187 @DocsEditable |
| 13996 static const int MEDIA_KEYERR_CLIENT = 2; | 14188 static const int MEDIA_KEYERR_CLIENT = 2; |
| 13997 | 14189 |
| 14190 @DomName('MediaKeyError.MEDIA_KEYERR_DOMAIN') |
| 14191 @DocsEditable |
| 13998 static const int MEDIA_KEYERR_DOMAIN = 6; | 14192 static const int MEDIA_KEYERR_DOMAIN = 6; |
| 13999 | 14193 |
| 14194 @DomName('MediaKeyError.MEDIA_KEYERR_HARDWARECHANGE') |
| 14195 @DocsEditable |
| 14000 static const int MEDIA_KEYERR_HARDWARECHANGE = 5; | 14196 static const int MEDIA_KEYERR_HARDWARECHANGE = 5; |
| 14001 | 14197 |
| 14198 @DomName('MediaKeyError.MEDIA_KEYERR_OUTPUT') |
| 14199 @DocsEditable |
| 14002 static const int MEDIA_KEYERR_OUTPUT = 4; | 14200 static const int MEDIA_KEYERR_OUTPUT = 4; |
| 14003 | 14201 |
| 14202 @DomName('MediaKeyError.MEDIA_KEYERR_SERVICE') |
| 14203 @DocsEditable |
| 14004 static const int MEDIA_KEYERR_SERVICE = 3; | 14204 static const int MEDIA_KEYERR_SERVICE = 3; |
| 14005 | 14205 |
| 14206 @DomName('MediaKeyError.MEDIA_KEYERR_UNKNOWN') |
| 14207 @DocsEditable |
| 14006 static const int MEDIA_KEYERR_UNKNOWN = 1; | 14208 static const int MEDIA_KEYERR_UNKNOWN = 1; |
| 14007 | 14209 |
| 14008 @DomName('MediaKeyError.code') | 14210 @DomName('MediaKeyError.code') |
| 14009 @DocsEditable | 14211 @DocsEditable |
| 14010 int get code native "MediaKeyError_code_Getter"; | 14212 int get code native "MediaKeyError_code_Getter"; |
| 14011 | 14213 |
| 14012 } | 14214 } |
| 14013 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14215 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14014 // for details. All rights reserved. Use of this source code is governed by a | 14216 // for details. All rights reserved. Use of this source code is governed by a |
| 14015 // BSD-style license that can be found in the LICENSE file. | 14217 // BSD-style license that can be found in the LICENSE file. |
| (...skipping 994 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15010 {bool canBubble: false, bool cancelable: false, Node relatedNode, | 15212 {bool canBubble: false, bool cancelable: false, Node relatedNode, |
| 15011 String prevValue, String newValue, String attrName, int attrChange: 0}) { | 15213 String prevValue, String newValue, String attrName, int attrChange: 0}) { |
| 15012 | 15214 |
| 15013 var event = document.$dom_createEvent('MutationEvent'); | 15215 var event = document.$dom_createEvent('MutationEvent'); |
| 15014 event.$dom_initMutationEvent(type, canBubble, cancelable, relatedNode, | 15216 event.$dom_initMutationEvent(type, canBubble, cancelable, relatedNode, |
| 15015 prevValue, newValue, attrName, attrChange); | 15217 prevValue, newValue, attrName, attrChange); |
| 15016 return event; | 15218 return event; |
| 15017 } | 15219 } |
| 15018 MutationEvent.internal() : super.internal(); | 15220 MutationEvent.internal() : super.internal(); |
| 15019 | 15221 |
| 15222 @DomName('MutationEvent.ADDITION') |
| 15223 @DocsEditable |
| 15020 static const int ADDITION = 2; | 15224 static const int ADDITION = 2; |
| 15021 | 15225 |
| 15226 @DomName('MutationEvent.MODIFICATION') |
| 15227 @DocsEditable |
| 15022 static const int MODIFICATION = 1; | 15228 static const int MODIFICATION = 1; |
| 15023 | 15229 |
| 15230 @DomName('MutationEvent.REMOVAL') |
| 15231 @DocsEditable |
| 15024 static const int REMOVAL = 3; | 15232 static const int REMOVAL = 3; |
| 15025 | 15233 |
| 15026 @DomName('MutationEvent.attrChange') | 15234 @DomName('MutationEvent.attrChange') |
| 15027 @DocsEditable | 15235 @DocsEditable |
| 15028 int get attrChange native "MutationEvent_attrChange_Getter"; | 15236 int get attrChange native "MutationEvent_attrChange_Getter"; |
| 15029 | 15237 |
| 15030 @DomName('MutationEvent.attrName') | 15238 @DomName('MutationEvent.attrName') |
| 15031 @DocsEditable | 15239 @DocsEditable |
| 15032 String get attrName native "MutationEvent_attrName_Getter"; | 15240 String get attrName native "MutationEvent_attrName_Getter"; |
| 15033 | 15241 |
| (...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15438 // BSD-style license that can be found in the LICENSE file. | 15646 // BSD-style license that can be found in the LICENSE file. |
| 15439 | 15647 |
| 15440 // WARNING: Do not edit - generated code. | 15648 // WARNING: Do not edit - generated code. |
| 15441 | 15649 |
| 15442 | 15650 |
| 15443 @DocsEditable | 15651 @DocsEditable |
| 15444 @DomName('NavigatorUserMediaError') | 15652 @DomName('NavigatorUserMediaError') |
| 15445 class NavigatorUserMediaError extends NativeFieldWrapperClass1 { | 15653 class NavigatorUserMediaError extends NativeFieldWrapperClass1 { |
| 15446 NavigatorUserMediaError.internal(); | 15654 NavigatorUserMediaError.internal(); |
| 15447 | 15655 |
| 15656 @DomName('NavigatorUserMediaError.PERMISSION_DENIED') |
| 15657 @DocsEditable |
| 15448 static const int PERMISSION_DENIED = 1; | 15658 static const int PERMISSION_DENIED = 1; |
| 15449 | 15659 |
| 15450 @DomName('NavigatorUserMediaError.code') | 15660 @DomName('NavigatorUserMediaError.code') |
| 15451 @DocsEditable | 15661 @DocsEditable |
| 15452 int get code native "NavigatorUserMediaError_code_Getter"; | 15662 int get code native "NavigatorUserMediaError_code_Getter"; |
| 15453 | 15663 |
| 15454 } | 15664 } |
| 15455 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 15665 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 15456 // for details. All rights reserved. Use of this source code is governed by a | 15666 // for details. All rights reserved. Use of this source code is governed by a |
| 15457 // BSD-style license that can be found in the LICENSE file. | 15667 // BSD-style license that can be found in the LICENSE file. |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15735 } | 15945 } |
| 15736 | 15946 |
| 15737 /** Gets the template instance that instantiated this node, if any. */ | 15947 /** Gets the template instance that instantiated this node, if any. */ |
| 15738 @Experimental | 15948 @Experimental |
| 15739 TemplateInstance get templateInstance => | 15949 TemplateInstance get templateInstance => |
| 15740 _templateInstance != null ? _templateInstance : | 15950 _templateInstance != null ? _templateInstance : |
| 15741 (parent != null ? parent.templateInstance : null); | 15951 (parent != null ? parent.templateInstance : null); |
| 15742 | 15952 |
| 15743 Node.internal() : super.internal(); | 15953 Node.internal() : super.internal(); |
| 15744 | 15954 |
| 15955 @DomName('Node.ATTRIBUTE_NODE') |
| 15956 @DocsEditable |
| 15745 static const int ATTRIBUTE_NODE = 2; | 15957 static const int ATTRIBUTE_NODE = 2; |
| 15746 | 15958 |
| 15959 @DomName('Node.CDATA_SECTION_NODE') |
| 15960 @DocsEditable |
| 15747 static const int CDATA_SECTION_NODE = 4; | 15961 static const int CDATA_SECTION_NODE = 4; |
| 15748 | 15962 |
| 15963 @DomName('Node.COMMENT_NODE') |
| 15964 @DocsEditable |
| 15749 static const int COMMENT_NODE = 8; | 15965 static const int COMMENT_NODE = 8; |
| 15750 | 15966 |
| 15967 @DomName('Node.DOCUMENT_FRAGMENT_NODE') |
| 15968 @DocsEditable |
| 15751 static const int DOCUMENT_FRAGMENT_NODE = 11; | 15969 static const int DOCUMENT_FRAGMENT_NODE = 11; |
| 15752 | 15970 |
| 15971 @DomName('Node.DOCUMENT_NODE') |
| 15972 @DocsEditable |
| 15753 static const int DOCUMENT_NODE = 9; | 15973 static const int DOCUMENT_NODE = 9; |
| 15754 | 15974 |
| 15975 @DomName('Node.DOCUMENT_TYPE_NODE') |
| 15976 @DocsEditable |
| 15755 static const int DOCUMENT_TYPE_NODE = 10; | 15977 static const int DOCUMENT_TYPE_NODE = 10; |
| 15756 | 15978 |
| 15979 @DomName('Node.ELEMENT_NODE') |
| 15980 @DocsEditable |
| 15757 static const int ELEMENT_NODE = 1; | 15981 static const int ELEMENT_NODE = 1; |
| 15758 | 15982 |
| 15983 @DomName('Node.ENTITY_NODE') |
| 15984 @DocsEditable |
| 15759 static const int ENTITY_NODE = 6; | 15985 static const int ENTITY_NODE = 6; |
| 15760 | 15986 |
| 15987 @DomName('Node.ENTITY_REFERENCE_NODE') |
| 15988 @DocsEditable |
| 15761 static const int ENTITY_REFERENCE_NODE = 5; | 15989 static const int ENTITY_REFERENCE_NODE = 5; |
| 15762 | 15990 |
| 15991 @DomName('Node.NOTATION_NODE') |
| 15992 @DocsEditable |
| 15763 static const int NOTATION_NODE = 12; | 15993 static const int NOTATION_NODE = 12; |
| 15764 | 15994 |
| 15995 @DomName('Node.PROCESSING_INSTRUCTION_NODE') |
| 15996 @DocsEditable |
| 15765 static const int PROCESSING_INSTRUCTION_NODE = 7; | 15997 static const int PROCESSING_INSTRUCTION_NODE = 7; |
| 15766 | 15998 |
| 15999 @DomName('Node.TEXT_NODE') |
| 16000 @DocsEditable |
| 15767 static const int TEXT_NODE = 3; | 16001 static const int TEXT_NODE = 3; |
| 15768 | 16002 |
| 15769 @DomName('Node.childNodes') | 16003 @DomName('Node.childNodes') |
| 15770 @DocsEditable | 16004 @DocsEditable |
| 15771 List<Node> get $dom_childNodes native "Node_childNodes_Getter"; | 16005 List<Node> get $dom_childNodes native "Node_childNodes_Getter"; |
| 15772 | 16006 |
| 15773 @DomName('Node.firstChild') | 16007 @DomName('Node.firstChild') |
| 15774 @DocsEditable | 16008 @DocsEditable |
| 15775 Node get $dom_firstChild native "Node_firstChild_Getter"; | 16009 Node get $dom_firstChild native "Node_firstChild_Getter"; |
| 15776 | 16010 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15868 // BSD-style license that can be found in the LICENSE file. | 16102 // BSD-style license that can be found in the LICENSE file. |
| 15869 | 16103 |
| 15870 // WARNING: Do not edit - generated code. | 16104 // WARNING: Do not edit - generated code. |
| 15871 | 16105 |
| 15872 | 16106 |
| 15873 @DocsEditable | 16107 @DocsEditable |
| 15874 @DomName('NodeFilter') | 16108 @DomName('NodeFilter') |
| 15875 class NodeFilter extends NativeFieldWrapperClass1 { | 16109 class NodeFilter extends NativeFieldWrapperClass1 { |
| 15876 NodeFilter.internal(); | 16110 NodeFilter.internal(); |
| 15877 | 16111 |
| 16112 @DomName('NodeFilter.FILTER_ACCEPT') |
| 16113 @DocsEditable |
| 15878 static const int FILTER_ACCEPT = 1; | 16114 static const int FILTER_ACCEPT = 1; |
| 15879 | 16115 |
| 16116 @DomName('NodeFilter.FILTER_REJECT') |
| 16117 @DocsEditable |
| 15880 static const int FILTER_REJECT = 2; | 16118 static const int FILTER_REJECT = 2; |
| 15881 | 16119 |
| 16120 @DomName('NodeFilter.FILTER_SKIP') |
| 16121 @DocsEditable |
| 15882 static const int FILTER_SKIP = 3; | 16122 static const int FILTER_SKIP = 3; |
| 15883 | 16123 |
| 16124 @DomName('NodeFilter.SHOW_ALL') |
| 16125 @DocsEditable |
| 15884 static const int SHOW_ALL = 0xFFFFFFFF; | 16126 static const int SHOW_ALL = 0xFFFFFFFF; |
| 15885 | 16127 |
| 16128 @DomName('NodeFilter.SHOW_ATTRIBUTE') |
| 16129 @DocsEditable |
| 15886 static const int SHOW_ATTRIBUTE = 0x00000002; | 16130 static const int SHOW_ATTRIBUTE = 0x00000002; |
| 15887 | 16131 |
| 16132 @DomName('NodeFilter.SHOW_CDATA_SECTION') |
| 16133 @DocsEditable |
| 15888 static const int SHOW_CDATA_SECTION = 0x00000008; | 16134 static const int SHOW_CDATA_SECTION = 0x00000008; |
| 15889 | 16135 |
| 16136 @DomName('NodeFilter.SHOW_COMMENT') |
| 16137 @DocsEditable |
| 15890 static const int SHOW_COMMENT = 0x00000080; | 16138 static const int SHOW_COMMENT = 0x00000080; |
| 15891 | 16139 |
| 16140 @DomName('NodeFilter.SHOW_DOCUMENT') |
| 16141 @DocsEditable |
| 15892 static const int SHOW_DOCUMENT = 0x00000100; | 16142 static const int SHOW_DOCUMENT = 0x00000100; |
| 15893 | 16143 |
| 16144 @DomName('NodeFilter.SHOW_DOCUMENT_FRAGMENT') |
| 16145 @DocsEditable |
| 15894 static const int SHOW_DOCUMENT_FRAGMENT = 0x00000400; | 16146 static const int SHOW_DOCUMENT_FRAGMENT = 0x00000400; |
| 15895 | 16147 |
| 16148 @DomName('NodeFilter.SHOW_DOCUMENT_TYPE') |
| 16149 @DocsEditable |
| 15896 static const int SHOW_DOCUMENT_TYPE = 0x00000200; | 16150 static const int SHOW_DOCUMENT_TYPE = 0x00000200; |
| 15897 | 16151 |
| 16152 @DomName('NodeFilter.SHOW_ELEMENT') |
| 16153 @DocsEditable |
| 15898 static const int SHOW_ELEMENT = 0x00000001; | 16154 static const int SHOW_ELEMENT = 0x00000001; |
| 15899 | 16155 |
| 16156 @DomName('NodeFilter.SHOW_ENTITY') |
| 16157 @DocsEditable |
| 15900 static const int SHOW_ENTITY = 0x00000020; | 16158 static const int SHOW_ENTITY = 0x00000020; |
| 15901 | 16159 |
| 16160 @DomName('NodeFilter.SHOW_ENTITY_REFERENCE') |
| 16161 @DocsEditable |
| 15902 static const int SHOW_ENTITY_REFERENCE = 0x00000010; | 16162 static const int SHOW_ENTITY_REFERENCE = 0x00000010; |
| 15903 | 16163 |
| 16164 @DomName('NodeFilter.SHOW_NOTATION') |
| 16165 @DocsEditable |
| 15904 static const int SHOW_NOTATION = 0x00000800; | 16166 static const int SHOW_NOTATION = 0x00000800; |
| 15905 | 16167 |
| 16168 @DomName('NodeFilter.SHOW_PROCESSING_INSTRUCTION') |
| 16169 @DocsEditable |
| 15906 static const int SHOW_PROCESSING_INSTRUCTION = 0x00000040; | 16170 static const int SHOW_PROCESSING_INSTRUCTION = 0x00000040; |
| 15907 | 16171 |
| 16172 @DomName('NodeFilter.SHOW_TEXT') |
| 16173 @DocsEditable |
| 15908 static const int SHOW_TEXT = 0x00000004; | 16174 static const int SHOW_TEXT = 0x00000004; |
| 15909 | 16175 |
| 15910 } | 16176 } |
| 15911 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 16177 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 15912 // for details. All rights reserved. Use of this source code is governed by a | 16178 // for details. All rights reserved. Use of this source code is governed by a |
| 15913 // BSD-style license that can be found in the LICENSE file. | 16179 // BSD-style license that can be found in the LICENSE file. |
| 15914 | 16180 |
| 15915 | 16181 |
| 15916 @DomName('NodeIterator') | 16182 @DomName('NodeIterator') |
| 15917 class NodeIterator extends NativeFieldWrapperClass1 { | 16183 class NodeIterator extends NativeFieldWrapperClass1 { |
| (...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16526 // BSD-style license that can be found in the LICENSE file. | 16792 // BSD-style license that can be found in the LICENSE file. |
| 16527 | 16793 |
| 16528 // WARNING: Do not edit - generated code. | 16794 // WARNING: Do not edit - generated code. |
| 16529 | 16795 |
| 16530 | 16796 |
| 16531 @DocsEditable | 16797 @DocsEditable |
| 16532 @DomName('OverflowEvent') | 16798 @DomName('OverflowEvent') |
| 16533 class OverflowEvent extends Event { | 16799 class OverflowEvent extends Event { |
| 16534 OverflowEvent.internal() : super.internal(); | 16800 OverflowEvent.internal() : super.internal(); |
| 16535 | 16801 |
| 16802 @DomName('OverflowEvent.BOTH') |
| 16803 @DocsEditable |
| 16536 static const int BOTH = 2; | 16804 static const int BOTH = 2; |
| 16537 | 16805 |
| 16806 @DomName('OverflowEvent.HORIZONTAL') |
| 16807 @DocsEditable |
| 16538 static const int HORIZONTAL = 0; | 16808 static const int HORIZONTAL = 0; |
| 16539 | 16809 |
| 16810 @DomName('OverflowEvent.VERTICAL') |
| 16811 @DocsEditable |
| 16540 static const int VERTICAL = 1; | 16812 static const int VERTICAL = 1; |
| 16541 | 16813 |
| 16542 @DomName('OverflowEvent.horizontalOverflow') | 16814 @DomName('OverflowEvent.horizontalOverflow') |
| 16543 @DocsEditable | 16815 @DocsEditable |
| 16544 bool get horizontalOverflow native "OverflowEvent_horizontalOverflow_Getter"; | 16816 bool get horizontalOverflow native "OverflowEvent_horizontalOverflow_Getter"; |
| 16545 | 16817 |
| 16546 @DomName('OverflowEvent.orient') | 16818 @DomName('OverflowEvent.orient') |
| 16547 @DocsEditable | 16819 @DocsEditable |
| 16548 int get orient native "OverflowEvent_orient_Getter"; | 16820 int get orient native "OverflowEvent_orient_Getter"; |
| 16549 | 16821 |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16867 // BSD-style license that can be found in the LICENSE file. | 17139 // BSD-style license that can be found in the LICENSE file. |
| 16868 | 17140 |
| 16869 // WARNING: Do not edit - generated code. | 17141 // WARNING: Do not edit - generated code. |
| 16870 | 17142 |
| 16871 | 17143 |
| 16872 @DocsEditable | 17144 @DocsEditable |
| 16873 @DomName('PerformanceNavigation') | 17145 @DomName('PerformanceNavigation') |
| 16874 class PerformanceNavigation extends NativeFieldWrapperClass1 { | 17146 class PerformanceNavigation extends NativeFieldWrapperClass1 { |
| 16875 PerformanceNavigation.internal(); | 17147 PerformanceNavigation.internal(); |
| 16876 | 17148 |
| 17149 @DomName('PerformanceNavigation.TYPE_BACK_FORWARD') |
| 17150 @DocsEditable |
| 16877 static const int TYPE_BACK_FORWARD = 2; | 17151 static const int TYPE_BACK_FORWARD = 2; |
| 16878 | 17152 |
| 17153 @DomName('PerformanceNavigation.TYPE_NAVIGATE') |
| 17154 @DocsEditable |
| 16879 static const int TYPE_NAVIGATE = 0; | 17155 static const int TYPE_NAVIGATE = 0; |
| 16880 | 17156 |
| 17157 @DomName('PerformanceNavigation.TYPE_RELOAD') |
| 17158 @DocsEditable |
| 16881 static const int TYPE_RELOAD = 1; | 17159 static const int TYPE_RELOAD = 1; |
| 16882 | 17160 |
| 17161 @DomName('PerformanceNavigation.TYPE_RESERVED') |
| 17162 @DocsEditable |
| 16883 static const int TYPE_RESERVED = 255; | 17163 static const int TYPE_RESERVED = 255; |
| 16884 | 17164 |
| 16885 @DomName('PerformanceNavigation.redirectCount') | 17165 @DomName('PerformanceNavigation.redirectCount') |
| 16886 @DocsEditable | 17166 @DocsEditable |
| 16887 int get redirectCount native "PerformanceNavigation_redirectCount_Getter"; | 17167 int get redirectCount native "PerformanceNavigation_redirectCount_Getter"; |
| 16888 | 17168 |
| 16889 @DomName('PerformanceNavigation.type') | 17169 @DomName('PerformanceNavigation.type') |
| 16890 @DocsEditable | 17170 @DocsEditable |
| 16891 int get type native "PerformanceNavigation_type_Getter"; | 17171 int get type native "PerformanceNavigation_type_Getter"; |
| 16892 | 17172 |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17164 // BSD-style license that can be found in the LICENSE file. | 17444 // BSD-style license that can be found in the LICENSE file. |
| 17165 | 17445 |
| 17166 // WARNING: Do not edit - generated code. | 17446 // WARNING: Do not edit - generated code. |
| 17167 | 17447 |
| 17168 | 17448 |
| 17169 @DocsEditable | 17449 @DocsEditable |
| 17170 @DomName('PositionError') | 17450 @DomName('PositionError') |
| 17171 class PositionError extends NativeFieldWrapperClass1 { | 17451 class PositionError extends NativeFieldWrapperClass1 { |
| 17172 PositionError.internal(); | 17452 PositionError.internal(); |
| 17173 | 17453 |
| 17454 @DomName('PositionError.PERMISSION_DENIED') |
| 17455 @DocsEditable |
| 17174 static const int PERMISSION_DENIED = 1; | 17456 static const int PERMISSION_DENIED = 1; |
| 17175 | 17457 |
| 17458 @DomName('PositionError.POSITION_UNAVAILABLE') |
| 17459 @DocsEditable |
| 17176 static const int POSITION_UNAVAILABLE = 2; | 17460 static const int POSITION_UNAVAILABLE = 2; |
| 17177 | 17461 |
| 17462 @DomName('PositionError.TIMEOUT') |
| 17463 @DocsEditable |
| 17178 static const int TIMEOUT = 3; | 17464 static const int TIMEOUT = 3; |
| 17179 | 17465 |
| 17180 @DomName('PositionError.code') | 17466 @DomName('PositionError.code') |
| 17181 @DocsEditable | 17467 @DocsEditable |
| 17182 int get code native "PositionError_code_Getter"; | 17468 int get code native "PositionError_code_Getter"; |
| 17183 | 17469 |
| 17184 @DomName('PositionError.message') | 17470 @DomName('PositionError.message') |
| 17185 @DocsEditable | 17471 @DocsEditable |
| 17186 String get message native "PositionError_message_Getter"; | 17472 String get message native "PositionError_message_Getter"; |
| 17187 | 17473 |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17372 | 17658 |
| 17373 // WARNING: Do not edit - generated code. | 17659 // WARNING: Do not edit - generated code. |
| 17374 | 17660 |
| 17375 | 17661 |
| 17376 @DomName('Range') | 17662 @DomName('Range') |
| 17377 class Range extends NativeFieldWrapperClass1 { | 17663 class Range extends NativeFieldWrapperClass1 { |
| 17378 factory Range() => document.$dom_createRange(); | 17664 factory Range() => document.$dom_createRange(); |
| 17379 | 17665 |
| 17380 Range.internal(); | 17666 Range.internal(); |
| 17381 | 17667 |
| 17668 @DomName('Range.END_TO_END') |
| 17669 @DocsEditable |
| 17382 static const int END_TO_END = 2; | 17670 static const int END_TO_END = 2; |
| 17383 | 17671 |
| 17672 @DomName('Range.END_TO_START') |
| 17673 @DocsEditable |
| 17384 static const int END_TO_START = 3; | 17674 static const int END_TO_START = 3; |
| 17385 | 17675 |
| 17676 @DomName('Range.NODE_AFTER') |
| 17677 @DocsEditable |
| 17386 static const int NODE_AFTER = 1; | 17678 static const int NODE_AFTER = 1; |
| 17387 | 17679 |
| 17680 @DomName('Range.NODE_BEFORE') |
| 17681 @DocsEditable |
| 17388 static const int NODE_BEFORE = 0; | 17682 static const int NODE_BEFORE = 0; |
| 17389 | 17683 |
| 17684 @DomName('Range.NODE_BEFORE_AND_AFTER') |
| 17685 @DocsEditable |
| 17390 static const int NODE_BEFORE_AND_AFTER = 2; | 17686 static const int NODE_BEFORE_AND_AFTER = 2; |
| 17391 | 17687 |
| 17688 @DomName('Range.NODE_INSIDE') |
| 17689 @DocsEditable |
| 17392 static const int NODE_INSIDE = 3; | 17690 static const int NODE_INSIDE = 3; |
| 17393 | 17691 |
| 17692 @DomName('Range.START_TO_END') |
| 17693 @DocsEditable |
| 17394 static const int START_TO_END = 1; | 17694 static const int START_TO_END = 1; |
| 17395 | 17695 |
| 17696 @DomName('Range.START_TO_START') |
| 17697 @DocsEditable |
| 17396 static const int START_TO_START = 0; | 17698 static const int START_TO_START = 0; |
| 17397 | 17699 |
| 17398 @DomName('Range.collapsed') | 17700 @DomName('Range.collapsed') |
| 17399 @DocsEditable | 17701 @DocsEditable |
| 17400 bool get collapsed native "Range_collapsed_Getter"; | 17702 bool get collapsed native "Range_collapsed_Getter"; |
| 17401 | 17703 |
| 17402 @DomName('Range.commonAncestorContainer') | 17704 @DomName('Range.commonAncestorContainer') |
| 17403 @DocsEditable | 17705 @DocsEditable |
| 17404 Node get commonAncestorContainer native "Range_commonAncestorContainer_Getter"
; | 17706 Node get commonAncestorContainer native "Range_commonAncestorContainer_Getter"
; |
| 17405 | 17707 |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17534 // BSD-style license that can be found in the LICENSE file. | 17836 // BSD-style license that can be found in the LICENSE file. |
| 17535 | 17837 |
| 17536 // WARNING: Do not edit - generated code. | 17838 // WARNING: Do not edit - generated code. |
| 17537 | 17839 |
| 17538 | 17840 |
| 17539 @DocsEditable | 17841 @DocsEditable |
| 17540 @DomName('RangeException') | 17842 @DomName('RangeException') |
| 17541 class RangeException extends NativeFieldWrapperClass1 { | 17843 class RangeException extends NativeFieldWrapperClass1 { |
| 17542 RangeException.internal(); | 17844 RangeException.internal(); |
| 17543 | 17845 |
| 17846 @DomName('RangeException.BAD_BOUNDARYPOINTS_ERR') |
| 17847 @DocsEditable |
| 17544 static const int BAD_BOUNDARYPOINTS_ERR = 1; | 17848 static const int BAD_BOUNDARYPOINTS_ERR = 1; |
| 17545 | 17849 |
| 17850 @DomName('RangeException.INVALID_NODE_TYPE_ERR') |
| 17851 @DocsEditable |
| 17546 static const int INVALID_NODE_TYPE_ERR = 2; | 17852 static const int INVALID_NODE_TYPE_ERR = 2; |
| 17547 | 17853 |
| 17548 @DomName('RangeException.code') | 17854 @DomName('RangeException.code') |
| 17549 @DocsEditable | 17855 @DocsEditable |
| 17550 int get code native "RangeException_code_Getter"; | 17856 int get code native "RangeException_code_Getter"; |
| 17551 | 17857 |
| 17552 @DomName('RangeException.message') | 17858 @DomName('RangeException.message') |
| 17553 @DocsEditable | 17859 @DocsEditable |
| 17554 String get message native "RangeException_message_Getter"; | 17860 String get message native "RangeException_message_Getter"; |
| 17555 | 17861 |
| (...skipping 2018 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 19574 } | 19880 } |
| 19575 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 19881 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 19576 // for details. All rights reserved. Use of this source code is governed by a | 19882 // for details. All rights reserved. Use of this source code is governed by a |
| 19577 // BSD-style license that can be found in the LICENSE file. | 19883 // BSD-style license that can be found in the LICENSE file. |
| 19578 | 19884 |
| 19579 | 19885 |
| 19580 @DomName('StorageInfo') | 19886 @DomName('StorageInfo') |
| 19581 class StorageInfo extends NativeFieldWrapperClass1 { | 19887 class StorageInfo extends NativeFieldWrapperClass1 { |
| 19582 StorageInfo.internal(); | 19888 StorageInfo.internal(); |
| 19583 | 19889 |
| 19890 @DomName('StorageInfo.PERSISTENT') |
| 19891 @DocsEditable |
| 19584 static const int PERSISTENT = 1; | 19892 static const int PERSISTENT = 1; |
| 19585 | 19893 |
| 19894 @DomName('StorageInfo.TEMPORARY') |
| 19895 @DocsEditable |
| 19586 static const int TEMPORARY = 0; | 19896 static const int TEMPORARY = 0; |
| 19587 | 19897 |
| 19588 @DomName('StorageInfo.queryUsageAndQuota') | 19898 @DomName('StorageInfo.queryUsageAndQuota') |
| 19589 @DocsEditable | 19899 @DocsEditable |
| 19590 void _queryUsageAndQuota(int storageType, [StorageUsageCallback usageCallback,
StorageErrorCallback errorCallback]) native "StorageInfo_queryUsageAndQuota_Cal
lback"; | 19900 void _queryUsageAndQuota(int storageType, [StorageUsageCallback usageCallback,
StorageErrorCallback errorCallback]) native "StorageInfo_queryUsageAndQuota_Cal
lback"; |
| 19591 | 19901 |
| 19592 @DomName('StorageInfo.requestQuota') | 19902 @DomName('StorageInfo.requestQuota') |
| 19593 @DocsEditable | 19903 @DocsEditable |
| 19594 void _requestQuota(int storageType, int newQuotaInBytes, [StorageQuotaCallback
quotaCallback, StorageErrorCallback errorCallback]) native "StorageInfo_request
Quota_Callback"; | 19904 void _requestQuota(int storageType, int newQuotaInBytes, [StorageQuotaCallback
quotaCallback, StorageErrorCallback errorCallback]) native "StorageInfo_request
Quota_Callback"; |
| 19595 | 19905 |
| (...skipping 1496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21092 class TrackElement extends _Element_Merged { | 21402 class TrackElement extends _Element_Merged { |
| 21093 TrackElement.internal() : super.internal(); | 21403 TrackElement.internal() : super.internal(); |
| 21094 | 21404 |
| 21095 @DomName('HTMLTrackElement.HTMLTrackElement') | 21405 @DomName('HTMLTrackElement.HTMLTrackElement') |
| 21096 @DocsEditable | 21406 @DocsEditable |
| 21097 factory TrackElement() => document.$dom_createElement("track"); | 21407 factory TrackElement() => document.$dom_createElement("track"); |
| 21098 | 21408 |
| 21099 /// Checks if this type is supported on the current platform. | 21409 /// Checks if this type is supported on the current platform. |
| 21100 static bool get supported => true; | 21410 static bool get supported => true; |
| 21101 | 21411 |
| 21412 @DomName('HTMLTrackElement.ERROR') |
| 21413 @DocsEditable |
| 21102 static const int ERROR = 3; | 21414 static const int ERROR = 3; |
| 21103 | 21415 |
| 21416 @DomName('HTMLTrackElement.LOADED') |
| 21417 @DocsEditable |
| 21104 static const int LOADED = 2; | 21418 static const int LOADED = 2; |
| 21105 | 21419 |
| 21420 @DomName('HTMLTrackElement.LOADING') |
| 21421 @DocsEditable |
| 21106 static const int LOADING = 1; | 21422 static const int LOADING = 1; |
| 21107 | 21423 |
| 21424 @DomName('HTMLTrackElement.NONE') |
| 21425 @DocsEditable |
| 21108 static const int NONE = 0; | 21426 static const int NONE = 0; |
| 21109 | 21427 |
| 21110 @DomName('HTMLTrackElement.default') | 21428 @DomName('HTMLTrackElement.default') |
| 21111 @DocsEditable | 21429 @DocsEditable |
| 21112 bool get defaultValue native "HTMLTrackElement_default_Getter"; | 21430 bool get defaultValue native "HTMLTrackElement_default_Getter"; |
| 21113 | 21431 |
| 21114 @DomName('HTMLTrackElement.default') | 21432 @DomName('HTMLTrackElement.default') |
| 21115 @DocsEditable | 21433 @DocsEditable |
| 21116 void set defaultValue(bool value) native "HTMLTrackElement_default_Setter"; | 21434 void set defaultValue(bool value) native "HTMLTrackElement_default_Setter"; |
| 21117 | 21435 |
| (...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21664 | 21982 |
| 21665 @DocsEditable | 21983 @DocsEditable |
| 21666 static WebSocket _create_2(url, protocol_OR_protocols) native "WebSocket__crea
te_2constructorCallback"; | 21984 static WebSocket _create_2(url, protocol_OR_protocols) native "WebSocket__crea
te_2constructorCallback"; |
| 21667 | 21985 |
| 21668 @DocsEditable | 21986 @DocsEditable |
| 21669 static WebSocket _create_3(url, protocol_OR_protocols) native "WebSocket__crea
te_3constructorCallback"; | 21987 static WebSocket _create_3(url, protocol_OR_protocols) native "WebSocket__crea
te_3constructorCallback"; |
| 21670 | 21988 |
| 21671 /// Checks if this type is supported on the current platform. | 21989 /// Checks if this type is supported on the current platform. |
| 21672 static bool get supported => true; | 21990 static bool get supported => true; |
| 21673 | 21991 |
| 21992 @DomName('WebSocket.CLOSED') |
| 21993 @DocsEditable |
| 21674 static const int CLOSED = 3; | 21994 static const int CLOSED = 3; |
| 21675 | 21995 |
| 21996 @DomName('WebSocket.CLOSING') |
| 21997 @DocsEditable |
| 21676 static const int CLOSING = 2; | 21998 static const int CLOSING = 2; |
| 21677 | 21999 |
| 22000 @DomName('WebSocket.CONNECTING') |
| 22001 @DocsEditable |
| 21678 static const int CONNECTING = 0; | 22002 static const int CONNECTING = 0; |
| 21679 | 22003 |
| 22004 @DomName('WebSocket.OPEN') |
| 22005 @DocsEditable |
| 21680 static const int OPEN = 1; | 22006 static const int OPEN = 1; |
| 21681 | 22007 |
| 21682 @DomName('WebSocket.URL') | 22008 @DomName('WebSocket.URL') |
| 21683 @DocsEditable | 22009 @DocsEditable |
| 21684 String get Url native "WebSocket_URL_Getter"; | 22010 String get Url native "WebSocket_URL_Getter"; |
| 21685 | 22011 |
| 21686 @DomName('WebSocket.binaryType') | 22012 @DomName('WebSocket.binaryType') |
| 21687 @DocsEditable | 22013 @DocsEditable |
| 21688 String get binaryType native "WebSocket_binaryType_Getter"; | 22014 String get binaryType native "WebSocket_binaryType_Getter"; |
| 21689 | 22015 |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 21797 event.$dom_initWebKitWheelEvent(deltaX, | 22123 event.$dom_initWebKitWheelEvent(deltaX, |
| 21798 deltaY ~/ 120, // Chrome does an auto-convert to pixels. | 22124 deltaY ~/ 120, // Chrome does an auto-convert to pixels. |
| 21799 view, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, | 22125 view, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, |
| 21800 metaKey); | 22126 metaKey); |
| 21801 | 22127 |
| 21802 return event; | 22128 return event; |
| 21803 } | 22129 } |
| 21804 | 22130 |
| 21805 WheelEvent.internal() : super.internal(); | 22131 WheelEvent.internal() : super.internal(); |
| 21806 | 22132 |
| 22133 @DomName('WheelEvent.DOM_DELTA_LINE') |
| 22134 @DocsEditable |
| 21807 static const int DOM_DELTA_LINE = 0x01; | 22135 static const int DOM_DELTA_LINE = 0x01; |
| 21808 | 22136 |
| 22137 @DomName('WheelEvent.DOM_DELTA_PAGE') |
| 22138 @DocsEditable |
| 21809 static const int DOM_DELTA_PAGE = 0x02; | 22139 static const int DOM_DELTA_PAGE = 0x02; |
| 21810 | 22140 |
| 22141 @DomName('WheelEvent.DOM_DELTA_PIXEL') |
| 22142 @DocsEditable |
| 21811 static const int DOM_DELTA_PIXEL = 0x00; | 22143 static const int DOM_DELTA_PIXEL = 0x00; |
| 21812 | 22144 |
| 21813 @DomName('WheelEvent.deltaMode') | 22145 @DomName('WheelEvent.deltaMode') |
| 21814 @DocsEditable | 22146 @DocsEditable |
| 21815 int get deltaMode native "WheelEvent_deltaMode_Getter"; | 22147 int get deltaMode native "WheelEvent_deltaMode_Getter"; |
| 21816 | 22148 |
| 21817 @DomName('WheelEvent.webkitDirectionInvertedFromDevice') | 22149 @DomName('WheelEvent.webkitDirectionInvertedFromDevice') |
| 21818 @DocsEditable | 22150 @DocsEditable |
| 21819 @SupportedBrowser(SupportedBrowser.CHROME) | 22151 @SupportedBrowser(SupportedBrowser.CHROME) |
| 21820 @SupportedBrowser(SupportedBrowser.SAFARI) | 22152 @SupportedBrowser(SupportedBrowser.SAFARI) |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22032 @Experimental | 22364 @Experimental |
| 22033 static const EventStreamProvider<AnimationEvent> animationIterationEvent = con
st EventStreamProvider<AnimationEvent>('webkitAnimationIteration'); | 22365 static const EventStreamProvider<AnimationEvent> animationIterationEvent = con
st EventStreamProvider<AnimationEvent>('webkitAnimationIteration'); |
| 22034 | 22366 |
| 22035 @DomName('Window.webkitAnimationStartEvent') | 22367 @DomName('Window.webkitAnimationStartEvent') |
| 22036 @DocsEditable | 22368 @DocsEditable |
| 22037 @SupportedBrowser(SupportedBrowser.CHROME) | 22369 @SupportedBrowser(SupportedBrowser.CHROME) |
| 22038 @SupportedBrowser(SupportedBrowser.SAFARI) | 22370 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 22039 @Experimental | 22371 @Experimental |
| 22040 static const EventStreamProvider<AnimationEvent> animationStartEvent = const E
ventStreamProvider<AnimationEvent>('webkitAnimationStart'); | 22372 static const EventStreamProvider<AnimationEvent> animationStartEvent = const E
ventStreamProvider<AnimationEvent>('webkitAnimationStart'); |
| 22041 | 22373 |
| 22374 @DomName('Window.PERSISTENT') |
| 22375 @DocsEditable |
| 22042 static const int PERSISTENT = 1; | 22376 static const int PERSISTENT = 1; |
| 22043 | 22377 |
| 22378 @DomName('Window.TEMPORARY') |
| 22379 @DocsEditable |
| 22044 static const int TEMPORARY = 0; | 22380 static const int TEMPORARY = 0; |
| 22045 | 22381 |
| 22046 @DomName('Window.applicationCache') | 22382 @DomName('Window.applicationCache') |
| 22047 @DocsEditable | 22383 @DocsEditable |
| 22048 ApplicationCache get applicationCache native "DOMWindow_applicationCache_Gette
r"; | 22384 ApplicationCache get applicationCache native "DOMWindow_applicationCache_Gette
r"; |
| 22049 | 22385 |
| 22050 @DomName('Window.closed') | 22386 @DomName('Window.closed') |
| 22051 @DocsEditable | 22387 @DocsEditable |
| 22052 bool get closed native "DOMWindow_closed_Getter"; | 22388 bool get closed native "DOMWindow_closed_Getter"; |
| 22053 | 22389 |
| (...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22801 // BSD-style license that can be found in the LICENSE file. | 23137 // BSD-style license that can be found in the LICENSE file. |
| 22802 | 23138 |
| 22803 // WARNING: Do not edit - generated code. | 23139 // WARNING: Do not edit - generated code. |
| 22804 | 23140 |
| 22805 | 23141 |
| 22806 @DocsEditable | 23142 @DocsEditable |
| 22807 @DomName('XPathException') | 23143 @DomName('XPathException') |
| 22808 class XPathException extends NativeFieldWrapperClass1 { | 23144 class XPathException extends NativeFieldWrapperClass1 { |
| 22809 XPathException.internal(); | 23145 XPathException.internal(); |
| 22810 | 23146 |
| 23147 @DomName('XPathException.INVALID_EXPRESSION_ERR') |
| 23148 @DocsEditable |
| 22811 static const int INVALID_EXPRESSION_ERR = 51; | 23149 static const int INVALID_EXPRESSION_ERR = 51; |
| 22812 | 23150 |
| 23151 @DomName('XPathException.TYPE_ERR') |
| 23152 @DocsEditable |
| 22813 static const int TYPE_ERR = 52; | 23153 static const int TYPE_ERR = 52; |
| 22814 | 23154 |
| 22815 @DomName('XPathException.code') | 23155 @DomName('XPathException.code') |
| 22816 @DocsEditable | 23156 @DocsEditable |
| 22817 int get code native "XPathException_code_Getter"; | 23157 int get code native "XPathException_code_Getter"; |
| 22818 | 23158 |
| 22819 @DomName('XPathException.message') | 23159 @DomName('XPathException.message') |
| 22820 @DocsEditable | 23160 @DocsEditable |
| 22821 String get message native "XPathException_message_Getter"; | 23161 String get message native "XPathException_message_Getter"; |
| 22822 | 23162 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22868 // BSD-style license that can be found in the LICENSE file. | 23208 // BSD-style license that can be found in the LICENSE file. |
| 22869 | 23209 |
| 22870 // WARNING: Do not edit - generated code. | 23210 // WARNING: Do not edit - generated code. |
| 22871 | 23211 |
| 22872 | 23212 |
| 22873 @DocsEditable | 23213 @DocsEditable |
| 22874 @DomName('XPathResult') | 23214 @DomName('XPathResult') |
| 22875 class XPathResult extends NativeFieldWrapperClass1 { | 23215 class XPathResult extends NativeFieldWrapperClass1 { |
| 22876 XPathResult.internal(); | 23216 XPathResult.internal(); |
| 22877 | 23217 |
| 23218 @DomName('XPathResult.ANY_TYPE') |
| 23219 @DocsEditable |
| 22878 static const int ANY_TYPE = 0; | 23220 static const int ANY_TYPE = 0; |
| 22879 | 23221 |
| 23222 @DomName('XPathResult.ANY_UNORDERED_NODE_TYPE') |
| 23223 @DocsEditable |
| 22880 static const int ANY_UNORDERED_NODE_TYPE = 8; | 23224 static const int ANY_UNORDERED_NODE_TYPE = 8; |
| 22881 | 23225 |
| 23226 @DomName('XPathResult.BOOLEAN_TYPE') |
| 23227 @DocsEditable |
| 22882 static const int BOOLEAN_TYPE = 3; | 23228 static const int BOOLEAN_TYPE = 3; |
| 22883 | 23229 |
| 23230 @DomName('XPathResult.FIRST_ORDERED_NODE_TYPE') |
| 23231 @DocsEditable |
| 22884 static const int FIRST_ORDERED_NODE_TYPE = 9; | 23232 static const int FIRST_ORDERED_NODE_TYPE = 9; |
| 22885 | 23233 |
| 23234 @DomName('XPathResult.NUMBER_TYPE') |
| 23235 @DocsEditable |
| 22886 static const int NUMBER_TYPE = 1; | 23236 static const int NUMBER_TYPE = 1; |
| 22887 | 23237 |
| 23238 @DomName('XPathResult.ORDERED_NODE_ITERATOR_TYPE') |
| 23239 @DocsEditable |
| 22888 static const int ORDERED_NODE_ITERATOR_TYPE = 5; | 23240 static const int ORDERED_NODE_ITERATOR_TYPE = 5; |
| 22889 | 23241 |
| 23242 @DomName('XPathResult.ORDERED_NODE_SNAPSHOT_TYPE') |
| 23243 @DocsEditable |
| 22890 static const int ORDERED_NODE_SNAPSHOT_TYPE = 7; | 23244 static const int ORDERED_NODE_SNAPSHOT_TYPE = 7; |
| 22891 | 23245 |
| 23246 @DomName('XPathResult.STRING_TYPE') |
| 23247 @DocsEditable |
| 22892 static const int STRING_TYPE = 2; | 23248 static const int STRING_TYPE = 2; |
| 22893 | 23249 |
| 23250 @DomName('XPathResult.UNORDERED_NODE_ITERATOR_TYPE') |
| 23251 @DocsEditable |
| 22894 static const int UNORDERED_NODE_ITERATOR_TYPE = 4; | 23252 static const int UNORDERED_NODE_ITERATOR_TYPE = 4; |
| 22895 | 23253 |
| 23254 @DomName('XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE') |
| 23255 @DocsEditable |
| 22896 static const int UNORDERED_NODE_SNAPSHOT_TYPE = 6; | 23256 static const int UNORDERED_NODE_SNAPSHOT_TYPE = 6; |
| 22897 | 23257 |
| 22898 @DomName('XPathResult.booleanValue') | 23258 @DomName('XPathResult.booleanValue') |
| 22899 @DocsEditable | 23259 @DocsEditable |
| 22900 bool get booleanValue native "XPathResult_booleanValue_Getter"; | 23260 bool get booleanValue native "XPathResult_booleanValue_Getter"; |
| 22901 | 23261 |
| 22902 @DomName('XPathResult.invalidIteratorState') | 23262 @DomName('XPathResult.invalidIteratorState') |
| 22903 @DocsEditable | 23263 @DocsEditable |
| 22904 bool get invalidIteratorState native "XPathResult_invalidIteratorState_Getter"
; | 23264 bool get invalidIteratorState native "XPathResult_invalidIteratorState_Getter"
; |
| 22905 | 23265 |
| (...skipping 5744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 28650 } | 29010 } |
| 28651 | 29011 |
| 28652 _send(msg) { | 29012 _send(msg) { |
| 28653 _sendToHelperIsolate(msg, _sendPort); | 29013 _sendToHelperIsolate(msg, _sendPort); |
| 28654 } | 29014 } |
| 28655 } | 29015 } |
| 28656 | 29016 |
| 28657 get _pureIsolateTimerFactoryClosure => | 29017 get _pureIsolateTimerFactoryClosure => |
| 28658 ((int milliSeconds, void callback(Timer time), bool repeating) => | 29018 ((int milliSeconds, void callback(Timer time), bool repeating) => |
| 28659 new _PureIsolateTimer(milliSeconds, callback, repeating)); | 29019 new _PureIsolateTimer(milliSeconds, callback, repeating)); |
| OLD | NEW |