OLD | NEW |
1 #library('html'); | 1 #library('html'); |
2 | 2 |
3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
4 // for details. All rights reserved. Use of this source code is governed by a | 4 // for details. All rights reserved. Use of this source code is governed by a |
5 // BSD-style license that can be found in the LICENSE file. | 5 // BSD-style license that can be found in the LICENSE file. |
6 | 6 |
7 // DO NOT EDIT | 7 // DO NOT EDIT |
8 // Auto-generated dart:html library. | 8 // Auto-generated dart:html library. |
9 | 9 |
10 | 10 |
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 | 535 |
536 class _BlobBuilderImpl implements BlobBuilder native "*WebKitBlobBuilder" { | 536 class _BlobBuilderImpl implements BlobBuilder native "*WebKitBlobBuilder" { |
537 | 537 |
538 void append(var arrayBuffer_OR_blob_OR_value, [String endings = null]) native; | 538 void append(var arrayBuffer_OR_blob_OR_value, [String endings = null]) native; |
539 | 539 |
540 _BlobImpl getBlob([String contentType = null]) native; | 540 _BlobImpl getBlob([String contentType = null]) native; |
541 } | 541 } |
542 | 542 |
543 class _BodyElementImpl extends _ElementImpl implements BodyElement native "*HTML
BodyElement" { | 543 class _BodyElementImpl extends _ElementImpl implements BodyElement native "*HTML
BodyElement" { |
544 | 544 |
| 545 _BodyElementEventsImpl get on() => |
| 546 new _BodyElementEventsImpl(this); |
| 547 |
545 String aLink; | 548 String aLink; |
546 | 549 |
547 String background; | 550 String background; |
548 | 551 |
549 String bgColor; | 552 String bgColor; |
550 | 553 |
551 String link; | 554 String link; |
552 | 555 |
553 String vLink; | 556 String vLink; |
554 | |
555 _BodyElementEventsImpl get on() => | |
556 new _BodyElementEventsImpl(this); | |
557 } | 557 } |
558 | 558 |
559 class _BodyElementEventsImpl extends _ElementEventsImpl implements BodyElementEv
ents { | 559 class _BodyElementEventsImpl extends _ElementEventsImpl implements BodyElementEv
ents { |
560 _BodyElementEventsImpl(_ptr) : super(_ptr); | 560 _BodyElementEventsImpl(_ptr) : super(_ptr); |
561 | 561 |
562 EventListenerList get beforeUnload() => _get('beforeunload'); | 562 EventListenerList get beforeUnload() => _get('beforeunload'); |
563 | 563 |
564 EventListenerList get blur() => _get('blur'); | 564 EventListenerList get blur() => _get('blur'); |
565 | 565 |
566 EventListenerList get error() => _get('error'); | 566 EventListenerList get error() => _get('error'); |
(...skipping 3608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4175 void initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Ob
ject detailArg) native; | 4175 void initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Ob
ject detailArg) native; |
4176 } | 4176 } |
4177 | 4177 |
4178 class _DListElementImpl extends _ElementImpl implements DListElement native "*HT
MLDListElement" { | 4178 class _DListElementImpl extends _ElementImpl implements DListElement native "*HT
MLDListElement" { |
4179 | 4179 |
4180 bool compact; | 4180 bool compact; |
4181 } | 4181 } |
4182 | 4182 |
4183 class _DOMApplicationCacheImpl extends _EventTargetImpl implements DOMApplicatio
nCache native "*DOMApplicationCache" { | 4183 class _DOMApplicationCacheImpl extends _EventTargetImpl implements DOMApplicatio
nCache native "*DOMApplicationCache" { |
4184 | 4184 |
| 4185 _DOMApplicationCacheEventsImpl get on() => |
| 4186 new _DOMApplicationCacheEventsImpl(this); |
| 4187 |
4185 static final int CHECKING = 2; | 4188 static final int CHECKING = 2; |
4186 | 4189 |
4187 static final int DOWNLOADING = 3; | 4190 static final int DOWNLOADING = 3; |
4188 | 4191 |
4189 static final int IDLE = 1; | 4192 static final int IDLE = 1; |
4190 | 4193 |
4191 static final int OBSOLETE = 5; | 4194 static final int OBSOLETE = 5; |
4192 | 4195 |
4193 static final int UNCACHED = 0; | 4196 static final int UNCACHED = 0; |
4194 | 4197 |
4195 static final int UPDATEREADY = 4; | 4198 static final int UPDATEREADY = 4; |
4196 | 4199 |
4197 final int status; | 4200 final int status; |
4198 | 4201 |
4199 _DOMApplicationCacheEventsImpl get on() => | |
4200 new _DOMApplicationCacheEventsImpl(this); | |
4201 | |
4202 void abort() native; | 4202 void abort() native; |
4203 | 4203 |
4204 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) native "this.addEventListener(type, listener, useCapture);"; | 4204 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) native "this.addEventListener(type, listener, useCapture);"; |
4205 | 4205 |
4206 bool _dispatchEvent(_EventImpl evt) native "return this.dispatchEvent(evt);"; | 4206 bool _dispatchEvent(_EventImpl evt) native "return this.dispatchEvent(evt);"; |
4207 | 4207 |
4208 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e = null]) native "this.removeEventListener(type, listener, useCapture);"; | 4208 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e = null]) native "this.removeEventListener(type, listener, useCapture);"; |
4209 | 4209 |
4210 void swapCache() native; | 4210 void swapCache() native; |
4211 | 4211 |
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4626 String align; | 4626 String align; |
4627 } | 4627 } |
4628 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4628 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
4629 // for details. All rights reserved. Use of this source code is governed by a | 4629 // for details. All rights reserved. Use of this source code is governed by a |
4630 // BSD-style license that can be found in the LICENSE file. | 4630 // BSD-style license that can be found in the LICENSE file. |
4631 | 4631 |
4632 class _DocumentImpl extends _ElementImpl | 4632 class _DocumentImpl extends _ElementImpl |
4633 implements Document | 4633 implements Document |
4634 native "*HTMLHtmlElement" { | 4634 native "*HTMLHtmlElement" { |
4635 | 4635 |
| 4636 _DocumentEventsImpl get on() => |
| 4637 new _DocumentEventsImpl(_jsDocument); |
| 4638 |
4636 _ElementImpl get activeElement() native "return this.parentNode.activeElement;
"; | 4639 _ElementImpl get activeElement() native "return this.parentNode.activeElement;
"; |
4637 | 4640 |
4638 _ElementImpl get body() native "return this.parentNode.body;"; | 4641 _ElementImpl get body() native "return this.parentNode.body;"; |
4639 | 4642 |
4640 void set body(_ElementImpl value) native "this.parentNode.body = value;"; | 4643 void set body(_ElementImpl value) native "this.parentNode.body = value;"; |
4641 | 4644 |
4642 String get charset() native "return this.parentNode.charset;"; | 4645 String get charset() native "return this.parentNode.charset;"; |
4643 | 4646 |
4644 void set charset(String value) native "this.parentNode.charset = value;"; | 4647 void set charset(String value) native "this.parentNode.charset = value;"; |
4645 | 4648 |
(...skipping 28 matching lines...) Expand all Loading... |
4674 _ElementImpl get webkitCurrentFullScreenElement() native "return this.parentNo
de.webkitCurrentFullScreenElement;"; | 4677 _ElementImpl get webkitCurrentFullScreenElement() native "return this.parentNo
de.webkitCurrentFullScreenElement;"; |
4675 | 4678 |
4676 bool get webkitFullScreenKeyboardInputAllowed() native "return this.parentNode
.webkitFullScreenKeyboardInputAllowed;"; | 4679 bool get webkitFullScreenKeyboardInputAllowed() native "return this.parentNode
.webkitFullScreenKeyboardInputAllowed;"; |
4677 | 4680 |
4678 bool get webkitHidden() native "return this.parentNode.webkitHidden;"; | 4681 bool get webkitHidden() native "return this.parentNode.webkitHidden;"; |
4679 | 4682 |
4680 bool get webkitIsFullScreen() native "return this.parentNode.webkitIsFullScree
n;"; | 4683 bool get webkitIsFullScreen() native "return this.parentNode.webkitIsFullScree
n;"; |
4681 | 4684 |
4682 String get webkitVisibilityState() native "return this.parentNode.webkitVisibi
lityState;"; | 4685 String get webkitVisibilityState() native "return this.parentNode.webkitVisibi
lityState;"; |
4683 | 4686 |
4684 _DocumentEventsImpl get on() => | |
4685 new _DocumentEventsImpl(_jsDocument); | |
4686 | |
4687 _RangeImpl caretRangeFromPoint(int x, int y) native "return this.parentNode.ca
retRangeFromPoint(x, y);"; | 4687 _RangeImpl caretRangeFromPoint(int x, int y) native "return this.parentNode.ca
retRangeFromPoint(x, y);"; |
4688 | 4688 |
4689 _CDATASectionImpl createCDATASection(String data) native "return this.parentNo
de.createCDATASection(data);"; | 4689 _CDATASectionImpl createCDATASection(String data) native "return this.parentNo
de.createCDATASection(data);"; |
4690 | 4690 |
4691 _DocumentFragmentImpl createDocumentFragment() native "return this.parentNode.
createDocumentFragment();"; | 4691 _DocumentFragmentImpl createDocumentFragment() native "return this.parentNode.
createDocumentFragment();"; |
4692 | 4692 |
4693 _ElementImpl _createElement(String tagName) native "return this.parentNode.cre
ateElement(tagName);"; | 4693 _ElementImpl _createElement(String tagName) native "return this.parentNode.cre
ateElement(tagName);"; |
4694 | 4694 |
4695 _EventImpl _createEvent(String eventType) native "return this.parentNode.creat
eEvent(eventType);"; | 4695 _EventImpl _createEvent(String eventType) native "return this.parentNode.creat
eEvent(eventType);"; |
4696 | 4696 |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4842 | 4842 |
4843 EventListenerList get touchEnd() => _get('touchend'); | 4843 EventListenerList get touchEnd() => _get('touchend'); |
4844 | 4844 |
4845 EventListenerList get touchMove() => _get('touchmove'); | 4845 EventListenerList get touchMove() => _get('touchmove'); |
4846 | 4846 |
4847 EventListenerList get touchStart() => _get('touchstart'); | 4847 EventListenerList get touchStart() => _get('touchstart'); |
4848 } | 4848 } |
4849 | 4849 |
4850 class _DocumentFragmentImpl extends _NodeImpl implements DocumentFragment native
"*DocumentFragment" { | 4850 class _DocumentFragmentImpl extends _NodeImpl implements DocumentFragment native
"*DocumentFragment" { |
4851 | 4851 |
| 4852 _DocumentFragmentEventsImpl get on() => |
| 4853 new _DocumentFragmentEventsImpl(this); |
| 4854 |
4852 _ElementImpl query(String selectors) native "return this.querySelector(selecto
rs);"; | 4855 _ElementImpl query(String selectors) native "return this.querySelector(selecto
rs);"; |
4853 | 4856 |
4854 _NodeListImpl _querySelectorAll(String selectors) native "return this.querySel
ectorAll(selectors);"; | 4857 _NodeListImpl _querySelectorAll(String selectors) native "return this.querySel
ectorAll(selectors);"; |
4855 } | 4858 } |
4856 | 4859 |
| 4860 class _DocumentFragmentEventsImpl extends _EventsImpl implements DocumentFragmen
tEvents { |
| 4861 _DocumentFragmentEventsImpl(_ptr) : super(_ptr); |
| 4862 } |
| 4863 |
4857 class _DocumentTypeImpl extends _NodeImpl implements DocumentType native "*Docum
entType" { | 4864 class _DocumentTypeImpl extends _NodeImpl implements DocumentType native "*Docum
entType" { |
4858 | 4865 |
4859 final _NamedNodeMapImpl entities; | 4866 final _NamedNodeMapImpl entities; |
4860 | 4867 |
4861 final String internalSubset; | 4868 final String internalSubset; |
4862 | 4869 |
4863 final String name; | 4870 final String name; |
4864 | 4871 |
4865 final _NamedNodeMapImpl notations; | 4872 final _NamedNodeMapImpl notations; |
4866 | 4873 |
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5412 // TODO(jacobr): last param should be null, see b/5045788 | 5419 // TODO(jacobr): last param should be null, see b/5045788 |
5413 return getComputedStyle(''); | 5420 return getComputedStyle(''); |
5414 } | 5421 } |
5415 | 5422 |
5416 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement) { | 5423 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement) { |
5417 return _createMeasurementFuture(() => | 5424 return _createMeasurementFuture(() => |
5418 window._getComputedStyle(this, pseudoElement), | 5425 window._getComputedStyle(this, pseudoElement), |
5419 new Completer<CSSStyleDeclaration>()); | 5426 new Completer<CSSStyleDeclaration>()); |
5420 } | 5427 } |
5421 | 5428 |
| 5429 _ElementEventsImpl get on() => |
| 5430 new _ElementEventsImpl(this); |
| 5431 |
5422 static final int ALLOW_KEYBOARD_INPUT = 1; | 5432 static final int ALLOW_KEYBOARD_INPUT = 1; |
5423 | 5433 |
5424 int get _childElementCount() native "return this.childElementCount;"; | 5434 int get _childElementCount() native "return this.childElementCount;"; |
5425 | 5435 |
5426 _HTMLCollectionImpl get _children() native "return this.children;"; | 5436 _HTMLCollectionImpl get _children() native "return this.children;"; |
5427 | 5437 |
5428 final _DOMTokenListImpl classList; | 5438 final _DOMTokenListImpl classList; |
5429 | 5439 |
5430 String get _className() native "return this.className;"; | 5440 String get _className() native "return this.className;"; |
5431 | 5441 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5496 final String tagName; | 5506 final String tagName; |
5497 | 5507 |
5498 String title; | 5508 String title; |
5499 | 5509 |
5500 bool translate; | 5510 bool translate; |
5501 | 5511 |
5502 final String webkitRegionOverflow; | 5512 final String webkitRegionOverflow; |
5503 | 5513 |
5504 String webkitdropzone; | 5514 String webkitdropzone; |
5505 | 5515 |
5506 _ElementEventsImpl get on() => | |
5507 new _ElementEventsImpl(this); | |
5508 | |
5509 void blur() native; | 5516 void blur() native; |
5510 | 5517 |
5511 void click() native; | 5518 void click() native; |
5512 | 5519 |
5513 void focus() native; | 5520 void focus() native; |
5514 | 5521 |
5515 String _getAttribute(String name) native "return this.getAttribute(name);"; | 5522 String _getAttribute(String name) native "return this.getAttribute(name);"; |
5516 | 5523 |
5517 _ClientRectImpl _getBoundingClientRect() native "return this.getBoundingClient
Rect();"; | 5524 _ClientRectImpl _getBoundingClientRect() native "return this.getBoundingClient
Rect();"; |
5518 | 5525 |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5857 | 5864 |
5858 final String message; | 5865 final String message; |
5859 | 5866 |
5860 final String name; | 5867 final String name; |
5861 | 5868 |
5862 String toString() native; | 5869 String toString() native; |
5863 } | 5870 } |
5864 | 5871 |
5865 class _EventSourceImpl extends _EventTargetImpl implements EventSource native "*
EventSource" { | 5872 class _EventSourceImpl extends _EventTargetImpl implements EventSource native "*
EventSource" { |
5866 | 5873 |
| 5874 _EventSourceEventsImpl get on() => |
| 5875 new _EventSourceEventsImpl(this); |
| 5876 |
5867 static final int CLOSED = 2; | 5877 static final int CLOSED = 2; |
5868 | 5878 |
5869 static final int CONNECTING = 0; | 5879 static final int CONNECTING = 0; |
5870 | 5880 |
5871 static final int OPEN = 1; | 5881 static final int OPEN = 1; |
5872 | 5882 |
5873 final String URL; | 5883 final String URL; |
5874 | 5884 |
5875 final int readyState; | 5885 final int readyState; |
5876 | 5886 |
5877 final String url; | 5887 final String url; |
5878 | 5888 |
5879 _EventSourceEventsImpl get on() => | |
5880 new _EventSourceEventsImpl(this); | |
5881 | |
5882 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) native "this.addEventListener(type, listener, useCapture);"; | 5889 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) native "this.addEventListener(type, listener, useCapture);"; |
5883 | 5890 |
5884 void close() native; | 5891 void close() native; |
5885 | 5892 |
5886 bool _dispatchEvent(_EventImpl evt) native "return this.dispatchEvent(evt);"; | 5893 bool _dispatchEvent(_EventImpl evt) native "return this.dispatchEvent(evt);"; |
5887 | 5894 |
5888 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e = null]) native "this.removeEventListener(type, listener, useCapture);"; | 5895 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e = null]) native "this.removeEventListener(type, listener, useCapture);"; |
5889 } | 5896 } |
5890 | 5897 |
5891 class _EventSourceEventsImpl extends _EventsImpl implements EventSourceEvents { | 5898 class _EventSourceEventsImpl extends _EventsImpl implements EventSourceEvents { |
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6430 | 6437 |
6431 String src; | 6438 String src; |
6432 | 6439 |
6433 final int width; | 6440 final int width; |
6434 | 6441 |
6435 _SVGDocumentImpl getSVGDocument() native; | 6442 _SVGDocumentImpl getSVGDocument() native; |
6436 } | 6443 } |
6437 | 6444 |
6438 class _FrameSetElementImpl extends _ElementImpl implements FrameSetElement nativ
e "*HTMLFrameSetElement" { | 6445 class _FrameSetElementImpl extends _ElementImpl implements FrameSetElement nativ
e "*HTMLFrameSetElement" { |
6439 | 6446 |
| 6447 _FrameSetElementEventsImpl get on() => |
| 6448 new _FrameSetElementEventsImpl(this); |
| 6449 |
6440 String cols; | 6450 String cols; |
6441 | 6451 |
6442 String rows; | 6452 String rows; |
6443 | |
6444 _FrameSetElementEventsImpl get on() => | |
6445 new _FrameSetElementEventsImpl(this); | |
6446 } | 6453 } |
6447 | 6454 |
6448 class _FrameSetElementEventsImpl extends _ElementEventsImpl implements FrameSetE
lementEvents { | 6455 class _FrameSetElementEventsImpl extends _ElementEventsImpl implements FrameSetE
lementEvents { |
6449 _FrameSetElementEventsImpl(_ptr) : super(_ptr); | 6456 _FrameSetElementEventsImpl(_ptr) : super(_ptr); |
6450 | 6457 |
6451 EventListenerList get beforeUnload() => _get('beforeunload'); | 6458 EventListenerList get beforeUnload() => _get('beforeunload'); |
6452 | 6459 |
6453 EventListenerList get blur() => _get('blur'); | 6460 EventListenerList get blur() => _get('blur'); |
6454 | 6461 |
6455 EventListenerList get error() => _get('error'); | 6462 EventListenerList get error() => _get('error'); |
(...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6999 | 7006 |
7000 int width; | 7007 int width; |
7001 | 7008 |
7002 final int x; | 7009 final int x; |
7003 | 7010 |
7004 final int y; | 7011 final int y; |
7005 } | 7012 } |
7006 | 7013 |
7007 class _InputElementImpl extends _ElementImpl implements InputElement native "*HT
MLInputElement" { | 7014 class _InputElementImpl extends _ElementImpl implements InputElement native "*HT
MLInputElement" { |
7008 | 7015 |
| 7016 _InputElementEventsImpl get on() => |
| 7017 new _InputElementEventsImpl(this); |
| 7018 |
7009 String accept; | 7019 String accept; |
7010 | 7020 |
7011 String align; | 7021 String align; |
7012 | 7022 |
7013 String alt; | 7023 String alt; |
7014 | 7024 |
7015 String autocomplete; | 7025 String autocomplete; |
7016 | 7026 |
7017 bool autofocus; | 7027 bool autofocus; |
7018 | 7028 |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7089 num valueAsNumber; | 7099 num valueAsNumber; |
7090 | 7100 |
7091 bool webkitGrammar; | 7101 bool webkitGrammar; |
7092 | 7102 |
7093 bool webkitSpeech; | 7103 bool webkitSpeech; |
7094 | 7104 |
7095 bool webkitdirectory; | 7105 bool webkitdirectory; |
7096 | 7106 |
7097 final bool willValidate; | 7107 final bool willValidate; |
7098 | 7108 |
7099 _InputElementEventsImpl get on() => | |
7100 new _InputElementEventsImpl(this); | |
7101 | |
7102 bool checkValidity() native; | 7109 bool checkValidity() native; |
7103 | 7110 |
7104 void select() native; | 7111 void select() native; |
7105 | 7112 |
7106 void setCustomValidity(String error) native; | 7113 void setCustomValidity(String error) native; |
7107 | 7114 |
7108 void setSelectionRange(int start, int end, [String direction = null]) native; | 7115 void setSelectionRange(int start, int end, [String direction = null]) native; |
7109 | 7116 |
7110 void stepDown([int n = null]) native; | 7117 void stepDown([int n = null]) native; |
7111 | 7118 |
(...skipping 1468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8580 | 8587 |
8581 class _NotationImpl extends _NodeImpl implements Notation native "*Notation" { | 8588 class _NotationImpl extends _NodeImpl implements Notation native "*Notation" { |
8582 | 8589 |
8583 final String publicId; | 8590 final String publicId; |
8584 | 8591 |
8585 final String systemId; | 8592 final String systemId; |
8586 } | 8593 } |
8587 | 8594 |
8588 class _NotificationImpl extends _EventTargetImpl implements Notification native
"*Notification" { | 8595 class _NotificationImpl extends _EventTargetImpl implements Notification native
"*Notification" { |
8589 | 8596 |
| 8597 _NotificationEventsImpl get on() => |
| 8598 new _NotificationEventsImpl(this); |
| 8599 |
8590 String dir; | 8600 String dir; |
8591 | 8601 |
8592 String replaceId; | 8602 String replaceId; |
8593 | 8603 |
8594 _NotificationEventsImpl get on() => | |
8595 new _NotificationEventsImpl(this); | |
8596 | |
8597 void cancel() native; | 8604 void cancel() native; |
8598 | 8605 |
8599 void show() native; | 8606 void show() native; |
8600 } | 8607 } |
8601 | 8608 |
8602 class _NotificationEventsImpl extends _EventsImpl implements NotificationEvents
{ | 8609 class _NotificationEventsImpl extends _EventsImpl implements NotificationEvents
{ |
8603 _NotificationEventsImpl(_ptr) : super(_ptr); | 8610 _NotificationEventsImpl(_ptr) : super(_ptr); |
8604 | 8611 |
8605 EventListenerList get click() => _get('click'); | 8612 EventListenerList get click() => _get('click'); |
8606 | 8613 |
(...skipping 1086 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9693 | 9700 |
9694 final _SVGSVGElementImpl ownerSVGElement; | 9701 final _SVGSVGElementImpl ownerSVGElement; |
9695 | 9702 |
9696 final _SVGElementImpl viewportElement; | 9703 final _SVGElementImpl viewportElement; |
9697 | 9704 |
9698 String xmlbase; | 9705 String xmlbase; |
9699 } | 9706 } |
9700 | 9707 |
9701 class _SVGElementInstanceImpl extends _EventTargetImpl implements SVGElementInst
ance native "*SVGElementInstance" { | 9708 class _SVGElementInstanceImpl extends _EventTargetImpl implements SVGElementInst
ance native "*SVGElementInstance" { |
9702 | 9709 |
| 9710 _SVGElementInstanceEventsImpl get on() => |
| 9711 new _SVGElementInstanceEventsImpl(this); |
| 9712 |
9703 final _SVGElementInstanceListImpl childNodes; | 9713 final _SVGElementInstanceListImpl childNodes; |
9704 | 9714 |
9705 final _SVGElementImpl correspondingElement; | 9715 final _SVGElementImpl correspondingElement; |
9706 | 9716 |
9707 final _SVGUseElementImpl correspondingUseElement; | 9717 final _SVGUseElementImpl correspondingUseElement; |
9708 | 9718 |
9709 final _SVGElementInstanceImpl firstChild; | 9719 final _SVGElementInstanceImpl firstChild; |
9710 | 9720 |
9711 final _SVGElementInstanceImpl lastChild; | 9721 final _SVGElementInstanceImpl lastChild; |
9712 | 9722 |
9713 final _SVGElementInstanceImpl nextSibling; | 9723 final _SVGElementInstanceImpl nextSibling; |
9714 | 9724 |
9715 final _SVGElementInstanceImpl parentNode; | 9725 final _SVGElementInstanceImpl parentNode; |
9716 | 9726 |
9717 final _SVGElementInstanceImpl previousSibling; | 9727 final _SVGElementInstanceImpl previousSibling; |
9718 | 9728 |
9719 _SVGElementInstanceEventsImpl get on() => | |
9720 new _SVGElementInstanceEventsImpl(this); | |
9721 | |
9722 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) native "this.addEventListener(type, listener, useCapture);"; | 9729 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) native "this.addEventListener(type, listener, useCapture);"; |
9723 | 9730 |
9724 bool _dispatchEvent(_EventImpl event) native "return this.dispatchEvent(event)
;"; | 9731 bool _dispatchEvent(_EventImpl event) native "return this.dispatchEvent(event)
;"; |
9725 | 9732 |
9726 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e = null]) native "this.removeEventListener(type, listener, useCapture);"; | 9733 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e = null]) native "this.removeEventListener(type, listener, useCapture);"; |
9727 } | 9734 } |
9728 | 9735 |
9729 class _SVGElementInstanceEventsImpl extends _EventsImpl implements SVGElementIns
tanceEvents { | 9736 class _SVGElementInstanceEventsImpl extends _EventsImpl implements SVGElementIns
tanceEvents { |
9730 _SVGElementInstanceEventsImpl(_ptr) : super(_ptr); | 9737 _SVGElementInstanceEventsImpl(_ptr) : super(_ptr); |
9731 | 9738 |
(...skipping 5027 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14759 | 14766 |
14760 class _WebKitNamedFlowImpl implements WebKitNamedFlow native "*WebKitNamedFlow"
{ | 14767 class _WebKitNamedFlowImpl implements WebKitNamedFlow native "*WebKitNamedFlow"
{ |
14761 | 14768 |
14762 final bool overflow; | 14769 final bool overflow; |
14763 | 14770 |
14764 _NodeListImpl getRegionsByContentNode(_NodeImpl contentNode) native; | 14771 _NodeListImpl getRegionsByContentNode(_NodeImpl contentNode) native; |
14765 } | 14772 } |
14766 | 14773 |
14767 class _WebSocketImpl extends _EventTargetImpl implements WebSocket native "*WebS
ocket" { | 14774 class _WebSocketImpl extends _EventTargetImpl implements WebSocket native "*WebS
ocket" { |
14768 | 14775 |
| 14776 _WebSocketEventsImpl get on() => |
| 14777 new _WebSocketEventsImpl(this); |
| 14778 |
14769 static final int CLOSED = 3; | 14779 static final int CLOSED = 3; |
14770 | 14780 |
14771 static final int CLOSING = 2; | 14781 static final int CLOSING = 2; |
14772 | 14782 |
14773 static final int CONNECTING = 0; | 14783 static final int CONNECTING = 0; |
14774 | 14784 |
14775 static final int OPEN = 1; | 14785 static final int OPEN = 1; |
14776 | 14786 |
14777 final String URL; | 14787 final String URL; |
14778 | 14788 |
14779 String binaryType; | 14789 String binaryType; |
14780 | 14790 |
14781 final int bufferedAmount; | 14791 final int bufferedAmount; |
14782 | 14792 |
14783 final String extensions; | 14793 final String extensions; |
14784 | 14794 |
14785 final String protocol; | 14795 final String protocol; |
14786 | 14796 |
14787 final int readyState; | 14797 final int readyState; |
14788 | 14798 |
14789 final String url; | 14799 final String url; |
14790 | 14800 |
14791 _WebSocketEventsImpl get on() => | |
14792 new _WebSocketEventsImpl(this); | |
14793 | |
14794 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) native "this.addEventListener(type, listener, useCapture);"; | 14801 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) native "this.addEventListener(type, listener, useCapture);"; |
14795 | 14802 |
14796 void close([int code = null, String reason = null]) native; | 14803 void close([int code = null, String reason = null]) native; |
14797 | 14804 |
14798 bool _dispatchEvent(_EventImpl evt) native "return this.dispatchEvent(evt);"; | 14805 bool _dispatchEvent(_EventImpl evt) native "return this.dispatchEvent(evt);"; |
14799 | 14806 |
14800 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e = null]) native "this.removeEventListener(type, listener, useCapture);"; | 14807 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e = null]) native "this.removeEventListener(type, listener, useCapture);"; |
14801 | 14808 |
14802 bool send(String data) native; | 14809 bool send(String data) native; |
14803 } | 14810 } |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14856 | 14863 |
14857 class _WindowImpl extends _EventTargetImpl implements Window native "@*DOMWindow
" { | 14864 class _WindowImpl extends _EventTargetImpl implements Window native "@*DOMWindow
" { |
14858 | 14865 |
14859 _DocumentImpl get document() native "return this.document.documentElement;"; | 14866 _DocumentImpl get document() native "return this.document.documentElement;"; |
14860 | 14867 |
14861 void requestLayoutFrame(TimeoutHandler callback) { | 14868 void requestLayoutFrame(TimeoutHandler callback) { |
14862 _addMeasurementFrameCallback(callback); | 14869 _addMeasurementFrameCallback(callback); |
14863 } | 14870 } |
14864 | 14871 |
14865 | 14872 |
| 14873 _WindowEventsImpl get on() => |
| 14874 new _WindowEventsImpl(this); |
| 14875 |
14866 static final int PERSISTENT = 1; | 14876 static final int PERSISTENT = 1; |
14867 | 14877 |
14868 static final int TEMPORARY = 0; | 14878 static final int TEMPORARY = 0; |
14869 | 14879 |
14870 final _DOMApplicationCacheImpl applicationCache; | 14880 final _DOMApplicationCacheImpl applicationCache; |
14871 | 14881 |
14872 final _NavigatorImpl clientInformation; | 14882 final _NavigatorImpl clientInformation; |
14873 | 14883 |
14874 final bool closed; | 14884 final bool closed; |
14875 | 14885 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14958 final _WindowImpl top; | 14968 final _WindowImpl top; |
14959 | 14969 |
14960 final _IDBFactoryImpl webkitIndexedDB; | 14970 final _IDBFactoryImpl webkitIndexedDB; |
14961 | 14971 |
14962 final _NotificationCenterImpl webkitNotifications; | 14972 final _NotificationCenterImpl webkitNotifications; |
14963 | 14973 |
14964 final _StorageInfoImpl webkitStorageInfo; | 14974 final _StorageInfoImpl webkitStorageInfo; |
14965 | 14975 |
14966 final _WindowImpl window; | 14976 final _WindowImpl window; |
14967 | 14977 |
14968 _WindowEventsImpl get on() => | |
14969 new _WindowEventsImpl(this); | |
14970 | |
14971 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) native "this.addEventListener(type, listener, useCapture);"; | 14978 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) native "this.addEventListener(type, listener, useCapture);"; |
14972 | 14979 |
14973 void alert(String message) native; | 14980 void alert(String message) native; |
14974 | 14981 |
14975 String atob(String string) native; | 14982 String atob(String string) native; |
14976 | 14983 |
14977 void blur() native; | 14984 void blur() native; |
14978 | 14985 |
14979 String btoa(String string) native; | 14986 String btoa(String string) native; |
14980 | 14987 |
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15304 | 15311 |
15305 final bool onLine; | 15312 final bool onLine; |
15306 | 15313 |
15307 final String platform; | 15314 final String platform; |
15308 | 15315 |
15309 final String userAgent; | 15316 final String userAgent; |
15310 } | 15317 } |
15311 | 15318 |
15312 class _XMLHttpRequestImpl extends _EventTargetImpl implements XMLHttpRequest nat
ive "*XMLHttpRequest" { | 15319 class _XMLHttpRequestImpl extends _EventTargetImpl implements XMLHttpRequest nat
ive "*XMLHttpRequest" { |
15313 | 15320 |
| 15321 _XMLHttpRequestEventsImpl get on() => |
| 15322 new _XMLHttpRequestEventsImpl(this); |
| 15323 |
15314 static final int DONE = 4; | 15324 static final int DONE = 4; |
15315 | 15325 |
15316 static final int HEADERS_RECEIVED = 2; | 15326 static final int HEADERS_RECEIVED = 2; |
15317 | 15327 |
15318 static final int LOADING = 3; | 15328 static final int LOADING = 3; |
15319 | 15329 |
15320 static final int OPENED = 1; | 15330 static final int OPENED = 1; |
15321 | 15331 |
15322 static final int UNSENT = 0; | 15332 static final int UNSENT = 0; |
15323 | 15333 |
(...skipping 14 matching lines...) Expand all Loading... |
15338 _EventTargetImpl get _responseXML() native "return this.responseXML;"; | 15348 _EventTargetImpl get _responseXML() native "return this.responseXML;"; |
15339 | 15349 |
15340 final int status; | 15350 final int status; |
15341 | 15351 |
15342 final String statusText; | 15352 final String statusText; |
15343 | 15353 |
15344 final _XMLHttpRequestUploadImpl upload; | 15354 final _XMLHttpRequestUploadImpl upload; |
15345 | 15355 |
15346 bool withCredentials; | 15356 bool withCredentials; |
15347 | 15357 |
15348 _XMLHttpRequestEventsImpl get on() => | |
15349 new _XMLHttpRequestEventsImpl(this); | |
15350 | |
15351 void abort() native; | 15358 void abort() native; |
15352 | 15359 |
15353 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) native "this.addEventListener(type, listener, useCapture);"; | 15360 void _addEventListener(String type, EventListener listener, [bool useCapture =
null]) native "this.addEventListener(type, listener, useCapture);"; |
15354 | 15361 |
15355 bool _dispatchEvent(_EventImpl evt) native "return this.dispatchEvent(evt);"; | 15362 bool _dispatchEvent(_EventImpl evt) native "return this.dispatchEvent(evt);"; |
15356 | 15363 |
15357 String getAllResponseHeaders() native; | 15364 String getAllResponseHeaders() native; |
15358 | 15365 |
15359 String getResponseHeader(String header) native; | 15366 String getResponseHeader(String header) native; |
15360 | 15367 |
(...skipping 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16384 Blob getBlob([String contentType]); | 16391 Blob getBlob([String contentType]); |
16385 } | 16392 } |
16386 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16393 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
16387 // for details. All rights reserved. Use of this source code is governed by a | 16394 // for details. All rights reserved. Use of this source code is governed by a |
16388 // BSD-style license that can be found in the LICENSE file. | 16395 // BSD-style license that can be found in the LICENSE file. |
16389 | 16396 |
16390 // WARNING: Do not edit - generated code. | 16397 // WARNING: Do not edit - generated code. |
16391 | 16398 |
16392 interface BodyElement extends Element { | 16399 interface BodyElement extends Element { |
16393 | 16400 |
| 16401 BodyElementEvents get on(); |
| 16402 |
16394 String aLink; | 16403 String aLink; |
16395 | 16404 |
16396 String background; | 16405 String background; |
16397 | 16406 |
16398 String bgColor; | 16407 String bgColor; |
16399 | 16408 |
16400 String link; | 16409 String link; |
16401 | 16410 |
16402 String vLink; | 16411 String vLink; |
16403 | |
16404 BodyElementEvents get on(); | |
16405 } | 16412 } |
16406 | 16413 |
16407 interface BodyElementEvents extends ElementEvents { | 16414 interface BodyElementEvents extends ElementEvents { |
16408 | 16415 |
16409 EventListenerList get beforeUnload(); | 16416 EventListenerList get beforeUnload(); |
16410 | 16417 |
16411 EventListenerList get blur(); | 16418 EventListenerList get blur(); |
16412 | 16419 |
16413 EventListenerList get error(); | 16420 EventListenerList get error(); |
16414 | 16421 |
(...skipping 2804 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
19219 bool compact; | 19226 bool compact; |
19220 } | 19227 } |
19221 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19228 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
19222 // for details. All rights reserved. Use of this source code is governed by a | 19229 // for details. All rights reserved. Use of this source code is governed by a |
19223 // BSD-style license that can be found in the LICENSE file. | 19230 // BSD-style license that can be found in the LICENSE file. |
19224 | 19231 |
19225 // WARNING: Do not edit - generated code. | 19232 // WARNING: Do not edit - generated code. |
19226 | 19233 |
19227 interface DOMApplicationCache extends EventTarget { | 19234 interface DOMApplicationCache extends EventTarget { |
19228 | 19235 |
| 19236 DOMApplicationCacheEvents get on(); |
| 19237 |
19229 static final int CHECKING = 2; | 19238 static final int CHECKING = 2; |
19230 | 19239 |
19231 static final int DOWNLOADING = 3; | 19240 static final int DOWNLOADING = 3; |
19232 | 19241 |
19233 static final int IDLE = 1; | 19242 static final int IDLE = 1; |
19234 | 19243 |
19235 static final int OBSOLETE = 5; | 19244 static final int OBSOLETE = 5; |
19236 | 19245 |
19237 static final int UNCACHED = 0; | 19246 static final int UNCACHED = 0; |
19238 | 19247 |
19239 static final int UPDATEREADY = 4; | 19248 static final int UPDATEREADY = 4; |
19240 | 19249 |
19241 final int status; | 19250 final int status; |
19242 | 19251 |
19243 DOMApplicationCacheEvents get on(); | |
19244 | |
19245 void abort(); | 19252 void abort(); |
19246 | 19253 |
19247 void _addEventListener(String type, EventListener listener, [bool useCapture])
; | 19254 void _addEventListener(String type, EventListener listener, [bool useCapture])
; |
19248 | 19255 |
19249 bool _dispatchEvent(Event evt); | 19256 bool _dispatchEvent(Event evt); |
19250 | 19257 |
19251 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e]); | 19258 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e]); |
19252 | 19259 |
19253 void swapCache(); | 19260 void swapCache(); |
19254 | 19261 |
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
19822 | 19829 |
19823 String align; | 19830 String align; |
19824 } | 19831 } |
19825 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 19832 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
19826 // for details. All rights reserved. Use of this source code is governed by a | 19833 // for details. All rights reserved. Use of this source code is governed by a |
19827 // BSD-style license that can be found in the LICENSE file. | 19834 // BSD-style license that can be found in the LICENSE file. |
19828 | 19835 |
19829 interface Document extends HtmlElement { | 19836 interface Document extends HtmlElement { |
19830 | 19837 |
19831 | 19838 |
| 19839 DocumentEvents get on(); |
| 19840 |
19832 final Element activeElement; | 19841 final Element activeElement; |
19833 | 19842 |
19834 Element body; | 19843 Element body; |
19835 | 19844 |
19836 String charset; | 19845 String charset; |
19837 | 19846 |
19838 String cookie; | 19847 String cookie; |
19839 | 19848 |
19840 final Window window; | 19849 final Window window; |
19841 | 19850 |
(...skipping 18 matching lines...) Expand all Loading... |
19860 final Element webkitCurrentFullScreenElement; | 19869 final Element webkitCurrentFullScreenElement; |
19861 | 19870 |
19862 final bool webkitFullScreenKeyboardInputAllowed; | 19871 final bool webkitFullScreenKeyboardInputAllowed; |
19863 | 19872 |
19864 final bool webkitHidden; | 19873 final bool webkitHidden; |
19865 | 19874 |
19866 final bool webkitIsFullScreen; | 19875 final bool webkitIsFullScreen; |
19867 | 19876 |
19868 final String webkitVisibilityState; | 19877 final String webkitVisibilityState; |
19869 | 19878 |
19870 DocumentEvents get on(); | |
19871 | |
19872 Range caretRangeFromPoint(int x, int y); | 19879 Range caretRangeFromPoint(int x, int y); |
19873 | 19880 |
19874 CDATASection createCDATASection(String data); | 19881 CDATASection createCDATASection(String data); |
19875 | 19882 |
19876 DocumentFragment createDocumentFragment(); | 19883 DocumentFragment createDocumentFragment(); |
19877 | 19884 |
19878 Element _createElement(String tagName); | 19885 Element _createElement(String tagName); |
19879 | 19886 |
19880 Event _createEvent(String eventType); | 19887 Event _createEvent(String eventType); |
19881 | 19888 |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20006 EventListenerList get touchStart(); | 20013 EventListenerList get touchStart(); |
20007 } | 20014 } |
20008 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20015 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
20009 // for details. All rights reserved. Use of this source code is governed by a | 20016 // for details. All rights reserved. Use of this source code is governed by a |
20010 // BSD-style license that can be found in the LICENSE file. | 20017 // BSD-style license that can be found in the LICENSE file. |
20011 | 20018 |
20012 // WARNING: Do not edit - generated code. | 20019 // WARNING: Do not edit - generated code. |
20013 | 20020 |
20014 interface DocumentFragment extends Node, NodeSelector { | 20021 interface DocumentFragment extends Node, NodeSelector { |
20015 | 20022 |
| 20023 DocumentFragmentEvents get on(); |
| 20024 |
20016 Element query(String selectors); | 20025 Element query(String selectors); |
20017 | 20026 |
20018 NodeList _querySelectorAll(String selectors); | 20027 NodeList _querySelectorAll(String selectors); |
20019 } | 20028 } |
| 20029 |
| 20030 interface DocumentFragmentEvents extends Events { |
| 20031 } |
20020 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20032 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
20021 // for details. All rights reserved. Use of this source code is governed by a | 20033 // for details. All rights reserved. Use of this source code is governed by a |
20022 // BSD-style license that can be found in the LICENSE file. | 20034 // BSD-style license that can be found in the LICENSE file. |
20023 | 20035 |
20024 // WARNING: Do not edit - generated code. | 20036 // WARNING: Do not edit - generated code. |
20025 | 20037 |
20026 interface DocumentType extends Node { | 20038 interface DocumentType extends Node { |
20027 | 20039 |
20028 final NamedNodeMap entities; | 20040 final NamedNodeMap entities; |
20029 | 20041 |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20347 Future<CSSStyleDeclaration> get computedStyle(); | 20359 Future<CSSStyleDeclaration> get computedStyle(); |
20348 | 20360 |
20349 /** @domName Window.getComputedStyle */ | 20361 /** @domName Window.getComputedStyle */ |
20350 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement); | 20362 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement); |
20351 | 20363 |
20352 Element clone(bool deep); | 20364 Element clone(bool deep); |
20353 | 20365 |
20354 Element get parent(); | 20366 Element get parent(); |
20355 | 20367 |
20356 | 20368 |
| 20369 ElementEvents get on(); |
| 20370 |
20357 static final int ALLOW_KEYBOARD_INPUT = 1; | 20371 static final int ALLOW_KEYBOARD_INPUT = 1; |
20358 | 20372 |
20359 final int _childElementCount; | 20373 final int _childElementCount; |
20360 | 20374 |
20361 final HTMLCollection _children; | 20375 final HTMLCollection _children; |
20362 | 20376 |
20363 final DOMTokenList classList; | 20377 final DOMTokenList classList; |
20364 | 20378 |
20365 String _className; | 20379 String _className; |
20366 | 20380 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20425 final String tagName; | 20439 final String tagName; |
20426 | 20440 |
20427 String title; | 20441 String title; |
20428 | 20442 |
20429 bool translate; | 20443 bool translate; |
20430 | 20444 |
20431 final String webkitRegionOverflow; | 20445 final String webkitRegionOverflow; |
20432 | 20446 |
20433 String webkitdropzone; | 20447 String webkitdropzone; |
20434 | 20448 |
20435 ElementEvents get on(); | |
20436 | |
20437 void blur(); | 20449 void blur(); |
20438 | 20450 |
20439 void click(); | 20451 void click(); |
20440 | 20452 |
20441 void focus(); | 20453 void focus(); |
20442 | 20454 |
20443 String _getAttribute(String name); | 20455 String _getAttribute(String name); |
20444 | 20456 |
20445 ClientRect _getBoundingClientRect(); | 20457 ClientRect _getBoundingClientRect(); |
20446 | 20458 |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20874 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 20886 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
20875 // for details. All rights reserved. Use of this source code is governed by a | 20887 // for details. All rights reserved. Use of this source code is governed by a |
20876 // BSD-style license that can be found in the LICENSE file. | 20888 // BSD-style license that can be found in the LICENSE file. |
20877 | 20889 |
20878 // WARNING: Do not edit - generated code. | 20890 // WARNING: Do not edit - generated code. |
20879 | 20891 |
20880 interface EventSource extends EventTarget default _EventSourceFactoryProvider { | 20892 interface EventSource extends EventTarget default _EventSourceFactoryProvider { |
20881 | 20893 |
20882 EventSource(String scriptUrl); | 20894 EventSource(String scriptUrl); |
20883 | 20895 |
| 20896 EventSourceEvents get on(); |
| 20897 |
20884 static final int CLOSED = 2; | 20898 static final int CLOSED = 2; |
20885 | 20899 |
20886 static final int CONNECTING = 0; | 20900 static final int CONNECTING = 0; |
20887 | 20901 |
20888 static final int OPEN = 1; | 20902 static final int OPEN = 1; |
20889 | 20903 |
20890 final String URL; | 20904 final String URL; |
20891 | 20905 |
20892 final int readyState; | 20906 final int readyState; |
20893 | 20907 |
20894 final String url; | 20908 final String url; |
20895 | 20909 |
20896 EventSourceEvents get on(); | |
20897 | |
20898 void _addEventListener(String type, EventListener listener, [bool useCapture])
; | 20910 void _addEventListener(String type, EventListener listener, [bool useCapture])
; |
20899 | 20911 |
20900 void close(); | 20912 void close(); |
20901 | 20913 |
20902 bool _dispatchEvent(Event evt); | 20914 bool _dispatchEvent(Event evt); |
20903 | 20915 |
20904 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e]); | 20916 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e]); |
20905 } | 20917 } |
20906 | 20918 |
20907 interface EventSourceEvents extends Events { | 20919 interface EventSourceEvents extends Events { |
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
21367 SVGDocument getSVGDocument(); | 21379 SVGDocument getSVGDocument(); |
21368 } | 21380 } |
21369 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 21381 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
21370 // for details. All rights reserved. Use of this source code is governed by a | 21382 // for details. All rights reserved. Use of this source code is governed by a |
21371 // BSD-style license that can be found in the LICENSE file. | 21383 // BSD-style license that can be found in the LICENSE file. |
21372 | 21384 |
21373 // WARNING: Do not edit - generated code. | 21385 // WARNING: Do not edit - generated code. |
21374 | 21386 |
21375 interface FrameSetElement extends Element { | 21387 interface FrameSetElement extends Element { |
21376 | 21388 |
| 21389 FrameSetElementEvents get on(); |
| 21390 |
21377 String cols; | 21391 String cols; |
21378 | 21392 |
21379 String rows; | 21393 String rows; |
21380 | |
21381 FrameSetElementEvents get on(); | |
21382 } | 21394 } |
21383 | 21395 |
21384 interface FrameSetElementEvents extends ElementEvents { | 21396 interface FrameSetElementEvents extends ElementEvents { |
21385 | 21397 |
21386 EventListenerList get beforeUnload(); | 21398 EventListenerList get beforeUnload(); |
21387 | 21399 |
21388 EventListenerList get blur(); | 21400 EventListenerList get blur(); |
21389 | 21401 |
21390 EventListenerList get error(); | 21402 EventListenerList get error(); |
21391 | 21403 |
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
22006 final int y; | 22018 final int y; |
22007 } | 22019 } |
22008 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 22020 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
22009 // for details. All rights reserved. Use of this source code is governed by a | 22021 // for details. All rights reserved. Use of this source code is governed by a |
22010 // BSD-style license that can be found in the LICENSE file. | 22022 // BSD-style license that can be found in the LICENSE file. |
22011 | 22023 |
22012 // WARNING: Do not edit - generated code. | 22024 // WARNING: Do not edit - generated code. |
22013 | 22025 |
22014 interface InputElement extends Element { | 22026 interface InputElement extends Element { |
22015 | 22027 |
| 22028 InputElementEvents get on(); |
| 22029 |
22016 String accept; | 22030 String accept; |
22017 | 22031 |
22018 String align; | 22032 String align; |
22019 | 22033 |
22020 String alt; | 22034 String alt; |
22021 | 22035 |
22022 String autocomplete; | 22036 String autocomplete; |
22023 | 22037 |
22024 bool autofocus; | 22038 bool autofocus; |
22025 | 22039 |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
22096 num valueAsNumber; | 22110 num valueAsNumber; |
22097 | 22111 |
22098 bool webkitGrammar; | 22112 bool webkitGrammar; |
22099 | 22113 |
22100 bool webkitSpeech; | 22114 bool webkitSpeech; |
22101 | 22115 |
22102 bool webkitdirectory; | 22116 bool webkitdirectory; |
22103 | 22117 |
22104 final bool willValidate; | 22118 final bool willValidate; |
22105 | 22119 |
22106 InputElementEvents get on(); | |
22107 | |
22108 bool checkValidity(); | 22120 bool checkValidity(); |
22109 | 22121 |
22110 void select(); | 22122 void select(); |
22111 | 22123 |
22112 void setCustomValidity(String error); | 22124 void setCustomValidity(String error); |
22113 | 22125 |
22114 void setSelectionRange(int start, int end, [String direction]); | 22126 void setSelectionRange(int start, int end, [String direction]); |
22115 | 22127 |
22116 void stepDown([int n]); | 22128 void stepDown([int n]); |
22117 | 22129 |
(...skipping 1188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
23306 final String systemId; | 23318 final String systemId; |
23307 } | 23319 } |
23308 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23320 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
23309 // for details. All rights reserved. Use of this source code is governed by a | 23321 // for details. All rights reserved. Use of this source code is governed by a |
23310 // BSD-style license that can be found in the LICENSE file. | 23322 // BSD-style license that can be found in the LICENSE file. |
23311 | 23323 |
23312 // WARNING: Do not edit - generated code. | 23324 // WARNING: Do not edit - generated code. |
23313 | 23325 |
23314 interface Notification extends EventTarget { | 23326 interface Notification extends EventTarget { |
23315 | 23327 |
| 23328 NotificationEvents get on(); |
| 23329 |
23316 String dir; | 23330 String dir; |
23317 | 23331 |
23318 String replaceId; | 23332 String replaceId; |
23319 | 23333 |
23320 NotificationEvents get on(); | |
23321 | |
23322 void cancel(); | 23334 void cancel(); |
23323 | 23335 |
23324 void show(); | 23336 void show(); |
23325 } | 23337 } |
23326 | 23338 |
23327 interface NotificationEvents extends Events { | 23339 interface NotificationEvents extends Events { |
23328 | 23340 |
23329 EventListenerList get click(); | 23341 EventListenerList get click(); |
23330 | 23342 |
23331 EventListenerList get close(); | 23343 EventListenerList get close(); |
(...skipping 1239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
24571 String xmlbase; | 24583 String xmlbase; |
24572 } | 24584 } |
24573 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 24585 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
24574 // for details. All rights reserved. Use of this source code is governed by a | 24586 // for details. All rights reserved. Use of this source code is governed by a |
24575 // BSD-style license that can be found in the LICENSE file. | 24587 // BSD-style license that can be found in the LICENSE file. |
24576 | 24588 |
24577 // WARNING: Do not edit - generated code. | 24589 // WARNING: Do not edit - generated code. |
24578 | 24590 |
24579 interface SVGElementInstance extends EventTarget { | 24591 interface SVGElementInstance extends EventTarget { |
24580 | 24592 |
| 24593 SVGElementInstanceEvents get on(); |
| 24594 |
24581 final SVGElementInstanceList childNodes; | 24595 final SVGElementInstanceList childNodes; |
24582 | 24596 |
24583 final SVGElement correspondingElement; | 24597 final SVGElement correspondingElement; |
24584 | 24598 |
24585 final SVGUseElement correspondingUseElement; | 24599 final SVGUseElement correspondingUseElement; |
24586 | 24600 |
24587 final SVGElementInstance firstChild; | 24601 final SVGElementInstance firstChild; |
24588 | 24602 |
24589 final SVGElementInstance lastChild; | 24603 final SVGElementInstance lastChild; |
24590 | 24604 |
24591 final SVGElementInstance nextSibling; | 24605 final SVGElementInstance nextSibling; |
24592 | 24606 |
24593 final SVGElementInstance parentNode; | 24607 final SVGElementInstance parentNode; |
24594 | 24608 |
24595 final SVGElementInstance previousSibling; | 24609 final SVGElementInstance previousSibling; |
24596 | 24610 |
24597 SVGElementInstanceEvents get on(); | |
24598 | |
24599 void _addEventListener(String type, EventListener listener, [bool useCapture])
; | 24611 void _addEventListener(String type, EventListener listener, [bool useCapture])
; |
24600 | 24612 |
24601 bool _dispatchEvent(Event event); | 24613 bool _dispatchEvent(Event event); |
24602 | 24614 |
24603 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e]); | 24615 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e]); |
24604 } | 24616 } |
24605 | 24617 |
24606 interface SVGElementInstanceEvents extends Events { | 24618 interface SVGElementInstanceEvents extends Events { |
24607 | 24619 |
24608 EventListenerList get abort(); | 24620 EventListenerList get abort(); |
(...skipping 4427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
29036 NodeList getRegionsByContentNode(Node contentNode); | 29048 NodeList getRegionsByContentNode(Node contentNode); |
29037 } | 29049 } |
29038 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 29050 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
29039 // for details. All rights reserved. Use of this source code is governed by a | 29051 // for details. All rights reserved. Use of this source code is governed by a |
29040 // BSD-style license that can be found in the LICENSE file. | 29052 // BSD-style license that can be found in the LICENSE file. |
29041 | 29053 |
29042 // WARNING: Do not edit - generated code. | 29054 // WARNING: Do not edit - generated code. |
29043 | 29055 |
29044 interface WebSocket extends EventTarget { | 29056 interface WebSocket extends EventTarget { |
29045 | 29057 |
| 29058 WebSocketEvents get on(); |
| 29059 |
29046 static final int CLOSED = 3; | 29060 static final int CLOSED = 3; |
29047 | 29061 |
29048 static final int CLOSING = 2; | 29062 static final int CLOSING = 2; |
29049 | 29063 |
29050 static final int CONNECTING = 0; | 29064 static final int CONNECTING = 0; |
29051 | 29065 |
29052 static final int OPEN = 1; | 29066 static final int OPEN = 1; |
29053 | 29067 |
29054 final String URL; | 29068 final String URL; |
29055 | 29069 |
29056 String binaryType; | 29070 String binaryType; |
29057 | 29071 |
29058 final int bufferedAmount; | 29072 final int bufferedAmount; |
29059 | 29073 |
29060 final String extensions; | 29074 final String extensions; |
29061 | 29075 |
29062 final String protocol; | 29076 final String protocol; |
29063 | 29077 |
29064 final int readyState; | 29078 final int readyState; |
29065 | 29079 |
29066 final String url; | 29080 final String url; |
29067 | 29081 |
29068 WebSocketEvents get on(); | |
29069 | |
29070 void _addEventListener(String type, EventListener listener, [bool useCapture])
; | 29082 void _addEventListener(String type, EventListener listener, [bool useCapture])
; |
29071 | 29083 |
29072 void close([int code, String reason]); | 29084 void close([int code, String reason]); |
29073 | 29085 |
29074 bool _dispatchEvent(Event evt); | 29086 bool _dispatchEvent(Event evt); |
29075 | 29087 |
29076 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e]); | 29088 void _removeEventListener(String type, EventListener listener, [bool useCaptur
e]); |
29077 | 29089 |
29078 bool send(String data); | 29090 bool send(String data); |
29079 } | 29091 } |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
29141 final Document document; | 29153 final Document document; |
29142 | 29154 |
29143 /** | 29155 /** |
29144 * Executes a [callback] after the next batch of browser layout measurements | 29156 * Executes a [callback] after the next batch of browser layout measurements |
29145 * has completed or would have completed if any browser layout measurements | 29157 * has completed or would have completed if any browser layout measurements |
29146 * had been scheduled. | 29158 * had been scheduled. |
29147 */ | 29159 */ |
29148 void requestLayoutFrame(TimeoutHandler callback); | 29160 void requestLayoutFrame(TimeoutHandler callback); |
29149 | 29161 |
29150 | 29162 |
| 29163 WindowEvents get on(); |
| 29164 |
29151 static final int PERSISTENT = 1; | 29165 static final int PERSISTENT = 1; |
29152 | 29166 |
29153 static final int TEMPORARY = 0; | 29167 static final int TEMPORARY = 0; |
29154 | 29168 |
29155 final DOMApplicationCache applicationCache; | 29169 final DOMApplicationCache applicationCache; |
29156 | 29170 |
29157 final Navigator clientInformation; | 29171 final Navigator clientInformation; |
29158 | 29172 |
29159 final bool closed; | 29173 final bool closed; |
29160 | 29174 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
29243 final Window top; | 29257 final Window top; |
29244 | 29258 |
29245 final IDBFactory webkitIndexedDB; | 29259 final IDBFactory webkitIndexedDB; |
29246 | 29260 |
29247 final NotificationCenter webkitNotifications; | 29261 final NotificationCenter webkitNotifications; |
29248 | 29262 |
29249 final StorageInfo webkitStorageInfo; | 29263 final StorageInfo webkitStorageInfo; |
29250 | 29264 |
29251 final Window window; | 29265 final Window window; |
29252 | 29266 |
29253 WindowEvents get on(); | |
29254 | |
29255 void _addEventListener(String type, EventListener listener, [bool useCapture])
; | 29267 void _addEventListener(String type, EventListener listener, [bool useCapture])
; |
29256 | 29268 |
29257 void alert(String message); | 29269 void alert(String message); |
29258 | 29270 |
29259 String atob(String string); | 29271 String atob(String string); |
29260 | 29272 |
29261 void blur(); | 29273 void blur(); |
29262 | 29274 |
29263 String btoa(String string); | 29275 String btoa(String string); |
29264 | 29276 |
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
29617 | 29629 |
29618 // WARNING: Do not edit - generated code. | 29630 // WARNING: Do not edit - generated code. |
29619 | 29631 |
29620 interface XMLHttpRequest extends EventTarget default _XMLHttpRequestFactoryProvi
der { | 29632 interface XMLHttpRequest extends EventTarget default _XMLHttpRequestFactoryProvi
der { |
29621 // TODO(rnystrom): This name should just be "get" which is valid in Dart, but | 29633 // TODO(rnystrom): This name should just be "get" which is valid in Dart, but |
29622 // not correctly implemented yet. (b/4970173) | 29634 // not correctly implemented yet. (b/4970173) |
29623 XMLHttpRequest.getTEMPNAME(String url, onSuccess(XMLHttpRequest request)); | 29635 XMLHttpRequest.getTEMPNAME(String url, onSuccess(XMLHttpRequest request)); |
29624 | 29636 |
29625 XMLHttpRequest(); | 29637 XMLHttpRequest(); |
29626 | 29638 |
| 29639 XMLHttpRequestEvents get on(); |
| 29640 |
29627 static final int DONE = 4; | 29641 static final int DONE = 4; |
29628 | 29642 |
29629 static final int HEADERS_RECEIVED = 2; | 29643 static final int HEADERS_RECEIVED = 2; |
29630 | 29644 |
29631 static final int LOADING = 3; | 29645 static final int LOADING = 3; |
29632 | 29646 |
29633 static final int OPENED = 1; | 29647 static final int OPENED = 1; |
29634 | 29648 |
29635 static final int UNSENT = 0; | 29649 static final int UNSENT = 0; |
29636 | 29650 |
(...skipping 12 matching lines...) Expand all Loading... |
29649 final Document responseXML; | 29663 final Document responseXML; |
29650 | 29664 |
29651 final int status; | 29665 final int status; |
29652 | 29666 |
29653 final String statusText; | 29667 final String statusText; |
29654 | 29668 |
29655 final XMLHttpRequestUpload upload; | 29669 final XMLHttpRequestUpload upload; |
29656 | 29670 |
29657 bool withCredentials; | 29671 bool withCredentials; |
29658 | 29672 |
29659 XMLHttpRequestEvents get on(); | |
29660 | |
29661 void abort(); | 29673 void abort(); |
29662 | 29674 |
29663 void _addEventListener(String type, EventListener listener, [bool useCapture])
; | 29675 void _addEventListener(String type, EventListener listener, [bool useCapture])
; |
29664 | 29676 |
29665 bool _dispatchEvent(Event evt); | 29677 bool _dispatchEvent(Event evt); |
29666 | 29678 |
29667 String getAllResponseHeaders(); | 29679 String getAllResponseHeaders(); |
29668 | 29680 |
29669 String getResponseHeader(String header); | 29681 String getResponseHeader(String header); |
29670 | 29682 |
(...skipping 1299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
30970 if (length < 0) throw new IllegalArgumentException('length'); | 30982 if (length < 0) throw new IllegalArgumentException('length'); |
30971 if (start < 0) throw new IndexOutOfRangeException(start); | 30983 if (start < 0) throw new IndexOutOfRangeException(start); |
30972 int end = start + length; | 30984 int end = start + length; |
30973 if (end > a.length) throw new IndexOutOfRangeException(end); | 30985 if (end > a.length) throw new IndexOutOfRangeException(end); |
30974 for (int i = start; i < end; i++) { | 30986 for (int i = start; i < end; i++) { |
30975 accumulator.add(a[i]); | 30987 accumulator.add(a[i]); |
30976 } | 30988 } |
30977 return accumulator; | 30989 return accumulator; |
30978 } | 30990 } |
30979 } | 30991 } |
OLD | NEW |