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

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

Issue 10825350: Roll IDL to multivm@762 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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/dart2js/dom_dart2js.dart ('k') | lib/html/dart2js/html_dart2js.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('dart:dom_deprecated'); 1 #library('dart:dom_deprecated');
2 2
3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 4 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 5 // BSD-style license that can be found in the LICENSE file.
6 6
7 // DO NOT EDIT 7 // DO NOT EDIT
8 // Auto-generated Dart DOM library with no implementation. 8 // Auto-generated Dart DOM library with no implementation.
9 9
10 10
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 // for details. All rights reserved. Use of this source code is governed by a 97 // for details. All rights reserved. Use of this source code is governed by a
98 // BSD-style license that can be found in the LICENSE file. 98 // BSD-style license that can be found in the LICENSE file.
99 99
100 class _MediaControllerFactoryProvider { 100 class _MediaControllerFactoryProvider {
101 factory MediaController() => _dummy(); 101 factory MediaController() => _dummy();
102 } 102 }
103 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 103 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
104 // for details. All rights reserved. Use of this source code is governed by a 104 // for details. All rights reserved. Use of this source code is governed by a
105 // BSD-style license that can be found in the LICENSE file. 105 // BSD-style license that can be found in the LICENSE file.
106 106
107 class _MediaSourceFactoryProvider {
108 factory MediaSource() => _dummy();
109 }
110 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
111 // for details. All rights reserved. Use of this source code is governed by a
112 // BSD-style license that can be found in the LICENSE file.
113
107 class _MessageChannelFactoryProvider { 114 class _MessageChannelFactoryProvider {
108 factory MessageChannel() => _dummy(); 115 factory MessageChannel() => _dummy();
109 } 116 }
110 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 117 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
111 // for details. All rights reserved. Use of this source code is governed by a 118 // for details. All rights reserved. Use of this source code is governed by a
112 // BSD-style license that can be found in the LICENSE file. 119 // BSD-style license that can be found in the LICENSE file.
113 120
114 class _MutationObserverFactoryProvider { 121 class _MutationObserverFactoryProvider {
115 factory MutationObserver(MutationCallback callback) => _dummy(); 122 factory MutationObserver(MutationCallback callback) => _dummy();
116 } 123 }
117 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 124 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
118 // for details. All rights reserved. Use of this source code is governed by a 125 // for details. All rights reserved. Use of this source code is governed by a
119 // BSD-style license that can be found in the LICENSE file. 126 // BSD-style license that can be found in the LICENSE file.
120 127
121 class _NotificationFactoryProvider { 128 class _NotificationFactoryProvider {
122 factory Notification(String title, [Map options]) => _dummy(); 129 factory Notification(String title, [Map options]) => _dummy();
123 } 130 }
124 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 131 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
125 // for details. All rights reserved. Use of this source code is governed by a 132 // for details. All rights reserved. Use of this source code is governed by a
126 // BSD-style license that can be found in the LICENSE file. 133 // BSD-style license that can be found in the LICENSE file.
127 134
128 class _PeerConnection00FactoryProvider { 135 class _PeerConnection00FactoryProvider {
129 factory PeerConnection00(String serverConfiguration, IceCallback iceCallback) => _dummy(); 136 factory PeerConnection00(String serverConfiguration, IceCallback iceCallback) => _dummy();
130 } 137 }
131 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 138 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
132 // for details. All rights reserved. Use of this source code is governed by a 139 // for details. All rights reserved. Use of this source code is governed by a
133 // BSD-style license that can be found in the LICENSE file. 140 // BSD-style license that can be found in the LICENSE file.
134 141
142 class _RTCPeerConnectionFactoryProvider {
143 factory RTCPeerConnection(Map rtcICEServers, [Map mediaConstraints]) => _dummy ();
144 }
145 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
146 // for details. All rights reserved. Use of this source code is governed by a
147 // BSD-style license that can be found in the LICENSE file.
148
135 class _SessionDescriptionFactoryProvider { 149 class _SessionDescriptionFactoryProvider {
136 factory SessionDescription(String sdp) => _dummy(); 150 factory SessionDescription(String sdp) => _dummy();
137 } 151 }
138 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 152 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
139 // for details. All rights reserved. Use of this source code is governed by a 153 // for details. All rights reserved. Use of this source code is governed by a
140 // BSD-style license that can be found in the LICENSE file. 154 // BSD-style license that can be found in the LICENSE file.
141 155
142 class _ShadowRootFactoryProvider { 156 class _ShadowRootFactoryProvider {
143 factory ShadowRoot(Element host) => _dummy(); 157 factory ShadowRoot(Element host) => _dummy();
144 } 158 }
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 DelayNode createDelayNode([num maxDelayTime]); 407 DelayNode createDelayNode([num maxDelayTime]);
394 408
395 DynamicsCompressorNode createDynamicsCompressor(); 409 DynamicsCompressorNode createDynamicsCompressor();
396 410
397 AudioGainNode createGainNode(); 411 AudioGainNode createGainNode();
398 412
399 JavaScriptAudioNode createJavaScriptNode(int bufferSize, [int numberOfInputCha nnels, int numberOfOutputChannels]); 413 JavaScriptAudioNode createJavaScriptNode(int bufferSize, [int numberOfInputCha nnels, int numberOfOutputChannels]);
400 414
401 MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaEle ment); 415 MediaElementAudioSourceNode createMediaElementSource(HTMLMediaElement mediaEle ment);
402 416
417 MediaStreamAudioSourceNode createMediaStreamSource(MediaStream mediaStream);
418
403 Oscillator createOscillator(); 419 Oscillator createOscillator();
404 420
405 AudioPannerNode createPanner(); 421 AudioPannerNode createPanner();
406 422
407 WaveShaperNode createWaveShaper(); 423 WaveShaperNode createWaveShaper();
408 424
409 WaveTable createWaveTable(Float32Array real, Float32Array imag); 425 WaveTable createWaveTable(Float32Array real, Float32Array imag);
410 426
411 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac k, [AudioBufferCallback errorCallback]); 427 void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallbac k, [AudioBufferCallback errorCallback]);
412 428
(...skipping 1997 matching lines...) Expand 10 before | Expand all | Expand 10 after
2410 // BSD-style license that can be found in the LICENSE file. 2426 // BSD-style license that can be found in the LICENSE file.
2411 2427
2412 // WARNING: Do not edit - generated code. 2428 // WARNING: Do not edit - generated code.
2413 2429
2414 interface Element extends Node, ElementTraversal { 2430 interface Element extends Node, ElementTraversal {
2415 2431
2416 static final int ALLOW_KEYBOARD_INPUT = 1; 2432 static final int ALLOW_KEYBOARD_INPUT = 1;
2417 2433
2418 final int childElementCount; 2434 final int childElementCount;
2419 2435
2436 final DOMTokenList classList;
2437
2438 String className;
2439
2420 final int clientHeight; 2440 final int clientHeight;
2421 2441
2422 final int clientLeft; 2442 final int clientLeft;
2423 2443
2424 final int clientTop; 2444 final int clientTop;
2425 2445
2426 final int clientWidth; 2446 final int clientWidth;
2427 2447
2428 final Map<String, String> dataset; 2448 final Map<String, String> dataset;
2429 2449
(...skipping 20 matching lines...) Expand all
2450 int scrollLeft; 2470 int scrollLeft;
2451 2471
2452 int scrollTop; 2472 int scrollTop;
2453 2473
2454 final int scrollWidth; 2474 final int scrollWidth;
2455 2475
2456 final CSSStyleDeclaration style; 2476 final CSSStyleDeclaration style;
2457 2477
2458 final String tagName; 2478 final String tagName;
2459 2479
2460 final String webkitRegionOverflow; 2480 final String webkitRegionOverset;
2461 2481
2462 void blur(); 2482 void blur();
2463 2483
2464 void focus(); 2484 void focus();
2465 2485
2466 String getAttribute(String name); 2486 String getAttribute(String name);
2467 2487
2468 String getAttributeNS(String namespaceURI, String localName); 2488 String getAttributeNS(String namespaceURI, String localName);
2469 2489
2470 Attr getAttributeNode(String name); 2490 Attr getAttributeNode(String name);
(...skipping 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after
3574 // BSD-style license that can be found in the LICENSE file. 3594 // BSD-style license that can be found in the LICENSE file.
3575 3595
3576 // WARNING: Do not edit - generated code. 3596 // WARNING: Do not edit - generated code.
3577 3597
3578 interface HTMLElement extends Element { 3598 interface HTMLElement extends Element {
3579 3599
3580 String accessKey; 3600 String accessKey;
3581 3601
3582 final HTMLCollection children; 3602 final HTMLCollection children;
3583 3603
3584 final DOMTokenList classList;
3585
3586 String className;
3587
3588 String contentEditable; 3604 String contentEditable;
3589 3605
3590 String dir; 3606 String dir;
3591 3607
3592 bool draggable; 3608 bool draggable;
3593 3609
3594 bool hidden; 3610 bool hidden;
3595 3611
3596 String id; 3612 String id;
3597 3613
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
4172 void stop(); 4188 void stop();
4173 } 4189 }
4174 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 4190 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4175 // for details. All rights reserved. Use of this source code is governed by a 4191 // for details. All rights reserved. Use of this source code is governed by a
4176 // BSD-style license that can be found in the LICENSE file. 4192 // BSD-style license that can be found in the LICENSE file.
4177 4193
4178 // WARNING: Do not edit - generated code. 4194 // WARNING: Do not edit - generated code.
4179 4195
4180 interface HTMLMediaElement extends HTMLElement { 4196 interface HTMLMediaElement extends HTMLElement {
4181 4197
4182 static final int EOS_DECODE_ERR = 2;
4183
4184 static final int EOS_NETWORK_ERR = 1;
4185
4186 static final int EOS_NO_ERROR = 0;
4187
4188 static final int HAVE_CURRENT_DATA = 2; 4198 static final int HAVE_CURRENT_DATA = 2;
4189 4199
4190 static final int HAVE_ENOUGH_DATA = 4; 4200 static final int HAVE_ENOUGH_DATA = 4;
4191 4201
4192 static final int HAVE_FUTURE_DATA = 3; 4202 static final int HAVE_FUTURE_DATA = 3;
4193 4203
4194 static final int HAVE_METADATA = 1; 4204 static final int HAVE_METADATA = 1;
4195 4205
4196 static final int HAVE_NOTHING = 0; 4206 static final int HAVE_NOTHING = 0;
4197 4207
4198 static final int NETWORK_EMPTY = 0; 4208 static final int NETWORK_EMPTY = 0;
4199 4209
4200 static final int NETWORK_IDLE = 1; 4210 static final int NETWORK_IDLE = 1;
4201 4211
4202 static final int NETWORK_LOADING = 2; 4212 static final int NETWORK_LOADING = 2;
4203 4213
4204 static final int NETWORK_NO_SOURCE = 3; 4214 static final int NETWORK_NO_SOURCE = 3;
4205 4215
4206 static final int SOURCE_CLOSED = 0;
4207
4208 static final int SOURCE_ENDED = 2;
4209
4210 static final int SOURCE_OPEN = 1;
4211
4212 bool autoplay; 4216 bool autoplay;
4213 4217
4214 final TimeRanges buffered; 4218 final TimeRanges buffered;
4215 4219
4216 MediaController controller; 4220 MediaController controller;
4217 4221
4218 bool controls; 4222 bool controls;
4219 4223
4220 final String currentSrc; 4224 final String currentSrc;
4221 4225
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
4266 final int webkitAudioDecodedByteCount; 4270 final int webkitAudioDecodedByteCount;
4267 4271
4268 bool webkitClosedCaptionsVisible; 4272 bool webkitClosedCaptionsVisible;
4269 4273
4270 final bool webkitHasClosedCaptions; 4274 final bool webkitHasClosedCaptions;
4271 4275
4272 final String webkitMediaSourceURL; 4276 final String webkitMediaSourceURL;
4273 4277
4274 bool webkitPreservesPitch; 4278 bool webkitPreservesPitch;
4275 4279
4276 final int webkitSourceState;
4277
4278 final int webkitVideoDecodedByteCount; 4280 final int webkitVideoDecodedByteCount;
4279 4281
4280 TextTrack addTextTrack(String kind, [String label, String language]); 4282 TextTrack addTextTrack(String kind, [String label, String language]);
4281 4283
4282 String canPlayType(String type, String keySystem); 4284 String canPlayType(String type, String keySystem);
4283 4285
4284 void load(); 4286 void load();
4285 4287
4286 void pause(); 4288 void pause();
4287 4289
4288 void play(); 4290 void play();
4289 4291
4290 void webkitAddKey(String keySystem, Uint8Array key, [Uint8Array initData, Stri ng sessionId]); 4292 void webkitAddKey(String keySystem, Uint8Array key, [Uint8Array initData, Stri ng sessionId]);
4291 4293
4292 void webkitCancelKeyRequest(String keySystem, String sessionId); 4294 void webkitCancelKeyRequest(String keySystem, String sessionId);
4293 4295
4294 void webkitGenerateKeyRequest(String keySystem, [Uint8Array initData]); 4296 void webkitGenerateKeyRequest(String keySystem, [Uint8Array initData]);
4295
4296 void webkitSourceAbort(String id);
4297
4298 void webkitSourceAddId(String id, String type);
4299
4300 void webkitSourceAppend(String id, Uint8Array data);
4301
4302 TimeRanges webkitSourceBuffered(String id);
4303
4304 void webkitSourceEndOfStream(int status);
4305
4306 void webkitSourceRemoveId(String id);
4307 } 4297 }
4308 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 4298 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4309 // for details. All rights reserved. Use of this source code is governed by a 4299 // for details. All rights reserved. Use of this source code is governed by a
4310 // BSD-style license that can be found in the LICENSE file. 4300 // BSD-style license that can be found in the LICENSE file.
4311 4301
4312 // WARNING: Do not edit - generated code. 4302 // WARNING: Do not edit - generated code.
4313 4303
4314 interface HTMLMenuElement extends HTMLElement { 4304 interface HTMLMenuElement extends HTMLElement {
4315 4305
4316 bool compact; 4306 bool compact;
(...skipping 1452 matching lines...) Expand 10 before | Expand all | Expand 10 after
5769 interface MediaQueryListListener { 5759 interface MediaQueryListListener {
5770 5760
5771 void queryChanged(MediaQueryList list); 5761 void queryChanged(MediaQueryList list);
5772 } 5762 }
5773 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5763 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5774 // for details. All rights reserved. Use of this source code is governed by a 5764 // for details. All rights reserved. Use of this source code is governed by a
5775 // BSD-style license that can be found in the LICENSE file. 5765 // BSD-style license that can be found in the LICENSE file.
5776 5766
5777 // WARNING: Do not edit - generated code. 5767 // WARNING: Do not edit - generated code.
5778 5768
5769 interface MediaSource extends EventTarget default _MediaSourceFactoryProvider {
5770
5771 MediaSource();
5772
5773 final SourceBufferList activeSourceBuffers;
5774
5775 final String readyState;
5776
5777 final SourceBufferList sourceBuffers;
5778
5779 void addEventListener(String type, EventListener listener, [bool useCapture]);
5780
5781 SourceBuffer addSourceBuffer(String type);
5782
5783 bool dispatchEvent(Event event);
5784
5785 void endOfStream(String error);
5786
5787 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
5788
5789 void removeSourceBuffer(SourceBuffer buffer);
5790 }
5791 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5792 // for details. All rights reserved. Use of this source code is governed by a
5793 // BSD-style license that can be found in the LICENSE file.
5794
5795 // WARNING: Do not edit - generated code.
5796
5779 interface MediaStream extends EventTarget default _MediaStreamFactoryProvider { 5797 interface MediaStream extends EventTarget default _MediaStreamFactoryProvider {
5780 5798
5781 MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks ); 5799 MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks );
5782 5800
5783 static final int ENDED = 2; 5801 static final int ENDED = 2;
5784 5802
5785 static final int LIVE = 1; 5803 static final int LIVE = 1;
5786 5804
5787 final MediaStreamTrackList audioTracks; 5805 final MediaStreamTrackList audioTracks;
5788 5806
5789 final String label; 5807 final String label;
5790 5808
5791 final int readyState; 5809 final int readyState;
5792 5810
5793 final MediaStreamTrackList videoTracks; 5811 final MediaStreamTrackList videoTracks;
5794 5812
5795 void addEventListener(String type, EventListener listener, [bool useCapture]); 5813 void addEventListener(String type, EventListener listener, [bool useCapture]);
5796 5814
5797 bool dispatchEvent(Event event); 5815 bool dispatchEvent(Event event);
5798 5816
5799 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 5817 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
5800 } 5818 }
5801 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5819 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5802 // for details. All rights reserved. Use of this source code is governed by a 5820 // for details. All rights reserved. Use of this source code is governed by a
5803 // BSD-style license that can be found in the LICENSE file. 5821 // BSD-style license that can be found in the LICENSE file.
5804 5822
5805 // WARNING: Do not edit - generated code. 5823 // WARNING: Do not edit - generated code.
5806 5824
5825 interface MediaStreamAudioSourceNode extends AudioSourceNode {
5826
5827 final MediaStream mediaStream;
5828 }
5829 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5830 // for details. All rights reserved. Use of this source code is governed by a
5831 // BSD-style license that can be found in the LICENSE file.
5832
5833 // WARNING: Do not edit - generated code.
5834
5807 interface MediaStreamEvent extends Event { 5835 interface MediaStreamEvent extends Event {
5808 5836
5809 final MediaStream stream; 5837 final MediaStream stream;
5810 } 5838 }
5811 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5839 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5812 // for details. All rights reserved. Use of this source code is governed by a 5840 // for details. All rights reserved. Use of this source code is governed by a
5813 // BSD-style license that can be found in the LICENSE file. 5841 // BSD-style license that can be found in the LICENSE file.
5814 5842
5815 // WARNING: Do not edit - generated code. 5843 // WARNING: Do not edit - generated code.
5816 5844
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
6151 final String productSub; 6179 final String productSub;
6152 6180
6153 final String userAgent; 6181 final String userAgent;
6154 6182
6155 final String vendor; 6183 final String vendor;
6156 6184
6157 final String vendorSub; 6185 final String vendorSub;
6158 6186
6159 final BatteryManager webkitBattery; 6187 final BatteryManager webkitBattery;
6160 6188
6161 final PointerLock webkitPointer;
6162
6163 void getStorageUpdates(); 6189 void getStorageUpdates();
6164 6190
6165 bool javaEnabled(); 6191 bool javaEnabled();
6166 6192
6167 GamepadList webkitGetGamepads(); 6193 GamepadList webkitGetGamepads();
6168 6194
6169 void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback success Callback, [NavigatorUserMediaErrorCallback errorCallback]); 6195 void webkitGetUserMedia(Map options, NavigatorUserMediaSuccessCallback success Callback, [NavigatorUserMediaErrorCallback errorCallback]);
6170 } 6196 }
6171 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6197 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6172 // for details. All rights reserved. Use of this source code is governed by a 6198 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
6407 // BSD-style license that can be found in the LICENSE file. 6433 // BSD-style license that can be found in the LICENSE file.
6408 6434
6409 // WARNING: Do not edit - generated code. 6435 // WARNING: Do not edit - generated code.
6410 6436
6411 interface Notification extends EventTarget default _NotificationFactoryProvider { 6437 interface Notification extends EventTarget default _NotificationFactoryProvider {
6412 6438
6413 Notification(String title, [Map options]); 6439 Notification(String title, [Map options]);
6414 6440
6415 String dir; 6441 String dir;
6416 6442
6443 final String permission;
6444
6417 String replaceId; 6445 String replaceId;
6418 6446
6419 String tag; 6447 String tag;
6420 6448
6421 void addEventListener(String type, EventListener listener, [bool useCapture]); 6449 void addEventListener(String type, EventListener listener, [bool useCapture]);
6422 6450
6423 void cancel(); 6451 void cancel();
6424 6452
6425 void close(); 6453 void close();
6426 6454
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
6738 final int unloadEventEnd; 6766 final int unloadEventEnd;
6739 6767
6740 final int unloadEventStart; 6768 final int unloadEventStart;
6741 } 6769 }
6742 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6770 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6743 // for details. All rights reserved. Use of this source code is governed by a 6771 // for details. All rights reserved. Use of this source code is governed by a
6744 // BSD-style license that can be found in the LICENSE file. 6772 // BSD-style license that can be found in the LICENSE file.
6745 6773
6746 // WARNING: Do not edit - generated code. 6774 // WARNING: Do not edit - generated code.
6747 6775
6748 interface PointerLock {
6749
6750 final bool isLocked;
6751
6752 void lock(Element target, [VoidCallback successCallback, VoidCallback failureC allback]);
6753
6754 void unlock();
6755 }
6756 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6757 // for details. All rights reserved. Use of this source code is governed by a
6758 // BSD-style license that can be found in the LICENSE file.
6759
6760 // WARNING: Do not edit - generated code.
6761
6762 interface PopStateEvent extends Event { 6776 interface PopStateEvent extends Event {
6763 6777
6764 final Object state; 6778 final Object state;
6765 } 6779 }
6766 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6780 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6767 // for details. All rights reserved. Use of this source code is governed by a 6781 // for details. All rights reserved. Use of this source code is governed by a
6768 // BSD-style license that can be found in the LICENSE file. 6782 // BSD-style license that can be found in the LICENSE file.
6769 6783
6770 // WARNING: Do not edit - generated code. 6784 // WARNING: Do not edit - generated code.
6771 6785
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
6836 final CSSPrimitiveValue green; 6850 final CSSPrimitiveValue green;
6837 6851
6838 final CSSPrimitiveValue red; 6852 final CSSPrimitiveValue red;
6839 } 6853 }
6840 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6854 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6841 // for details. All rights reserved. Use of this source code is governed by a 6855 // for details. All rights reserved. Use of this source code is governed by a
6842 // BSD-style license that can be found in the LICENSE file. 6856 // BSD-style license that can be found in the LICENSE file.
6843 6857
6844 // WARNING: Do not edit - generated code. 6858 // WARNING: Do not edit - generated code.
6845 6859
6860 interface RTCPeerConnection extends EventTarget default _RTCPeerConnectionFactor yProvider {
6861
6862 RTCPeerConnection(Map rtcICEServers, [Map mediaConstraints]);
6863
6864 void addEventListener(String type, EventListener listener, [bool useCapture]);
6865
6866 bool dispatchEvent(Event event);
6867
6868 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
6869 }
6870 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6871 // for details. All rights reserved. Use of this source code is governed by a
6872 // BSD-style license that can be found in the LICENSE file.
6873
6874 // WARNING: Do not edit - generated code.
6875
6846 interface RadioNodeList extends NodeList { 6876 interface RadioNodeList extends NodeList {
6847 6877
6848 String value; 6878 String value;
6849 } 6879 }
6850 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6880 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6851 // for details. All rights reserved. Use of this source code is governed by a 6881 // for details. All rights reserved. Use of this source code is governed by a
6852 // BSD-style license that can be found in the LICENSE file. 6882 // BSD-style license that can be found in the LICENSE file.
6853 6883
6854 // WARNING: Do not edit - generated code. 6884 // WARNING: Do not edit - generated code.
6855 6885
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after
7532 final SVGElement viewportElement; 7562 final SVGElement viewportElement;
7533 7563
7534 String xmlbase; 7564 String xmlbase;
7535 } 7565 }
7536 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 7566 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7537 // for details. All rights reserved. Use of this source code is governed by a 7567 // for details. All rights reserved. Use of this source code is governed by a
7538 // BSD-style license that can be found in the LICENSE file. 7568 // BSD-style license that can be found in the LICENSE file.
7539 7569
7540 // WARNING: Do not edit - generated code. 7570 // WARNING: Do not edit - generated code.
7541 7571
7542 interface SVGElementInstance { 7572 interface SVGElementInstance extends EventTarget {
7543 7573
7544 final SVGElementInstanceList childNodes; 7574 final SVGElementInstanceList childNodes;
7545 7575
7546 final SVGElement correspondingElement; 7576 final SVGElement correspondingElement;
7547 7577
7548 final SVGUseElement correspondingUseElement; 7578 final SVGUseElement correspondingUseElement;
7549 7579
7550 final SVGElementInstance firstChild; 7580 final SVGElementInstance firstChild;
7551 7581
7552 final SVGElementInstance lastChild; 7582 final SVGElementInstance lastChild;
7553 7583
7554 final SVGElementInstance nextSibling; 7584 final SVGElementInstance nextSibling;
7555 7585
7556 final SVGElementInstance parentNode; 7586 final SVGElementInstance parentNode;
7557 7587
7558 final SVGElementInstance previousSibling; 7588 final SVGElementInstance previousSibling;
7559
7560 void addEventListener(String type, EventListener listener, [bool useCapture]);
7561
7562 bool dispatchEvent(Event event);
7563
7564 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
7565 } 7589 }
7566 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 7590 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7567 // for details. All rights reserved. Use of this source code is governed by a 7591 // for details. All rights reserved. Use of this source code is governed by a
7568 // BSD-style license that can be found in the LICENSE file. 7592 // BSD-style license that can be found in the LICENSE file.
7569 7593
7570 // WARNING: Do not edit - generated code. 7594 // WARNING: Do not edit - generated code.
7571 7595
7572 interface SVGElementInstanceList { 7596 interface SVGElementInstanceList {
7573 7597
7574 final int length; 7598 final int length;
(...skipping 4350 matching lines...) Expand 10 before | Expand all | Expand 10 after
11925 static final int CSS_TRANSLATEZ = 12; 11949 static final int CSS_TRANSLATEZ = 12;
11926 11950
11927 final int operationType; 11951 final int operationType;
11928 } 11952 }
11929 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11953 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11930 // for details. All rights reserved. Use of this source code is governed by a 11954 // for details. All rights reserved. Use of this source code is governed by a
11931 // BSD-style license that can be found in the LICENSE file. 11955 // BSD-style license that can be found in the LICENSE file.
11932 11956
11933 // WARNING: Do not edit - generated code. 11957 // WARNING: Do not edit - generated code.
11934 11958
11935 interface WebKitNamedFlow { 11959 interface WebKitNamedFlow extends EventTarget {
11936 11960
11937 final int firstEmptyRegionIndex; 11961 final int firstEmptyRegionIndex;
11938 11962
11939 final String name; 11963 final String name;
11940 11964
11941 final bool overset; 11965 final bool overset;
11942 11966
11967 void addEventListener(String type, EventListener listener, [bool useCapture]);
11968
11969 bool dispatchEvent(Event event);
11970
11943 NodeList getContent(); 11971 NodeList getContent();
11944 11972
11973 NodeList getRegions();
11974
11945 NodeList getRegionsByContent(Node contentNode); 11975 NodeList getRegionsByContent(Node contentNode);
11976
11977 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
11946 } 11978 }
11947 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11979 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11948 // for details. All rights reserved. Use of this source code is governed by a 11980 // for details. All rights reserved. Use of this source code is governed by a
11949 // BSD-style license that can be found in the LICENSE file. 11981 // BSD-style license that can be found in the LICENSE file.
11950 11982
11951 // WARNING: Do not edit - generated code. 11983 // WARNING: Do not edit - generated code.
11952 11984
11953 interface WebKitPoint default _WebKitPointFactoryProvider { 11985 interface WebKitPoint default _WebKitPointFactoryProvider {
11954 11986
11955 WebKitPoint(num x, num y); 11987 WebKitPoint(num x, num y);
(...skipping 1084 matching lines...) Expand 10 before | Expand all | Expand 10 after
13040 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13072 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13041 // for details. All rights reserved. Use of this source code is governed by a 13073 // for details. All rights reserved. Use of this source code is governed by a
13042 // BSD-style license that can be found in the LICENSE file. 13074 // BSD-style license that can be found in the LICENSE file.
13043 13075
13044 Window get window() => _dummy(); 13076 Window get window() => _dummy();
13045 13077
13046 // TODO(vsm): Remove when prefixes are supported. 13078 // TODO(vsm): Remove when prefixes are supported.
13047 Window get dom_window() => _dummy(); 13079 Window get dom_window() => _dummy();
13048 13080
13049 Document get document() => _dummy(); 13081 Document get document() => _dummy();
OLDNEW
« no previous file with comments | « lib/dom/dart2js/dom_dart2js.dart ('k') | lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698