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

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

Issue 9704024: Update dart:dom and dart:html bindings to reflect latest webkit changes. (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/html/dartium/html_dartium.dart » ('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 1460 matching lines...) Expand 10 before | Expand all | Expand 10 after
1471 void postMessage(Object message, [List messagePorts = null]) native; 1471 void postMessage(Object message, [List messagePorts = null]) native;
1472 1472
1473 void webkitPostMessage(Object message, [List transferList = null]) native; 1473 void webkitPostMessage(Object message, [List transferList = null]) native;
1474 } 1474 }
1475 1475
1476 class _DelayNodeJs extends _AudioNodeJs implements DelayNode native "*DelayNode" { 1476 class _DelayNodeJs extends _AudioNodeJs implements DelayNode native "*DelayNode" {
1477 1477
1478 final _AudioParamJs delayTime; 1478 final _AudioParamJs delayTime;
1479 } 1479 }
1480 1480
1481 class _DeprecatedPeerConnectionJs extends _DOMTypeJs implements DeprecatedPeerCo nnection native "*DeprecatedPeerConnection" {
1482
1483 static final int ACTIVE = 2;
1484
1485 static final int CLOSED = 3;
1486
1487 static final int NEGOTIATING = 1;
1488
1489 static final int NEW = 0;
1490
1491 final _MediaStreamListJs localStreams;
1492
1493 EventListener onaddstream;
1494
1495 EventListener onconnecting;
1496
1497 EventListener onmessage;
1498
1499 EventListener onopen;
1500
1501 EventListener onremovestream;
1502
1503 EventListener onstatechange;
1504
1505 final int readyState;
1506
1507 final _MediaStreamListJs remoteStreams;
1508
1509 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
1510
1511 void addStream(_MediaStreamJs stream) native;
1512
1513 void close() native;
1514
1515 bool dispatchEvent(_EventJs event) native;
1516
1517 void processSignalingMessage(String message) native;
1518
1519 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
1520
1521 void removeStream(_MediaStreamJs stream) native;
1522
1523 void send(String text) native;
1524 }
1525
1481 class _DeviceMotionEventJs extends _EventJs implements DeviceMotionEvent native "*DeviceMotionEvent" { 1526 class _DeviceMotionEventJs extends _EventJs implements DeviceMotionEvent native "*DeviceMotionEvent" {
1482 1527
1483 final num interval; 1528 final num interval;
1484 } 1529 }
1485 1530
1486 class _DeviceOrientationEventJs extends _EventJs implements DeviceOrientationEve nt native "*DeviceOrientationEvent" { 1531 class _DeviceOrientationEventJs extends _EventJs implements DeviceOrientationEve nt native "*DeviceOrientationEvent" {
1487 1532
1488 final bool absolute; 1533 final bool absolute;
1489 1534
1490 final num alpha; 1535 final num alpha;
(...skipping 3991 matching lines...) Expand 10 before | Expand all | Expand 10 after
5482 final int orient; 5527 final int orient;
5483 5528
5484 final bool verticalOverflow; 5529 final bool verticalOverflow;
5485 } 5530 }
5486 5531
5487 class _PageTransitionEventJs extends _EventJs implements PageTransitionEvent nat ive "*PageTransitionEvent" { 5532 class _PageTransitionEventJs extends _EventJs implements PageTransitionEvent nat ive "*PageTransitionEvent" {
5488 5533
5489 final bool persisted; 5534 final bool persisted;
5490 } 5535 }
5491 5536
5492 class _PeerConnectionJs extends _DOMTypeJs implements PeerConnection native "*Pe erConnection" {
5493
5494 static final int ACTIVE = 2;
5495
5496 static final int CLOSED = 3;
5497
5498 static final int NEGOTIATING = 1;
5499
5500 static final int NEW = 0;
5501
5502 final _MediaStreamListJs localStreams;
5503
5504 EventListener onaddstream;
5505
5506 EventListener onconnecting;
5507
5508 EventListener onmessage;
5509
5510 EventListener onopen;
5511
5512 EventListener onremovestream;
5513
5514 EventListener onstatechange;
5515
5516 final int readyState;
5517
5518 final _MediaStreamListJs remoteStreams;
5519
5520 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
5521
5522 void addStream(_MediaStreamJs stream) native;
5523
5524 void close() native;
5525
5526 bool dispatchEvent(_EventJs event) native;
5527
5528 void processSignalingMessage(String message) native;
5529
5530 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
5531
5532 void removeStream(_MediaStreamJs stream) native;
5533
5534 void send(String text) native;
5535 }
5536
5537 class _PerformanceJs extends _DOMTypeJs implements Performance native "*Performa nce" { 5537 class _PerformanceJs extends _DOMTypeJs implements Performance native "*Performa nce" {
5538 5538
5539 final _MemoryInfoJs memory; 5539 final _MemoryInfoJs memory;
5540 5540
5541 final _PerformanceNavigationJs navigation; 5541 final _PerformanceNavigationJs navigation;
5542 5542
5543 final _PerformanceTimingJs timing; 5543 final _PerformanceTimingJs timing;
5544 } 5544 }
5545 5545
5546 class _PerformanceNavigationJs extends _DOMTypeJs implements PerformanceNavigati on native "*PerformanceNavigation" { 5546 class _PerformanceNavigationJs extends _DOMTypeJs implements PerformanceNavigati on native "*PerformanceNavigation" {
(...skipping 3656 matching lines...) Expand 10 before | Expand all | Expand 10 after
9203 final _MessagePortJs port; 9203 final _MessagePortJs port;
9204 } 9204 }
9205 9205
9206 class _SharedWorkerContextJs extends _WorkerContextJs implements SharedWorkerCon text native "*SharedWorkerContext" { 9206 class _SharedWorkerContextJs extends _WorkerContextJs implements SharedWorkerCon text native "*SharedWorkerContext" {
9207 9207
9208 final String name; 9208 final String name;
9209 9209
9210 EventListener onconnect; 9210 EventListener onconnect;
9211 } 9211 }
9212 9212
9213 class _SpeechGrammarJs extends _DOMTypeJs implements SpeechGrammar native "*Spee chGrammar" {
9214
9215 num weight;
9216 }
9217
9218 class _SpeechGrammarListJs extends _DOMTypeJs implements SpeechGrammarList nativ e "*SpeechGrammarList" {
9219
9220 final int length;
9221
9222 void addFromString(String string, [num weight = null]) native;
9223
9224 void addFromUri(String src, [num weight = null]) native;
9225
9226 _SpeechGrammarJs item(int index) native;
9227 }
9228
9213 class _SpeechInputEventJs extends _EventJs implements SpeechInputEvent native "* SpeechInputEvent" { 9229 class _SpeechInputEventJs extends _EventJs implements SpeechInputEvent native "* SpeechInputEvent" {
9214 9230
9215 final _SpeechInputResultListJs results; 9231 final _SpeechInputResultListJs results;
9216 } 9232 }
9217 9233
9218 class _SpeechInputResultJs extends _DOMTypeJs implements SpeechInputResult nativ e "*SpeechInputResult" { 9234 class _SpeechInputResultJs extends _DOMTypeJs implements SpeechInputResult nativ e "*SpeechInputResult" {
9219 9235
9220 final num confidence; 9236 final num confidence;
9221 9237
9222 final String utterance; 9238 final String utterance;
9223 } 9239 }
9224 9240
9225 class _SpeechInputResultListJs extends _DOMTypeJs implements SpeechInputResultLi st native "*SpeechInputResultList" { 9241 class _SpeechInputResultListJs extends _DOMTypeJs implements SpeechInputResultLi st native "*SpeechInputResultList" {
9226 9242
9227 final int length; 9243 final int length;
9228 9244
9229 _SpeechInputResultJs item(int index) native; 9245 _SpeechInputResultJs item(int index) native;
9230 } 9246 }
9247
9248 class _SpeechRecognitionAlternativeJs extends _DOMTypeJs implements SpeechRecogn itionAlternative native "*SpeechRecognitionAlternative" {
9249
9250 final num confidence;
9251
9252 final String transcript;
9253 }
9254
9255 class _SpeechRecognitionErrorJs extends _DOMTypeJs implements SpeechRecognitionE rror native "*SpeechRecognitionError" {
9256
9257 static final int ABORTED = 2;
9258
9259 static final int AUDIO_CAPTURE = 3;
9260
9261 static final int BAD_GRAMMAR = 7;
9262
9263 static final int LANGUAGE_NOT_SUPPORTED = 8;
9264
9265 static final int NETWORK = 4;
9266
9267 static final int NOT_ALLOWED = 5;
9268
9269 static final int NO_SPEECH = 1;
9270
9271 static final int OTHER = 0;
9272
9273 static final int SERVICE_NOT_ALLOWED = 6;
9274
9275 final int code;
9276
9277 final String message;
9278 }
9279
9280 class _SpeechRecognitionEventJs extends _EventJs implements SpeechRecognitionEve nt native "*SpeechRecognitionEvent" {
9281
9282 final _SpeechRecognitionErrorJs error;
9283
9284 final _SpeechRecognitionResultJs result;
9285
9286 final _SpeechRecognitionResultListJs resultHistory;
9287
9288 final int resultIndex;
9289 }
9290
9291 class _SpeechRecognitionResultJs extends _DOMTypeJs implements SpeechRecognition Result native "*SpeechRecognitionResult" {
9292
9293 bool get finalValue() native "return this.final;";
9294
9295 final int length;
9296
9297 _SpeechRecognitionAlternativeJs item(int index) native;
9298 }
9299
9300 class _SpeechRecognitionResultListJs extends _DOMTypeJs implements SpeechRecogni tionResultList native "*SpeechRecognitionResultList" {
9301
9302 final int length;
9303
9304 _SpeechRecognitionResultJs item(int index) native;
9305 }
9231 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 9306 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9232 // for details. All rights reserved. Use of this source code is governed by a 9307 // for details. All rights reserved. Use of this source code is governed by a
9233 // BSD-style license that can be found in the LICENSE file. 9308 // BSD-style license that can be found in the LICENSE file.
9234 9309
9235 class _StorageJs extends _DOMTypeJs implements Storage native "*Storage" { 9310 class _StorageJs extends _DOMTypeJs implements Storage native "*Storage" {
9236 9311
9237 final int length; 9312 final int length;
9238 9313
9239 void clear() native; 9314 void clear() native;
9240 9315
(...skipping 2319 matching lines...) Expand 10 before | Expand all | Expand 10 after
11560 // BSD-style license that can be found in the LICENSE file. 11635 // BSD-style license that can be found in the LICENSE file.
11561 11636
11562 class _DOMURLFactoryProvider { 11637 class _DOMURLFactoryProvider {
11563 factory DOMURL() native 11638 factory DOMURL() native
11564 '''return new DOMURL();'''; 11639 '''return new DOMURL();''';
11565 } 11640 }
11566 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11641 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11567 // for details. All rights reserved. Use of this source code is governed by a 11642 // for details. All rights reserved. Use of this source code is governed by a
11568 // BSD-style license that can be found in the LICENSE file. 11643 // BSD-style license that can be found in the LICENSE file.
11569 11644
11645 class _DeprecatedPeerConnectionFactoryProvider {
11646 factory DeprecatedPeerConnection(String serverConfiguration, SignalingCallback signalingCallback) native
11647 '''return new DeprecatedPeerConnection(serverConfiguration, signalingCallb ack);''';
11648 }
11649 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11650 // for details. All rights reserved. Use of this source code is governed by a
11651 // BSD-style license that can be found in the LICENSE file.
11652
11570 class _EventSourceFactoryProvider { 11653 class _EventSourceFactoryProvider {
11571 factory EventSource(String scriptUrl) native 11654 factory EventSource(String scriptUrl) native
11572 '''return new EventSource(scriptUrl);'''; 11655 '''return new EventSource(scriptUrl);''';
11573 } 11656 }
11574 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11657 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11575 // for details. All rights reserved. Use of this source code is governed by a 11658 // for details. All rights reserved. Use of this source code is governed by a
11576 // BSD-style license that can be found in the LICENSE file. 11659 // BSD-style license that can be found in the LICENSE file.
11577 11660
11578 class _FileReaderFactoryProvider { 11661 class _FileReaderFactoryProvider {
11579 factory FileReader() native 11662 factory FileReader() native
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
11635 // BSD-style license that can be found in the LICENSE file. 11718 // BSD-style license that can be found in the LICENSE file.
11636 11719
11637 class _MessageChannelFactoryProvider { 11720 class _MessageChannelFactoryProvider {
11638 factory MessageChannel() native 11721 factory MessageChannel() native
11639 '''return new MessageChannel();'''; 11722 '''return new MessageChannel();''';
11640 } 11723 }
11641 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11724 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11642 // for details. All rights reserved. Use of this source code is governed by a 11725 // for details. All rights reserved. Use of this source code is governed by a
11643 // BSD-style license that can be found in the LICENSE file. 11726 // BSD-style license that can be found in the LICENSE file.
11644 11727
11645 class _PeerConnectionFactoryProvider {
11646 factory PeerConnection(String serverConfiguration, SignalingCallback signaling Callback) native
11647 '''return new PeerConnection(serverConfiguration, signalingCallback);''';
11648 }
11649 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11650 // for details. All rights reserved. Use of this source code is governed by a
11651 // BSD-style license that can be found in the LICENSE file.
11652
11653 class _ShadowRootFactoryProvider { 11728 class _ShadowRootFactoryProvider {
11654 factory ShadowRoot(Element host) native 11729 factory ShadowRoot(Element host) native
11655 '''return new ShadowRoot(host);'''; 11730 '''return new ShadowRoot(host);''';
11656 } 11731 }
11657 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11732 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11658 // for details. All rights reserved. Use of this source code is governed by a 11733 // for details. All rights reserved. Use of this source code is governed by a
11659 // BSD-style license that can be found in the LICENSE file. 11734 // BSD-style license that can be found in the LICENSE file.
11660 11735
11661 class _SharedWorkerFactoryProvider { 11736 class _SharedWorkerFactoryProvider {
11662 factory SharedWorker(String scriptURL, [String name]) native 11737 factory SharedWorker(String scriptURL, [String name]) native
11663 ''' 11738 '''
11664 if (name == null) return new SharedWorker(scriptURL); 11739 if (name == null) return new SharedWorker(scriptURL);
11665 return new SharedWorker(scriptURL, name); 11740 return new SharedWorker(scriptURL, name);
11666 '''; 11741 ''';
11667 } 11742 }
11668 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11743 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11669 // for details. All rights reserved. Use of this source code is governed by a 11744 // for details. All rights reserved. Use of this source code is governed by a
11670 // BSD-style license that can be found in the LICENSE file. 11745 // BSD-style license that can be found in the LICENSE file.
11671 11746
11747 class _SpeechGrammarFactoryProvider {
11748 factory SpeechGrammar() native
11749 '''return new SpeechGrammar();''';
11750 }
11751 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11752 // for details. All rights reserved. Use of this source code is governed by a
11753 // BSD-style license that can be found in the LICENSE file.
11754
11755 class _SpeechGrammarListFactoryProvider {
11756 factory SpeechGrammarList() native
11757 '''return new SpeechGrammarList();''';
11758 }
11759 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11760 // for details. All rights reserved. Use of this source code is governed by a
11761 // BSD-style license that can be found in the LICENSE file.
11762
11672 class _TextTrackCueFactoryProvider { 11763 class _TextTrackCueFactoryProvider {
11673 factory TextTrackCue(String id, num startTime, num endTime, String text, 11764 factory TextTrackCue(String id, num startTime, num endTime, String text,
11674 [String settings, bool pauseOnExit]) native 11765 [String settings, bool pauseOnExit]) native
11675 ''' 11766 '''
11676 if (settings == null) 11767 if (settings == null)
11677 return new TextTrackCue(id, startTime, endTime, text); 11768 return new TextTrackCue(id, startTime, endTime, text);
11678 if (pauseOnExit == null) 11769 if (pauseOnExit == null)
11679 return new TextTrackCue(id, startTime, endTime, text, settings); 11770 return new TextTrackCue(id, startTime, endTime, text, settings);
11680 return new TextTrackCue(id, startTime, endTime, text, settings, pauseOnExit); 11771 return new TextTrackCue(id, startTime, endTime, text, settings, pauseOnExit);
11681 '''; 11772 ''';
(...skipping 1856 matching lines...) Expand 10 before | Expand all | Expand 10 after
13538 interface DelayNode extends AudioNode { 13629 interface DelayNode extends AudioNode {
13539 13630
13540 final AudioParam delayTime; 13631 final AudioParam delayTime;
13541 } 13632 }
13542 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13633 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13543 // for details. All rights reserved. Use of this source code is governed by a 13634 // for details. All rights reserved. Use of this source code is governed by a
13544 // BSD-style license that can be found in the LICENSE file. 13635 // BSD-style license that can be found in the LICENSE file.
13545 13636
13546 // WARNING: Do not edit - generated code. 13637 // WARNING: Do not edit - generated code.
13547 13638
13639 interface DeprecatedPeerConnection default _DeprecatedPeerConnectionFactoryProvi der {
13640
13641 DeprecatedPeerConnection(String serverConfiguration, SignalingCallback signali ngCallback);
13642
13643 static final int ACTIVE = 2;
13644
13645 static final int CLOSED = 3;
13646
13647 static final int NEGOTIATING = 1;
13648
13649 static final int NEW = 0;
13650
13651 final MediaStreamList localStreams;
13652
13653 EventListener onaddstream;
13654
13655 EventListener onconnecting;
13656
13657 EventListener onmessage;
13658
13659 EventListener onopen;
13660
13661 EventListener onremovestream;
13662
13663 EventListener onstatechange;
13664
13665 final int readyState;
13666
13667 final MediaStreamList remoteStreams;
13668
13669 void addEventListener(String type, EventListener listener, [bool useCapture]);
13670
13671 void addStream(MediaStream stream);
13672
13673 void close();
13674
13675 bool dispatchEvent(Event event);
13676
13677 void processSignalingMessage(String message);
13678
13679 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
13680
13681 void removeStream(MediaStream stream);
13682
13683 void send(String text);
13684 }
13685 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13686 // for details. All rights reserved. Use of this source code is governed by a
13687 // BSD-style license that can be found in the LICENSE file.
13688
13689 // WARNING: Do not edit - generated code.
13690
13548 interface DeviceMotionEvent extends Event { 13691 interface DeviceMotionEvent extends Event {
13549 13692
13550 final num interval; 13693 final num interval;
13551 } 13694 }
13552 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13695 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13553 // for details. All rights reserved. Use of this source code is governed by a 13696 // for details. All rights reserved. Use of this source code is governed by a
13554 // BSD-style license that can be found in the LICENSE file. 13697 // BSD-style license that can be found in the LICENSE file.
13555 13698
13556 // WARNING: Do not edit - generated code. 13699 // WARNING: Do not edit - generated code.
13557 13700
(...skipping 4269 matching lines...) Expand 10 before | Expand all | Expand 10 after
17827 interface PageTransitionEvent extends Event { 17970 interface PageTransitionEvent extends Event {
17828 17971
17829 final bool persisted; 17972 final bool persisted;
17830 } 17973 }
17831 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17974 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17832 // for details. All rights reserved. Use of this source code is governed by a 17975 // for details. All rights reserved. Use of this source code is governed by a
17833 // BSD-style license that can be found in the LICENSE file. 17976 // BSD-style license that can be found in the LICENSE file.
17834 17977
17835 // WARNING: Do not edit - generated code. 17978 // WARNING: Do not edit - generated code.
17836 17979
17837 interface PeerConnection default _PeerConnectionFactoryProvider {
17838
17839 PeerConnection(String serverConfiguration, SignalingCallback signalingCallback );
17840
17841 static final int ACTIVE = 2;
17842
17843 static final int CLOSED = 3;
17844
17845 static final int NEGOTIATING = 1;
17846
17847 static final int NEW = 0;
17848
17849 final MediaStreamList localStreams;
17850
17851 EventListener onaddstream;
17852
17853 EventListener onconnecting;
17854
17855 EventListener onmessage;
17856
17857 EventListener onopen;
17858
17859 EventListener onremovestream;
17860
17861 EventListener onstatechange;
17862
17863 final int readyState;
17864
17865 final MediaStreamList remoteStreams;
17866
17867 void addEventListener(String type, EventListener listener, [bool useCapture]);
17868
17869 void addStream(MediaStream stream);
17870
17871 void close();
17872
17873 bool dispatchEvent(Event event);
17874
17875 void processSignalingMessage(String message);
17876
17877 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
17878
17879 void removeStream(MediaStream stream);
17880
17881 void send(String text);
17882 }
17883 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17884 // for details. All rights reserved. Use of this source code is governed by a
17885 // BSD-style license that can be found in the LICENSE file.
17886
17887 // WARNING: Do not edit - generated code.
17888
17889 interface Performance { 17980 interface Performance {
17890 17981
17891 final MemoryInfo memory; 17982 final MemoryInfo memory;
17892 17983
17893 final PerformanceNavigation navigation; 17984 final PerformanceNavigation navigation;
17894 17985
17895 final PerformanceTiming timing; 17986 final PerformanceTiming timing;
17896 } 17987 }
17897 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17988 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17898 // for details. All rights reserved. Use of this source code is governed by a 17989 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 3105 matching lines...) Expand 10 before | Expand all | Expand 10 after
21004 } 21095 }
21005 21096
21006 interface SharedWorkerContext extends SharedWorkerGlobalScope { 21097 interface SharedWorkerContext extends SharedWorkerGlobalScope {
21007 } 21098 }
21008 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 21099 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
21009 // for details. All rights reserved. Use of this source code is governed by a 21100 // for details. All rights reserved. Use of this source code is governed by a
21010 // BSD-style license that can be found in the LICENSE file. 21101 // BSD-style license that can be found in the LICENSE file.
21011 21102
21012 // WARNING: Do not edit - generated code. 21103 // WARNING: Do not edit - generated code.
21013 21104
21014 typedef bool SignalingCallback(String message, PeerConnection source); 21105 typedef bool SignalingCallback(String message, DeprecatedPeerConnection source);
21015 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21106 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21016 // for details. All rights reserved. Use of this source code is governed by a 21107 // for details. All rights reserved. Use of this source code is governed by a
21017 // BSD-style license that can be found in the LICENSE file. 21108 // BSD-style license that can be found in the LICENSE file.
21109
21110 // WARNING: Do not edit - generated code.
21111
21112 interface SpeechGrammar default _SpeechGrammarFactoryProvider {
21113
21114 SpeechGrammar();
21115
21116 num weight;
21117 }
21118 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21119 // for details. All rights reserved. Use of this source code is governed by a
21120 // BSD-style license that can be found in the LICENSE file.
21121
21122 // WARNING: Do not edit - generated code.
21123
21124 interface SpeechGrammarList default _SpeechGrammarListFactoryProvider {
21125
21126 SpeechGrammarList();
21127
21128 final int length;
21129
21130 void addFromString(String string, [num weight]);
21131
21132 void addFromUri(String src, [num weight]);
21133
21134 SpeechGrammar item(int index);
21135 }
21136 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21137 // for details. All rights reserved. Use of this source code is governed by a
21138 // BSD-style license that can be found in the LICENSE file.
21018 21139
21019 // WARNING: Do not edit - generated code. 21140 // WARNING: Do not edit - generated code.
21020 21141
21021 interface SpeechInputEvent extends Event { 21142 interface SpeechInputEvent extends Event {
21022 21143
21023 final SpeechInputResultList results; 21144 final SpeechInputResultList results;
21024 } 21145 }
21025 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21146 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21026 // for details. All rights reserved. Use of this source code is governed by a 21147 // for details. All rights reserved. Use of this source code is governed by a
21027 // BSD-style license that can be found in the LICENSE file. 21148 // BSD-style license that can be found in the LICENSE file.
(...skipping 17 matching lines...) Expand all
21045 final int length; 21166 final int length;
21046 21167
21047 SpeechInputResult item(int index); 21168 SpeechInputResult item(int index);
21048 } 21169 }
21049 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21170 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21050 // for details. All rights reserved. Use of this source code is governed by a 21171 // for details. All rights reserved. Use of this source code is governed by a
21051 // BSD-style license that can be found in the LICENSE file. 21172 // BSD-style license that can be found in the LICENSE file.
21052 21173
21053 // WARNING: Do not edit - generated code. 21174 // WARNING: Do not edit - generated code.
21054 21175
21176 interface SpeechRecognitionAlternative {
21177
21178 final num confidence;
21179
21180 final String transcript;
21181 }
21182 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21183 // for details. All rights reserved. Use of this source code is governed by a
21184 // BSD-style license that can be found in the LICENSE file.
21185
21186 // WARNING: Do not edit - generated code.
21187
21188 interface SpeechRecognitionError {
21189
21190 static final int ABORTED = 2;
21191
21192 static final int AUDIO_CAPTURE = 3;
21193
21194 static final int BAD_GRAMMAR = 7;
21195
21196 static final int LANGUAGE_NOT_SUPPORTED = 8;
21197
21198 static final int NETWORK = 4;
21199
21200 static final int NOT_ALLOWED = 5;
21201
21202 static final int NO_SPEECH = 1;
21203
21204 static final int OTHER = 0;
21205
21206 static final int SERVICE_NOT_ALLOWED = 6;
21207
21208 final int code;
21209
21210 final String message;
21211 }
21212 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21213 // for details. All rights reserved. Use of this source code is governed by a
21214 // BSD-style license that can be found in the LICENSE file.
21215
21216 // WARNING: Do not edit - generated code.
21217
21218 interface SpeechRecognitionEvent extends Event {
21219
21220 final SpeechRecognitionError error;
21221
21222 final SpeechRecognitionResult result;
21223
21224 final SpeechRecognitionResultList resultHistory;
21225
21226 final int resultIndex;
21227 }
21228 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21229 // for details. All rights reserved. Use of this source code is governed by a
21230 // BSD-style license that can be found in the LICENSE file.
21231
21232 // WARNING: Do not edit - generated code.
21233
21234 interface SpeechRecognitionResult {
21235
21236 final bool finalValue;
21237
21238 final int length;
21239
21240 SpeechRecognitionAlternative item(int index);
21241 }
21242 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21243 // for details. All rights reserved. Use of this source code is governed by a
21244 // BSD-style license that can be found in the LICENSE file.
21245
21246 // WARNING: Do not edit - generated code.
21247
21248 interface SpeechRecognitionResultList {
21249
21250 final int length;
21251
21252 SpeechRecognitionResult item(int index);
21253 }
21254 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21255 // for details. All rights reserved. Use of this source code is governed by a
21256 // BSD-style license that can be found in the LICENSE file.
21257
21258 // WARNING: Do not edit - generated code.
21259
21055 interface Storage { 21260 interface Storage {
21056 21261
21057 final int length; 21262 final int length;
21058 21263
21059 void clear(); 21264 void clear();
21060 21265
21061 String getItem(String key); 21266 String getItem(String key);
21062 21267
21063 String key(int index); 21268 String key(int index);
21064 21269
(...skipping 3172 matching lines...) Expand 10 before | Expand all | Expand 10 after
24237 if (length < 0) throw new IllegalArgumentException('length'); 24442 if (length < 0) throw new IllegalArgumentException('length');
24238 if (start < 0) throw new IndexOutOfRangeException(start); 24443 if (start < 0) throw new IndexOutOfRangeException(start);
24239 int end = start + length; 24444 int end = start + length;
24240 if (end > a.length) throw new IndexOutOfRangeException(end); 24445 if (end > a.length) throw new IndexOutOfRangeException(end);
24241 for (int i = start; i < end; i++) { 24446 for (int i = start; i < end; i++) {
24242 accumulator.add(a[i]); 24447 accumulator.add(a[i]);
24243 } 24448 }
24244 return accumulator; 24449 return accumulator;
24245 } 24450 }
24246 } 24451 }
OLDNEW
« no previous file with comments | « client/dom/dom.dart ('k') | client/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698