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

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

Issue 9854035: Regen dom/html from IDL (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 | « lib/dom/dom.dart ('k') | lib/dom/scripts/dartdomgenerator.py » ('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 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 842
843 class _ConsoleJs 843 class _ConsoleJs
844 // Implement DOMType directly. Console is sometimes a singleton 844 // Implement DOMType directly. Console is sometimes a singleton
845 // 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
846 // DOMTypeJs. 846 // DOMTypeJs.
847 implements Console, DOMType 847 implements Console, DOMType
848 native "=(typeof console == 'undefined' ? {} : console)" { 848 native "=(typeof console == 'undefined' ? {} : console)" {
849 849
850 final _MemoryInfoJs memory; 850 final _MemoryInfoJs memory;
851 851
852 final List<ScriptProfile> profiles;
853
852 void assertCondition(bool condition, Object arg) native; 854 void assertCondition(bool condition, Object arg) native;
853 855
854 void count() native; 856 void count() native;
855 857
856 void debug(Object arg) native; 858 void debug(Object arg) native;
857 859
858 void dir() native; 860 void dir() native;
859 861
860 void dirxml() native; 862 void dirxml() native;
861 863
(...skipping 4684 matching lines...) Expand 10 before | Expand all | Expand 10 after
5546 final int orient; 5548 final int orient;
5547 5549
5548 final bool verticalOverflow; 5550 final bool verticalOverflow;
5549 } 5551 }
5550 5552
5551 class _PageTransitionEventJs extends _EventJs implements PageTransitionEvent nat ive "*PageTransitionEvent" { 5553 class _PageTransitionEventJs extends _EventJs implements PageTransitionEvent nat ive "*PageTransitionEvent" {
5552 5554
5553 final bool persisted; 5555 final bool persisted;
5554 } 5556 }
5555 5557
5558 class _PeerConnection00Js extends _DOMTypeJs implements PeerConnection00 native "*PeerConnection00" {
5559
5560 static final int ACTIVE = 2;
5561
5562 static final int CLOSED = 3;
5563
5564 static final int ICE_CHECKING = 0x300;
5565
5566 static final int ICE_CLOSED = 0x700;
5567
5568 static final int ICE_COMPLETED = 0x500;
5569
5570 static final int ICE_CONNECTED = 0x400;
5571
5572 static final int ICE_FAILED = 0x600;
5573
5574 static final int ICE_GATHERING = 0x100;
5575
5576 static final int ICE_WAITING = 0x200;
5577
5578 static final int NEGOTIATING = 1;
5579
5580 static final int NEW = 0;
5581
5582 static final int SDP_ANSWER = 0x300;
5583
5584 static final int SDP_OFFER = 0x100;
5585
5586 static final int SDP_PRANSWER = 0x200;
5587
5588 final int iceState;
5589
5590 final _SessionDescriptionJs localDescription;
5591
5592 final _MediaStreamListJs localStreams;
5593
5594 EventListener onaddstream;
5595
5596 EventListener onconnecting;
5597
5598 EventListener onopen;
5599
5600 EventListener onremovestream;
5601
5602 EventListener onstatechange;
5603
5604 final int readyState;
5605
5606 final _SessionDescriptionJs remoteDescription;
5607
5608 final _MediaStreamListJs remoteStreams;
5609
5610 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
5611
5612 void addStream(_MediaStreamJs stream, [String mediaStreamHints = null]) native ;
5613
5614 void close() native;
5615
5616 _SessionDescriptionJs createAnswer(String offer, [String mediaHints = null]) n ative;
5617
5618 _SessionDescriptionJs createOffer([String mediaHints = null]) native;
5619
5620 bool dispatchEvent(_EventJs event) native;
5621
5622 void processIceMessage(_IceCandidateJs candidate) native;
5623
5624 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
5625
5626 void removeStream(_MediaStreamJs stream) native;
5627
5628 void setLocalDescription(int action, _SessionDescriptionJs desc) native;
5629
5630 void setRemoteDescription(int action, _SessionDescriptionJs desc) native;
5631
5632 void startIce([String iceOptions = null]) native;
5633 }
5634
5556 class _PerformanceJs extends _DOMTypeJs implements Performance native "*Performa nce" { 5635 class _PerformanceJs extends _DOMTypeJs implements Performance native "*Performa nce" {
5557 5636
5558 final _MemoryInfoJs memory; 5637 final _MemoryInfoJs memory;
5559 5638
5560 final _PerformanceNavigationJs navigation; 5639 final _PerformanceNavigationJs navigation;
5561 5640
5562 final _PerformanceTimingJs timing; 5641 final _PerformanceTimingJs timing;
5563 } 5642 }
5564 5643
5565 class _PerformanceNavigationJs extends _DOMTypeJs implements PerformanceNavigati on native "*PerformanceNavigation" { 5644 class _PerformanceNavigationJs extends _DOMTypeJs implements PerformanceNavigati on native "*PerformanceNavigation" {
(...skipping 3610 matching lines...) Expand 10 before | Expand all | Expand 10 after
9176 9255
9177 final String title; 9256 final String title;
9178 9257
9179 final int uid; 9258 final int uid;
9180 } 9259 }
9181 9260
9182 class _ScriptProfileNodeJs extends _DOMTypeJs implements ScriptProfileNode nativ e "*ScriptProfileNode" { 9261 class _ScriptProfileNodeJs extends _DOMTypeJs implements ScriptProfileNode nativ e "*ScriptProfileNode" {
9183 9262
9184 final int callUID; 9263 final int callUID;
9185 9264
9186 final List children; 9265 final List<ScriptProfileNode> children;
9187 9266
9188 final String functionName; 9267 final String functionName;
9189 9268
9190 final int lineNumber; 9269 final int lineNumber;
9191 9270
9192 final int numberOfCalls; 9271 final int numberOfCalls;
9193 9272
9194 final num selfTime; 9273 final num selfTime;
9195 9274
9196 final num totalTime; 9275 final num totalTime;
(...skipping 2596 matching lines...) Expand 10 before | Expand all | Expand 10 after
11793 // BSD-style license that can be found in the LICENSE file. 11872 // BSD-style license that can be found in the LICENSE file.
11794 11873
11795 class _MessageChannelFactoryProvider { 11874 class _MessageChannelFactoryProvider {
11796 factory MessageChannel() native 11875 factory MessageChannel() native
11797 '''return new MessageChannel();'''; 11876 '''return new MessageChannel();''';
11798 } 11877 }
11799 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11878 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11800 // for details. All rights reserved. Use of this source code is governed by a 11879 // for details. All rights reserved. Use of this source code is governed by a
11801 // BSD-style license that can be found in the LICENSE file. 11880 // BSD-style license that can be found in the LICENSE file.
11802 11881
11882 class _PeerConnection00FactoryProvider {
11883 factory PeerConnection00(String serverConfiguration, IceCallback iceCallback) native
11884 '''return new PeerConnection00(serverConfiguration, iceCallback);''';
11885 }
11886 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11887 // for details. All rights reserved. Use of this source code is governed by a
11888 // BSD-style license that can be found in the LICENSE file.
11889
11803 class _SessionDescriptionFactoryProvider { 11890 class _SessionDescriptionFactoryProvider {
11804 factory SessionDescription(String sdp) native 11891 factory SessionDescription(String sdp) native
11805 '''return new SessionDescription(sdp);'''; 11892 '''return new SessionDescription(sdp);''';
11806 } 11893 }
11807 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11894 // 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 11895 // 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. 11896 // BSD-style license that can be found in the LICENSE file.
11810 11897
11811 class _ShadowRootFactoryProvider { 11898 class _ShadowRootFactoryProvider {
11812 factory ShadowRoot(Element host) native 11899 factory ShadowRoot(Element host) native
(...skipping 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after
12930 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13017 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12931 // for details. All rights reserved. Use of this source code is governed by a 13018 // for details. All rights reserved. Use of this source code is governed by a
12932 // BSD-style license that can be found in the LICENSE file. 13019 // BSD-style license that can be found in the LICENSE file.
12933 13020
12934 // WARNING: Do not edit - generated code. 13021 // WARNING: Do not edit - generated code.
12935 13022
12936 interface Console { 13023 interface Console {
12937 13024
12938 final MemoryInfo memory; 13025 final MemoryInfo memory;
12939 13026
13027 final List<ScriptProfile> profiles;
13028
12940 void assertCondition(bool condition, Object arg); 13029 void assertCondition(bool condition, Object arg);
12941 13030
12942 void count(); 13031 void count();
12943 13032
12944 void debug(Object arg); 13033 void debug(Object arg);
12945 13034
12946 void dir(); 13035 void dir();
12947 13036
12948 void dirxml(); 13037 void dirxml();
12949 13038
(...skipping 4108 matching lines...) Expand 10 before | Expand all | Expand 10 after
17058 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17147 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17059 // for details. All rights reserved. Use of this source code is governed by a 17148 // for details. All rights reserved. Use of this source code is governed by a
17060 // BSD-style license that can be found in the LICENSE file. 17149 // BSD-style license that can be found in the LICENSE file.
17061 17150
17062 // WARNING: Do not edit - generated code. 17151 // WARNING: Do not edit - generated code.
17063 17152
17064 interface IDBVersionChangeRequest extends IDBRequest { 17153 interface IDBVersionChangeRequest extends IDBRequest {
17065 17154
17066 EventListener onblocked; 17155 EventListener onblocked;
17067 } 17156 }
17157 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
17158 // for details. All rights reserved. Use of this source code is governed by a
17159 // BSD-style license that can be found in the LICENSE file.
17160
17161 // WARNING: Do not edit - generated code.
17162
17163 typedef bool IceCallback(IceCandidate candidate, bool moreToFollow, PeerConnecti on00 source);
17068 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17164 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17069 // for details. All rights reserved. Use of this source code is governed by a 17165 // for details. All rights reserved. Use of this source code is governed by a
17070 // BSD-style license that can be found in the LICENSE file. 17166 // BSD-style license that can be found in the LICENSE file.
17071 17167
17072 // WARNING: Do not edit - generated code. 17168 // WARNING: Do not edit - generated code.
17073 17169
17074 interface IceCandidate default _IceCandidateFactoryProvider { 17170 interface IceCandidate default _IceCandidateFactoryProvider {
17075 17171
17076 IceCandidate(String label, String candidateLine); 17172 IceCandidate(String label, String candidateLine);
17077 17173
(...skipping 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after
18087 interface PageTransitionEvent extends Event { 18183 interface PageTransitionEvent extends Event {
18088 18184
18089 final bool persisted; 18185 final bool persisted;
18090 } 18186 }
18091 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 18187 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18092 // for details. All rights reserved. Use of this source code is governed by a 18188 // for details. All rights reserved. Use of this source code is governed by a
18093 // BSD-style license that can be found in the LICENSE file. 18189 // BSD-style license that can be found in the LICENSE file.
18094 18190
18095 // WARNING: Do not edit - generated code. 18191 // WARNING: Do not edit - generated code.
18096 18192
18193 interface PeerConnection00 default _PeerConnection00FactoryProvider {
18194
18195 PeerConnection00(String serverConfiguration, IceCallback iceCallback);
18196
18197 static final int ACTIVE = 2;
18198
18199 static final int CLOSED = 3;
18200
18201 static final int ICE_CHECKING = 0x300;
18202
18203 static final int ICE_CLOSED = 0x700;
18204
18205 static final int ICE_COMPLETED = 0x500;
18206
18207 static final int ICE_CONNECTED = 0x400;
18208
18209 static final int ICE_FAILED = 0x600;
18210
18211 static final int ICE_GATHERING = 0x100;
18212
18213 static final int ICE_WAITING = 0x200;
18214
18215 static final int NEGOTIATING = 1;
18216
18217 static final int NEW = 0;
18218
18219 static final int SDP_ANSWER = 0x300;
18220
18221 static final int SDP_OFFER = 0x100;
18222
18223 static final int SDP_PRANSWER = 0x200;
18224
18225 final int iceState;
18226
18227 final SessionDescription localDescription;
18228
18229 final MediaStreamList localStreams;
18230
18231 EventListener onaddstream;
18232
18233 EventListener onconnecting;
18234
18235 EventListener onopen;
18236
18237 EventListener onremovestream;
18238
18239 EventListener onstatechange;
18240
18241 final int readyState;
18242
18243 final SessionDescription remoteDescription;
18244
18245 final MediaStreamList remoteStreams;
18246
18247 void addEventListener(String type, EventListener listener, [bool useCapture]);
18248
18249 void addStream(MediaStream stream, [String mediaStreamHints]);
18250
18251 void close();
18252
18253 SessionDescription createAnswer(String offer, [String mediaHints]);
18254
18255 SessionDescription createOffer([String mediaHints]);
18256
18257 bool dispatchEvent(Event event);
18258
18259 void processIceMessage(IceCandidate candidate);
18260
18261 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
18262
18263 void removeStream(MediaStream stream);
18264
18265 void setLocalDescription(int action, SessionDescription desc);
18266
18267 void setRemoteDescription(int action, SessionDescription desc);
18268
18269 void startIce([String iceOptions]);
18270 }
18271 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18272 // for details. All rights reserved. Use of this source code is governed by a
18273 // BSD-style license that can be found in the LICENSE file.
18274
18275 // WARNING: Do not edit - generated code.
18276
18097 interface Performance { 18277 interface Performance {
18098 18278
18099 final MemoryInfo memory; 18279 final MemoryInfo memory;
18100 18280
18101 final PerformanceNavigation navigation; 18281 final PerformanceNavigation navigation;
18102 18282
18103 final PerformanceTiming timing; 18283 final PerformanceTiming timing;
18104 } 18284 }
18105 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 18285 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18106 // for details. All rights reserved. Use of this source code is governed by a 18286 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 3032 matching lines...) Expand 10 before | Expand all | Expand 10 after
21139 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 21319 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
21140 // for details. All rights reserved. Use of this source code is governed by a 21320 // for details. All rights reserved. Use of this source code is governed by a
21141 // BSD-style license that can be found in the LICENSE file. 21321 // BSD-style license that can be found in the LICENSE file.
21142 21322
21143 // WARNING: Do not edit - generated code. 21323 // WARNING: Do not edit - generated code.
21144 21324
21145 interface ScriptProfileNode { 21325 interface ScriptProfileNode {
21146 21326
21147 final int callUID; 21327 final int callUID;
21148 21328
21149 final List children; 21329 final List<ScriptProfileNode> children;
21150 21330
21151 final String functionName; 21331 final String functionName;
21152 21332
21153 final int lineNumber; 21333 final int lineNumber;
21154 21334
21155 final int numberOfCalls; 21335 final int numberOfCalls;
21156 21336
21157 final num selfTime; 21337 final num selfTime;
21158 21338
21159 final num totalTime; 21339 final num totalTime;
(...skipping 3461 matching lines...) Expand 10 before | Expand all | Expand 10 after
24621 if (length < 0) throw new IllegalArgumentException('length'); 24801 if (length < 0) throw new IllegalArgumentException('length');
24622 if (start < 0) throw new IndexOutOfRangeException(start); 24802 if (start < 0) throw new IndexOutOfRangeException(start);
24623 int end = start + length; 24803 int end = start + length;
24624 if (end > a.length) throw new IndexOutOfRangeException(end); 24804 if (end > a.length) throw new IndexOutOfRangeException(end);
24625 for (int i = start; i < end; i++) { 24805 for (int i = start; i < end; i++) {
24626 accumulator.add(a[i]); 24806 accumulator.add(a[i]);
24627 } 24807 }
24628 return accumulator; 24808 return accumulator;
24629 } 24809 }
24630 } 24810 }
OLDNEW
« no previous file with comments | « lib/dom/dom.dart ('k') | lib/dom/scripts/dartdomgenerator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698