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

Side by Side Diff: client/dom/frog/dom_frog.dart

Issue 9838081: Regenerate 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
« no previous file with comments | « client/dom/dom.dart ('k') | client/dom/templates/html/impl/impl_DocumentFragment.darttemplate » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('dom'); 1 #library('dom');
2 2
3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2011, 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 DOM library. 8 // Auto-generated Dart DOM library.
9 9
10 10
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 final int numberOfChannels; 66 final int numberOfChannels;
67 67
68 final num sampleRate; 68 final num sampleRate;
69 69
70 _Float32ArrayJs getChannelData(int channelIndex) native; 70 _Float32ArrayJs getChannelData(int channelIndex) native;
71 } 71 }
72 72
73 class _AudioBufferSourceNodeJs extends _AudioSourceNodeJs implements AudioBuffer SourceNode native "*AudioBufferSourceNode" { 73 class _AudioBufferSourceNodeJs extends _AudioSourceNodeJs implements AudioBuffer SourceNode native "*AudioBufferSourceNode" {
74 74
75 static final int FINISHED_STATE = 3;
76
77 static final int PLAYING_STATE = 2;
78
79 static final int SCHEDULED_STATE = 1;
80
81 static final int UNSCHEDULED_STATE = 0;
82
75 _AudioBufferJs buffer; 83 _AudioBufferJs buffer;
76 84
77 final _AudioGainJs gain; 85 final _AudioGainJs gain;
78 86
79 bool loop; 87 bool loop;
80 88
81 bool looping; 89 bool looping;
82 90
83 final _AudioParamJs playbackRate; 91 final _AudioParamJs playbackRate;
84 92
93 final int playbackState;
94
85 void noteGrainOn(num when, num grainOffset, num grainDuration) native; 95 void noteGrainOn(num when, num grainOffset, num grainDuration) native;
86 96
87 void noteOff(num when) native; 97 void noteOff(num when) native;
88 98
89 void noteOn(num when) native; 99 void noteOn(num when) native;
90 } 100 }
91 101
92 class _AudioChannelMergerJs extends _AudioNodeJs implements AudioChannelMerger n ative "*AudioChannelMerger" { 102 class _AudioChannelMergerJs extends _AudioNodeJs implements AudioChannelMerger n ative "*AudioChannelMerger" {
93 } 103 }
94 104
95 class _AudioChannelSplitterJs extends _AudioNodeJs implements AudioChannelSplitt er native "*AudioChannelSplitter" { 105 class _AudioChannelSplitterJs extends _AudioNodeJs implements AudioChannelSplitt er native "*AudioChannelSplitter" {
96 } 106 }
97 107
98 class _AudioContextJs extends _DOMTypeJs implements AudioContext native "*AudioC ontext" { 108 class _AudioContextJs extends _DOMTypeJs implements AudioContext native "*AudioC ontext" {
99 109
110 final int activeSourceCount;
111
100 final num currentTime; 112 final num currentTime;
101 113
102 final _AudioDestinationNodeJs destination; 114 final _AudioDestinationNodeJs destination;
103 115
104 final _AudioListenerJs listener; 116 final _AudioListenerJs listener;
105 117
106 EventListener oncomplete; 118 EventListener oncomplete;
107 119
108 final num sampleRate; 120 final num sampleRate;
109 121
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
830 842
831 class _ConsoleJs 843 class _ConsoleJs
832 // Implement DOMType directly. Console is sometimes a singleton 844 // Implement DOMType directly. Console is sometimes a singleton
833 // bag-of-properties without a prototype, so it can't inherit from 845 // bag-of-properties without a prototype, so it can't inherit from
834 // DOMTypeJs. 846 // DOMTypeJs.
835 implements Console, DOMType 847 implements Console, DOMType
836 native "=(typeof console == 'undefined' ? {} : console)" { 848 native "=(typeof console == 'undefined' ? {} : console)" {
837 849
838 final _MemoryInfoJs memory; 850 final _MemoryInfoJs memory;
839 851
840 final List profiles;
841
842 void assertCondition(bool condition, Object arg) native; 852 void assertCondition(bool condition, Object arg) native;
843 853
844 void count() native; 854 void count() native;
845 855
846 void debug(Object arg) native; 856 void debug(Object arg) native;
847 857
848 void dir() native; 858 void dir() native;
849 859
850 void dirxml() native; 860 void dirxml() native;
851 861
(...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after
1628 String selectedStylesheetSet; 1638 String selectedStylesheetSet;
1629 1639
1630 final _StyleSheetListJs styleSheets; 1640 final _StyleSheetListJs styleSheets;
1631 1641
1632 String title; 1642 String title;
1633 1643
1634 final _ElementJs webkitCurrentFullScreenElement; 1644 final _ElementJs webkitCurrentFullScreenElement;
1635 1645
1636 final bool webkitFullScreenKeyboardInputAllowed; 1646 final bool webkitFullScreenKeyboardInputAllowed;
1637 1647
1648 final _ElementJs webkitFullscreenElement;
1649
1650 final bool webkitFullscreenEnabled;
1651
1638 final bool webkitHidden; 1652 final bool webkitHidden;
1639 1653
1640 final bool webkitIsFullScreen; 1654 final bool webkitIsFullScreen;
1641 1655
1642 final String webkitVisibilityState; 1656 final String webkitVisibilityState;
1643 1657
1644 final String xmlEncoding; 1658 final String xmlEncoding;
1645 1659
1646 bool xmlStandalone; 1660 bool xmlStandalone;
1647 1661
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
1720 bool queryCommandSupported(String command) native; 1734 bool queryCommandSupported(String command) native;
1721 1735
1722 String queryCommandValue(String command) native; 1736 String queryCommandValue(String command) native;
1723 1737
1724 _ElementJs querySelector(String selectors) native; 1738 _ElementJs querySelector(String selectors) native;
1725 1739
1726 _NodeListJs querySelectorAll(String selectors) native; 1740 _NodeListJs querySelectorAll(String selectors) native;
1727 1741
1728 void webkitCancelFullScreen() native; 1742 void webkitCancelFullScreen() native;
1729 1743
1744 void webkitExitFullscreen() native;
1745
1730 _WebKitNamedFlowJs webkitGetFlowByName(String name) native; 1746 _WebKitNamedFlowJs webkitGetFlowByName(String name) native;
1731 } 1747 }
1732 1748
1733 class _DocumentFragmentJs extends _NodeJs implements DocumentFragment native "*D ocumentFragment" { 1749 class _DocumentFragmentJs extends _NodeJs implements DocumentFragment native "*D ocumentFragment" {
1734 1750
1735 _ElementJs querySelector(String selectors) native; 1751 _ElementJs querySelector(String selectors) native;
1736 1752
1737 _NodeListJs querySelectorAll(String selectors) native; 1753 _NodeListJs querySelectorAll(String selectors) native;
1738 } 1754 }
1739 1755
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
1864 1880
1865 void setAttributeNS(String namespaceURI, String qualifiedName, String value) n ative; 1881 void setAttributeNS(String namespaceURI, String qualifiedName, String value) n ative;
1866 1882
1867 _AttrJs setAttributeNode(_AttrJs newAttr) native; 1883 _AttrJs setAttributeNode(_AttrJs newAttr) native;
1868 1884
1869 _AttrJs setAttributeNodeNS(_AttrJs newAttr) native; 1885 _AttrJs setAttributeNodeNS(_AttrJs newAttr) native;
1870 1886
1871 bool webkitMatchesSelector(String selectors) native; 1887 bool webkitMatchesSelector(String selectors) native;
1872 1888
1873 void webkitRequestFullScreen(int flags) native; 1889 void webkitRequestFullScreen(int flags) native;
1890
1891 void webkitRequestFullscreen() native;
1874 } 1892 }
1875 1893
1876 class _ElementTimeControlJs extends _DOMTypeJs implements ElementTimeControl nat ive "*ElementTimeControl" { 1894 class _ElementTimeControlJs extends _DOMTypeJs implements ElementTimeControl nat ive "*ElementTimeControl" {
1877 1895
1878 void beginElement() native; 1896 void beginElement() native;
1879 1897
1880 void beginElementAt(num offset) native; 1898 void beginElementAt(num offset) native;
1881 1899
1882 void endElement() native; 1900 void endElement() native;
1883 1901
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
2097 2115
2098 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 2116 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
2099 2117
2100 bool dispatchEvent(_EventJs event) native; 2118 bool dispatchEvent(_EventJs event) native;
2101 2119
2102 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 2120 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
2103 } 2121 }
2104 2122
2105 class _FileJs extends _BlobJs implements File native "*File" { 2123 class _FileJs extends _BlobJs implements File native "*File" {
2106 2124
2107 final String fileName;
2108
2109 final int fileSize;
2110
2111 final Date lastModifiedDate; 2125 final Date lastModifiedDate;
2112 2126
2113 final String name; 2127 final String name;
2114 2128
2115 final String webkitRelativePath; 2129 final String webkitRelativePath;
2116 } 2130 }
2117 2131
2118 class _FileEntryJs extends _EntryJs implements FileEntry native "*FileEntry" { 2132 class _FileEntryJs extends _EntryJs implements FileEntry native "*FileEntry" {
2119 2133
2120 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall back = null]) native; 2134 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall back = null]) native;
(...skipping 1359 matching lines...) Expand 10 before | Expand all | Expand 10 after
3480 3494
3481 String httpEquiv; 3495 String httpEquiv;
3482 3496
3483 String name; 3497 String name;
3484 3498
3485 String scheme; 3499 String scheme;
3486 } 3500 }
3487 3501
3488 class _HTMLMeterElementJs extends _HTMLElementJs implements HTMLMeterElement nat ive "*HTMLMeterElement" { 3502 class _HTMLMeterElementJs extends _HTMLElementJs implements HTMLMeterElement nat ive "*HTMLMeterElement" {
3489 3503
3490 final _HTMLFormElementJs form;
3491
3492 num high; 3504 num high;
3493 3505
3494 final _NodeListJs labels; 3506 final _NodeListJs labels;
3495 3507
3496 num low; 3508 num low;
3497 3509
3498 num max; 3510 num max;
3499 3511
3500 num min; 3512 num min;
3501 3513
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
3655 3667
3656 class _HTMLPreElementJs extends _HTMLElementJs implements HTMLPreElement native "*HTMLPreElement" { 3668 class _HTMLPreElementJs extends _HTMLElementJs implements HTMLPreElement native "*HTMLPreElement" {
3657 3669
3658 int width; 3670 int width;
3659 3671
3660 bool wrap; 3672 bool wrap;
3661 } 3673 }
3662 3674
3663 class _HTMLProgressElementJs extends _HTMLElementJs implements HTMLProgressEleme nt native "*HTMLProgressElement" { 3675 class _HTMLProgressElementJs extends _HTMLElementJs implements HTMLProgressEleme nt native "*HTMLProgressElement" {
3664 3676
3665 final _HTMLFormElementJs form;
3666
3667 final _NodeListJs labels; 3677 final _NodeListJs labels;
3668 3678
3669 num max; 3679 num max;
3670 3680
3671 final num position; 3681 final num position;
3672 3682
3673 num value; 3683 num value;
3674 } 3684 }
3675 3685
3676 class _HTMLQuoteElementJs extends _HTMLElementJs implements HTMLQuoteElement nat ive "*HTMLQuoteElement" { 3686 class _HTMLQuoteElementJs extends _HTMLElementJs implements HTMLQuoteElement nat ive "*HTMLQuoteElement" {
3677 3687
3678 String cite; 3688 String cite;
3679 } 3689 }
3680 3690
3681 class _HTMLScriptElementJs extends _HTMLElementJs implements HTMLScriptElement n ative "*HTMLScriptElement" { 3691 class _HTMLScriptElementJs extends _HTMLElementJs implements HTMLScriptElement n ative "*HTMLScriptElement" {
3682 3692
3683 bool async; 3693 bool async;
3684 3694
3685 String charset; 3695 String charset;
3686 3696
3697 String crossOrigin;
3698
3687 bool defer; 3699 bool defer;
3688 3700
3689 String event; 3701 String event;
3690 3702
3691 String htmlFor; 3703 String htmlFor;
3692 3704
3693 String src; 3705 String src;
3694 3706
3695 String text; 3707 String text;
3696 3708
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
4331 class _IDBVersionChangeEventJs extends _EventJs implements IDBVersionChangeEvent native "*IDBVersionChangeEvent" { 4343 class _IDBVersionChangeEventJs extends _EventJs implements IDBVersionChangeEvent native "*IDBVersionChangeEvent" {
4332 4344
4333 final String version; 4345 final String version;
4334 } 4346 }
4335 4347
4336 class _IDBVersionChangeRequestJs extends _IDBRequestJs implements IDBVersionChan geRequest native "*IDBVersionChangeRequest" { 4348 class _IDBVersionChangeRequestJs extends _IDBRequestJs implements IDBVersionChan geRequest native "*IDBVersionChangeRequest" {
4337 4349
4338 EventListener onblocked; 4350 EventListener onblocked;
4339 } 4351 }
4340 4352
4353 class _IceCandidateJs extends _DOMTypeJs implements IceCandidate native "*IceCan didate" {
4354
4355 final String label;
4356
4357 String toSdp() native;
4358 }
4359
4341 class _ImageDataJs extends _DOMTypeJs implements ImageData native "*ImageData" { 4360 class _ImageDataJs extends _DOMTypeJs implements ImageData native "*ImageData" {
4342 4361
4343 final _CanvasPixelArrayJs data; 4362 final _CanvasPixelArrayJs data;
4344 4363
4345 final int height; 4364 final int height;
4346 4365
4347 final int width; 4366 final int width;
4348 } 4367 }
4349 4368
4350 class _Int16ArrayJs extends _ArrayBufferViewJs implements Int16Array, List<int> native "*Int16Array" { 4369 class _Int16ArrayJs extends _ArrayBufferViewJs implements Int16Array, List<int> native "*Int16Array" {
(...skipping 4823 matching lines...) Expand 10 before | Expand all | Expand 10 after
9174 9193
9175 final num selfTime; 9194 final num selfTime;
9176 9195
9177 final num totalTime; 9196 final num totalTime;
9178 9197
9179 final String url; 9198 final String url;
9180 9199
9181 final bool visible; 9200 final bool visible;
9182 } 9201 }
9183 9202
9203 class _SessionDescriptionJs extends _DOMTypeJs implements SessionDescription nat ive "*SessionDescription" {
9204
9205 void addCandidate(_IceCandidateJs candidate) native;
9206
9207 String toSdp() native;
9208 }
9209
9184 class _ShadowRootJs extends _DocumentFragmentJs implements ShadowRoot native "*S hadowRoot" { 9210 class _ShadowRootJs extends _DocumentFragmentJs implements ShadowRoot native "*S hadowRoot" {
9185 9211
9186 final _ElementJs activeElement; 9212 final _ElementJs activeElement;
9187 9213
9188 final _ElementJs host; 9214 final _ElementJs host;
9189 9215
9190 String innerHTML; 9216 String innerHTML;
9191 9217
9192 _ElementJs getElementById(String elementId) native; 9218 _ElementJs getElementById(String elementId) native;
9193 9219
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
9240 final String utterance; 9266 final String utterance;
9241 } 9267 }
9242 9268
9243 class _SpeechInputResultListJs extends _DOMTypeJs implements SpeechInputResultLi st native "*SpeechInputResultList" { 9269 class _SpeechInputResultListJs extends _DOMTypeJs implements SpeechInputResultLi st native "*SpeechInputResultList" {
9244 9270
9245 final int length; 9271 final int length;
9246 9272
9247 _SpeechInputResultJs item(int index) native; 9273 _SpeechInputResultJs item(int index) native;
9248 } 9274 }
9249 9275
9276 class _SpeechRecognitionJs extends _DOMTypeJs implements SpeechRecognition nativ e "*SpeechRecognition" {
9277
9278 bool continuous;
9279
9280 _SpeechGrammarListJs grammars;
9281
9282 String lang;
9283
9284 EventListener onaudioend;
9285
9286 EventListener onaudiostart;
9287
9288 EventListener onend;
9289
9290 EventListener onerror;
9291
9292 EventListener onnomatch;
9293
9294 EventListener onresult;
9295
9296 EventListener onresultdeleted;
9297
9298 EventListener onsoundend;
9299
9300 EventListener onsoundstart;
9301
9302 EventListener onspeechend;
9303
9304 EventListener onspeechstart;
9305
9306 EventListener onstart;
9307
9308 void abort() native;
9309
9310 void start() native;
9311
9312 void stop() native;
9313 }
9314
9250 class _SpeechRecognitionAlternativeJs extends _DOMTypeJs implements SpeechRecogn itionAlternative native "*SpeechRecognitionAlternative" { 9315 class _SpeechRecognitionAlternativeJs extends _DOMTypeJs implements SpeechRecogn itionAlternative native "*SpeechRecognitionAlternative" {
9251 9316
9252 final num confidence; 9317 final num confidence;
9253 9318
9254 final String transcript; 9319 final String transcript;
9255 } 9320 }
9256 9321
9257 class _SpeechRecognitionErrorJs extends _DOMTypeJs implements SpeechRecognitionE rror native "*SpeechRecognitionError" { 9322 class _SpeechRecognitionErrorJs extends _DOMTypeJs implements SpeechRecognitionE rror native "*SpeechRecognitionError" {
9258 9323
9259 static final int ABORTED = 2; 9324 static final int ABORTED = 2;
(...skipping 2436 matching lines...) Expand 10 before | Expand all | Expand 10 after
11696 if (value == null) return new Option(data); 11761 if (value == null) return new Option(data);
11697 if (defaultSelected == null) return new Option(data, value); 11762 if (defaultSelected == null) return new Option(data, value);
11698 if (selected == null) return new Option(data, value, defaultSelected); 11763 if (selected == null) return new Option(data, value, defaultSelected);
11699 return new Option(data, value, defaultSelected, selected); 11764 return new Option(data, value, defaultSelected, selected);
11700 '''; 11765 ''';
11701 } 11766 }
11702 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11767 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11703 // for details. All rights reserved. Use of this source code is governed by a 11768 // for details. All rights reserved. Use of this source code is governed by a
11704 // BSD-style license that can be found in the LICENSE file. 11769 // BSD-style license that can be found in the LICENSE file.
11705 11770
11771 class _IceCandidateFactoryProvider {
11772 factory IceCandidate(String label, String candidateLine) native
11773 '''return new IceCandidate(label, candidateLine);''';
11774 }
11775 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11776 // for details. All rights reserved. Use of this source code is governed by a
11777 // BSD-style license that can be found in the LICENSE file.
11778
11706 class _MediaControllerFactoryProvider { 11779 class _MediaControllerFactoryProvider {
11707 factory MediaController() native 11780 factory MediaController() native
11708 '''return new MediaController();'''; 11781 '''return new MediaController();''';
11709 } 11782 }
11710 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11783 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11711 // for details. All rights reserved. Use of this source code is governed by a 11784 // for details. All rights reserved. Use of this source code is governed by a
11712 // BSD-style license that can be found in the LICENSE file. 11785 // BSD-style license that can be found in the LICENSE file.
11713 11786
11714 class _MediaStreamFactoryProvider { 11787 class _MediaStreamFactoryProvider {
11715 factory MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList vid eoTracks) native 11788 factory MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList vid eoTracks) native
11716 '''return new MediaStream(audioTracks, videoTracks);'''; 11789 '''return new MediaStream(audioTracks, videoTracks);''';
11717 } 11790 }
11718 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11791 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11719 // for details. All rights reserved. Use of this source code is governed by a 11792 // for details. All rights reserved. Use of this source code is governed by a
11720 // BSD-style license that can be found in the LICENSE file. 11793 // BSD-style license that can be found in the LICENSE file.
11721 11794
11722 class _MessageChannelFactoryProvider { 11795 class _MessageChannelFactoryProvider {
11723 factory MessageChannel() native 11796 factory MessageChannel() native
11724 '''return new MessageChannel();'''; 11797 '''return new MessageChannel();''';
11725 } 11798 }
11726 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11799 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11727 // for details. All rights reserved. Use of this source code is governed by a 11800 // for details. All rights reserved. Use of this source code is governed by a
11728 // BSD-style license that can be found in the LICENSE file. 11801 // BSD-style license that can be found in the LICENSE file.
11729 11802
11803 class _SessionDescriptionFactoryProvider {
11804 factory SessionDescription(String sdp) native
11805 '''return new SessionDescription(sdp);''';
11806 }
11807 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11808 // for details. All rights reserved. Use of this source code is governed by a
11809 // BSD-style license that can be found in the LICENSE file.
11810
11730 class _ShadowRootFactoryProvider { 11811 class _ShadowRootFactoryProvider {
11731 factory ShadowRoot(Element host) native 11812 factory ShadowRoot(Element host) native
11732 '''return new ShadowRoot(host);'''; 11813 '''return new ShadowRoot(host);''';
11733 } 11814 }
11734 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11815 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11735 // for details. All rights reserved. Use of this source code is governed by a 11816 // for details. All rights reserved. Use of this source code is governed by a
11736 // BSD-style license that can be found in the LICENSE file. 11817 // BSD-style license that can be found in the LICENSE file.
11737 11818
11738 class _SharedWorkerFactoryProvider { 11819 class _SharedWorkerFactoryProvider {
11739 factory SharedWorker(String scriptURL, [String name]) native 11820 factory SharedWorker(String scriptURL, [String name]) native
(...skipping 15 matching lines...) Expand all
11755 // BSD-style license that can be found in the LICENSE file. 11836 // BSD-style license that can be found in the LICENSE file.
11756 11837
11757 class _SpeechGrammarListFactoryProvider { 11838 class _SpeechGrammarListFactoryProvider {
11758 factory SpeechGrammarList() native 11839 factory SpeechGrammarList() native
11759 '''return new SpeechGrammarList();'''; 11840 '''return new SpeechGrammarList();''';
11760 } 11841 }
11761 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11842 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11762 // for details. All rights reserved. Use of this source code is governed by a 11843 // for details. All rights reserved. Use of this source code is governed by a
11763 // BSD-style license that can be found in the LICENSE file. 11844 // BSD-style license that can be found in the LICENSE file.
11764 11845
11846 class _SpeechRecognitionFactoryProvider {
11847 factory SpeechRecognition() native
11848 '''return new SpeechRecognition();''';
11849 }
11850 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11851 // for details. All rights reserved. Use of this source code is governed by a
11852 // BSD-style license that can be found in the LICENSE file.
11853
11765 class _TextTrackCueFactoryProvider { 11854 class _TextTrackCueFactoryProvider {
11766 factory TextTrackCue(String id, num startTime, num endTime, String text, 11855 factory TextTrackCue(String id, num startTime, num endTime, String text,
11767 [String settings, bool pauseOnExit]) native 11856 [String settings, bool pauseOnExit]) native
11768 ''' 11857 '''
11769 if (settings == null) 11858 if (settings == null)
11770 return new TextTrackCue(id, startTime, endTime, text); 11859 return new TextTrackCue(id, startTime, endTime, text);
11771 if (pauseOnExit == null) 11860 if (pauseOnExit == null)
11772 return new TextTrackCue(id, startTime, endTime, text, settings); 11861 return new TextTrackCue(id, startTime, endTime, text, settings);
11773 return new TextTrackCue(id, startTime, endTime, text, settings, pauseOnExit); 11862 return new TextTrackCue(id, startTime, endTime, text, settings, pauseOnExit);
11774 '''; 11863 ''';
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
11918 12007
11919 typedef bool AudioBufferCallback(AudioBuffer audioBuffer); 12008 typedef bool AudioBufferCallback(AudioBuffer audioBuffer);
11920 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12009 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11921 // for details. All rights reserved. Use of this source code is governed by a 12010 // for details. All rights reserved. Use of this source code is governed by a
11922 // BSD-style license that can be found in the LICENSE file. 12011 // BSD-style license that can be found in the LICENSE file.
11923 12012
11924 // WARNING: Do not edit - generated code. 12013 // WARNING: Do not edit - generated code.
11925 12014
11926 interface AudioBufferSourceNode extends AudioSourceNode { 12015 interface AudioBufferSourceNode extends AudioSourceNode {
11927 12016
12017 static final int FINISHED_STATE = 3;
12018
12019 static final int PLAYING_STATE = 2;
12020
12021 static final int SCHEDULED_STATE = 1;
12022
12023 static final int UNSCHEDULED_STATE = 0;
12024
11928 AudioBuffer buffer; 12025 AudioBuffer buffer;
11929 12026
11930 final AudioGain gain; 12027 final AudioGain gain;
11931 12028
11932 bool loop; 12029 bool loop;
11933 12030
11934 bool looping; 12031 bool looping;
11935 12032
11936 final AudioParam playbackRate; 12033 final AudioParam playbackRate;
11937 12034
12035 final int playbackState;
12036
11938 void noteGrainOn(num when, num grainOffset, num grainDuration); 12037 void noteGrainOn(num when, num grainOffset, num grainDuration);
11939 12038
11940 void noteOff(num when); 12039 void noteOff(num when);
11941 12040
11942 void noteOn(num when); 12041 void noteOn(num when);
11943 } 12042 }
11944 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12043 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11945 // for details. All rights reserved. Use of this source code is governed by a 12044 // for details. All rights reserved. Use of this source code is governed by a
11946 // BSD-style license that can be found in the LICENSE file. 12045 // BSD-style license that can be found in the LICENSE file.
11947 12046
(...skipping 12 matching lines...) Expand all
11960 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12059 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11961 // for details. All rights reserved. Use of this source code is governed by a 12060 // for details. All rights reserved. Use of this source code is governed by a
11962 // BSD-style license that can be found in the LICENSE file. 12061 // BSD-style license that can be found in the LICENSE file.
11963 12062
11964 // WARNING: Do not edit - generated code. 12063 // WARNING: Do not edit - generated code.
11965 12064
11966 interface AudioContext default _AudioContextFactoryProvider { 12065 interface AudioContext default _AudioContextFactoryProvider {
11967 12066
11968 AudioContext(); 12067 AudioContext();
11969 12068
12069 final int activeSourceCount;
12070
11970 final num currentTime; 12071 final num currentTime;
11971 12072
11972 final AudioDestinationNode destination; 12073 final AudioDestinationNode destination;
11973 12074
11974 final AudioListener listener; 12075 final AudioListener listener;
11975 12076
11976 EventListener oncomplete; 12077 EventListener oncomplete;
11977 12078
11978 final num sampleRate; 12079 final num sampleRate;
11979 12080
(...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after
12829 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12930 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12830 // for details. All rights reserved. Use of this source code is governed by a 12931 // for details. All rights reserved. Use of this source code is governed by a
12831 // BSD-style license that can be found in the LICENSE file. 12932 // BSD-style license that can be found in the LICENSE file.
12832 12933
12833 // WARNING: Do not edit - generated code. 12934 // WARNING: Do not edit - generated code.
12834 12935
12835 interface Console { 12936 interface Console {
12836 12937
12837 final MemoryInfo memory; 12938 final MemoryInfo memory;
12838 12939
12839 final List profiles;
12840
12841 void assertCondition(bool condition, Object arg); 12940 void assertCondition(bool condition, Object arg);
12842 12941
12843 void count(); 12942 void count();
12844 12943
12845 void debug(Object arg); 12944 void debug(Object arg);
12846 12945
12847 void dir(); 12946 void dir();
12848 12947
12849 void dirxml(); 12948 void dirxml();
12850 12949
(...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after
13825 String selectedStylesheetSet; 13924 String selectedStylesheetSet;
13826 13925
13827 final StyleSheetList styleSheets; 13926 final StyleSheetList styleSheets;
13828 13927
13829 String title; 13928 String title;
13830 13929
13831 final Element webkitCurrentFullScreenElement; 13930 final Element webkitCurrentFullScreenElement;
13832 13931
13833 final bool webkitFullScreenKeyboardInputAllowed; 13932 final bool webkitFullScreenKeyboardInputAllowed;
13834 13933
13934 final Element webkitFullscreenElement;
13935
13936 final bool webkitFullscreenEnabled;
13937
13835 final bool webkitHidden; 13938 final bool webkitHidden;
13836 13939
13837 final bool webkitIsFullScreen; 13940 final bool webkitIsFullScreen;
13838 13941
13839 final String webkitVisibilityState; 13942 final String webkitVisibilityState;
13840 13943
13841 final String xmlEncoding; 13944 final String xmlEncoding;
13842 13945
13843 bool xmlStandalone; 13946 bool xmlStandalone;
13844 13947
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
13917 bool queryCommandSupported(String command); 14020 bool queryCommandSupported(String command);
13918 14021
13919 String queryCommandValue(String command); 14022 String queryCommandValue(String command);
13920 14023
13921 Element querySelector(String selectors); 14024 Element querySelector(String selectors);
13922 14025
13923 NodeList querySelectorAll(String selectors); 14026 NodeList querySelectorAll(String selectors);
13924 14027
13925 void webkitCancelFullScreen(); 14028 void webkitCancelFullScreen();
13926 14029
14030 void webkitExitFullscreen();
14031
13927 WebKitNamedFlow webkitGetFlowByName(String name); 14032 WebKitNamedFlow webkitGetFlowByName(String name);
13928 } 14033 }
13929 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14034 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13930 // for details. All rights reserved. Use of this source code is governed by a 14035 // for details. All rights reserved. Use of this source code is governed by a
13931 // BSD-style license that can be found in the LICENSE file. 14036 // BSD-style license that can be found in the LICENSE file.
13932 14037
13933 // WARNING: Do not edit - generated code. 14038 // WARNING: Do not edit - generated code.
13934 14039
13935 interface DocumentFragment extends Node, NodeSelector { 14040 interface DocumentFragment extends Node, NodeSelector {
13936 14041
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
14086 14191
14087 void setAttributeNS(String namespaceURI, String qualifiedName, String value); 14192 void setAttributeNS(String namespaceURI, String qualifiedName, String value);
14088 14193
14089 Attr setAttributeNode(Attr newAttr); 14194 Attr setAttributeNode(Attr newAttr);
14090 14195
14091 Attr setAttributeNodeNS(Attr newAttr); 14196 Attr setAttributeNodeNS(Attr newAttr);
14092 14197
14093 bool webkitMatchesSelector(String selectors); 14198 bool webkitMatchesSelector(String selectors);
14094 14199
14095 void webkitRequestFullScreen(int flags); 14200 void webkitRequestFullScreen(int flags);
14201
14202 void webkitRequestFullscreen();
14096 } 14203 }
14097 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14204 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14098 // for details. All rights reserved. Use of this source code is governed by a 14205 // for details. All rights reserved. Use of this source code is governed by a
14099 // BSD-style license that can be found in the LICENSE file. 14206 // BSD-style license that can be found in the LICENSE file.
14100 14207
14101 // WARNING: Do not edit - generated code. 14208 // WARNING: Do not edit - generated code.
14102 14209
14103 interface ElementTimeControl { 14210 interface ElementTimeControl {
14104 14211
14105 void beginElement(); 14212 void beginElement();
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
14412 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 14519 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
14413 } 14520 }
14414 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14521 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14415 // for details. All rights reserved. Use of this source code is governed by a 14522 // for details. All rights reserved. Use of this source code is governed by a
14416 // BSD-style license that can be found in the LICENSE file. 14523 // BSD-style license that can be found in the LICENSE file.
14417 14524
14418 // WARNING: Do not edit - generated code. 14525 // WARNING: Do not edit - generated code.
14419 14526
14420 interface File extends Blob { 14527 interface File extends Blob {
14421 14528
14422 final String fileName;
14423
14424 final int fileSize;
14425
14426 final Date lastModifiedDate; 14529 final Date lastModifiedDate;
14427 14530
14428 final String name; 14531 final String name;
14429 14532
14430 final String webkitRelativePath; 14533 final String webkitRelativePath;
14431 } 14534 }
14432 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 14535 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
14433 // for details. All rights reserved. Use of this source code is governed by a 14536 // for details. All rights reserved. Use of this source code is governed by a
14434 // BSD-style license that can be found in the LICENSE file. 14537 // BSD-style license that can be found in the LICENSE file.
14435 14538
(...skipping 1435 matching lines...) Expand 10 before | Expand all | Expand 10 after
15871 String scheme; 15974 String scheme;
15872 } 15975 }
15873 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15976 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15874 // for details. All rights reserved. Use of this source code is governed by a 15977 // for details. All rights reserved. Use of this source code is governed by a
15875 // BSD-style license that can be found in the LICENSE file. 15978 // BSD-style license that can be found in the LICENSE file.
15876 15979
15877 // WARNING: Do not edit - generated code. 15980 // WARNING: Do not edit - generated code.
15878 15981
15879 interface HTMLMeterElement extends HTMLElement { 15982 interface HTMLMeterElement extends HTMLElement {
15880 15983
15881 final HTMLFormElement form;
15882
15883 num high; 15984 num high;
15884 15985
15885 final NodeList labels; 15986 final NodeList labels;
15886 15987
15887 num low; 15988 num low;
15888 15989
15889 num max; 15990 num max;
15890 15991
15891 num min; 15992 num min;
15892 15993
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
16101 bool wrap; 16202 bool wrap;
16102 } 16203 }
16103 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16204 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16104 // for details. All rights reserved. Use of this source code is governed by a 16205 // for details. All rights reserved. Use of this source code is governed by a
16105 // BSD-style license that can be found in the LICENSE file. 16206 // BSD-style license that can be found in the LICENSE file.
16106 16207
16107 // WARNING: Do not edit - generated code. 16208 // WARNING: Do not edit - generated code.
16108 16209
16109 interface HTMLProgressElement extends HTMLElement { 16210 interface HTMLProgressElement extends HTMLElement {
16110 16211
16111 final HTMLFormElement form;
16112
16113 final NodeList labels; 16212 final NodeList labels;
16114 16213
16115 num max; 16214 num max;
16116 16215
16117 final num position; 16216 final num position;
16118 16217
16119 num value; 16218 num value;
16120 } 16219 }
16121 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16220 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16122 // for details. All rights reserved. Use of this source code is governed by a 16221 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 10 matching lines...) Expand all
16133 // BSD-style license that can be found in the LICENSE file. 16232 // BSD-style license that can be found in the LICENSE file.
16134 16233
16135 // WARNING: Do not edit - generated code. 16234 // WARNING: Do not edit - generated code.
16136 16235
16137 interface HTMLScriptElement extends HTMLElement { 16236 interface HTMLScriptElement extends HTMLElement {
16138 16237
16139 bool async; 16238 bool async;
16140 16239
16141 String charset; 16240 String charset;
16142 16241
16242 String crossOrigin;
16243
16143 bool defer; 16244 bool defer;
16144 16245
16145 String event; 16246 String event;
16146 16247
16147 String htmlFor; 16248 String htmlFor;
16148 16249
16149 String src; 16250 String src;
16150 16251
16151 String text; 16252 String text;
16152 16253
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after
16963 interface IDBVersionChangeRequest extends IDBRequest { 17064 interface IDBVersionChangeRequest extends IDBRequest {
16964 17065
16965 EventListener onblocked; 17066 EventListener onblocked;
16966 } 17067 }
16967 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17068 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16968 // for details. All rights reserved. Use of this source code is governed by a 17069 // for details. All rights reserved. Use of this source code is governed by a
16969 // BSD-style license that can be found in the LICENSE file. 17070 // BSD-style license that can be found in the LICENSE file.
16970 17071
16971 // WARNING: Do not edit - generated code. 17072 // WARNING: Do not edit - generated code.
16972 17073
17074 interface IceCandidate default _IceCandidateFactoryProvider {
17075
17076 IceCandidate(String label, String candidateLine);
17077
17078 final String label;
17079
17080 String toSdp();
17081 }
17082 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17083 // for details. All rights reserved. Use of this source code is governed by a
17084 // BSD-style license that can be found in the LICENSE file.
17085
17086 // WARNING: Do not edit - generated code.
17087
16973 interface ImageData { 17088 interface ImageData {
16974 17089
16975 final CanvasPixelArray data; 17090 final CanvasPixelArray data;
16976 17091
16977 final int height; 17092 final int height;
16978 17093
16979 final int width; 17094 final int width;
16980 } 17095 }
16981 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17096 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16982 // for details. All rights reserved. Use of this source code is governed by a 17097 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 4063 matching lines...) Expand 10 before | Expand all | Expand 10 after
21046 final String url; 21161 final String url;
21047 21162
21048 final bool visible; 21163 final bool visible;
21049 } 21164 }
21050 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21165 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21051 // for details. All rights reserved. Use of this source code is governed by a 21166 // for details. All rights reserved. Use of this source code is governed by a
21052 // BSD-style license that can be found in the LICENSE file. 21167 // BSD-style license that can be found in the LICENSE file.
21053 21168
21054 // WARNING: Do not edit - generated code. 21169 // WARNING: Do not edit - generated code.
21055 21170
21171 interface SessionDescription default _SessionDescriptionFactoryProvider {
21172
21173 SessionDescription(String sdp);
21174
21175 void addCandidate(IceCandidate candidate);
21176
21177 String toSdp();
21178 }
21179 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21180 // for details. All rights reserved. Use of this source code is governed by a
21181 // BSD-style license that can be found in the LICENSE file.
21182
21183 // WARNING: Do not edit - generated code.
21184
21056 interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider { 21185 interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider {
21057 21186
21058 ShadowRoot(Element host); 21187 ShadowRoot(Element host);
21059 21188
21060 final Element activeElement; 21189 final Element activeElement;
21061 21190
21062 final Element host; 21191 final Element host;
21063 21192
21064 String innerHTML; 21193 String innerHTML;
21065 21194
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
21170 final int length; 21299 final int length;
21171 21300
21172 SpeechInputResult item(int index); 21301 SpeechInputResult item(int index);
21173 } 21302 }
21174 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21303 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21175 // for details. All rights reserved. Use of this source code is governed by a 21304 // for details. All rights reserved. Use of this source code is governed by a
21176 // BSD-style license that can be found in the LICENSE file. 21305 // BSD-style license that can be found in the LICENSE file.
21177 21306
21178 // WARNING: Do not edit - generated code. 21307 // WARNING: Do not edit - generated code.
21179 21308
21309 interface SpeechRecognition default _SpeechRecognitionFactoryProvider {
21310
21311 SpeechRecognition();
21312
21313 bool continuous;
21314
21315 SpeechGrammarList grammars;
21316
21317 String lang;
21318
21319 EventListener onaudioend;
21320
21321 EventListener onaudiostart;
21322
21323 EventListener onend;
21324
21325 EventListener onerror;
21326
21327 EventListener onnomatch;
21328
21329 EventListener onresult;
21330
21331 EventListener onresultdeleted;
21332
21333 EventListener onsoundend;
21334
21335 EventListener onsoundstart;
21336
21337 EventListener onspeechend;
21338
21339 EventListener onspeechstart;
21340
21341 EventListener onstart;
21342
21343 void abort();
21344
21345 void start();
21346
21347 void stop();
21348 }
21349 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21350 // for details. All rights reserved. Use of this source code is governed by a
21351 // BSD-style license that can be found in the LICENSE file.
21352
21353 // WARNING: Do not edit - generated code.
21354
21180 interface SpeechRecognitionAlternative { 21355 interface SpeechRecognitionAlternative {
21181 21356
21182 final num confidence; 21357 final num confidence;
21183 21358
21184 final String transcript; 21359 final String transcript;
21185 } 21360 }
21186 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21361 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21187 // for details. All rights reserved. Use of this source code is governed by a 21362 // for details. All rights reserved. Use of this source code is governed by a
21188 // BSD-style license that can be found in the LICENSE file. 21363 // BSD-style license that can be found in the LICENSE file.
21189 21364
(...skipping 3256 matching lines...) Expand 10 before | Expand all | Expand 10 after
24446 if (length < 0) throw new IllegalArgumentException('length'); 24621 if (length < 0) throw new IllegalArgumentException('length');
24447 if (start < 0) throw new IndexOutOfRangeException(start); 24622 if (start < 0) throw new IndexOutOfRangeException(start);
24448 int end = start + length; 24623 int end = start + length;
24449 if (end > a.length) throw new IndexOutOfRangeException(end); 24624 if (end > a.length) throw new IndexOutOfRangeException(end);
24450 for (int i = start; i < end; i++) { 24625 for (int i = start; i < end; i++) {
24451 accumulator.add(a[i]); 24626 accumulator.add(a[i]);
24452 } 24627 }
24453 return accumulator; 24628 return accumulator;
24454 } 24629 }
24455 } 24630 }
OLDNEW
« no previous file with comments | « client/dom/dom.dart ('k') | client/dom/templates/html/impl/impl_DocumentFragment.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698