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

Side by Side Diff: client/html/frog/html_frog.dart

Issue 9619015: Regenerate dart:dom and dart:html bindings (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 _AudioBufferImpl createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR _numberOfFrames, [num sampleRate = null]) native; 314 _AudioBufferImpl createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR _numberOfFrames, [num sampleRate = null]) native;
315 315
316 _AudioBufferSourceNodeImpl createBufferSource() native; 316 _AudioBufferSourceNodeImpl createBufferSource() native;
317 317
318 _AudioChannelMergerImpl createChannelMerger() native; 318 _AudioChannelMergerImpl createChannelMerger() native;
319 319
320 _AudioChannelSplitterImpl createChannelSplitter() native; 320 _AudioChannelSplitterImpl createChannelSplitter() native;
321 321
322 _ConvolverNodeImpl createConvolver() native; 322 _ConvolverNodeImpl createConvolver() native;
323 323
324 _DelayNodeImpl createDelayNode() native; 324 _DelayNodeImpl createDelayNode([num maxDelayTime = null]) native;
325 325
326 _DynamicsCompressorNodeImpl createDynamicsCompressor() native; 326 _DynamicsCompressorNodeImpl createDynamicsCompressor() native;
327 327
328 _AudioGainNodeImpl createGainNode() native; 328 _AudioGainNodeImpl createGainNode() native;
329 329
330 _HighPass2FilterNodeImpl createHighPass2Filter() native; 330 _HighPass2FilterNodeImpl createHighPass2Filter() native;
331 331
332 _JavaScriptAudioNodeImpl createJavaScriptNode(int bufferSize) native; 332 _JavaScriptAudioNodeImpl createJavaScriptNode(int bufferSize) native;
333 333
334 _LowPass2FilterNodeImpl createLowPass2Filter() native; 334 _LowPass2FilterNodeImpl createLowPass2Filter() native;
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
797 static final int CSS_RGBCOLOR = 25; 797 static final int CSS_RGBCOLOR = 25;
798 798
799 static final int CSS_S = 15; 799 static final int CSS_S = 15;
800 800
801 static final int CSS_STRING = 19; 801 static final int CSS_STRING = 19;
802 802
803 static final int CSS_UNKNOWN = 0; 803 static final int CSS_UNKNOWN = 0;
804 804
805 static final int CSS_URI = 20; 805 static final int CSS_URI = 20;
806 806
807 static final int CSS_VH = 27;
808
809 static final int CSS_VMIN = 28;
810
811 static final int CSS_VW = 26;
812
807 final int primitiveType; 813 final int primitiveType;
808 814
809 _CounterImpl getCounterValue() native; 815 _CounterImpl getCounterValue() native;
810 816
811 num getFloatValue(int unitType) native; 817 num getFloatValue(int unitType) native;
812 818
813 _RGBColorImpl getRGBColorValue() native; 819 _RGBColorImpl getRGBColorValue() native;
814 820
815 _RectImpl getRectValue() native; 821 _RectImpl getRectValue() native;
816 822
(...skipping 3213 matching lines...) Expand 10 before | Expand all | Expand 10 after
4030 class _ClipboardImpl implements Clipboard native "*Clipboard" { 4036 class _ClipboardImpl implements Clipboard native "*Clipboard" {
4031 4037
4032 String dropEffect; 4038 String dropEffect;
4033 4039
4034 String effectAllowed; 4040 String effectAllowed;
4035 4041
4036 final _FileListImpl files; 4042 final _FileListImpl files;
4037 4043
4038 final _DataTransferItemListImpl items; 4044 final _DataTransferItemListImpl items;
4039 4045
4040 final List<String> types; 4046 final List types;
4041 4047
4042 void clearData([String type = null]) native; 4048 void clearData([String type = null]) native;
4043 4049
4044 void getData(String type) native; 4050 String getData(String type) native;
4045 4051
4046 bool setData(String type, String data) native; 4052 bool setData(String type, String data) native;
4047 4053
4048 void setDragImage(_ImageElementImpl image, int x, int y) native; 4054 void setDragImage(_ImageElementImpl image, int x, int y) native;
4049 } 4055 }
4050 4056
4051 class _CloseEventImpl extends _EventImpl implements CloseEvent native "*CloseEve nt" { 4057 class _CloseEventImpl extends _EventImpl implements CloseEvent native "*CloseEve nt" {
4052 4058
4053 final int code; 4059 final int code;
4054 4060
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
4447 String item(int index) native; 4453 String item(int index) native;
4448 4454
4449 void remove(String token) native; 4455 void remove(String token) native;
4450 4456
4451 String toString() native; 4457 String toString() native;
4452 4458
4453 bool toggle(String token) native; 4459 bool toggle(String token) native;
4454 } 4460 }
4455 4461
4456 class _DOMURLImpl implements DOMURL native "*DOMURL" { 4462 class _DOMURLImpl implements DOMURL native "*DOMURL" {
4463
4464 String createObjectURL(var blob_OR_stream) native;
4465
4466 void revokeObjectURL(String url) native;
4457 } 4467 }
4458 4468
4459 class _DataTransferItemImpl implements DataTransferItem native "*DataTransferIte m" { 4469 class _DataTransferItemImpl implements DataTransferItem native "*DataTransferIte m" {
4460 4470
4461 final String kind; 4471 final String kind;
4462 4472
4463 final String type; 4473 final String type;
4464 4474
4465 _BlobImpl getAsFile() native; 4475 _BlobImpl getAsFile() native;
4466 4476
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
4853 final String name; 4863 final String name;
4854 4864
4855 final _NamedNodeMapImpl notations; 4865 final _NamedNodeMapImpl notations;
4856 4866
4857 final String publicId; 4867 final String publicId;
4858 4868
4859 final String systemId; 4869 final String systemId;
4860 } 4870 }
4861 4871
4862 class _DynamicsCompressorNodeImpl extends _AudioNodeImpl implements DynamicsComp ressorNode native "*DynamicsCompressorNode" { 4872 class _DynamicsCompressorNodeImpl extends _AudioNodeImpl implements DynamicsComp ressorNode native "*DynamicsCompressorNode" {
4873
4874 final _AudioParamImpl knee;
4875
4876 final _AudioParamImpl ratio;
4877
4878 final _AudioParamImpl reduction;
4879
4880 final _AudioParamImpl threshold;
4863 } 4881 }
4864 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 4882 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4865 // for details. All rights reserved. Use of this source code is governed by a 4883 // for details. All rights reserved. Use of this source code is governed by a
4866 // BSD-style license that can be found in the LICENSE file. 4884 // BSD-style license that can be found in the LICENSE file.
4867 4885
4868 // TODO(jacobr): use _Lists.dart to remove some of the duplicated 4886 // TODO(jacobr): use _Lists.dart to remove some of the duplicated
4869 // functionality. 4887 // functionality.
4870 class _ChildrenElementList implements ElementList { 4888 class _ChildrenElementList implements ElementList {
4871 // Raw Element. 4889 // Raw Element.
4872 final _ElementImpl _element; 4890 final _ElementImpl _element;
(...skipping 1891 matching lines...) Expand 10 before | Expand all | Expand 10 after
6764 final String keyPath; 6782 final String keyPath;
6765 6783
6766 final bool multiEntry; 6784 final bool multiEntry;
6767 6785
6768 final String name; 6786 final String name;
6769 6787
6770 final _IDBObjectStoreImpl objectStore; 6788 final _IDBObjectStoreImpl objectStore;
6771 6789
6772 final bool unique; 6790 final bool unique;
6773 6791
6774 _IDBRequestImpl count([_IDBKeyRangeImpl range = null]) native; 6792 _IDBRequestImpl count([var key_OR_range = null]) native;
6775 6793
6776 _IDBRequestImpl getObject(_IDBKeyImpl key) native; 6794 _IDBRequestImpl getObject(_IDBKeyImpl key) native;
6777 6795
6778 _IDBRequestImpl getKey(_IDBKeyImpl key) native; 6796 _IDBRequestImpl getKey(_IDBKeyImpl key) native;
6779 6797
6780 _IDBRequestImpl openCursor([_IDBKeyRangeImpl range = null, int direction = nul l]) native; 6798 _IDBRequestImpl openCursor([_IDBKeyRangeImpl range = null, int direction = nul l]) native;
6781 6799
6782 _IDBRequestImpl openKeyCursor([_IDBKeyRangeImpl range = null, int direction = null]) native; 6800 _IDBRequestImpl openKeyCursor([_IDBKeyRangeImpl range = null, int direction = null]) native;
6783 } 6801 }
6784 6802
(...skipping 26 matching lines...) Expand all
6811 final String keyPath; 6829 final String keyPath;
6812 6830
6813 final String name; 6831 final String name;
6814 6832
6815 final _IDBTransactionImpl transaction; 6833 final _IDBTransactionImpl transaction;
6816 6834
6817 _IDBRequestImpl add(Dynamic value, [_IDBKeyImpl key = null]) native; 6835 _IDBRequestImpl add(Dynamic value, [_IDBKeyImpl key = null]) native;
6818 6836
6819 _IDBRequestImpl clear() native; 6837 _IDBRequestImpl clear() native;
6820 6838
6821 _IDBRequestImpl count([_IDBKeyRangeImpl range = null]) native; 6839 _IDBRequestImpl count([var key_OR_range = null]) native;
6822 6840
6823 _IDBIndexImpl createIndex(String name, String keyPath) native; 6841 _IDBIndexImpl createIndex(String name, String keyPath) native;
6824 6842
6825 _IDBRequestImpl delete(var key_OR_keyRange) native; 6843 _IDBRequestImpl delete(var key_OR_keyRange) native;
6826 6844
6827 void deleteIndex(String name) native; 6845 void deleteIndex(String name) native;
6828 6846
6829 _IDBRequestImpl getObject(_IDBKeyImpl key) native; 6847 _IDBRequestImpl getObject(_IDBKeyImpl key) native;
6830 6848
6831 _IDBIndexImpl index(String name) native; 6849 _IDBIndexImpl index(String name) native;
(...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after
7611 7629
7612 void pause() native; 7630 void pause() native;
7613 7631
7614 void play() native; 7632 void play() native;
7615 7633
7616 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 7634 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
7617 } 7635 }
7618 7636
7619 class _MediaElementImpl extends _ElementImpl implements MediaElement native "*HT MLMediaElement" { 7637 class _MediaElementImpl extends _ElementImpl implements MediaElement native "*HT MLMediaElement" {
7620 7638
7621 static final int EOS_DECODE_ERR = 2;
7622
7623 static final int EOS_NETWORK_ERR = 1;
7624
7625 static final int EOS_NO_ERROR = 0;
7626
7627 static final int HAVE_CURRENT_DATA = 2; 7639 static final int HAVE_CURRENT_DATA = 2;
7628 7640
7629 static final int HAVE_ENOUGH_DATA = 4; 7641 static final int HAVE_ENOUGH_DATA = 4;
7630 7642
7631 static final int HAVE_FUTURE_DATA = 3; 7643 static final int HAVE_FUTURE_DATA = 3;
7632 7644
7633 static final int HAVE_METADATA = 1; 7645 static final int HAVE_METADATA = 1;
7634 7646
7635 static final int HAVE_NOTHING = 0; 7647 static final int HAVE_NOTHING = 0;
7636 7648
7637 static final int NETWORK_EMPTY = 0; 7649 static final int NETWORK_EMPTY = 0;
7638 7650
7639 static final int NETWORK_IDLE = 1; 7651 static final int NETWORK_IDLE = 1;
7640 7652
7641 static final int NETWORK_LOADING = 2; 7653 static final int NETWORK_LOADING = 2;
7642 7654
7643 static final int NETWORK_NO_SOURCE = 3; 7655 static final int NETWORK_NO_SOURCE = 3;
7644 7656
7645 static final int SOURCE_CLOSED = 0;
7646
7647 static final int SOURCE_ENDED = 2;
7648
7649 static final int SOURCE_OPEN = 1;
7650
7651 bool autoplay; 7657 bool autoplay;
7652 7658
7653 final _TimeRangesImpl buffered; 7659 final _TimeRangesImpl buffered;
7654 7660
7655 _MediaControllerImpl controller; 7661 _MediaControllerImpl controller;
7656 7662
7657 bool controls; 7663 bool controls;
7658 7664
7659 final String currentSrc; 7665 final String currentSrc;
7660 7666
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
7973 String httpEquiv; 7979 String httpEquiv;
7974 7980
7975 String name; 7981 String name;
7976 7982
7977 String scheme; 7983 String scheme;
7978 } 7984 }
7979 7985
7980 class _MetadataImpl implements Metadata native "*Metadata" { 7986 class _MetadataImpl implements Metadata native "*Metadata" {
7981 7987
7982 final Date modificationTime; 7988 final Date modificationTime;
7989
7990 final int size;
7983 } 7991 }
7984 7992
7985 class _MeterElementImpl extends _ElementImpl implements MeterElement native "*HT MLMeterElement" { 7993 class _MeterElementImpl extends _ElementImpl implements MeterElement native "*HT MLMeterElement" {
7986 7994
7987 final _FormElementImpl form; 7995 final _FormElementImpl form;
7988 7996
7989 num high; 7997 num high;
7990 7998
7991 final _NodeListImpl labels; 7999 final _NodeListImpl labels;
7992 8000
(...skipping 4678 matching lines...) Expand 10 before | Expand all | Expand 10 after
12671 void setCustomValidity(String error) native; 12679 void setCustomValidity(String error) native;
12672 } 12680 }
12673 12681
12674 class _ShadowElementImpl extends _ElementImpl implements ShadowElement native "* HTMLShadowElement" { 12682 class _ShadowElementImpl extends _ElementImpl implements ShadowElement native "* HTMLShadowElement" {
12675 } 12683 }
12676 12684
12677 class _ShadowRootImpl extends _DocumentFragmentImpl implements ShadowRoot native "*ShadowRoot" { 12685 class _ShadowRootImpl extends _DocumentFragmentImpl implements ShadowRoot native "*ShadowRoot" {
12678 12686
12679 final _ElementImpl host; 12687 final _ElementImpl host;
12680 12688
12689 String innerHTML;
12690
12681 _ElementImpl getElementById(String elementId) native; 12691 _ElementImpl getElementById(String elementId) native;
12682 12692
12683 _NodeListImpl getElementsByClassName(String className) native; 12693 _NodeListImpl getElementsByClassName(String className) native;
12684 12694
12685 _NodeListImpl getElementsByTagName(String tagName) native; 12695 _NodeListImpl getElementsByTagName(String tagName) native;
12686 12696
12687 _NodeListImpl getElementsByTagNameNS(String namespaceURI, String localName) na tive; 12697 _NodeListImpl getElementsByTagNameNS(String namespaceURI, String localName) na tive;
12688 } 12698 }
12689 12699
12690 class _SharedWorkerImpl extends _AbstractWorkerImpl implements SharedWorker nati ve "*SharedWorker" { 12700 class _SharedWorkerImpl extends _AbstractWorkerImpl implements SharedWorker nati ve "*SharedWorker" {
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
13130 13140
13131 bool dispatchEvent(_EventImpl evt) native; 13141 bool dispatchEvent(_EventImpl evt) native;
13132 13142
13133 void removeCue(_TextTrackCueImpl cue) native; 13143 void removeCue(_TextTrackCueImpl cue) native;
13134 13144
13135 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 13145 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
13136 } 13146 }
13137 13147
13138 class _TextTrackCueImpl implements TextTrackCue native "*TextTrackCue" { 13148 class _TextTrackCueImpl implements TextTrackCue native "*TextTrackCue" {
13139 13149
13140 String alignment; 13150 String align;
13141
13142 String direction;
13143 13151
13144 num endTime; 13152 num endTime;
13145 13153
13146 String id; 13154 String id;
13147 13155
13148 int linePosition; 13156 int line;
13149 13157
13150 EventListener onenter; 13158 EventListener onenter;
13151 13159
13152 EventListener onexit; 13160 EventListener onexit;
13153 13161
13154 bool pauseOnExit; 13162 bool pauseOnExit;
13155 13163
13164 int position;
13165
13156 int size; 13166 int size;
13157 13167
13158 bool snapToLines; 13168 bool snapToLines;
13159 13169
13160 num startTime; 13170 num startTime;
13161 13171
13162 String text; 13172 String text;
13163 13173
13164 int textPosition; 13174 final _TextTrackImpl track;
13165 13175
13166 final _TextTrackImpl track; 13176 String vertical;
13167 13177
13168 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 13178 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
13169 13179
13170 bool dispatchEvent(_EventImpl evt) native; 13180 bool dispatchEvent(_EventImpl evt) native;
13171 13181
13172 _DocumentFragmentImpl getCueAsHTML() native; 13182 _DocumentFragmentImpl getCueAsHTML() native;
13173 13183
13174 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 13184 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
13175 } 13185 }
13176 13186
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
13333 List<Touch> getRange(int start, int length) => 13343 List<Touch> getRange(int start, int length) =>
13334 _Lists.getRange(this, start, length, <Touch>[]); 13344 _Lists.getRange(this, start, length, <Touch>[]);
13335 13345
13336 // -- end List<Touch> mixins. 13346 // -- end List<Touch> mixins.
13337 13347
13338 _TouchImpl item(int index) native; 13348 _TouchImpl item(int index) native;
13339 } 13349 }
13340 13350
13341 class _TrackElementImpl extends _ElementImpl implements TrackElement native "*HT MLTrackElement" { 13351 class _TrackElementImpl extends _ElementImpl implements TrackElement native "*HT MLTrackElement" {
13342 13352
13343 static final int ERROR = 3;
13344
13345 static final int LOADED = 2; 13353 static final int LOADED = 2;
13346 13354
13347 static final int LOADING = 1; 13355 static final int LOADING = 1;
13348 13356
13349 static final int NONE = 0; 13357 static final int NONE = 0;
13350 13358
13351 bool isDefault; 13359 bool isDefault;
13352 13360
13353 String kind; 13361 String kind;
13354 13362
(...skipping 1376 matching lines...) Expand 10 before | Expand all | Expand 10 after
14731 } 14739 }
14732 14740
14733 class _WebKitCSSRegionRuleImpl extends _CSSRuleImpl implements WebKitCSSRegionRu le native "*WebKitCSSRegionRule" { 14741 class _WebKitCSSRegionRuleImpl extends _CSSRuleImpl implements WebKitCSSRegionRu le native "*WebKitCSSRegionRule" {
14734 14742
14735 final _CSSRuleListImpl cssRules; 14743 final _CSSRuleListImpl cssRules;
14736 } 14744 }
14737 14745
14738 class _WebKitNamedFlowImpl implements WebKitNamedFlow native "*WebKitNamedFlow" { 14746 class _WebKitNamedFlowImpl implements WebKitNamedFlow native "*WebKitNamedFlow" {
14739 14747
14740 final bool overflow; 14748 final bool overflow;
14749
14750 _NodeListImpl getRegionsByContentNode(_NodeImpl contentNode) native;
14741 } 14751 }
14742 14752
14743 class _WebSocketImpl extends _EventTargetImpl implements WebSocket native "*WebS ocket" { 14753 class _WebSocketImpl extends _EventTargetImpl implements WebSocket native "*WebS ocket" {
14744 14754
14745 static final int CLOSED = 3; 14755 static final int CLOSED = 3;
14746 14756
14747 static final int CLOSING = 2; 14757 static final int CLOSING = 2;
14748 14758
14749 static final int CONNECTING = 0; 14759 static final int CONNECTING = 0;
14750 14760
(...skipping 1289 matching lines...) Expand 10 before | Expand all | Expand 10 after
16040 AudioBuffer createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_numb erOfFrames, [num sampleRate]); 16050 AudioBuffer createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_numb erOfFrames, [num sampleRate]);
16041 16051
16042 AudioBufferSourceNode createBufferSource(); 16052 AudioBufferSourceNode createBufferSource();
16043 16053
16044 AudioChannelMerger createChannelMerger(); 16054 AudioChannelMerger createChannelMerger();
16045 16055
16046 AudioChannelSplitter createChannelSplitter(); 16056 AudioChannelSplitter createChannelSplitter();
16047 16057
16048 ConvolverNode createConvolver(); 16058 ConvolverNode createConvolver();
16049 16059
16050 DelayNode createDelayNode(); 16060 DelayNode createDelayNode([num maxDelayTime]);
16051 16061
16052 DynamicsCompressorNode createDynamicsCompressor(); 16062 DynamicsCompressorNode createDynamicsCompressor();
16053 16063
16054 AudioGainNode createGainNode(); 16064 AudioGainNode createGainNode();
16055 16065
16056 HighPass2FilterNode createHighPass2Filter(); 16066 HighPass2FilterNode createHighPass2Filter();
16057 16067
16058 JavaScriptAudioNode createJavaScriptNode(int bufferSize); 16068 JavaScriptAudioNode createJavaScriptNode(int bufferSize);
16059 16069
16060 LowPass2FilterNode createLowPass2Filter(); 16070 LowPass2FilterNode createLowPass2Filter();
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
16677 static final int CSS_RGBCOLOR = 25; 16687 static final int CSS_RGBCOLOR = 25;
16678 16688
16679 static final int CSS_S = 15; 16689 static final int CSS_S = 15;
16680 16690
16681 static final int CSS_STRING = 19; 16691 static final int CSS_STRING = 19;
16682 16692
16683 static final int CSS_UNKNOWN = 0; 16693 static final int CSS_UNKNOWN = 0;
16684 16694
16685 static final int CSS_URI = 20; 16695 static final int CSS_URI = 20;
16686 16696
16697 static final int CSS_VH = 27;
16698
16699 static final int CSS_VMIN = 28;
16700
16701 static final int CSS_VW = 26;
16702
16687 final int primitiveType; 16703 final int primitiveType;
16688 16704
16689 Counter getCounterValue(); 16705 Counter getCounterValue();
16690 16706
16691 num getFloatValue(int unitType); 16707 num getFloatValue(int unitType);
16692 16708
16693 RGBColor getRGBColorValue(); 16709 RGBColor getRGBColorValue();
16694 16710
16695 Rect getRectValue(); 16711 Rect getRectValue();
16696 16712
(...skipping 2300 matching lines...) Expand 10 before | Expand all | Expand 10 after
18997 interface Clipboard { 19013 interface Clipboard {
18998 19014
18999 String dropEffect; 19015 String dropEffect;
19000 19016
19001 String effectAllowed; 19017 String effectAllowed;
19002 19018
19003 final FileList files; 19019 final FileList files;
19004 19020
19005 final DataTransferItemList items; 19021 final DataTransferItemList items;
19006 19022
19007 final List<String> types; 19023 final List types;
19008 19024
19009 void clearData([String type]); 19025 void clearData([String type]);
19010 19026
19011 void getData(String type); 19027 String getData(String type);
19012 19028
19013 bool setData(String type, String data); 19029 bool setData(String type, String data);
19014 19030
19015 void setDragImage(ImageElement image, int x, int y); 19031 void setDragImage(ImageElement image, int x, int y);
19016 } 19032 }
19017 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19033 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19018 // for details. All rights reserved. Use of this source code is governed by a 19034 // for details. All rights reserved. Use of this source code is governed by a
19019 // BSD-style license that can be found in the LICENSE file. 19035 // BSD-style license that can be found in the LICENSE file.
19020 19036
19021 // WARNING: Do not edit - generated code. 19037 // WARNING: Do not edit - generated code.
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
19533 } 19549 }
19534 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19550 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19535 // for details. All rights reserved. Use of this source code is governed by a 19551 // for details. All rights reserved. Use of this source code is governed by a
19536 // BSD-style license that can be found in the LICENSE file. 19552 // BSD-style license that can be found in the LICENSE file.
19537 19553
19538 // WARNING: Do not edit - generated code. 19554 // WARNING: Do not edit - generated code.
19539 19555
19540 interface DOMURL default _DOMURLFactoryProvider { 19556 interface DOMURL default _DOMURLFactoryProvider {
19541 19557
19542 DOMURL(); 19558 DOMURL();
19559
19560 String createObjectURL(var blob_OR_stream);
19561
19562 void revokeObjectURL(String url);
19543 } 19563 }
19544 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 19564 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
19545 // for details. All rights reserved. Use of this source code is governed by a 19565 // for details. All rights reserved. Use of this source code is governed by a
19546 // BSD-style license that can be found in the LICENSE file. 19566 // BSD-style license that can be found in the LICENSE file.
19547 19567
19548 // WARNING: Do not edit - generated code. 19568 // WARNING: Do not edit - generated code.
19549 19569
19550 interface DataTransferItem { 19570 interface DataTransferItem {
19551 19571
19552 final String kind; 19572 final String kind;
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
20003 20023
20004 final String systemId; 20024 final String systemId;
20005 } 20025 }
20006 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 20026 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
20007 // for details. All rights reserved. Use of this source code is governed by a 20027 // for details. All rights reserved. Use of this source code is governed by a
20008 // BSD-style license that can be found in the LICENSE file. 20028 // BSD-style license that can be found in the LICENSE file.
20009 20029
20010 // WARNING: Do not edit - generated code. 20030 // WARNING: Do not edit - generated code.
20011 20031
20012 interface DynamicsCompressorNode extends AudioNode { 20032 interface DynamicsCompressorNode extends AudioNode {
20033
20034 final AudioParam knee;
20035
20036 final AudioParam ratio;
20037
20038 final AudioParam reduction;
20039
20040 final AudioParam threshold;
20013 } 20041 }
20014 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 20042 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
20015 // for details. All rights reserved. Use of this source code is governed by a 20043 // for details. All rights reserved. Use of this source code is governed by a
20016 // BSD-style license that can be found in the LICENSE file. 20044 // BSD-style license that can be found in the LICENSE file.
20017 20045
20018 // WARNING: Do not edit - generated code. 20046 // WARNING: Do not edit - generated code.
20019 20047
20020 /** 20048 /**
20021 * Provides a Map abstraction on top of data-* attributes, similar to the 20049 * Provides a Map abstraction on top of data-* attributes, similar to the
20022 * dataSet in the old DOM. 20050 * dataSet in the old DOM.
(...skipping 1671 matching lines...) Expand 10 before | Expand all | Expand 10 after
21694 final String keyPath; 21722 final String keyPath;
21695 21723
21696 final bool multiEntry; 21724 final bool multiEntry;
21697 21725
21698 final String name; 21726 final String name;
21699 21727
21700 final IDBObjectStore objectStore; 21728 final IDBObjectStore objectStore;
21701 21729
21702 final bool unique; 21730 final bool unique;
21703 21731
21704 IDBRequest count([IDBKeyRange range]); 21732 IDBRequest count([var key_OR_range]);
21705 21733
21706 IDBRequest getObject(IDBKey key); 21734 IDBRequest getObject(IDBKey key);
21707 21735
21708 IDBRequest getKey(IDBKey key); 21736 IDBRequest getKey(IDBKey key);
21709 21737
21710 IDBRequest openCursor([IDBKeyRange range, int direction]); 21738 IDBRequest openCursor([IDBKeyRange range, int direction]);
21711 21739
21712 IDBRequest openKeyCursor([IDBKeyRange range, int direction]); 21740 IDBRequest openKeyCursor([IDBKeyRange range, int direction]);
21713 } 21741 }
21714 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21742 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
21756 final String keyPath; 21784 final String keyPath;
21757 21785
21758 final String name; 21786 final String name;
21759 21787
21760 final IDBTransaction transaction; 21788 final IDBTransaction transaction;
21761 21789
21762 IDBRequest add(Dynamic value, [IDBKey key]); 21790 IDBRequest add(Dynamic value, [IDBKey key]);
21763 21791
21764 IDBRequest clear(); 21792 IDBRequest clear();
21765 21793
21766 IDBRequest count([IDBKeyRange range]); 21794 IDBRequest count([var key_OR_range]);
21767 21795
21768 IDBIndex createIndex(String name, String keyPath); 21796 IDBIndex createIndex(String name, String keyPath);
21769 21797
21770 IDBRequest delete(var key_OR_keyRange); 21798 IDBRequest delete(var key_OR_keyRange);
21771 21799
21772 void deleteIndex(String name); 21800 void deleteIndex(String name);
21773 21801
21774 IDBRequest getObject(IDBKey key); 21802 IDBRequest getObject(IDBKey key);
21775 21803
21776 IDBIndex index(String name); 21804 IDBIndex index(String name);
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after
22465 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 22493 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
22466 } 22494 }
22467 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 22495 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22468 // for details. All rights reserved. Use of this source code is governed by a 22496 // for details. All rights reserved. Use of this source code is governed by a
22469 // BSD-style license that can be found in the LICENSE file. 22497 // BSD-style license that can be found in the LICENSE file.
22470 22498
22471 // WARNING: Do not edit - generated code. 22499 // WARNING: Do not edit - generated code.
22472 22500
22473 interface MediaElement extends Element { 22501 interface MediaElement extends Element {
22474 22502
22475 static final int EOS_DECODE_ERR = 2;
22476
22477 static final int EOS_NETWORK_ERR = 1;
22478
22479 static final int EOS_NO_ERROR = 0;
22480
22481 static final int HAVE_CURRENT_DATA = 2; 22503 static final int HAVE_CURRENT_DATA = 2;
22482 22504
22483 static final int HAVE_ENOUGH_DATA = 4; 22505 static final int HAVE_ENOUGH_DATA = 4;
22484 22506
22485 static final int HAVE_FUTURE_DATA = 3; 22507 static final int HAVE_FUTURE_DATA = 3;
22486 22508
22487 static final int HAVE_METADATA = 1; 22509 static final int HAVE_METADATA = 1;
22488 22510
22489 static final int HAVE_NOTHING = 0; 22511 static final int HAVE_NOTHING = 0;
22490 22512
22491 static final int NETWORK_EMPTY = 0; 22513 static final int NETWORK_EMPTY = 0;
22492 22514
22493 static final int NETWORK_IDLE = 1; 22515 static final int NETWORK_IDLE = 1;
22494 22516
22495 static final int NETWORK_LOADING = 2; 22517 static final int NETWORK_LOADING = 2;
22496 22518
22497 static final int NETWORK_NO_SOURCE = 3; 22519 static final int NETWORK_NO_SOURCE = 3;
22498 22520
22499 static final int SOURCE_CLOSED = 0;
22500
22501 static final int SOURCE_ENDED = 2;
22502
22503 static final int SOURCE_OPEN = 1;
22504
22505 bool autoplay; 22521 bool autoplay;
22506 22522
22507 final TimeRanges buffered; 22523 final TimeRanges buffered;
22508 22524
22509 MediaController controller; 22525 MediaController controller;
22510 22526
22511 bool controls; 22527 bool controls;
22512 22528
22513 final String currentSrc; 22529 final String currentSrc;
22514 22530
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
22841 } 22857 }
22842 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 22858 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22843 // for details. All rights reserved. Use of this source code is governed by a 22859 // for details. All rights reserved. Use of this source code is governed by a
22844 // BSD-style license that can be found in the LICENSE file. 22860 // BSD-style license that can be found in the LICENSE file.
22845 22861
22846 // WARNING: Do not edit - generated code. 22862 // WARNING: Do not edit - generated code.
22847 22863
22848 interface Metadata { 22864 interface Metadata {
22849 22865
22850 final Date modificationTime; 22866 final Date modificationTime;
22867
22868 final int size;
22851 } 22869 }
22852 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 22870 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
22853 // for details. All rights reserved. Use of this source code is governed by a 22871 // for details. All rights reserved. Use of this source code is governed by a
22854 // BSD-style license that can be found in the LICENSE file. 22872 // BSD-style license that can be found in the LICENSE file.
22855 22873
22856 // WARNING: Do not edit - generated code. 22874 // WARNING: Do not edit - generated code.
22857 22875
22858 typedef bool MetadataCallback(Metadata metadata); 22876 typedef bool MetadataCallback(Metadata metadata);
22859 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 22877 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
22860 // for details. All rights reserved. Use of this source code is governed by a 22878 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 4055 matching lines...) Expand 10 before | Expand all | Expand 10 after
26916 // BSD-style license that can be found in the LICENSE file. 26934 // BSD-style license that can be found in the LICENSE file.
26917 26935
26918 // WARNING: Do not edit - generated code. 26936 // WARNING: Do not edit - generated code.
26919 26937
26920 interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider { 26938 interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider {
26921 26939
26922 ShadowRoot(Element host); 26940 ShadowRoot(Element host);
26923 26941
26924 final Element host; 26942 final Element host;
26925 26943
26944 String innerHTML;
26945
26926 Element getElementById(String elementId); 26946 Element getElementById(String elementId);
26927 26947
26928 NodeList getElementsByClassName(String className); 26948 NodeList getElementsByClassName(String className);
26929 26949
26930 NodeList getElementsByTagName(String tagName); 26950 NodeList getElementsByTagName(String tagName);
26931 26951
26932 NodeList getElementsByTagNameNS(String namespaceURI, String localName); 26952 NodeList getElementsByTagNameNS(String namespaceURI, String localName);
26933 } 26953 }
26934 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 26954 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
26935 // for details. All rights reserved. Use of this source code is governed by a 26955 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
27473 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 27493 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27474 // for details. All rights reserved. Use of this source code is governed by a 27494 // for details. All rights reserved. Use of this source code is governed by a
27475 // BSD-style license that can be found in the LICENSE file. 27495 // BSD-style license that can be found in the LICENSE file.
27476 27496
27477 // WARNING: Do not edit - generated code. 27497 // WARNING: Do not edit - generated code.
27478 27498
27479 interface TextTrackCue default _TextTrackCueFactoryProvider { 27499 interface TextTrackCue default _TextTrackCueFactoryProvider {
27480 27500
27481 TextTrackCue(String id, num startTime, num endTime, String text, [String setti ngs, bool pauseOnExit]); 27501 TextTrackCue(String id, num startTime, num endTime, String text, [String setti ngs, bool pauseOnExit]);
27482 27502
27483 String alignment; 27503 String align;
27484
27485 String direction;
27486 27504
27487 num endTime; 27505 num endTime;
27488 27506
27489 String id; 27507 String id;
27490 27508
27491 int linePosition; 27509 int line;
27492 27510
27493 EventListener onenter; 27511 EventListener onenter;
27494 27512
27495 EventListener onexit; 27513 EventListener onexit;
27496 27514
27497 bool pauseOnExit; 27515 bool pauseOnExit;
27498 27516
27517 int position;
27518
27499 int size; 27519 int size;
27500 27520
27501 bool snapToLines; 27521 bool snapToLines;
27502 27522
27503 num startTime; 27523 num startTime;
27504 27524
27505 String text; 27525 String text;
27506 27526
27507 int textPosition; 27527 final TextTrack track;
27508 27528
27509 final TextTrack track; 27529 String vertical;
27510 27530
27511 void addEventListener(String type, EventListener listener, [bool useCapture]); 27531 void addEventListener(String type, EventListener listener, [bool useCapture]);
27512 27532
27513 bool dispatchEvent(Event evt); 27533 bool dispatchEvent(Event evt);
27514 27534
27515 DocumentFragment getCueAsHTML(); 27535 DocumentFragment getCueAsHTML();
27516 27536
27517 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 27537 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
27518 } 27538 }
27519 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 27539 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
27641 Touch item(int index); 27661 Touch item(int index);
27642 } 27662 }
27643 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 27663 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
27644 // for details. All rights reserved. Use of this source code is governed by a 27664 // for details. All rights reserved. Use of this source code is governed by a
27645 // BSD-style license that can be found in the LICENSE file. 27665 // BSD-style license that can be found in the LICENSE file.
27646 27666
27647 // WARNING: Do not edit - generated code. 27667 // WARNING: Do not edit - generated code.
27648 27668
27649 interface TrackElement extends Element { 27669 interface TrackElement extends Element {
27650 27670
27651 static final int ERROR = 3;
27652
27653 static final int LOADED = 2; 27671 static final int LOADED = 2;
27654 27672
27655 static final int LOADING = 1; 27673 static final int LOADING = 1;
27656 27674
27657 static final int NONE = 0; 27675 static final int NONE = 0;
27658 27676
27659 bool isDefault; 27677 bool isDefault;
27660 27678
27661 String kind; 27679 String kind;
27662 27680
(...skipping 1316 matching lines...) Expand 10 before | Expand all | Expand 10 after
28979 } 28997 }
28980 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 28998 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
28981 // for details. All rights reserved. Use of this source code is governed by a 28999 // for details. All rights reserved. Use of this source code is governed by a
28982 // BSD-style license that can be found in the LICENSE file. 29000 // BSD-style license that can be found in the LICENSE file.
28983 29001
28984 // WARNING: Do not edit - generated code. 29002 // WARNING: Do not edit - generated code.
28985 29003
28986 interface WebKitNamedFlow { 29004 interface WebKitNamedFlow {
28987 29005
28988 final bool overflow; 29006 final bool overflow;
29007
29008 NodeList getRegionsByContentNode(Node contentNode);
28989 } 29009 }
28990 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 29010 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
28991 // for details. All rights reserved. Use of this source code is governed by a 29011 // for details. All rights reserved. Use of this source code is governed by a
28992 // BSD-style license that can be found in the LICENSE file. 29012 // BSD-style license that can be found in the LICENSE file.
28993 29013
28994 // WARNING: Do not edit - generated code. 29014 // WARNING: Do not edit - generated code.
28995 29015
28996 interface WebSocket extends EventTarget { 29016 interface WebSocket extends EventTarget {
28997 29017
28998 static final int CLOSED = 3; 29018 static final int CLOSED = 3;
(...skipping 1923 matching lines...) Expand 10 before | Expand all | Expand 10 after
30922 if (length < 0) throw new IllegalArgumentException('length'); 30942 if (length < 0) throw new IllegalArgumentException('length');
30923 if (start < 0) throw new IndexOutOfRangeException(start); 30943 if (start < 0) throw new IndexOutOfRangeException(start);
30924 int end = start + length; 30944 int end = start + length;
30925 if (end > a.length) throw new IndexOutOfRangeException(end); 30945 if (end > a.length) throw new IndexOutOfRangeException(end);
30926 for (int i = start; i < end; i++) { 30946 for (int i = start; i < end; i++) {
30927 accumulator.add(a[i]); 30947 accumulator.add(a[i]);
30928 } 30948 }
30929 return accumulator; 30949 return accumulator;
30930 } 30950 }
30931 } 30951 }
OLDNEW
« no previous file with comments | « client/html/dartium/html_dartium.dart ('k') | client/html/generated/html/dartium/AudioContext.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698