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

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

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