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

Side by Side Diff: sdk/lib/_blink/dartium/_blink_dartium.dart

Issue 446193002: Remove dart:blink dependency on dart:html. This CL moves all of the (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | « no previous file | sdk/lib/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 /** 1 /**
2 * This library provides entry points to the native Blink code which backs 2 * This library provides entry points to the native Blink code which backs
3 * up the dart:html library. 3 * up the dart:html library.
4 */ 4 */
5 library dart.dom._blink; 5 library dart.dom._blink;
6 6
7 import 'dart:async';
8 import 'dart:collection';
9 import 'dart:html';
10 import 'dart:_internal' hide Symbol, deprecated;
11 import 'dart:html_common';
12 import 'dart:indexed_db';
13 import 'dart:isolate';
14 import "dart:convert";
15 import 'dart:math';
16 import 'dart:mirrors';
17 import 'dart:nativewrappers';
18 import 'dart:typed_data';
19 import 'dart:web_gl' as gl;
20 import 'dart:web_gl' show web_glBlinkMap;
21 import 'dart:web_sql';
22 import 'dart:svg' as svg;
23 import 'dart:svg' show Matrix;
24 import 'dart:svg' show SvgSvgElement;
25 import 'dart:svg' show svgBlinkMap;
26 import 'dart:web_audio' show AudioNode, AudioParam, web_audioBlinkMap;
27 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 7 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
28 // for details. All rights reserved. Use of this source code is governed by a 8 // for details. All rights reserved. Use of this source code is governed by a
29 // BSD-style license that can be found in the LICENSE file. 9 // BSD-style license that can be found in the LICENSE file.
30 10
31 // DO NOT EDIT 11 // DO NOT EDIT
32 // Auto-generated dart:_blink library. 12 // Auto-generated dart:_blink library.
33 13
34 // TODO(leafp) These are mostly copied over from dart:html. When
35 // we shift dart:blink generation over to dartium, this dependency
36 // should go away, or at least be reconsidered.
37 // TODO(vsm): Remove this when we can do the proper checking in
38 // native code for custom elements.
39 // Not actually used, but imported since dart:html can generate these objects.
40 14
41 15
42 16
43 class BlinkANGLEInstancedArrays { 17 class BlinkANGLEInstancedArrays {
44 static $drawArraysInstancedANGLE_Callback(mthis, mode, first, count, primcount ) native "ANGLEInstancedArrays_drawArraysInstancedANGLE_Callback_RESOLVER_STRING _4_unsigned long_long_long_long"; 18 static $drawArraysInstancedANGLE_Callback(mthis, mode, first, count, primcount ) native "ANGLEInstancedArrays_drawArraysInstancedANGLE_Callback_RESOLVER_STRING _4_unsigned long_long_long_long";
45 19
46 static $drawElementsInstancedANGLE_Callback(mthis, mode, count, type, offset, primcount) native "ANGLEInstancedArrays_drawElementsInstancedANGLE_Callback_RESO LVER_STRING_5_unsigned long_long_unsigned long_long long_long"; 20 static $drawElementsInstancedANGLE_Callback(mthis, mode, count, type, offset, primcount) native "ANGLEInstancedArrays_drawElementsInstancedANGLE_Callback_RESO LVER_STRING_5_unsigned long_long_unsigned long_long long_long";
47 21
48 static $vertexAttribDivisorANGLE_Callback(mthis, index, divisor) native "ANGLE InstancedArrays_vertexAttribDivisorANGLE_Callback_RESOLVER_STRING_2_unsigned lon g_long"; 22 static $vertexAttribDivisorANGLE_Callback(mthis, index, divisor) native "ANGLE InstancedArrays_vertexAttribDivisorANGLE_Callback_RESOLVER_STRING_2_unsigned lon g_long";
49 } 23 }
(...skipping 24 matching lines...) Expand all
74 static $channelInterpretation_Getter(mthis) native "AudioNode_channelInterpret ation_Getter"; 48 static $channelInterpretation_Getter(mthis) native "AudioNode_channelInterpret ation_Getter";
75 49
76 static $channelInterpretation_Setter(mthis, value) native "AudioNode_channelIn terpretation_Setter"; 50 static $channelInterpretation_Setter(mthis, value) native "AudioNode_channelIn terpretation_Setter";
77 51
78 static $context_Getter(mthis) native "AudioNode_context_Getter"; 52 static $context_Getter(mthis) native "AudioNode_context_Getter";
79 53
80 static $numberOfInputs_Getter(mthis) native "AudioNode_numberOfInputs_Getter"; 54 static $numberOfInputs_Getter(mthis) native "AudioNode_numberOfInputs_Getter";
81 55
82 static $numberOfOutputs_Getter(mthis) native "AudioNode_numberOfOutputs_Getter "; 56 static $numberOfOutputs_Getter(mthis) native "AudioNode_numberOfOutputs_Getter ";
83 57
84 // Generated overload resolver
85 static $_connect(mthis, destination, output, input) {
86 if ((input is int || input == null) && (output is int || output == null) && (destination is AudioNode || destination == null)) {
87 $_connect_1_Callback(mthis, destination, output, input);
88 return;
89 }
90 if ((output is int || output == null) && (destination is AudioParam || desti nation == null) && input == null) {
91 $_connect_2_Callback(mthis, destination, output);
92 return;
93 }
94 throw new ArgumentError("Incorrect number or type of arguments");
95 }
96
97 static $_connect_1_Callback(mthis, destination, output, input) native "AudioNo de_connect_Callback_RESOLVER_STRING_3_AudioNode_unsigned long_unsigned long"; 58 static $_connect_1_Callback(mthis, destination, output, input) native "AudioNo de_connect_Callback_RESOLVER_STRING_3_AudioNode_unsigned long_unsigned long";
98 59
99 static $_connect_2_Callback(mthis, destination, output) native "AudioNode_conn ect_Callback_RESOLVER_STRING_2_AudioParam_unsigned long"; 60 static $_connect_2_Callback(mthis, destination, output) native "AudioNode_conn ect_Callback_RESOLVER_STRING_2_AudioParam_unsigned long";
100 61
101 static $disconnect_Callback(mthis, output) native "AudioNode_disconnect_Callba ck_RESOLVER_STRING_1_unsigned long"; 62 static $disconnect_Callback(mthis, output) native "AudioNode_disconnect_Callba ck_RESOLVER_STRING_1_unsigned long";
102 } 63 }
103 64
104 class BlinkAnalyserNode { 65 class BlinkAnalyserNode {
105 static $fftSize_Getter(mthis) native "AnalyserNode_fftSize_Getter"; 66 static $fftSize_Getter(mthis) native "AnalyserNode_fftSize_Getter";
106 67
(...skipping 30 matching lines...) Expand all
137 static $endTime_Getter(mthis) native "TimedItem_endTime_Getter"; 98 static $endTime_Getter(mthis) native "TimedItem_endTime_Getter";
138 99
139 static $localTime_Getter(mthis) native "TimedItem_localTime_Getter"; 100 static $localTime_Getter(mthis) native "TimedItem_localTime_Getter";
140 101
141 static $player_Getter(mthis) native "TimedItem_player_Getter"; 102 static $player_Getter(mthis) native "TimedItem_player_Getter";
142 103
143 static $startTime_Getter(mthis) native "TimedItem_startTime_Getter"; 104 static $startTime_Getter(mthis) native "TimedItem_startTime_Getter";
144 } 105 }
145 106
146 class BlinkAnimation { 107 class BlinkAnimation {
147 // Generated overload resolver
148 static $mkAnimation(target, keyframes, timingInput) {
149 if ((timingInput is Map || timingInput == null) && (keyframes is List<Map> | | keyframes == null) && (target is Element || target == null)) {
150 return $_create_1constructorCallback(target, keyframes, timingInput);
151 }
152 if ((timingInput is num || timingInput == null) && (keyframes is List<Map> | | keyframes == null) && (target is Element || target == null)) {
153 return $_create_2constructorCallback(target, keyframes, timingInput);
154 }
155 if ((keyframes is List<Map> || keyframes == null) && (target is Element || t arget == null) && timingInput == null) {
156 return $_create_3constructorCallback(target, keyframes);
157 }
158 throw new ArgumentError("Incorrect number or type of arguments");
159 }
160
161 static $_create_1constructorCallback(target, keyframes, timingInput) native "A nimation_constructorCallback_RESOLVER_STRING_3_Element_sequence<Dictionary>_Dict ionary"; 108 static $_create_1constructorCallback(target, keyframes, timingInput) native "A nimation_constructorCallback_RESOLVER_STRING_3_Element_sequence<Dictionary>_Dict ionary";
162 109
163 static $_create_2constructorCallback(target, keyframes, timingInput) native "A nimation_constructorCallback_RESOLVER_STRING_3_Element_sequence<Dictionary>_doub le"; 110 static $_create_2constructorCallback(target, keyframes, timingInput) native "A nimation_constructorCallback_RESOLVER_STRING_3_Element_sequence<Dictionary>_doub le";
164 111
165 static $_create_3constructorCallback(target, keyframes) native "Animation_cons tructorCallback_RESOLVER_STRING_2_Element_sequence<Dictionary>"; 112 static $_create_3constructorCallback(target, keyframes) native "Animation_cons tructorCallback_RESOLVER_STRING_2_Element_sequence<Dictionary>";
166 } 113 }
167 114
168 class BlinkApplicationCache { 115 class BlinkApplicationCache {
169 static $status_Getter(mthis) native "ApplicationCache_status_Getter"; 116 static $status_Getter(mthis) native "ApplicationCache_status_Getter";
170 117
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 static $loopStart_Setter(mthis, value) native "AudioBufferSourceNode_loopStart _Setter"; 214 static $loopStart_Setter(mthis, value) native "AudioBufferSourceNode_loopStart _Setter";
268 215
269 static $playbackRate_Getter(mthis) native "AudioBufferSourceNode_playbackRate_ Getter"; 216 static $playbackRate_Getter(mthis) native "AudioBufferSourceNode_playbackRate_ Getter";
270 217
271 static $noteGrainOn_Callback(mthis, when, grainOffset, grainDuration) native " AudioBufferSourceNode_noteGrainOn_Callback_RESOLVER_STRING_3_double_double_doubl e"; 218 static $noteGrainOn_Callback(mthis, when, grainOffset, grainDuration) native " AudioBufferSourceNode_noteGrainOn_Callback_RESOLVER_STRING_3_double_double_doubl e";
272 219
273 static $noteOff_Callback(mthis, when) native "AudioBufferSourceNode_noteOff_Ca llback_RESOLVER_STRING_1_double"; 220 static $noteOff_Callback(mthis, when) native "AudioBufferSourceNode_noteOff_Ca llback_RESOLVER_STRING_1_double";
274 221
275 static $noteOn_Callback(mthis, when) native "AudioBufferSourceNode_noteOn_Call back_RESOLVER_STRING_1_double"; 222 static $noteOn_Callback(mthis, when) native "AudioBufferSourceNode_noteOn_Call back_RESOLVER_STRING_1_double";
276 223
277 // Generated overload resolver
278 static $start(mthis, when, grainOffset, grainDuration) {
279 if (grainDuration != null) {
280 $_start_1_Callback(mthis, when, grainOffset, grainDuration);
281 return;
282 }
283 if (grainOffset != null) {
284 $_start_2_Callback(mthis, when, grainOffset);
285 return;
286 }
287 if (when != null) {
288 $_start_3_Callback(mthis, when);
289 return;
290 }
291 $_start_4_Callback(mthis);
292 return;
293 }
294
295 static $_start_1_Callback(mthis, when, grainOffset, grainDuration) native "Aud ioBufferSourceNode_start_Callback_RESOLVER_STRING_3_double_double_double"; 224 static $_start_1_Callback(mthis, when, grainOffset, grainDuration) native "Aud ioBufferSourceNode_start_Callback_RESOLVER_STRING_3_double_double_double";
296 225
297 static $_start_2_Callback(mthis, when, grainOffset) native "AudioBufferSourceN ode_start_Callback_RESOLVER_STRING_2_double_double"; 226 static $_start_2_Callback(mthis, when, grainOffset) native "AudioBufferSourceN ode_start_Callback_RESOLVER_STRING_2_double_double";
298 227
299 static $_start_3_Callback(mthis, when) native "AudioBufferSourceNode_start_Cal lback_RESOLVER_STRING_1_double"; 228 static $_start_3_Callback(mthis, when) native "AudioBufferSourceNode_start_Cal lback_RESOLVER_STRING_1_double";
300 229
301 static $_start_4_Callback(mthis) native "AudioBufferSourceNode_start_Callback_ RESOLVER_STRING_0_"; 230 static $_start_4_Callback(mthis) native "AudioBufferSourceNode_start_Callback_ RESOLVER_STRING_0_";
302 231
303 // Generated overload resolver
304 static $stop(mthis, when) {
305 if (when != null) {
306 $_stop_1_Callback(mthis, when);
307 return;
308 }
309 $_stop_2_Callback(mthis);
310 return;
311 }
312
313 static $_stop_1_Callback(mthis, when) native "AudioBufferSourceNode_stop_Callb ack_RESOLVER_STRING_1_double"; 232 static $_stop_1_Callback(mthis, when) native "AudioBufferSourceNode_stop_Callb ack_RESOLVER_STRING_1_double";
314 233
315 static $_stop_2_Callback(mthis) native "AudioBufferSourceNode_stop_Callback_RE SOLVER_STRING_0_"; 234 static $_stop_2_Callback(mthis) native "AudioBufferSourceNode_stop_Callback_RE SOLVER_STRING_0_";
316 } 235 }
317 236
318 class BlinkAudioContext { 237 class BlinkAudioContext {
319 // Generated overload resolver
320 static $mkAudioContext() {
321 return $_create_1constructorCallback();
322 }
323
324 static $_create_1constructorCallback() native "AudioContext_constructorCallbac k_RESOLVER_STRING_0_"; 238 static $_create_1constructorCallback() native "AudioContext_constructorCallbac k_RESOLVER_STRING_0_";
325 239
326 static $currentTime_Getter(mthis) native "AudioContext_currentTime_Getter"; 240 static $currentTime_Getter(mthis) native "AudioContext_currentTime_Getter";
327 241
328 static $destination_Getter(mthis) native "AudioContext_destination_Getter"; 242 static $destination_Getter(mthis) native "AudioContext_destination_Getter";
329 243
330 static $listener_Getter(mthis) native "AudioContext_listener_Getter"; 244 static $listener_Getter(mthis) native "AudioContext_listener_Getter";
331 245
332 static $sampleRate_Getter(mthis) native "AudioContext_sampleRate_Getter"; 246 static $sampleRate_Getter(mthis) native "AudioContext_sampleRate_Getter";
333 247
334 static $createAnalyser_Callback(mthis) native "AudioContext_createAnalyser_Cal lback_RESOLVER_STRING_0_"; 248 static $createAnalyser_Callback(mthis) native "AudioContext_createAnalyser_Cal lback_RESOLVER_STRING_0_";
335 249
336 static $createBiquadFilter_Callback(mthis) native "AudioContext_createBiquadFi lter_Callback_RESOLVER_STRING_0_"; 250 static $createBiquadFilter_Callback(mthis) native "AudioContext_createBiquadFi lter_Callback_RESOLVER_STRING_0_";
337 251
338 static $createBuffer_Callback(mthis, numberOfChannels, numberOfFrames, sampleR ate) native "AudioContext_createBuffer_Callback_RESOLVER_STRING_3_unsigned long_ unsigned long_float"; 252 static $createBuffer_Callback(mthis, numberOfChannels, numberOfFrames, sampleR ate) native "AudioContext_createBuffer_Callback_RESOLVER_STRING_3_unsigned long_ unsigned long_float";
339 253
340 static $createBufferSource_Callback(mthis) native "AudioContext_createBufferSo urce_Callback_RESOLVER_STRING_0_"; 254 static $createBufferSource_Callback(mthis) native "AudioContext_createBufferSo urce_Callback_RESOLVER_STRING_0_";
341 255
342 // Generated overload resolver
343 static $createChannelMerger(mthis, numberOfInputs) {
344 if (numberOfInputs != null) {
345 return $_createChannelMerger_1_Callback(mthis, numberOfInputs);
346 }
347 return $_createChannelMerger_2_Callback(mthis);
348 }
349
350 static $_createChannelMerger_1_Callback(mthis, numberOfInputs) native "AudioCo ntext_createChannelMerger_Callback_RESOLVER_STRING_1_unsigned long"; 256 static $_createChannelMerger_1_Callback(mthis, numberOfInputs) native "AudioCo ntext_createChannelMerger_Callback_RESOLVER_STRING_1_unsigned long";
351 257
352 static $_createChannelMerger_2_Callback(mthis) native "AudioContext_createChan nelMerger_Callback_RESOLVER_STRING_0_"; 258 static $_createChannelMerger_2_Callback(mthis) native "AudioContext_createChan nelMerger_Callback_RESOLVER_STRING_0_";
353 259
354 // Generated overload resolver
355 static $createChannelSplitter(mthis, numberOfOutputs) {
356 if (numberOfOutputs != null) {
357 return $_createChannelSplitter_1_Callback(mthis, numberOfOutputs);
358 }
359 return $_createChannelSplitter_2_Callback(mthis);
360 }
361
362 static $_createChannelSplitter_1_Callback(mthis, numberOfOutputs) native "Audi oContext_createChannelSplitter_Callback_RESOLVER_STRING_1_unsigned long"; 260 static $_createChannelSplitter_1_Callback(mthis, numberOfOutputs) native "Audi oContext_createChannelSplitter_Callback_RESOLVER_STRING_1_unsigned long";
363 261
364 static $_createChannelSplitter_2_Callback(mthis) native "AudioContext_createCh annelSplitter_Callback_RESOLVER_STRING_0_"; 262 static $_createChannelSplitter_2_Callback(mthis) native "AudioContext_createCh annelSplitter_Callback_RESOLVER_STRING_0_";
365 263
366 static $createConvolver_Callback(mthis) native "AudioContext_createConvolver_C allback_RESOLVER_STRING_0_"; 264 static $createConvolver_Callback(mthis) native "AudioContext_createConvolver_C allback_RESOLVER_STRING_0_";
367 265
368 // Generated overload resolver
369 static $createDelay(mthis, maxDelayTime) {
370 if (maxDelayTime != null) {
371 return $_createDelay_1_Callback(mthis, maxDelayTime);
372 }
373 return $_createDelay_2_Callback(mthis);
374 }
375
376 static $_createDelay_1_Callback(mthis, maxDelayTime) native "AudioContext_crea teDelay_Callback_RESOLVER_STRING_1_double"; 266 static $_createDelay_1_Callback(mthis, maxDelayTime) native "AudioContext_crea teDelay_Callback_RESOLVER_STRING_1_double";
377 267
378 static $_createDelay_2_Callback(mthis) native "AudioContext_createDelay_Callba ck_RESOLVER_STRING_0_"; 268 static $_createDelay_2_Callback(mthis) native "AudioContext_createDelay_Callba ck_RESOLVER_STRING_0_";
379 269
380 static $createDynamicsCompressor_Callback(mthis) native "AudioContext_createDy namicsCompressor_Callback_RESOLVER_STRING_0_"; 270 static $createDynamicsCompressor_Callback(mthis) native "AudioContext_createDy namicsCompressor_Callback_RESOLVER_STRING_0_";
381 271
382 static $createGain_Callback(mthis) native "AudioContext_createGain_Callback_RE SOLVER_STRING_0_"; 272 static $createGain_Callback(mthis) native "AudioContext_createGain_Callback_RE SOLVER_STRING_0_";
383 273
384 static $createMediaElementSource_Callback(mthis, mediaElement) native "AudioCo ntext_createMediaElementSource_Callback_RESOLVER_STRING_1_HTMLMediaElement"; 274 static $createMediaElementSource_Callback(mthis, mediaElement) native "AudioCo ntext_createMediaElementSource_Callback_RESOLVER_STRING_1_HTMLMediaElement";
385 275
386 static $createMediaStreamDestination_Callback(mthis) native "AudioContext_crea teMediaStreamDestination_Callback_RESOLVER_STRING_0_"; 276 static $createMediaStreamDestination_Callback(mthis) native "AudioContext_crea teMediaStreamDestination_Callback_RESOLVER_STRING_0_";
387 277
388 static $createMediaStreamSource_Callback(mthis, mediaStream) native "AudioCont ext_createMediaStreamSource_Callback_RESOLVER_STRING_1_MediaStream"; 278 static $createMediaStreamSource_Callback(mthis, mediaStream) native "AudioCont ext_createMediaStreamSource_Callback_RESOLVER_STRING_1_MediaStream";
389 279
390 static $createOscillator_Callback(mthis) native "AudioContext_createOscillator _Callback_RESOLVER_STRING_0_"; 280 static $createOscillator_Callback(mthis) native "AudioContext_createOscillator _Callback_RESOLVER_STRING_0_";
391 281
392 static $createPanner_Callback(mthis) native "AudioContext_createPanner_Callbac k_RESOLVER_STRING_0_"; 282 static $createPanner_Callback(mthis) native "AudioContext_createPanner_Callbac k_RESOLVER_STRING_0_";
393 283
394 static $createPeriodicWave_Callback(mthis, real, imag) native "AudioContext_cr eatePeriodicWave_Callback_RESOLVER_STRING_2_Float32Array_Float32Array"; 284 static $createPeriodicWave_Callback(mthis, real, imag) native "AudioContext_cr eatePeriodicWave_Callback_RESOLVER_STRING_2_Float32Array_Float32Array";
395 285
396 // Generated overload resolver
397 static $createScriptProcessor(mthis, bufferSize, numberOfInputChannels, number OfOutputChannels) {
398 if (numberOfOutputChannels != null) {
399 return $_createScriptProcessor_1_Callback(mthis, bufferSize, numberOfInput Channels, numberOfOutputChannels);
400 }
401 if (numberOfInputChannels != null) {
402 return $_createScriptProcessor_2_Callback(mthis, bufferSize, numberOfInput Channels);
403 }
404 if (bufferSize != null) {
405 return $_createScriptProcessor_3_Callback(mthis, bufferSize);
406 }
407 return $_createScriptProcessor_4_Callback(mthis);
408 }
409
410 static $_createScriptProcessor_1_Callback(mthis, bufferSize, numberOfInputChan nels, numberOfOutputChannels) native "AudioContext_createScriptProcessor_Callbac k_RESOLVER_STRING_3_unsigned long_unsigned long_unsigned long"; 286 static $_createScriptProcessor_1_Callback(mthis, bufferSize, numberOfInputChan nels, numberOfOutputChannels) native "AudioContext_createScriptProcessor_Callbac k_RESOLVER_STRING_3_unsigned long_unsigned long_unsigned long";
411 287
412 static $_createScriptProcessor_2_Callback(mthis, bufferSize, numberOfInputChan nels) native "AudioContext_createScriptProcessor_Callback_RESOLVER_STRING_2_unsi gned long_unsigned long"; 288 static $_createScriptProcessor_2_Callback(mthis, bufferSize, numberOfInputChan nels) native "AudioContext_createScriptProcessor_Callback_RESOLVER_STRING_2_unsi gned long_unsigned long";
413 289
414 static $_createScriptProcessor_3_Callback(mthis, bufferSize) native "AudioCont ext_createScriptProcessor_Callback_RESOLVER_STRING_1_unsigned long"; 290 static $_createScriptProcessor_3_Callback(mthis, bufferSize) native "AudioCont ext_createScriptProcessor_Callback_RESOLVER_STRING_1_unsigned long";
415 291
416 static $_createScriptProcessor_4_Callback(mthis) native "AudioContext_createSc riptProcessor_Callback_RESOLVER_STRING_0_"; 292 static $_createScriptProcessor_4_Callback(mthis) native "AudioContext_createSc riptProcessor_Callback_RESOLVER_STRING_0_";
417 293
418 static $createWaveShaper_Callback(mthis) native "AudioContext_createWaveShaper _Callback_RESOLVER_STRING_0_"; 294 static $createWaveShaper_Callback(mthis) native "AudioContext_createWaveShaper _Callback_RESOLVER_STRING_0_";
419 295
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 static $getFrequencyResponse_Callback(mthis, frequencyHz, magResponse, phaseRe sponse) native "BiquadFilterNode_getFrequencyResponse_Callback_RESOLVER_STRING_3 _Float32Array_Float32Array_Float32Array"; 414 static $getFrequencyResponse_Callback(mthis, frequencyHz, magResponse, phaseRe sponse) native "BiquadFilterNode_getFrequencyResponse_Callback_RESOLVER_STRING_3 _Float32Array_Float32Array_Float32Array";
539 } 415 }
540 416
541 class BlinkBlob { 417 class BlinkBlob {
542 static $constructorCallback(blobParts, type, endings) native "Blob_constructor Callback"; 418 static $constructorCallback(blobParts, type, endings) native "Blob_constructor Callback";
543 419
544 static $size_Getter(mthis) native "Blob_size_Getter"; 420 static $size_Getter(mthis) native "Blob_size_Getter";
545 421
546 static $type_Getter(mthis) native "Blob_type_Getter"; 422 static $type_Getter(mthis) native "Blob_type_Getter";
547 423
548 // Generated overload resolver
549 static $slice(mthis, start, end, contentType) {
550 if (contentType != null) {
551 return $_slice_1_Callback(mthis, start, end, contentType);
552 }
553 if (end != null) {
554 return $_slice_2_Callback(mthis, start, end);
555 }
556 if (start != null) {
557 return $_slice_3_Callback(mthis, start);
558 }
559 return $_slice_4_Callback(mthis);
560 }
561
562 static $_slice_1_Callback(mthis, start, end, contentType) native "Blob_slice_C allback_RESOLVER_STRING_3_long long_long long_DOMString"; 424 static $_slice_1_Callback(mthis, start, end, contentType) native "Blob_slice_C allback_RESOLVER_STRING_3_long long_long long_DOMString";
563 425
564 static $_slice_2_Callback(mthis, start, end) native "Blob_slice_Callback_RESOL VER_STRING_2_long long_long long"; 426 static $_slice_2_Callback(mthis, start, end) native "Blob_slice_Callback_RESOL VER_STRING_2_long long_long long";
565 427
566 static $_slice_3_Callback(mthis, start) native "Blob_slice_Callback_RESOLVER_S TRING_1_long long"; 428 static $_slice_3_Callback(mthis, start) native "Blob_slice_Callback_RESOLVER_S TRING_1_long long";
567 429
568 static $_slice_4_Callback(mthis) native "Blob_slice_Callback_RESOLVER_STRING_0 _"; 430 static $_slice_4_Callback(mthis) native "Blob_slice_Callback_RESOLVER_STRING_0 _";
569 } 431 }
570 432
571 class BlinkChildNode { 433 class BlinkChildNode {
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
750 static $type_Getter(mthis) native "StyleSheet_type_Getter"; 612 static $type_Getter(mthis) native "StyleSheet_type_Getter";
751 } 613 }
752 614
753 class BlinkCSSStyleSheet { 615 class BlinkCSSStyleSheet {
754 static $cssRules_Getter(mthis) native "CSSStyleSheet_cssRules_Getter"; 616 static $cssRules_Getter(mthis) native "CSSStyleSheet_cssRules_Getter";
755 617
756 static $ownerRule_Getter(mthis) native "CSSStyleSheet_ownerRule_Getter"; 618 static $ownerRule_Getter(mthis) native "CSSStyleSheet_ownerRule_Getter";
757 619
758 static $rules_Getter(mthis) native "CSSStyleSheet_rules_Getter"; 620 static $rules_Getter(mthis) native "CSSStyleSheet_rules_Getter";
759 621
760 // Generated overload resolver
761 static $addRule(mthis, selector, style, index) {
762 if (index != null) {
763 return $_addRule_1_Callback(mthis, selector, style, index);
764 }
765 return $_addRule_2_Callback(mthis, selector, style);
766 }
767
768 static $_addRule_1_Callback(mthis, selector, style, index) native "CSSStyleShe et_addRule_Callback_RESOLVER_STRING_3_DOMString_DOMString_unsigned long"; 622 static $_addRule_1_Callback(mthis, selector, style, index) native "CSSStyleShe et_addRule_Callback_RESOLVER_STRING_3_DOMString_DOMString_unsigned long";
769 623
770 static $_addRule_2_Callback(mthis, selector, style) native "CSSStyleSheet_addR ule_Callback_RESOLVER_STRING_2_DOMString_DOMString"; 624 static $_addRule_2_Callback(mthis, selector, style) native "CSSStyleSheet_addR ule_Callback_RESOLVER_STRING_2_DOMString_DOMString";
771 625
772 static $deleteRule_Callback(mthis, index) native "CSSStyleSheet_deleteRule_Cal lback_RESOLVER_STRING_1_unsigned long"; 626 static $deleteRule_Callback(mthis, index) native "CSSStyleSheet_deleteRule_Cal lback_RESOLVER_STRING_1_unsigned long";
773 627
774 // Generated overload resolver
775 static $insertRule(mthis, rule, index) {
776 if (index != null) {
777 return $_insertRule_1_Callback(mthis, rule, index);
778 }
779 return $_insertRule_2_Callback(mthis, rule);
780 }
781
782 static $_insertRule_1_Callback(mthis, rule, index) native "CSSStyleSheet_inser tRule_Callback_RESOLVER_STRING_2_DOMString_unsigned long"; 628 static $_insertRule_1_Callback(mthis, rule, index) native "CSSStyleSheet_inser tRule_Callback_RESOLVER_STRING_2_DOMString_unsigned long";
783 629
784 static $_insertRule_2_Callback(mthis, rule) native "CSSStyleSheet_insertRule_C allback_RESOLVER_STRING_1_DOMString"; 630 static $_insertRule_2_Callback(mthis, rule) native "CSSStyleSheet_insertRule_C allback_RESOLVER_STRING_1_DOMString";
785 631
786 static $removeRule_Callback(mthis, index) native "CSSStyleSheet_removeRule_Cal lback_RESOLVER_STRING_1_unsigned long"; 632 static $removeRule_Callback(mthis, index) native "CSSStyleSheet_removeRule_Cal lback_RESOLVER_STRING_1_unsigned long";
787 } 633 }
788 634
789 class BlinkCSSSupportsRule { 635 class BlinkCSSSupportsRule {
790 static $conditionText_Getter(mthis) native "CSSSupportsRule_conditionText_Gett er"; 636 static $conditionText_Getter(mthis) native "CSSSupportsRule_conditionText_Gett er";
791 637
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 static $arc_Callback(mthis, x, y, radius, startAngle, endAngle, anticlockwise) native "CanvasRenderingContext2D_arc_Callback_RESOLVER_STRING_6_float_float_flo at_float_float_boolean"; 748 static $arc_Callback(mthis, x, y, radius, startAngle, endAngle, anticlockwise) native "CanvasRenderingContext2D_arc_Callback_RESOLVER_STRING_6_float_float_flo at_float_float_boolean";
903 749
904 static $arcTo_Callback(mthis, x1, y1, x2, y2, radius) native "CanvasRenderingC ontext2D_arcTo_Callback_RESOLVER_STRING_5_float_float_float_float_float"; 750 static $arcTo_Callback(mthis, x1, y1, x2, y2, radius) native "CanvasRenderingC ontext2D_arcTo_Callback_RESOLVER_STRING_5_float_float_float_float_float";
905 751
906 static $beginPath_Callback(mthis) native "CanvasRenderingContext2D_beginPath_C allback_RESOLVER_STRING_0_"; 752 static $beginPath_Callback(mthis) native "CanvasRenderingContext2D_beginPath_C allback_RESOLVER_STRING_0_";
907 753
908 static $bezierCurveTo_Callback(mthis, cp1x, cp1y, cp2x, cp2y, x, y) native "Ca nvasRenderingContext2D_bezierCurveTo_Callback_RESOLVER_STRING_6_float_float_floa t_float_float_float"; 754 static $bezierCurveTo_Callback(mthis, cp1x, cp1y, cp2x, cp2y, x, y) native "Ca nvasRenderingContext2D_bezierCurveTo_Callback_RESOLVER_STRING_6_float_float_floa t_float_float_float";
909 755
910 static $clearRect_Callback(mthis, x, y, width, height) native "CanvasRendering Context2D_clearRect_Callback_RESOLVER_STRING_4_float_float_float_float"; 756 static $clearRect_Callback(mthis, x, y, width, height) native "CanvasRendering Context2D_clearRect_Callback_RESOLVER_STRING_4_float_float_float_float";
911 757
912 // Generated overload resolver
913 static $clip(mthis, winding) {
914 if (winding != null) {
915 $_clip_1_Callback(mthis, winding);
916 return;
917 }
918 $_clip_2_Callback(mthis);
919 return;
920 }
921
922 static $_clip_1_Callback(mthis, winding) native "CanvasRenderingContext2D_clip _Callback_RESOLVER_STRING_1_DOMString"; 758 static $_clip_1_Callback(mthis, winding) native "CanvasRenderingContext2D_clip _Callback_RESOLVER_STRING_1_DOMString";
923 759
924 static $_clip_2_Callback(mthis) native "CanvasRenderingContext2D_clip_Callback _RESOLVER_STRING_0_"; 760 static $_clip_2_Callback(mthis) native "CanvasRenderingContext2D_clip_Callback _RESOLVER_STRING_0_";
925 761
926 static $closePath_Callback(mthis) native "CanvasRenderingContext2D_closePath_C allback_RESOLVER_STRING_0_"; 762 static $closePath_Callback(mthis) native "CanvasRenderingContext2D_closePath_C allback_RESOLVER_STRING_0_";
927 763
928 static $createImageData_Callback(mthis, sw, sh) native "CanvasRenderingContext 2D_createImageData_Callback_RESOLVER_STRING_2_float_float"; 764 static $createImageData_Callback(mthis, sw, sh) native "CanvasRenderingContext 2D_createImageData_Callback_RESOLVER_STRING_2_float_float";
929 765
930 static $createImageDataFromImageData_Callback(mthis, imagedata) native "Canvas RenderingContext2D_createImageData_Callback_RESOLVER_STRING_1_ImageData"; 766 static $createImageDataFromImageData_Callback(mthis, imagedata) native "Canvas RenderingContext2D_createImageData_Callback_RESOLVER_STRING_1_ImageData";
931 767
932 static $createLinearGradient_Callback(mthis, x0, y0, x1, y1) native "CanvasRen deringContext2D_createLinearGradient_Callback_RESOLVER_STRING_4_float_float_floa t_float"; 768 static $createLinearGradient_Callback(mthis, x0, y0, x1, y1) native "CanvasRen deringContext2D_createLinearGradient_Callback_RESOLVER_STRING_4_float_float_floa t_float";
933 769
934 static $createPattern_Callback(mthis, canvas, repetitionType) native "CanvasRe nderingContext2D_createPattern_Callback_RESOLVER_STRING_2_HTMLCanvasElement_DOMS tring"; 770 static $createPattern_Callback(mthis, canvas, repetitionType) native "CanvasRe nderingContext2D_createPattern_Callback_RESOLVER_STRING_2_HTMLCanvasElement_DOMS tring";
935 771
936 static $createPatternFromImage_Callback(mthis, image, repetitionType) native " CanvasRenderingContext2D_createPattern_Callback_RESOLVER_STRING_2_HTMLImageEleme nt_DOMString"; 772 static $createPatternFromImage_Callback(mthis, image, repetitionType) native " CanvasRenderingContext2D_createPattern_Callback_RESOLVER_STRING_2_HTMLImageEleme nt_DOMString";
937 773
938 static $createRadialGradient_Callback(mthis, x0, y0, r0, x1, y1, r1) native "C anvasRenderingContext2D_createRadialGradient_Callback_RESOLVER_STRING_6_float_fl oat_float_float_float_float"; 774 static $createRadialGradient_Callback(mthis, x0, y0, r0, x1, y1, r1) native "C anvasRenderingContext2D_createRadialGradient_Callback_RESOLVER_STRING_6_float_fl oat_float_float_float_float";
939 775
940 static $drawCustomFocusRing_Callback(mthis, element) native "CanvasRenderingCo ntext2D_drawCustomFocusRing_Callback_RESOLVER_STRING_1_Element"; 776 static $drawCustomFocusRing_Callback(mthis, element) native "CanvasRenderingCo ntext2D_drawCustomFocusRing_Callback_RESOLVER_STRING_1_Element";
941 777
942 // Generated overload resolver
943 static $_drawImage(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_OR_x, sy _OR_y, sw_OR_width, height_OR_sh, dx, dy, dw, dh) {
944 if ((sy_OR_y is num || sy_OR_y == null) && (sx_OR_x is num || sx_OR_x == nul l) && (canvas_OR_image_OR_imageBitmap_OR_video is ImageElement || canvas_OR_imag e_OR_imageBitmap_OR_video == null) && sw_OR_width == null && height_OR_sh == nul l && dx == null && dy == null && dw == null && dh == null) {
945 $_drawImage_1_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_ OR_x, sy_OR_y);
946 return;
947 }
948 if ((height_OR_sh is num || height_OR_sh == null) && (sw_OR_width is num || sw_OR_width == null) && (sy_OR_y is num || sy_OR_y == null) && (sx_OR_x is num | | sx_OR_x == null) && (canvas_OR_image_OR_imageBitmap_OR_video is ImageElement | | canvas_OR_image_OR_imageBitmap_OR_video == null) && dx == null && dy == null & & dw == null && dh == null) {
949 $_drawImage_2_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_ OR_x, sy_OR_y, sw_OR_width, height_OR_sh);
950 return;
951 }
952 if ((dh is num || dh == null) && (dw is num || dw == null) && (dy is num || dy == null) && (dx is num || dx == null) && (height_OR_sh is num || height_OR_sh == null) && (sw_OR_width is num || sw_OR_width == null) && (sy_OR_y is num || s y_OR_y == null) && (sx_OR_x is num || sx_OR_x == null) && (canvas_OR_image_OR_im ageBitmap_OR_video is ImageElement || canvas_OR_image_OR_imageBitmap_OR_video == null)) {
953 $_drawImage_3_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_ OR_x, sy_OR_y, sw_OR_width, height_OR_sh, dx, dy, dw, dh);
954 return;
955 }
956 if ((sy_OR_y is num || sy_OR_y == null) && (sx_OR_x is num || sx_OR_x == nul l) && (canvas_OR_image_OR_imageBitmap_OR_video is CanvasElement || canvas_OR_ima ge_OR_imageBitmap_OR_video == null) && sw_OR_width == null && height_OR_sh == nu ll && dx == null && dy == null && dw == null && dh == null) {
957 $_drawImage_4_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_ OR_x, sy_OR_y);
958 return;
959 }
960 if ((height_OR_sh is num || height_OR_sh == null) && (sw_OR_width is num || sw_OR_width == null) && (sy_OR_y is num || sy_OR_y == null) && (sx_OR_x is num | | sx_OR_x == null) && (canvas_OR_image_OR_imageBitmap_OR_video is CanvasElement || canvas_OR_image_OR_imageBitmap_OR_video == null) && dx == null && dy == null && dw == null && dh == null) {
961 $_drawImage_5_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_ OR_x, sy_OR_y, sw_OR_width, height_OR_sh);
962 return;
963 }
964 if ((dh is num || dh == null) && (dw is num || dw == null) && (dy is num || dy == null) && (dx is num || dx == null) && (height_OR_sh is num || height_OR_sh == null) && (sw_OR_width is num || sw_OR_width == null) && (sy_OR_y is num || s y_OR_y == null) && (sx_OR_x is num || sx_OR_x == null) && (canvas_OR_image_OR_im ageBitmap_OR_video is CanvasElement || canvas_OR_image_OR_imageBitmap_OR_video = = null)) {
965 $_drawImage_6_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_ OR_x, sy_OR_y, sw_OR_width, height_OR_sh, dx, dy, dw, dh);
966 return;
967 }
968 if ((sy_OR_y is num || sy_OR_y == null) && (sx_OR_x is num || sx_OR_x == nul l) && (canvas_OR_image_OR_imageBitmap_OR_video is VideoElement || canvas_OR_imag e_OR_imageBitmap_OR_video == null) && sw_OR_width == null && height_OR_sh == nul l && dx == null && dy == null && dw == null && dh == null) {
969 $_drawImage_7_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_ OR_x, sy_OR_y);
970 return;
971 }
972 if ((height_OR_sh is num || height_OR_sh == null) && (sw_OR_width is num || sw_OR_width == null) && (sy_OR_y is num || sy_OR_y == null) && (sx_OR_x is num | | sx_OR_x == null) && (canvas_OR_image_OR_imageBitmap_OR_video is VideoElement | | canvas_OR_image_OR_imageBitmap_OR_video == null) && dx == null && dy == null & & dw == null && dh == null) {
973 $_drawImage_8_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_ OR_x, sy_OR_y, sw_OR_width, height_OR_sh);
974 return;
975 }
976 if ((dh is num || dh == null) && (dw is num || dw == null) && (dy is num || dy == null) && (dx is num || dx == null) && (height_OR_sh is num || height_OR_sh == null) && (sw_OR_width is num || sw_OR_width == null) && (sy_OR_y is num || s y_OR_y == null) && (sx_OR_x is num || sx_OR_x == null) && (canvas_OR_image_OR_im ageBitmap_OR_video is VideoElement || canvas_OR_image_OR_imageBitmap_OR_video == null)) {
977 $_drawImage_9_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_ OR_x, sy_OR_y, sw_OR_width, height_OR_sh, dx, dy, dw, dh);
978 return;
979 }
980 if ((sy_OR_y is num || sy_OR_y == null) && (sx_OR_x is num || sx_OR_x == nul l) && (canvas_OR_image_OR_imageBitmap_OR_video is ImageBitmap || canvas_OR_image _OR_imageBitmap_OR_video == null) && sw_OR_width == null && height_OR_sh == null && dx == null && dy == null && dw == null && dh == null) {
981 $_drawImage_10_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx _OR_x, sy_OR_y);
982 return;
983 }
984 if ((height_OR_sh is num || height_OR_sh == null) && (sw_OR_width is num || sw_OR_width == null) && (sy_OR_y is num || sy_OR_y == null) && (sx_OR_x is num | | sx_OR_x == null) && (canvas_OR_image_OR_imageBitmap_OR_video is ImageBitmap || canvas_OR_image_OR_imageBitmap_OR_video == null) && dx == null && dy == null && dw == null && dh == null) {
985 $_drawImage_11_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx _OR_x, sy_OR_y, sw_OR_width, height_OR_sh);
986 return;
987 }
988 if ((dh is num || dh == null) && (dw is num || dw == null) && (dy is num || dy == null) && (dx is num || dx == null) && (height_OR_sh is num || height_OR_sh == null) && (sw_OR_width is num || sw_OR_width == null) && (sy_OR_y is num || s y_OR_y == null) && (sx_OR_x is num || sx_OR_x == null) && (canvas_OR_image_OR_im ageBitmap_OR_video is ImageBitmap || canvas_OR_image_OR_imageBitmap_OR_video == null)) {
989 $_drawImage_12_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx _OR_x, sy_OR_y, sw_OR_width, height_OR_sh, dx, dy, dw, dh);
990 return;
991 }
992 throw new ArgumentError("Incorrect number or type of arguments");
993 }
994
995 static $_drawImage_1_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_OR_x, sy_OR_y) native "CanvasRenderingContext2D_drawImage_Callback_RESOLVER_S TRING_3_HTMLImageElement_float_float"; 778 static $_drawImage_1_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_OR_x, sy_OR_y) native "CanvasRenderingContext2D_drawImage_Callback_RESOLVER_S TRING_3_HTMLImageElement_float_float";
996 779
997 static $_drawImage_2_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_OR_x, sy_OR_y, sw_OR_width, height_OR_sh) native "CanvasRenderingContext2D_dr awImage_Callback_RESOLVER_STRING_5_HTMLImageElement_float_float_float_float"; 780 static $_drawImage_2_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_OR_x, sy_OR_y, sw_OR_width, height_OR_sh) native "CanvasRenderingContext2D_dr awImage_Callback_RESOLVER_STRING_5_HTMLImageElement_float_float_float_float";
998 781
999 static $_drawImage_3_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_OR_x, sy_OR_y, sw_OR_width, height_OR_sh, dx, dy, dw, dh) native "CanvasRende ringContext2D_drawImage_Callback_RESOLVER_STRING_9_HTMLImageElement_float_float_ float_float_float_float_float_float"; 782 static $_drawImage_3_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_OR_x, sy_OR_y, sw_OR_width, height_OR_sh, dx, dy, dw, dh) native "CanvasRende ringContext2D_drawImage_Callback_RESOLVER_STRING_9_HTMLImageElement_float_float_ float_float_float_float_float_float";
1000 783
1001 static $_drawImage_4_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_OR_x, sy_OR_y) native "CanvasRenderingContext2D_drawImage_Callback_RESOLVER_S TRING_3_HTMLCanvasElement_float_float"; 784 static $_drawImage_4_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_OR_x, sy_OR_y) native "CanvasRenderingContext2D_drawImage_Callback_RESOLVER_S TRING_3_HTMLCanvasElement_float_float";
1002 785
1003 static $_drawImage_5_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_OR_x, sy_OR_y, sw_OR_width, height_OR_sh) native "CanvasRenderingContext2D_dr awImage_Callback_RESOLVER_STRING_5_HTMLCanvasElement_float_float_float_float"; 786 static $_drawImage_5_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_OR_x, sy_OR_y, sw_OR_width, height_OR_sh) native "CanvasRenderingContext2D_dr awImage_Callback_RESOLVER_STRING_5_HTMLCanvasElement_float_float_float_float";
1004 787
1005 static $_drawImage_6_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_OR_x, sy_OR_y, sw_OR_width, height_OR_sh, dx, dy, dw, dh) native "CanvasRende ringContext2D_drawImage_Callback_RESOLVER_STRING_9_HTMLCanvasElement_float_float _float_float_float_float_float_float"; 788 static $_drawImage_6_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_OR_x, sy_OR_y, sw_OR_width, height_OR_sh, dx, dy, dw, dh) native "CanvasRende ringContext2D_drawImage_Callback_RESOLVER_STRING_9_HTMLCanvasElement_float_float _float_float_float_float_float_float";
1006 789
1007 static $_drawImage_7_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_OR_x, sy_OR_y) native "CanvasRenderingContext2D_drawImage_Callback_RESOLVER_S TRING_3_HTMLVideoElement_float_float"; 790 static $_drawImage_7_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_OR_x, sy_OR_y) native "CanvasRenderingContext2D_drawImage_Callback_RESOLVER_S TRING_3_HTMLVideoElement_float_float";
1008 791
1009 static $_drawImage_8_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_OR_x, sy_OR_y, sw_OR_width, height_OR_sh) native "CanvasRenderingContext2D_dr awImage_Callback_RESOLVER_STRING_5_HTMLVideoElement_float_float_float_float"; 792 static $_drawImage_8_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_OR_x, sy_OR_y, sw_OR_width, height_OR_sh) native "CanvasRenderingContext2D_dr awImage_Callback_RESOLVER_STRING_5_HTMLVideoElement_float_float_float_float";
1010 793
1011 static $_drawImage_9_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_OR_x, sy_OR_y, sw_OR_width, height_OR_sh, dx, dy, dw, dh) native "CanvasRende ringContext2D_drawImage_Callback_RESOLVER_STRING_9_HTMLVideoElement_float_float_ float_float_float_float_float_float"; 794 static $_drawImage_9_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_OR_x, sy_OR_y, sw_OR_width, height_OR_sh, dx, dy, dw, dh) native "CanvasRende ringContext2D_drawImage_Callback_RESOLVER_STRING_9_HTMLVideoElement_float_float_ float_float_float_float_float_float";
1012 795
1013 static $_drawImage_10_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_OR_x, sy_OR_y) native "CanvasRenderingContext2D_drawImage_Callback_RESOLVER_ STRING_3_ImageBitmap_float_float"; 796 static $_drawImage_10_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_OR_x, sy_OR_y) native "CanvasRenderingContext2D_drawImage_Callback_RESOLVER_ STRING_3_ImageBitmap_float_float";
1014 797
1015 static $_drawImage_11_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_OR_x, sy_OR_y, sw_OR_width, height_OR_sh) native "CanvasRenderingContext2D_d rawImage_Callback_RESOLVER_STRING_5_ImageBitmap_float_float_float_float"; 798 static $_drawImage_11_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_OR_x, sy_OR_y, sw_OR_width, height_OR_sh) native "CanvasRenderingContext2D_d rawImage_Callback_RESOLVER_STRING_5_ImageBitmap_float_float_float_float";
1016 799
1017 static $_drawImage_12_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_OR_x, sy_OR_y, sw_OR_width, height_OR_sh, dx, dy, dw, dh) native "CanvasRend eringContext2D_drawImage_Callback_RESOLVER_STRING_9_ImageBitmap_float_float_floa t_float_float_float_float_float"; 800 static $_drawImage_12_Callback(mthis, canvas_OR_image_OR_imageBitmap_OR_video, sx_OR_x, sy_OR_y, sw_OR_width, height_OR_sh, dx, dy, dw, dh) native "CanvasRend eringContext2D_drawImage_Callback_RESOLVER_STRING_9_ImageBitmap_float_float_floa t_float_float_float_float_float";
1018 801
1019 static $ellipse_Callback(mthis, x, y, radiusX, radiusY, rotation, startAngle, endAngle, anticlockwise) native "CanvasRenderingContext2D_ellipse_Callback_RESOL VER_STRING_8_float_float_float_float_float_float_float_boolean"; 802 static $ellipse_Callback(mthis, x, y, radiusX, radiusY, rotation, startAngle, endAngle, anticlockwise) native "CanvasRenderingContext2D_ellipse_Callback_RESOL VER_STRING_8_float_float_float_float_float_float_float_boolean";
1020 803
1021 // Generated overload resolver
1022 static $fill(mthis, winding) {
1023 if (winding != null) {
1024 $_fill_1_Callback(mthis, winding);
1025 return;
1026 }
1027 $_fill_2_Callback(mthis);
1028 return;
1029 }
1030
1031 static $_fill_1_Callback(mthis, winding) native "CanvasRenderingContext2D_fill _Callback_RESOLVER_STRING_1_DOMString"; 804 static $_fill_1_Callback(mthis, winding) native "CanvasRenderingContext2D_fill _Callback_RESOLVER_STRING_1_DOMString";
1032 805
1033 static $_fill_2_Callback(mthis) native "CanvasRenderingContext2D_fill_Callback _RESOLVER_STRING_0_"; 806 static $_fill_2_Callback(mthis) native "CanvasRenderingContext2D_fill_Callback _RESOLVER_STRING_0_";
1034 807
1035 static $fillRect_Callback(mthis, x, y, width, height) native "CanvasRenderingC ontext2D_fillRect_Callback_RESOLVER_STRING_4_float_float_float_float"; 808 static $fillRect_Callback(mthis, x, y, width, height) native "CanvasRenderingC ontext2D_fillRect_Callback_RESOLVER_STRING_4_float_float_float_float";
1036 809
1037 // Generated overload resolver
1038 static $fillText(mthis, text, x, y, maxWidth) {
1039 if (maxWidth != null) {
1040 $_fillText_1_Callback(mthis, text, x, y, maxWidth);
1041 return;
1042 }
1043 $_fillText_2_Callback(mthis, text, x, y);
1044 return;
1045 }
1046
1047 static $_fillText_1_Callback(mthis, text, x, y, maxWidth) native "CanvasRender ingContext2D_fillText_Callback_RESOLVER_STRING_4_DOMString_float_float_float"; 810 static $_fillText_1_Callback(mthis, text, x, y, maxWidth) native "CanvasRender ingContext2D_fillText_Callback_RESOLVER_STRING_4_DOMString_float_float_float";
1048 811
1049 static $_fillText_2_Callback(mthis, text, x, y) native "CanvasRenderingContext 2D_fillText_Callback_RESOLVER_STRING_3_DOMString_float_float"; 812 static $_fillText_2_Callback(mthis, text, x, y) native "CanvasRenderingContext 2D_fillText_Callback_RESOLVER_STRING_3_DOMString_float_float";
1050 813
1051 static $getContextAttributes_Callback(mthis) native "CanvasRenderingContext2D_ getContextAttributes_Callback_RESOLVER_STRING_0_"; 814 static $getContextAttributes_Callback(mthis) native "CanvasRenderingContext2D_ getContextAttributes_Callback_RESOLVER_STRING_0_";
1052 815
1053 static $getImageData_Callback(mthis, sx, sy, sw, sh) native "CanvasRenderingCo ntext2D_getImageData_Callback_RESOLVER_STRING_4_float_float_float_float"; 816 static $getImageData_Callback(mthis, sx, sy, sw, sh) native "CanvasRenderingCo ntext2D_getImageData_Callback_RESOLVER_STRING_4_float_float_float_float";
1054 817
1055 static $getLineDash_Callback(mthis) native "CanvasRenderingContext2D_getLineDa sh_Callback_RESOLVER_STRING_0_"; 818 static $getLineDash_Callback(mthis) native "CanvasRenderingContext2D_getLineDa sh_Callback_RESOLVER_STRING_0_";
1056 819
1057 // Generated overload resolver
1058 static $isPointInPath(mthis, x, y, winding) {
1059 if (winding != null) {
1060 return $_isPointInPath_1_Callback(mthis, x, y, winding);
1061 }
1062 return $_isPointInPath_2_Callback(mthis, x, y);
1063 }
1064
1065 static $_isPointInPath_1_Callback(mthis, x, y, winding) native "CanvasRenderin gContext2D_isPointInPath_Callback_RESOLVER_STRING_3_float_float_DOMString"; 820 static $_isPointInPath_1_Callback(mthis, x, y, winding) native "CanvasRenderin gContext2D_isPointInPath_Callback_RESOLVER_STRING_3_float_float_DOMString";
1066 821
1067 static $_isPointInPath_2_Callback(mthis, x, y) native "CanvasRenderingContext2 D_isPointInPath_Callback_RESOLVER_STRING_2_float_float"; 822 static $_isPointInPath_2_Callback(mthis, x, y) native "CanvasRenderingContext2 D_isPointInPath_Callback_RESOLVER_STRING_2_float_float";
1068 823
1069 static $isPointInStroke_Callback(mthis, x, y) native "CanvasRenderingContext2D _isPointInStroke_Callback_RESOLVER_STRING_2_float_float"; 824 static $isPointInStroke_Callback(mthis, x, y) native "CanvasRenderingContext2D _isPointInStroke_Callback_RESOLVER_STRING_2_float_float";
1070 825
1071 static $lineTo_Callback(mthis, x, y) native "CanvasRenderingContext2D_lineTo_C allback_RESOLVER_STRING_2_float_float"; 826 static $lineTo_Callback(mthis, x, y) native "CanvasRenderingContext2D_lineTo_C allback_RESOLVER_STRING_2_float_float";
1072 827
1073 static $measureText_Callback(mthis, text) native "CanvasRenderingContext2D_mea sureText_Callback_RESOLVER_STRING_1_DOMString"; 828 static $measureText_Callback(mthis, text) native "CanvasRenderingContext2D_mea sureText_Callback_RESOLVER_STRING_1_DOMString";
1074 829
1075 static $moveTo_Callback(mthis, x, y) native "CanvasRenderingContext2D_moveTo_C allback_RESOLVER_STRING_2_float_float"; 830 static $moveTo_Callback(mthis, x, y) native "CanvasRenderingContext2D_moveTo_C allback_RESOLVER_STRING_2_float_float";
1076 831
1077 // Generated overload resolver
1078 static $putImageData(mthis, imagedata, dx, dy, dirtyX, dirtyY, dirtyWidth, dir tyHeight) {
1079 if ((dy is num || dy == null) && (dx is num || dx == null) && (imagedata is ImageData || imagedata == null) && dirtyX == null && dirtyY == null && dirtyWidt h == null && dirtyHeight == null) {
1080 $_putImageData_1_Callback(mthis, imagedata, dx, dy);
1081 return;
1082 }
1083 if ((dirtyHeight is num || dirtyHeight == null) && (dirtyWidth is num || dir tyWidth == null) && (dirtyY is num || dirtyY == null) && (dirtyX is num || dirty X == null) && (dy is num || dy == null) && (dx is num || dx == null) && (imageda ta is ImageData || imagedata == null)) {
1084 $_putImageData_2_Callback(mthis, imagedata, dx, dy, dirtyX, dirtyY, dirtyW idth, dirtyHeight);
1085 return;
1086 }
1087 throw new ArgumentError("Incorrect number or type of arguments");
1088 }
1089
1090 static $_putImageData_1_Callback(mthis, imagedata, dx, dy) native "CanvasRende ringContext2D_putImageData_Callback_RESOLVER_STRING_3_ImageData_float_float"; 832 static $_putImageData_1_Callback(mthis, imagedata, dx, dy) native "CanvasRende ringContext2D_putImageData_Callback_RESOLVER_STRING_3_ImageData_float_float";
1091 833
1092 static $_putImageData_2_Callback(mthis, imagedata, dx, dy, dirtyX, dirtyY, dir tyWidth, dirtyHeight) native "CanvasRenderingContext2D_putImageData_Callback_RES OLVER_STRING_7_ImageData_float_float_float_float_float_float"; 834 static $_putImageData_2_Callback(mthis, imagedata, dx, dy, dirtyX, dirtyY, dir tyWidth, dirtyHeight) native "CanvasRenderingContext2D_putImageData_Callback_RES OLVER_STRING_7_ImageData_float_float_float_float_float_float";
1093 835
1094 static $quadraticCurveTo_Callback(mthis, cpx, cpy, x, y) native "CanvasRenderi ngContext2D_quadraticCurveTo_Callback_RESOLVER_STRING_4_float_float_float_float" ; 836 static $quadraticCurveTo_Callback(mthis, cpx, cpy, x, y) native "CanvasRenderi ngContext2D_quadraticCurveTo_Callback_RESOLVER_STRING_4_float_float_float_float" ;
1095 837
1096 static $rect_Callback(mthis, x, y, width, height) native "CanvasRenderingConte xt2D_rect_Callback_RESOLVER_STRING_4_float_float_float_float"; 838 static $rect_Callback(mthis, x, y, width, height) native "CanvasRenderingConte xt2D_rect_Callback_RESOLVER_STRING_4_float_float_float_float";
1097 839
1098 static $resetTransform_Callback(mthis) native "CanvasRenderingContext2D_resetT ransform_Callback_RESOLVER_STRING_0_"; 840 static $resetTransform_Callback(mthis) native "CanvasRenderingContext2D_resetT ransform_Callback_RESOLVER_STRING_0_";
1099 841
1100 static $restore_Callback(mthis) native "CanvasRenderingContext2D_restore_Callb ack_RESOLVER_STRING_0_"; 842 static $restore_Callback(mthis) native "CanvasRenderingContext2D_restore_Callb ack_RESOLVER_STRING_0_";
1101 843
1102 static $rotate_Callback(mthis, angle) native "CanvasRenderingContext2D_rotate_ Callback_RESOLVER_STRING_1_float"; 844 static $rotate_Callback(mthis, angle) native "CanvasRenderingContext2D_rotate_ Callback_RESOLVER_STRING_1_float";
1103 845
1104 static $save_Callback(mthis) native "CanvasRenderingContext2D_save_Callback_RE SOLVER_STRING_0_"; 846 static $save_Callback(mthis) native "CanvasRenderingContext2D_save_Callback_RE SOLVER_STRING_0_";
1105 847
1106 static $scale_Callback(mthis, sx, sy) native "CanvasRenderingContext2D_scale_C allback_RESOLVER_STRING_2_float_float"; 848 static $scale_Callback(mthis, sx, sy) native "CanvasRenderingContext2D_scale_C allback_RESOLVER_STRING_2_float_float";
1107 849
1108 static $setLineDash_Callback(mthis, dash) native "CanvasRenderingContext2D_set LineDash_Callback_RESOLVER_STRING_1_sequence<unrestricted float>"; 850 static $setLineDash_Callback(mthis, dash) native "CanvasRenderingContext2D_set LineDash_Callback_RESOLVER_STRING_1_sequence<unrestricted float>";
1109 851
1110 static $setTransform_Callback(mthis, m11, m12, m21, m22, dx, dy) native "Canva sRenderingContext2D_setTransform_Callback_RESOLVER_STRING_6_float_float_float_fl oat_float_float"; 852 static $setTransform_Callback(mthis, m11, m12, m21, m22, dx, dy) native "Canva sRenderingContext2D_setTransform_Callback_RESOLVER_STRING_6_float_float_float_fl oat_float_float";
1111 853
1112 static $stroke_Callback(mthis) native "CanvasRenderingContext2D_stroke_Callbac k_RESOLVER_STRING_0_"; 854 static $stroke_Callback(mthis) native "CanvasRenderingContext2D_stroke_Callbac k_RESOLVER_STRING_0_";
1113 855
1114 static $strokeRect_Callback(mthis, x, y, width, height) native "CanvasRenderin gContext2D_strokeRect_Callback_RESOLVER_STRING_4_float_float_float_float"; 856 static $strokeRect_Callback(mthis, x, y, width, height) native "CanvasRenderin gContext2D_strokeRect_Callback_RESOLVER_STRING_4_float_float_float_float";
1115 857
1116 // Generated overload resolver
1117 static $strokeText(mthis, text, x, y, maxWidth) {
1118 if (maxWidth != null) {
1119 $_strokeText_1_Callback(mthis, text, x, y, maxWidth);
1120 return;
1121 }
1122 $_strokeText_2_Callback(mthis, text, x, y);
1123 return;
1124 }
1125
1126 static $_strokeText_1_Callback(mthis, text, x, y, maxWidth) native "CanvasRend eringContext2D_strokeText_Callback_RESOLVER_STRING_4_DOMString_float_float_float "; 858 static $_strokeText_1_Callback(mthis, text, x, y, maxWidth) native "CanvasRend eringContext2D_strokeText_Callback_RESOLVER_STRING_4_DOMString_float_float_float ";
1127 859
1128 static $_strokeText_2_Callback(mthis, text, x, y) native "CanvasRenderingConte xt2D_strokeText_Callback_RESOLVER_STRING_3_DOMString_float_float"; 860 static $_strokeText_2_Callback(mthis, text, x, y) native "CanvasRenderingConte xt2D_strokeText_Callback_RESOLVER_STRING_3_DOMString_float_float";
1129 861
1130 static $transform_Callback(mthis, m11, m12, m21, m22, dx, dy) native "CanvasRe nderingContext2D_transform_Callback_RESOLVER_STRING_6_float_float_float_float_fl oat_float"; 862 static $transform_Callback(mthis, m11, m12, m21, m22, dx, dy) native "CanvasRe nderingContext2D_transform_Callback_RESOLVER_STRING_6_float_float_float_float_fl oat_float";
1131 863
1132 static $translate_Callback(mthis, tx, ty) native "CanvasRenderingContext2D_tra nslate_Callback_RESOLVER_STRING_2_float_float"; 864 static $translate_Callback(mthis, tx, ty) native "CanvasRenderingContext2D_tra nslate_Callback_RESOLVER_STRING_2_float_float";
1133 } 865 }
1134 866
1135 class BlinkChannelMergerNode {} 867 class BlinkChannelMergerNode {}
(...skipping 30 matching lines...) Expand all
1166 static $effectAllowed_Getter(mthis) native "DataTransfer_effectAllowed_Getter" ; 898 static $effectAllowed_Getter(mthis) native "DataTransfer_effectAllowed_Getter" ;
1167 899
1168 static $effectAllowed_Setter(mthis, value) native "DataTransfer_effectAllowed_ Setter"; 900 static $effectAllowed_Setter(mthis, value) native "DataTransfer_effectAllowed_ Setter";
1169 901
1170 static $files_Getter(mthis) native "DataTransfer_files_Getter"; 902 static $files_Getter(mthis) native "DataTransfer_files_Getter";
1171 903
1172 static $items_Getter(mthis) native "DataTransfer_items_Getter"; 904 static $items_Getter(mthis) native "DataTransfer_items_Getter";
1173 905
1174 static $types_Getter(mthis) native "DataTransfer_types_Getter"; 906 static $types_Getter(mthis) native "DataTransfer_types_Getter";
1175 907
1176 // Generated overload resolver
1177 static $clearData(mthis, type) {
1178 if (type != null) {
1179 $_clearData_1_Callback(mthis, type);
1180 return;
1181 }
1182 $_clearData_2_Callback(mthis);
1183 return;
1184 }
1185
1186 static $_clearData_1_Callback(mthis, type) native "DataTransfer_clearData_Call back_RESOLVER_STRING_1_DOMString"; 908 static $_clearData_1_Callback(mthis, type) native "DataTransfer_clearData_Call back_RESOLVER_STRING_1_DOMString";
1187 909
1188 static $_clearData_2_Callback(mthis) native "DataTransfer_clearData_Callback_R ESOLVER_STRING_0_"; 910 static $_clearData_2_Callback(mthis) native "DataTransfer_clearData_Callback_R ESOLVER_STRING_0_";
1189 911
1190 static $getData_Callback(mthis, type) native "DataTransfer_getData_Callback_RE SOLVER_STRING_1_DOMString"; 912 static $getData_Callback(mthis, type) native "DataTransfer_getData_Callback_RE SOLVER_STRING_1_DOMString";
1191 913
1192 static $setData_Callback(mthis, type, data) native "DataTransfer_setData_Callb ack_RESOLVER_STRING_2_DOMString_DOMString"; 914 static $setData_Callback(mthis, type, data) native "DataTransfer_setData_Callb ack_RESOLVER_STRING_2_DOMString_DOMString";
1193 915
1194 static $setDragImage_Callback(mthis, image, x, y) native "DataTransfer_setDrag Image_Callback_RESOLVER_STRING_3_Element_long_long"; 916 static $setDragImage_Callback(mthis, image, x, y) native "DataTransfer_setDrag Image_Callback_RESOLVER_STRING_3_Element_long_long";
1195 } 917 }
1196 918
1197 class BlinkCloseEvent { 919 class BlinkCloseEvent {
1198 static $code_Getter(mthis) native "CloseEvent_code_Getter"; 920 static $code_Getter(mthis) native "CloseEvent_code_Getter";
1199 921
1200 static $reason_Getter(mthis) native "CloseEvent_reason_Getter"; 922 static $reason_Getter(mthis) native "CloseEvent_reason_Getter";
1201 923
1202 static $wasClean_Getter(mthis) native "CloseEvent_wasClean_Getter"; 924 static $wasClean_Getter(mthis) native "CloseEvent_wasClean_Getter";
1203 } 925 }
1204 926
1205 class BlinkComment { 927 class BlinkComment {
1206 // Generated overload resolver
1207 static $mkComment(data) {
1208 return $_create_1constructorCallback(data);
1209 }
1210
1211 static $_create_1constructorCallback(data) native "Comment_constructorCallback _RESOLVER_STRING_1_DOMString"; 928 static $_create_1constructorCallback(data) native "Comment_constructorCallback _RESOLVER_STRING_1_DOMString";
1212 } 929 }
1213 930
1214 class BlinkUIEvent { 931 class BlinkUIEvent {
1215 static $charCode_Getter(mthis) native "UIEvent_charCode_Getter"; 932 static $charCode_Getter(mthis) native "UIEvent_charCode_Getter";
1216 933
1217 static $detail_Getter(mthis) native "UIEvent_detail_Getter"; 934 static $detail_Getter(mthis) native "UIEvent_detail_Getter";
1218 935
1219 static $keyCode_Getter(mthis) native "UIEvent_keyCode_Getter"; 936 static $keyCode_Getter(mthis) native "UIEvent_keyCode_Getter";
1220 937
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
1361 static $createDocument_Callback(mthis, namespaceURI, qualifiedName, doctype) n ative "DOMImplementation_createDocument_Callback_RESOLVER_STRING_3_DOMString_DOM String_DocumentType"; 1078 static $createDocument_Callback(mthis, namespaceURI, qualifiedName, doctype) n ative "DOMImplementation_createDocument_Callback_RESOLVER_STRING_3_DOMString_DOM String_DocumentType";
1362 1079
1363 static $createDocumentType_Callback(mthis, qualifiedName, publicId, systemId) native "DOMImplementation_createDocumentType_Callback_RESOLVER_STRING_3_DOMStrin g_DOMString_DOMString"; 1080 static $createDocumentType_Callback(mthis, qualifiedName, publicId, systemId) native "DOMImplementation_createDocumentType_Callback_RESOLVER_STRING_3_DOMStrin g_DOMString_DOMString";
1364 1081
1365 static $createHTMLDocument_Callback(mthis, title) native "DOMImplementation_cr eateHTMLDocument_Callback_RESOLVER_STRING_1_DOMString"; 1082 static $createHTMLDocument_Callback(mthis, title) native "DOMImplementation_cr eateHTMLDocument_Callback_RESOLVER_STRING_1_DOMString";
1366 1083
1367 static $hasFeature_Callback(mthis, feature, version) native "DOMImplementation _hasFeature_Callback_RESOLVER_STRING_2_DOMString_DOMString"; 1084 static $hasFeature_Callback(mthis, feature, version) native "DOMImplementation _hasFeature_Callback_RESOLVER_STRING_2_DOMString_DOMString";
1368 } 1085 }
1369 1086
1370 class BlinkDOMParser { 1087 class BlinkDOMParser {
1371 // Generated overload resolver
1372 static $mkDomParser() {
1373 return $_create_1constructorCallback();
1374 }
1375
1376 static $_create_1constructorCallback() native "DOMParser_constructorCallback_R ESOLVER_STRING_0_"; 1088 static $_create_1constructorCallback() native "DOMParser_constructorCallback_R ESOLVER_STRING_0_";
1377 1089
1378 static $parseFromString_Callback(mthis, str, contentType) native "DOMParser_pa rseFromString_Callback_RESOLVER_STRING_2_DOMString_DOMString"; 1090 static $parseFromString_Callback(mthis, str, contentType) native "DOMParser_pa rseFromString_Callback_RESOLVER_STRING_2_DOMString_DOMString";
1379 } 1091 }
1380 1092
1381 class BlinkDOMTokenList { 1093 class BlinkDOMTokenList {
1382 static $length_Getter(mthis) native "DOMTokenList_length_Getter"; 1094 static $length_Getter(mthis) native "DOMTokenList_length_Getter";
1383 1095
1384 static $contains_Callback(mthis, token) native "DOMTokenList_contains_Callback _RESOLVER_STRING_1_DOMString"; 1096 static $contains_Callback(mthis, token) native "DOMTokenList_contains_Callback _RESOLVER_STRING_1_DOMString";
1385 1097
1386 static $item_Callback(mthis, index) native "DOMTokenList_item_Callback_RESOLVE R_STRING_1_unsigned long"; 1098 static $item_Callback(mthis, index) native "DOMTokenList_item_Callback_RESOLVE R_STRING_1_unsigned long";
1387 1099
1388 static $toString_Callback(mthis) native "DOMTokenList_toString_Callback_RESOLV ER_STRING_0_"; 1100 static $toString_Callback(mthis) native "DOMTokenList_toString_Callback_RESOLV ER_STRING_0_";
1389 1101
1390 // Generated overload resolver
1391 static $toggle(mthis, token, force) {
1392 if (force != null) {
1393 return $_toggle_1_Callback(mthis, token, force);
1394 }
1395 return $_toggle_2_Callback(mthis, token);
1396 }
1397
1398 static $_toggle_1_Callback(mthis, token, force) native "DOMTokenList_toggle_Ca llback_RESOLVER_STRING_2_DOMString_boolean"; 1102 static $_toggle_1_Callback(mthis, token, force) native "DOMTokenList_toggle_Ca llback_RESOLVER_STRING_2_DOMString_boolean";
1399 1103
1400 static $_toggle_2_Callback(mthis, token) native "DOMTokenList_toggle_Callback_ RESOLVER_STRING_1_DOMString"; 1104 static $_toggle_2_Callback(mthis, token) native "DOMTokenList_toggle_Callback_ RESOLVER_STRING_1_DOMString";
1401 } 1105 }
1402 1106
1403 class BlinkDOMSettableTokenList { 1107 class BlinkDOMSettableTokenList {
1404 static $value_Getter(mthis) native "DOMSettableTokenList_value_Getter"; 1108 static $value_Getter(mthis) native "DOMSettableTokenList_value_Getter";
1405 1109
1406 static $value_Setter(mthis, value) native "DOMSettableTokenList_value_Setter"; 1110 static $value_Setter(mthis, value) native "DOMSettableTokenList_value_Setter";
1407 1111
1408 static $__getter___Callback(mthis, index) native "DOMSettableTokenList___gette r___Callback_RESOLVER_STRING_1_unsigned long"; 1112 static $__getter___Callback(mthis, index) native "DOMSettableTokenList___gette r___Callback_RESOLVER_STRING_1_unsigned long";
1409 } 1113 }
1410 1114
1411 class BlinkDOMStringList { 1115 class BlinkDOMStringList {
1412 static $length_Getter(mthis) native "DOMStringList_length_Getter"; 1116 static $length_Getter(mthis) native "DOMStringList_length_Getter";
1413 1117
1414 static $NativeIndexed_Getter(mthis, index) native "DOMStringList_item_Callback _RESOLVER_STRING_1_unsigned long"; 1118 static $NativeIndexed_Getter(mthis, index) native "DOMStringList_item_Callback _RESOLVER_STRING_1_unsigned long";
1415 1119
1416 static $contains_Callback(mthis, string) native "DOMStringList_contains_Callba ck_RESOLVER_STRING_1_DOMString"; 1120 static $contains_Callback(mthis, string) native "DOMStringList_contains_Callba ck_RESOLVER_STRING_1_DOMString";
1417 1121
1418 static $item_Callback(mthis, index) native "DOMStringList_item_Callback_RESOLV ER_STRING_1_unsigned long"; 1122 static $item_Callback(mthis, index) native "DOMStringList_item_Callback_RESOLV ER_STRING_1_unsigned long";
1419 } 1123 }
1420 1124
1421 class BlinkDOMStringMap { 1125 class BlinkDOMStringMap {
1422 // Generated overload resolver
1423 static $__delete__(mthis, index_OR_name) {
1424 if ((index_OR_name is int || index_OR_name == null)) {
1425 return $___delete___1_Callback(mthis, index_OR_name);
1426 }
1427 if ((index_OR_name is String || index_OR_name == null)) {
1428 return $___delete___2_Callback(mthis, index_OR_name);
1429 }
1430 throw new ArgumentError("Incorrect number or type of arguments");
1431 }
1432
1433 static $___delete___1_Callback(mthis, index_OR_name) native "DOMStringMap___de lete___Callback_RESOLVER_STRING_1_unsigned long"; 1126 static $___delete___1_Callback(mthis, index_OR_name) native "DOMStringMap___de lete___Callback_RESOLVER_STRING_1_unsigned long";
1434 1127
1435 static $___delete___2_Callback(mthis, index_OR_name) native "DOMStringMap___de lete___Callback_RESOLVER_STRING_1_DOMString"; 1128 static $___delete___2_Callback(mthis, index_OR_name) native "DOMStringMap___de lete___Callback_RESOLVER_STRING_1_DOMString";
1436 1129
1437 // Generated overload resolver
1438 static $__getter__(mthis, index_OR_name) {
1439 if ((index_OR_name is int || index_OR_name == null)) {
1440 return $___getter___1_Callback(mthis, index_OR_name);
1441 }
1442 if ((index_OR_name is String || index_OR_name == null)) {
1443 return $___getter___2_Callback(mthis, index_OR_name);
1444 }
1445 throw new ArgumentError("Incorrect number or type of arguments");
1446 }
1447
1448 static $___getter___1_Callback(mthis, index_OR_name) native "DOMStringMap___ge tter___Callback_RESOLVER_STRING_1_unsigned long"; 1130 static $___getter___1_Callback(mthis, index_OR_name) native "DOMStringMap___ge tter___Callback_RESOLVER_STRING_1_unsigned long";
1449 1131
1450 static $___getter___2_Callback(mthis, index_OR_name) native "DOMStringMap___ge tter___Callback_RESOLVER_STRING_1_DOMString"; 1132 static $___getter___2_Callback(mthis, index_OR_name) native "DOMStringMap___ge tter___Callback_RESOLVER_STRING_1_DOMString";
1451 1133
1452 // Generated overload resolver
1453 static $__setter__(mthis, index_OR_name, value) {
1454 if ((value is String || value == null) && (index_OR_name is int || index_OR_ name == null)) {
1455 $___setter___1_Callback(mthis, index_OR_name, value);
1456 return;
1457 }
1458 if ((value is String || value == null) && (index_OR_name is String || index_ OR_name == null)) {
1459 $___setter___2_Callback(mthis, index_OR_name, value);
1460 return;
1461 }
1462 throw new ArgumentError("Incorrect number or type of arguments");
1463 }
1464
1465 static $___setter___1_Callback(mthis, index_OR_name, value) native "DOMStringM ap___setter___Callback_RESOLVER_STRING_2_unsigned long_DOMString"; 1134 static $___setter___1_Callback(mthis, index_OR_name, value) native "DOMStringM ap___setter___Callback_RESOLVER_STRING_2_unsigned long_DOMString";
1466 1135
1467 static $___setter___2_Callback(mthis, index_OR_name, value) native "DOMStringM ap___setter___Callback_RESOLVER_STRING_2_DOMString_DOMString"; 1136 static $___setter___2_Callback(mthis, index_OR_name, value) native "DOMStringM ap___setter___Callback_RESOLVER_STRING_2_DOMString_DOMString";
1468 } 1137 }
1469 1138
1470 class BlinkDataTransferItem { 1139 class BlinkDataTransferItem {
1471 static $kind_Getter(mthis) native "DataTransferItem_kind_Getter"; 1140 static $kind_Getter(mthis) native "DataTransferItem_kind_Getter";
1472 1141
1473 static $type_Getter(mthis) native "DataTransferItem_type_Getter"; 1142 static $type_Getter(mthis) native "DataTransferItem_type_Getter";
1474 1143
1475 static $getAsFile_Callback(mthis) native "DataTransferItem_getAsFile_Callback_ RESOLVER_STRING_0_"; 1144 static $getAsFile_Callback(mthis) native "DataTransferItem_getAsFile_Callback_ RESOLVER_STRING_0_";
1476 1145
1477 static $getAsString_Callback(mthis, callback) native "DataTransferItem_getAsSt ring_Callback_RESOLVER_STRING_1_StringCallback"; 1146 static $getAsString_Callback(mthis, callback) native "DataTransferItem_getAsSt ring_Callback_RESOLVER_STRING_1_StringCallback";
1478 1147
1479 static $webkitGetAsEntry_Callback(mthis) native "DataTransferItem_webkitGetAsE ntry_Callback_RESOLVER_STRING_0_"; 1148 static $webkitGetAsEntry_Callback(mthis) native "DataTransferItem_webkitGetAsE ntry_Callback_RESOLVER_STRING_0_";
1480 } 1149 }
1481 1150
1482 class BlinkDataTransferItemList { 1151 class BlinkDataTransferItemList {
1483 static $length_Getter(mthis) native "DataTransferItemList_length_Getter"; 1152 static $length_Getter(mthis) native "DataTransferItemList_length_Getter";
1484 1153
1485 static $__getter___Callback(mthis, index) native "DataTransferItemList___gette r___Callback_RESOLVER_STRING_1_unsigned long"; 1154 static $__getter___Callback(mthis, index) native "DataTransferItemList___gette r___Callback_RESOLVER_STRING_1_unsigned long";
1486 1155
1487 // Generated overload resolver
1488 static $add(mthis, data_OR_file, type) {
1489 if ((data_OR_file is File || data_OR_file == null) && type == null) {
1490 return $_add_1_Callback(mthis, data_OR_file);
1491 }
1492 if ((type is String || type == null) && (data_OR_file is String || data_OR_f ile == null)) {
1493 return $_add_2_Callback(mthis, data_OR_file, type);
1494 }
1495 throw new ArgumentError("Incorrect number or type of arguments");
1496 }
1497
1498 static $_add_1_Callback(mthis, data_OR_file) native "DataTransferItemList_add_ Callback_RESOLVER_STRING_1_File"; 1156 static $_add_1_Callback(mthis, data_OR_file) native "DataTransferItemList_add_ Callback_RESOLVER_STRING_1_File";
1499 1157
1500 static $_add_2_Callback(mthis, data_OR_file, type) native "DataTransferItemLis t_add_Callback_RESOLVER_STRING_2_DOMString_DOMString"; 1158 static $_add_2_Callback(mthis, data_OR_file, type) native "DataTransferItemLis t_add_Callback_RESOLVER_STRING_2_DOMString_DOMString";
1501 1159
1502 static $addData_Callback(mthis, data, type) native "DataTransferItemList_add_C allback_RESOLVER_STRING_2_DOMString_DOMString"; 1160 static $addData_Callback(mthis, data, type) native "DataTransferItemList_add_C allback_RESOLVER_STRING_2_DOMString_DOMString";
1503 1161
1504 static $addFile_Callback(mthis, file) native "DataTransferItemList_add_Callbac k_RESOLVER_STRING_1_File"; 1162 static $addFile_Callback(mthis, file) native "DataTransferItemList_add_Callbac k_RESOLVER_STRING_1_File";
1505 1163
1506 static $clear_Callback(mthis) native "DataTransferItemList_clear_Callback_RESO LVER_STRING_0_"; 1164 static $clear_Callback(mthis) native "DataTransferItemList_clear_Callback_RESO LVER_STRING_0_";
1507 1165
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
1642 static $filesystem_Getter(mthis) native "Entry_filesystem_Getter"; 1300 static $filesystem_Getter(mthis) native "Entry_filesystem_Getter";
1643 1301
1644 static $fullPath_Getter(mthis) native "Entry_fullPath_Getter"; 1302 static $fullPath_Getter(mthis) native "Entry_fullPath_Getter";
1645 1303
1646 static $isDirectory_Getter(mthis) native "Entry_isDirectory_Getter"; 1304 static $isDirectory_Getter(mthis) native "Entry_isDirectory_Getter";
1647 1305
1648 static $isFile_Getter(mthis) native "Entry_isFile_Getter"; 1306 static $isFile_Getter(mthis) native "Entry_isFile_Getter";
1649 1307
1650 static $name_Getter(mthis) native "Entry_name_Getter"; 1308 static $name_Getter(mthis) native "Entry_name_Getter";
1651 1309
1652 // Generated overload resolver
1653 static $_copyTo(mthis, parent, name, successCallback, errorCallback) {
1654 if (name != null) {
1655 $_copyTo_1_Callback(mthis, parent, name, successCallback, errorCallback);
1656 return;
1657 }
1658 $_copyTo_2_Callback(mthis, parent);
1659 return;
1660 }
1661
1662 static $_copyTo_1_Callback(mthis, parent, name, successCallback, errorCallback ) native "Entry_copyTo_Callback_RESOLVER_STRING_4_DirectoryEntry_DOMString_Entry Callback_ErrorCallback"; 1310 static $_copyTo_1_Callback(mthis, parent, name, successCallback, errorCallback ) native "Entry_copyTo_Callback_RESOLVER_STRING_4_DirectoryEntry_DOMString_Entry Callback_ErrorCallback";
1663 1311
1664 static $_copyTo_2_Callback(mthis, parent) native "Entry_copyTo_Callback_RESOLV ER_STRING_1_DirectoryEntry"; 1312 static $_copyTo_2_Callback(mthis, parent) native "Entry_copyTo_Callback_RESOLV ER_STRING_1_DirectoryEntry";
1665 1313
1666 static $getMetadata_Callback(mthis, successCallback, errorCallback) native "En try_getMetadata_Callback_RESOLVER_STRING_2_MetadataCallback_ErrorCallback"; 1314 static $getMetadata_Callback(mthis, successCallback, errorCallback) native "En try_getMetadata_Callback_RESOLVER_STRING_2_MetadataCallback_ErrorCallback";
1667 1315
1668 static $getParent_Callback(mthis, successCallback, errorCallback) native "Entr y_getParent_Callback_RESOLVER_STRING_2_EntryCallback_ErrorCallback"; 1316 static $getParent_Callback(mthis, successCallback, errorCallback) native "Entr y_getParent_Callback_RESOLVER_STRING_2_EntryCallback_ErrorCallback";
1669 1317
1670 // Generated overload resolver
1671 static $_moveTo(mthis, parent, name, successCallback, errorCallback) {
1672 if (name != null) {
1673 $_moveTo_1_Callback(mthis, parent, name, successCallback, errorCallback);
1674 return;
1675 }
1676 $_moveTo_2_Callback(mthis, parent);
1677 return;
1678 }
1679
1680 static $_moveTo_1_Callback(mthis, parent, name, successCallback, errorCallback ) native "Entry_moveTo_Callback_RESOLVER_STRING_4_DirectoryEntry_DOMString_Entry Callback_ErrorCallback"; 1318 static $_moveTo_1_Callback(mthis, parent, name, successCallback, errorCallback ) native "Entry_moveTo_Callback_RESOLVER_STRING_4_DirectoryEntry_DOMString_Entry Callback_ErrorCallback";
1681 1319
1682 static $_moveTo_2_Callback(mthis, parent) native "Entry_moveTo_Callback_RESOLV ER_STRING_1_DirectoryEntry"; 1320 static $_moveTo_2_Callback(mthis, parent) native "Entry_moveTo_Callback_RESOLV ER_STRING_1_DirectoryEntry";
1683 1321
1684 static $remove_Callback(mthis, successCallback, errorCallback) native "Entry_r emove_Callback_RESOLVER_STRING_2_VoidCallback_ErrorCallback"; 1322 static $remove_Callback(mthis, successCallback, errorCallback) native "Entry_r emove_Callback_RESOLVER_STRING_2_VoidCallback_ErrorCallback";
1685 1323
1686 static $toURL_Callback(mthis) native "Entry_toURL_Callback_RESOLVER_STRING_0_" ; 1324 static $toURL_Callback(mthis) native "Entry_toURL_Callback_RESOLVER_STRING_0_" ;
1687 } 1325 }
1688 1326
1689 class BlinkDirectoryEntry { 1327 class BlinkDirectoryEntry {
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
1782 static $adoptNode_Callback(mthis, node) native "Document_adoptNode_Callback_RE SOLVER_STRING_1_Node"; 1420 static $adoptNode_Callback(mthis, node) native "Document_adoptNode_Callback_RE SOLVER_STRING_1_Node";
1783 1421
1784 static $caretRangeFromPoint_Callback(mthis, x, y) native "Document_caretRangeF romPoint_Callback_RESOLVER_STRING_2_long_long"; 1422 static $caretRangeFromPoint_Callback(mthis, x, y) native "Document_caretRangeF romPoint_Callback_RESOLVER_STRING_2_long_long";
1785 1423
1786 static $createDocumentFragment_Callback(mthis) native "Document_createDocument Fragment_Callback_RESOLVER_STRING_0_"; 1424 static $createDocumentFragment_Callback(mthis) native "Document_createDocument Fragment_Callback_RESOLVER_STRING_0_";
1787 1425
1788 static $createElement_Callback(mthis, localName_OR_tagName, typeExtension) nat ive "Document_createElement_Callback"; 1426 static $createElement_Callback(mthis, localName_OR_tagName, typeExtension) nat ive "Document_createElement_Callback";
1789 1427
1790 static $createElementNS_Callback(mthis, namespaceURI, qualifiedName, typeExten sion) native "Document_createElementNS_Callback"; 1428 static $createElementNS_Callback(mthis, namespaceURI, qualifiedName, typeExten sion) native "Document_createElementNS_Callback";
1791 1429
1792 // Generated overload resolver
1793 static $_createEvent(mthis, eventType) {
1794 if (eventType != null) {
1795 return $_createEvent_1_Callback(mthis, eventType);
1796 }
1797 return $_createEvent_2_Callback(mthis);
1798 }
1799
1800 static $_createEvent_1_Callback(mthis, eventType) native "Document_createEvent _Callback_RESOLVER_STRING_1_DOMString"; 1430 static $_createEvent_1_Callback(mthis, eventType) native "Document_createEvent _Callback_RESOLVER_STRING_1_DOMString";
1801 1431
1802 static $_createEvent_2_Callback(mthis) native "Document_createEvent_Callback_R ESOLVER_STRING_0_"; 1432 static $_createEvent_2_Callback(mthis) native "Document_createEvent_Callback_R ESOLVER_STRING_0_";
1803 1433
1804 // Generated overload resolver
1805 static $_createNodeIterator(mthis, root, whatToShow, filter) {
1806 if (filter != null) {
1807 return $_createNodeIterator_1_Callback(mthis, root, whatToShow, filter);
1808 }
1809 if (whatToShow != null) {
1810 return $_createNodeIterator_2_Callback(mthis, root, whatToShow);
1811 }
1812 return $_createNodeIterator_3_Callback(mthis, root);
1813 }
1814
1815 static $_createNodeIterator_1_Callback(mthis, root, whatToShow, filter) native "Document_createNodeIterator_Callback_RESOLVER_STRING_3_Node_unsigned long_Node Filter"; 1434 static $_createNodeIterator_1_Callback(mthis, root, whatToShow, filter) native "Document_createNodeIterator_Callback_RESOLVER_STRING_3_Node_unsigned long_Node Filter";
1816 1435
1817 static $_createNodeIterator_2_Callback(mthis, root, whatToShow) native "Docume nt_createNodeIterator_Callback_RESOLVER_STRING_2_Node_unsigned long"; 1436 static $_createNodeIterator_2_Callback(mthis, root, whatToShow) native "Docume nt_createNodeIterator_Callback_RESOLVER_STRING_2_Node_unsigned long";
1818 1437
1819 static $_createNodeIterator_3_Callback(mthis, root) native "Document_createNod eIterator_Callback_RESOLVER_STRING_1_Node"; 1438 static $_createNodeIterator_3_Callback(mthis, root) native "Document_createNod eIterator_Callback_RESOLVER_STRING_1_Node";
1820 1439
1821 static $createRange_Callback(mthis) native "Document_createRange_Callback_RESO LVER_STRING_0_"; 1440 static $createRange_Callback(mthis) native "Document_createRange_Callback_RESO LVER_STRING_0_";
1822 1441
1823 static $createTextNode_Callback(mthis, data) native "Document_createTextNode_C allback_RESOLVER_STRING_1_DOMString"; 1442 static $createTextNode_Callback(mthis, data) native "Document_createTextNode_C allback_RESOLVER_STRING_1_DOMString";
1824 1443
1825 static $createTouch_Callback(mthis, window, target, identifier, pageX, pageY, screenX, screenY, webkitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce ) native "Document_createTouch_Callback_RESOLVER_STRING_11_Window_EventTarget_lo ng_long_long_long_long_long_long_float_float"; 1444 static $createTouch_Callback(mthis, window, target, identifier, pageX, pageY, screenX, screenY, webkitRadiusX, webkitRadiusY, webkitRotationAngle, webkitForce ) native "Document_createTouch_Callback_RESOLVER_STRING_11_Window_EventTarget_lo ng_long_long_long_long_long_long_float_float";
1826 1445
1827 // Generated overload resolver
1828 static $_createTreeWalker(mthis, root, whatToShow, filter) {
1829 if (filter != null) {
1830 return $_createTreeWalker_1_Callback(mthis, root, whatToShow, filter);
1831 }
1832 if (whatToShow != null) {
1833 return $_createTreeWalker_2_Callback(mthis, root, whatToShow);
1834 }
1835 return $_createTreeWalker_3_Callback(mthis, root);
1836 }
1837
1838 static $_createTreeWalker_1_Callback(mthis, root, whatToShow, filter) native " Document_createTreeWalker_Callback_RESOLVER_STRING_3_Node_unsigned long_NodeFilt er"; 1446 static $_createTreeWalker_1_Callback(mthis, root, whatToShow, filter) native " Document_createTreeWalker_Callback_RESOLVER_STRING_3_Node_unsigned long_NodeFilt er";
1839 1447
1840 static $_createTreeWalker_2_Callback(mthis, root, whatToShow) native "Document _createTreeWalker_Callback_RESOLVER_STRING_2_Node_unsigned long"; 1448 static $_createTreeWalker_2_Callback(mthis, root, whatToShow) native "Document _createTreeWalker_Callback_RESOLVER_STRING_2_Node_unsigned long";
1841 1449
1842 static $_createTreeWalker_3_Callback(mthis, root) native "Document_createTreeW alker_Callback_RESOLVER_STRING_1_Node"; 1450 static $_createTreeWalker_3_Callback(mthis, root) native "Document_createTreeW alker_Callback_RESOLVER_STRING_1_Node";
1843 1451
1844 static $elementFromPoint_Callback(mthis, x, y) native "Document_elementFromPoi nt_Callback_RESOLVER_STRING_2_long_long"; 1452 static $elementFromPoint_Callback(mthis, x, y) native "Document_elementFromPoi nt_Callback_RESOLVER_STRING_2_long_long";
1845 1453
1846 static $execCommand_Callback(mthis, command, userInterface, value) native "Doc ument_execCommand_Callback_RESOLVER_STRING_3_DOMString_boolean_DOMString"; 1454 static $execCommand_Callback(mthis, command, userInterface, value) native "Doc ument_execCommand_Callback_RESOLVER_STRING_3_DOMString_boolean_DOMString";
1847 1455
1848 static $getCSSCanvasContext_Callback(mthis, contextId, name, width, height) na tive "Document_getCSSCanvasContext_Callback_RESOLVER_STRING_4_DOMString_DOMStrin g_long_long"; 1456 static $getCSSCanvasContext_Callback(mthis, contextId, name, width, height) na tive "Document_getCSSCanvasContext_Callback_RESOLVER_STRING_4_DOMString_DOMStrin g_long_long";
1849 1457
1850 static $getElementById_Callback(mthis, elementId) native "Document_getElementB yId_Callback_RESOLVER_STRING_1_DOMString"; 1458 static $getElementById_Callback(mthis, elementId) native "Document_getElementB yId_Callback_RESOLVER_STRING_1_DOMString";
1851 1459
1852 static $getElementsByClassName_Callback(mthis, classNames) native "Document_ge tElementsByClassName_Callback_RESOLVER_STRING_1_DOMString"; 1460 static $getElementsByClassName_Callback(mthis, classNames) native "Document_ge tElementsByClassName_Callback_RESOLVER_STRING_1_DOMString";
1853 1461
1854 static $getElementsByName_Callback(mthis, elementName) native "Document_getEle mentsByName_Callback_RESOLVER_STRING_1_DOMString"; 1462 static $getElementsByName_Callback(mthis, elementName) native "Document_getEle mentsByName_Callback_RESOLVER_STRING_1_DOMString";
1855 1463
1856 static $getElementsByTagName_Callback(mthis, localName) native "Document_getEl ementsByTagName_Callback_RESOLVER_STRING_1_DOMString"; 1464 static $getElementsByTagName_Callback(mthis, localName) native "Document_getEl ementsByTagName_Callback_RESOLVER_STRING_1_DOMString";
1857 1465
1858 // Generated overload resolver
1859 static $importNode(mthis, node, deep) {
1860 if (deep != null) {
1861 return $_importNode_1_Callback(mthis, node, deep);
1862 }
1863 return $_importNode_2_Callback(mthis, node);
1864 }
1865
1866 static $_importNode_1_Callback(mthis, node, deep) native "Document_importNode_ Callback_RESOLVER_STRING_2_Node_boolean"; 1466 static $_importNode_1_Callback(mthis, node, deep) native "Document_importNode_ Callback_RESOLVER_STRING_2_Node_boolean";
1867 1467
1868 static $_importNode_2_Callback(mthis, node) native "Document_importNode_Callba ck_RESOLVER_STRING_1_Node"; 1468 static $_importNode_2_Callback(mthis, node) native "Document_importNode_Callba ck_RESOLVER_STRING_1_Node";
1869 1469
1870 static $queryCommandEnabled_Callback(mthis, command) native "Document_queryCom mandEnabled_Callback_RESOLVER_STRING_1_DOMString"; 1470 static $queryCommandEnabled_Callback(mthis, command) native "Document_queryCom mandEnabled_Callback_RESOLVER_STRING_1_DOMString";
1871 1471
1872 static $queryCommandIndeterm_Callback(mthis, command) native "Document_queryCo mmandIndeterm_Callback_RESOLVER_STRING_1_DOMString"; 1472 static $queryCommandIndeterm_Callback(mthis, command) native "Document_queryCo mmandIndeterm_Callback_RESOLVER_STRING_1_DOMString";
1873 1473
1874 static $queryCommandState_Callback(mthis, command) native "Document_queryComma ndState_Callback_RESOLVER_STRING_1_DOMString"; 1474 static $queryCommandState_Callback(mthis, command) native "Document_queryComma ndState_Callback_RESOLVER_STRING_1_DOMString";
1875 1475
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
1976 static $scrollTop_Setter(mthis, value) native "Element_scrollTop_Setter"; 1576 static $scrollTop_Setter(mthis, value) native "Element_scrollTop_Setter";
1977 1577
1978 static $scrollWidth_Getter(mthis) native "Element_scrollWidth_Getter"; 1578 static $scrollWidth_Getter(mthis) native "Element_scrollWidth_Getter";
1979 1579
1980 static $shadowRoot_Getter(mthis) native "Element_shadowRoot_Getter"; 1580 static $shadowRoot_Getter(mthis) native "Element_shadowRoot_Getter";
1981 1581
1982 static $style_Getter(mthis) native "Element_style_Getter"; 1582 static $style_Getter(mthis) native "Element_style_Getter";
1983 1583
1984 static $tagName_Getter(mthis) native "Element_tagName_Getter"; 1584 static $tagName_Getter(mthis) native "Element_tagName_Getter";
1985 1585
1986 // Generated overload resolver
1987 static $animate(mthis, keyframes, timingInput) {
1988 if ((timingInput is Map || timingInput == null) && (keyframes is List<Map> | | keyframes == null)) {
1989 return $_animate_1_Callback(mthis, keyframes, timingInput);
1990 }
1991 if ((timingInput is num || timingInput == null) && (keyframes is List<Map> | | keyframes == null)) {
1992 return $_animate_2_Callback(mthis, keyframes, timingInput);
1993 }
1994 if ((keyframes is List<Map> || keyframes == null) && timingInput == null) {
1995 return $_animate_3_Callback(mthis, keyframes);
1996 }
1997 throw new ArgumentError("Incorrect number or type of arguments");
1998 }
1999
2000 static $_animate_1_Callback(mthis, keyframes, timingInput) native "Element_ani mate_Callback_RESOLVER_STRING_2_sequence<Dictionary>_Dictionary"; 1586 static $_animate_1_Callback(mthis, keyframes, timingInput) native "Element_ani mate_Callback_RESOLVER_STRING_2_sequence<Dictionary>_Dictionary";
2001 1587
2002 static $_animate_2_Callback(mthis, keyframes, timingInput) native "Element_ani mate_Callback_RESOLVER_STRING_2_sequence<Dictionary>_double"; 1588 static $_animate_2_Callback(mthis, keyframes, timingInput) native "Element_ani mate_Callback_RESOLVER_STRING_2_sequence<Dictionary>_double";
2003 1589
2004 static $_animate_3_Callback(mthis, keyframes) native "Element_animate_Callback _RESOLVER_STRING_1_sequence<Dictionary>"; 1590 static $_animate_3_Callback(mthis, keyframes) native "Element_animate_Callback _RESOLVER_STRING_1_sequence<Dictionary>";
2005 1591
2006 static $blur_Callback(mthis) native "Element_blur_Callback_RESOLVER_STRING_0_" ; 1592 static $blur_Callback(mthis) native "Element_blur_Callback_RESOLVER_STRING_0_" ;
2007 1593
2008 static $createShadowRoot_Callback(mthis) native "Element_createShadowRoot_Call back_RESOLVER_STRING_0_"; 1594 static $createShadowRoot_Callback(mthis) native "Element_createShadowRoot_Call back_RESOLVER_STRING_0_";
2009 1595
(...skipping 30 matching lines...) Expand all
2040 static $querySelectorAll_Callback(mthis, selectors) native "Element_querySelec torAll_Callback_RESOLVER_STRING_1_DOMString"; 1626 static $querySelectorAll_Callback(mthis, selectors) native "Element_querySelec torAll_Callback_RESOLVER_STRING_1_DOMString";
2041 1627
2042 static $removeAttribute_Callback(mthis, name) native "Element_removeAttribute_ Callback_RESOLVER_STRING_1_DOMString"; 1628 static $removeAttribute_Callback(mthis, name) native "Element_removeAttribute_ Callback_RESOLVER_STRING_1_DOMString";
2043 1629
2044 static $removeAttributeNS_Callback(mthis, namespaceURI, localName) native "Ele ment_removeAttributeNS_Callback_RESOLVER_STRING_2_DOMString_DOMString"; 1630 static $removeAttributeNS_Callback(mthis, namespaceURI, localName) native "Ele ment_removeAttributeNS_Callback_RESOLVER_STRING_2_DOMString_DOMString";
2045 1631
2046 static $scrollByLines_Callback(mthis, lines) native "Element_scrollByLines_Cal lback_RESOLVER_STRING_1_long"; 1632 static $scrollByLines_Callback(mthis, lines) native "Element_scrollByLines_Cal lback_RESOLVER_STRING_1_long";
2047 1633
2048 static $scrollByPages_Callback(mthis, pages) native "Element_scrollByPages_Cal lback_RESOLVER_STRING_1_long"; 1634 static $scrollByPages_Callback(mthis, pages) native "Element_scrollByPages_Cal lback_RESOLVER_STRING_1_long";
2049 1635
2050 // Generated overload resolver
2051 static $_scrollIntoView(mthis, alignWithTop) {
2052 if (alignWithTop != null) {
2053 $_scrollIntoView_1_Callback(mthis, alignWithTop);
2054 return;
2055 }
2056 $_scrollIntoView_2_Callback(mthis);
2057 return;
2058 }
2059
2060 static $_scrollIntoView_1_Callback(mthis, alignWithTop) native "Element_scroll IntoView_Callback_RESOLVER_STRING_1_boolean"; 1636 static $_scrollIntoView_1_Callback(mthis, alignWithTop) native "Element_scroll IntoView_Callback_RESOLVER_STRING_1_boolean";
2061 1637
2062 static $_scrollIntoView_2_Callback(mthis) native "Element_scrollIntoView_Callb ack_RESOLVER_STRING_0_"; 1638 static $_scrollIntoView_2_Callback(mthis) native "Element_scrollIntoView_Callb ack_RESOLVER_STRING_0_";
2063 1639
2064 // Generated overload resolver
2065 static $_scrollIntoViewIfNeeded(mthis, centerIfNeeded) {
2066 if (centerIfNeeded != null) {
2067 $_scrollIntoViewIfNeeded_1_Callback(mthis, centerIfNeeded);
2068 return;
2069 }
2070 $_scrollIntoViewIfNeeded_2_Callback(mthis);
2071 return;
2072 }
2073
2074 static $_scrollIntoViewIfNeeded_1_Callback(mthis, centerIfNeeded) native "Elem ent_scrollIntoViewIfNeeded_Callback_RESOLVER_STRING_1_boolean"; 1640 static $_scrollIntoViewIfNeeded_1_Callback(mthis, centerIfNeeded) native "Elem ent_scrollIntoViewIfNeeded_Callback_RESOLVER_STRING_1_boolean";
2075 1641
2076 static $_scrollIntoViewIfNeeded_2_Callback(mthis) native "Element_scrollIntoVi ewIfNeeded_Callback_RESOLVER_STRING_0_"; 1642 static $_scrollIntoViewIfNeeded_2_Callback(mthis) native "Element_scrollIntoVi ewIfNeeded_Callback_RESOLVER_STRING_0_";
2077 1643
2078 static $setAttribute_Callback(mthis, name, value) native "Element_setAttribute _Callback_RESOLVER_STRING_2_DOMString_DOMString"; 1644 static $setAttribute_Callback(mthis, name, value) native "Element_setAttribute _Callback_RESOLVER_STRING_2_DOMString_DOMString";
2079 1645
2080 static $setAttributeNS_Callback(mthis, namespaceURI, qualifiedName, value) nat ive "Element_setAttributeNS_Callback_RESOLVER_STRING_3_DOMString_DOMString_DOMSt ring"; 1646 static $setAttributeNS_Callback(mthis, namespaceURI, qualifiedName, value) nat ive "Element_setAttributeNS_Callback_RESOLVER_STRING_3_DOMString_DOMString_DOMSt ring";
2081 1647
2082 static $webkitRequestFullscreen_Callback(mthis) native "Element_webkitRequestF ullscreen_Callback_RESOLVER_STRING_0_"; 1648 static $webkitRequestFullscreen_Callback(mthis) native "Element_webkitRequestF ullscreen_Callback_RESOLVER_STRING_0_";
2083 1649
(...skipping 20 matching lines...) Expand all
2104 static $error_Getter(mthis) native "ErrorEvent_error_Getter"; 1670 static $error_Getter(mthis) native "ErrorEvent_error_Getter";
2105 1671
2106 static $filename_Getter(mthis) native "ErrorEvent_filename_Getter"; 1672 static $filename_Getter(mthis) native "ErrorEvent_filename_Getter";
2107 1673
2108 static $lineno_Getter(mthis) native "ErrorEvent_lineno_Getter"; 1674 static $lineno_Getter(mthis) native "ErrorEvent_lineno_Getter";
2109 1675
2110 static $message_Getter(mthis) native "ErrorEvent_message_Getter"; 1676 static $message_Getter(mthis) native "ErrorEvent_message_Getter";
2111 } 1677 }
2112 1678
2113 class BlinkEventSource { 1679 class BlinkEventSource {
2114 // Generated overload resolver
2115 static $mkEventSource(url, eventSourceInit) {
2116 return $_create_1constructorCallback(url, eventSourceInit);
2117 }
2118
2119 static $_create_1constructorCallback(url, eventSourceInit) native "EventSource _constructorCallback_RESOLVER_STRING_2_DOMString_Dictionary"; 1680 static $_create_1constructorCallback(url, eventSourceInit) native "EventSource _constructorCallback_RESOLVER_STRING_2_DOMString_Dictionary";
2120 1681
2121 static $readyState_Getter(mthis) native "EventSource_readyState_Getter"; 1682 static $readyState_Getter(mthis) native "EventSource_readyState_Getter";
2122 1683
2123 static $url_Getter(mthis) native "EventSource_url_Getter"; 1684 static $url_Getter(mthis) native "EventSource_url_Getter";
2124 1685
2125 static $withCredentials_Getter(mthis) native "EventSource_withCredentials_Gett er"; 1686 static $withCredentials_Getter(mthis) native "EventSource_withCredentials_Gett er";
2126 1687
2127 static $close_Callback(mthis) native "EventSource_close_Callback_RESOLVER_STRI NG_0_"; 1688 static $close_Callback(mthis) native "EventSource_close_Callback_RESOLVER_STRI NG_0_";
2128 } 1689 }
(...skipping 22 matching lines...) Expand all
2151 1712
2152 class BlinkFileList { 1713 class BlinkFileList {
2153 static $length_Getter(mthis) native "FileList_length_Getter"; 1714 static $length_Getter(mthis) native "FileList_length_Getter";
2154 1715
2155 static $NativeIndexed_Getter(mthis, index) native "FileList_item_Callback_RESO LVER_STRING_1_unsigned long"; 1716 static $NativeIndexed_Getter(mthis, index) native "FileList_item_Callback_RESO LVER_STRING_1_unsigned long";
2156 1717
2157 static $item_Callback(mthis, index) native "FileList_item_Callback_RESOLVER_ST RING_1_unsigned long"; 1718 static $item_Callback(mthis, index) native "FileList_item_Callback_RESOLVER_ST RING_1_unsigned long";
2158 } 1719 }
2159 1720
2160 class BlinkFileReader { 1721 class BlinkFileReader {
2161 // Generated overload resolver
2162 static $mkFileReader() {
2163 return $_create_1constructorCallback();
2164 }
2165
2166 static $_create_1constructorCallback() native "FileReader_constructorCallback_ RESOLVER_STRING_0_"; 1722 static $_create_1constructorCallback() native "FileReader_constructorCallback_ RESOLVER_STRING_0_";
2167 1723
2168 static $error_Getter(mthis) native "FileReader_error_Getter"; 1724 static $error_Getter(mthis) native "FileReader_error_Getter";
2169 1725
2170 static $readyState_Getter(mthis) native "FileReader_readyState_Getter"; 1726 static $readyState_Getter(mthis) native "FileReader_readyState_Getter";
2171 1727
2172 static $result_Getter(mthis) native "FileReader_result_Getter"; 1728 static $result_Getter(mthis) native "FileReader_result_Getter";
2173 1729
2174 static $abort_Callback(mthis) native "FileReader_abort_Callback_RESOLVER_STRIN G_0_"; 1730 static $abort_Callback(mthis) native "FileReader_abort_Callback_RESOLVER_STRIN G_0_";
2175 1731
2176 static $readAsArrayBuffer_Callback(mthis, blob) native "FileReader_readAsArray Buffer_Callback_RESOLVER_STRING_1_Blob"; 1732 static $readAsArrayBuffer_Callback(mthis, blob) native "FileReader_readAsArray Buffer_Callback_RESOLVER_STRING_1_Blob";
2177 1733
2178 static $readAsDataURL_Callback(mthis, blob) native "FileReader_readAsDataURL_C allback_RESOLVER_STRING_1_Blob"; 1734 static $readAsDataURL_Callback(mthis, blob) native "FileReader_readAsDataURL_C allback_RESOLVER_STRING_1_Blob";
2179 1735
2180 // Generated overload resolver
2181 static $readAsText(mthis, blob, encoding) {
2182 if (encoding != null) {
2183 $_readAsText_1_Callback(mthis, blob, encoding);
2184 return;
2185 }
2186 $_readAsText_2_Callback(mthis, blob);
2187 return;
2188 }
2189
2190 static $_readAsText_1_Callback(mthis, blob, encoding) native "FileReader_readA sText_Callback_RESOLVER_STRING_2_Blob_DOMString"; 1736 static $_readAsText_1_Callback(mthis, blob, encoding) native "FileReader_readA sText_Callback_RESOLVER_STRING_2_Blob_DOMString";
2191 1737
2192 static $_readAsText_2_Callback(mthis, blob) native "FileReader_readAsText_Call back_RESOLVER_STRING_1_Blob"; 1738 static $_readAsText_2_Callback(mthis, blob) native "FileReader_readAsText_Call back_RESOLVER_STRING_1_Blob";
2193 } 1739 }
2194 1740
2195 class BlinkFileReaderSync { 1741 class BlinkFileReaderSync {
2196 // Generated overload resolver
2197 static $mk_FileReaderSync() {
2198 return $_create_1constructorCallback();
2199 }
2200
2201 static $_create_1constructorCallback() native "FileReaderSync_constructorCallb ack_RESOLVER_STRING_0_"; 1742 static $_create_1constructorCallback() native "FileReaderSync_constructorCallb ack_RESOLVER_STRING_0_";
2202 } 1743 }
2203 1744
2204 class BlinkFileWriter { 1745 class BlinkFileWriter {
2205 static $error_Getter(mthis) native "FileWriter_error_Getter"; 1746 static $error_Getter(mthis) native "FileWriter_error_Getter";
2206 1747
2207 static $length_Getter(mthis) native "FileWriter_length_Getter"; 1748 static $length_Getter(mthis) native "FileWriter_length_Getter";
2208 1749
2209 static $position_Getter(mthis) native "FileWriter_position_Getter"; 1750 static $position_Getter(mthis) native "FileWriter_position_Getter";
2210 1751
2211 static $readyState_Getter(mthis) native "FileWriter_readyState_Getter"; 1752 static $readyState_Getter(mthis) native "FileWriter_readyState_Getter";
2212 1753
2213 static $abort_Callback(mthis) native "FileWriter_abort_Callback_RESOLVER_STRIN G_0_"; 1754 static $abort_Callback(mthis) native "FileWriter_abort_Callback_RESOLVER_STRIN G_0_";
2214 1755
2215 static $seek_Callback(mthis, position) native "FileWriter_seek_Callback_RESOLV ER_STRING_1_long long"; 1756 static $seek_Callback(mthis, position) native "FileWriter_seek_Callback_RESOLV ER_STRING_1_long long";
2216 1757
2217 static $truncate_Callback(mthis, size) native "FileWriter_truncate_Callback_RE SOLVER_STRING_1_long long"; 1758 static $truncate_Callback(mthis, size) native "FileWriter_truncate_Callback_RE SOLVER_STRING_1_long long";
2218 1759
2219 static $write_Callback(mthis, data) native "FileWriter_write_Callback_RESOLVER _STRING_1_Blob"; 1760 static $write_Callback(mthis, data) native "FileWriter_write_Callback_RESOLVER _STRING_1_Blob";
2220 } 1761 }
2221 1762
2222 class BlinkFileWriterSync {} 1763 class BlinkFileWriterSync {}
2223 1764
2224 class BlinkFocusEvent { 1765 class BlinkFocusEvent {
2225 static $relatedTarget_Getter(mthis) native "FocusEvent_relatedTarget_Getter"; 1766 static $relatedTarget_Getter(mthis) native "FocusEvent_relatedTarget_Getter";
2226 } 1767 }
2227 1768
2228 class BlinkFontFace { 1769 class BlinkFontFace {
2229 // Generated overload resolver
2230 static $mkFontFace(family, source, descriptors) {
2231 return $_create_1constructorCallback(family, source, descriptors);
2232 }
2233
2234 static $_create_1constructorCallback(family, source, descriptors) native "Font Face_constructorCallback_RESOLVER_STRING_3_DOMString_DOMString_Dictionary"; 1770 static $_create_1constructorCallback(family, source, descriptors) native "Font Face_constructorCallback_RESOLVER_STRING_3_DOMString_DOMString_Dictionary";
2235 1771
2236 static $family_Getter(mthis) native "FontFace_family_Getter"; 1772 static $family_Getter(mthis) native "FontFace_family_Getter";
2237 1773
2238 static $family_Setter(mthis, value) native "FontFace_family_Setter"; 1774 static $family_Setter(mthis, value) native "FontFace_family_Setter";
2239 1775
2240 static $featureSettings_Getter(mthis) native "FontFace_featureSettings_Getter" ; 1776 static $featureSettings_Getter(mthis) native "FontFace_featureSettings_Getter" ;
2241 1777
2242 static $featureSettings_Setter(mthis, value) native "FontFace_featureSettings_ Setter"; 1778 static $featureSettings_Setter(mthis, value) native "FontFace_featureSettings_ Setter";
2243 1779
(...skipping 28 matching lines...) Expand all
2272 static $status_Getter(mthis) native "FontFaceSet_status_Getter"; 1808 static $status_Getter(mthis) native "FontFaceSet_status_Getter";
2273 1809
2274 static $add_Callback(mthis, fontFace) native "FontFaceSet_add_Callback_RESOLVE R_STRING_1_FontFace"; 1810 static $add_Callback(mthis, fontFace) native "FontFaceSet_add_Callback_RESOLVE R_STRING_1_FontFace";
2275 1811
2276 static $check_Callback(mthis, font, text) native "FontFaceSet_check_Callback_R ESOLVER_STRING_2_DOMString_DOMString"; 1812 static $check_Callback(mthis, font, text) native "FontFaceSet_check_Callback_R ESOLVER_STRING_2_DOMString_DOMString";
2277 1813
2278 static $clear_Callback(mthis) native "FontFaceSet_clear_Callback_RESOLVER_STRI NG_0_"; 1814 static $clear_Callback(mthis) native "FontFaceSet_clear_Callback_RESOLVER_STRI NG_0_";
2279 1815
2280 static $delete_Callback(mthis, fontFace) native "FontFaceSet_delete_Callback_R ESOLVER_STRING_1_FontFace"; 1816 static $delete_Callback(mthis, fontFace) native "FontFaceSet_delete_Callback_R ESOLVER_STRING_1_FontFace";
2281 1817
2282 // Generated overload resolver
2283 static $forEach(mthis, callback, thisArg) {
2284 if (thisArg != null) {
2285 $_forEach_1_Callback(mthis, callback, thisArg);
2286 return;
2287 }
2288 $_forEach_2_Callback(mthis, callback);
2289 return;
2290 }
2291
2292 static $_forEach_1_Callback(mthis, callback, thisArg) native "FontFaceSet_forE ach_Callback_RESOLVER_STRING_2_FontFaceSetForEachCallback_ScriptValue"; 1818 static $_forEach_1_Callback(mthis, callback, thisArg) native "FontFaceSet_forE ach_Callback_RESOLVER_STRING_2_FontFaceSetForEachCallback_ScriptValue";
2293 1819
2294 static $_forEach_2_Callback(mthis, callback) native "FontFaceSet_forEach_Callb ack_RESOLVER_STRING_1_FontFaceSetForEachCallback"; 1820 static $_forEach_2_Callback(mthis, callback) native "FontFaceSet_forEach_Callb ack_RESOLVER_STRING_1_FontFaceSetForEachCallback";
2295 1821
2296 static $has_Callback(mthis, fontFace) native "FontFaceSet_has_Callback_RESOLVE R_STRING_1_FontFace"; 1822 static $has_Callback(mthis, fontFace) native "FontFaceSet_has_Callback_RESOLVE R_STRING_1_FontFace";
2297 } 1823 }
2298 1824
2299 class BlinkFormData { 1825 class BlinkFormData {
2300 static $constructorCallback(form) native "FormData_constructorCallback_RESOLVE R_STRING_1_HTMLFormElement"; 1826 static $constructorCallback(form) native "FormData_constructorCallback_RESOLVE R_STRING_1_HTMLFormElement";
2301 1827
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
2650 static $textTracks_Getter(mthis) native "HTMLMediaElement_textTracks_Getter"; 2176 static $textTracks_Getter(mthis) native "HTMLMediaElement_textTracks_Getter";
2651 2177
2652 static $volume_Getter(mthis) native "HTMLMediaElement_volume_Getter"; 2178 static $volume_Getter(mthis) native "HTMLMediaElement_volume_Getter";
2653 2179
2654 static $volume_Setter(mthis, value) native "HTMLMediaElement_volume_Setter"; 2180 static $volume_Setter(mthis, value) native "HTMLMediaElement_volume_Setter";
2655 2181
2656 static $webkitAudioDecodedByteCount_Getter(mthis) native "HTMLMediaElement_web kitAudioDecodedByteCount_Getter"; 2182 static $webkitAudioDecodedByteCount_Getter(mthis) native "HTMLMediaElement_web kitAudioDecodedByteCount_Getter";
2657 2183
2658 static $webkitVideoDecodedByteCount_Getter(mthis) native "HTMLMediaElement_web kitVideoDecodedByteCount_Getter"; 2184 static $webkitVideoDecodedByteCount_Getter(mthis) native "HTMLMediaElement_web kitVideoDecodedByteCount_Getter";
2659 2185
2660 // Generated overload resolver
2661 static $addTextTrack(mthis, kind, label, language) {
2662 if (language != null) {
2663 return $_addTextTrack_1_Callback(mthis, kind, label, language);
2664 }
2665 if (label != null) {
2666 return $_addTextTrack_2_Callback(mthis, kind, label);
2667 }
2668 return $_addTextTrack_3_Callback(mthis, kind);
2669 }
2670
2671 static $_addTextTrack_1_Callback(mthis, kind, label, language) native "HTMLMed iaElement_addTextTrack_Callback_RESOLVER_STRING_3_DOMString_DOMString_DOMString" ; 2186 static $_addTextTrack_1_Callback(mthis, kind, label, language) native "HTMLMed iaElement_addTextTrack_Callback_RESOLVER_STRING_3_DOMString_DOMString_DOMString" ;
2672 2187
2673 static $_addTextTrack_2_Callback(mthis, kind, label) native "HTMLMediaElement_ addTextTrack_Callback_RESOLVER_STRING_2_DOMString_DOMString"; 2188 static $_addTextTrack_2_Callback(mthis, kind, label) native "HTMLMediaElement_ addTextTrack_Callback_RESOLVER_STRING_2_DOMString_DOMString";
2674 2189
2675 static $_addTextTrack_3_Callback(mthis, kind) native "HTMLMediaElement_addText Track_Callback_RESOLVER_STRING_1_DOMString"; 2190 static $_addTextTrack_3_Callback(mthis, kind) native "HTMLMediaElement_addText Track_Callback_RESOLVER_STRING_1_DOMString";
2676 2191
2677 static $canPlayType_Callback(mthis, type, keySystem) native "HTMLMediaElement_ canPlayType_Callback_RESOLVER_STRING_2_DOMString_DOMString"; 2192 static $canPlayType_Callback(mthis, type, keySystem) native "HTMLMediaElement_ canPlayType_Callback_RESOLVER_STRING_2_DOMString_DOMString";
2678 2193
2679 static $load_Callback(mthis) native "HTMLMediaElement_load_Callback_RESOLVER_S TRING_0_"; 2194 static $load_Callback(mthis) native "HTMLMediaElement_load_Callback_RESOLVER_S TRING_0_";
2680 2195
2681 static $pause_Callback(mthis) native "HTMLMediaElement_pause_Callback_RESOLVER _STRING_0_"; 2196 static $pause_Callback(mthis) native "HTMLMediaElement_pause_Callback_RESOLVER _STRING_0_";
2682 2197
2683 static $play_Callback(mthis) native "HTMLMediaElement_play_Callback_RESOLVER_S TRING_0_"; 2198 static $play_Callback(mthis) native "HTMLMediaElement_play_Callback_RESOLVER_S TRING_0_";
2684 2199
2685 static $setMediaKeys_Callback(mthis, mediaKeys) native "HTMLMediaElement_setMe diaKeys_Callback_RESOLVER_STRING_1_MediaKeys"; 2200 static $setMediaKeys_Callback(mthis, mediaKeys) native "HTMLMediaElement_setMe diaKeys_Callback_RESOLVER_STRING_1_MediaKeys";
2686 2201
2687 // Generated overload resolver
2688 static $addKey(mthis, keySystem, key, initData, sessionId) {
2689 if (initData != null) {
2690 $_webkitAddKey_1_Callback(mthis, keySystem, key, initData, sessionId);
2691 return;
2692 }
2693 $_webkitAddKey_2_Callback(mthis, keySystem, key);
2694 return;
2695 }
2696
2697 static $_webkitAddKey_1_Callback(mthis, keySystem, key, initData, sessionId) n ative "HTMLMediaElement_webkitAddKey_Callback_RESOLVER_STRING_4_DOMString_Uint8A rray_Uint8Array_DOMString"; 2202 static $_webkitAddKey_1_Callback(mthis, keySystem, key, initData, sessionId) n ative "HTMLMediaElement_webkitAddKey_Callback_RESOLVER_STRING_4_DOMString_Uint8A rray_Uint8Array_DOMString";
2698 2203
2699 static $_webkitAddKey_2_Callback(mthis, keySystem, key) native "HTMLMediaEleme nt_webkitAddKey_Callback_RESOLVER_STRING_2_DOMString_Uint8Array"; 2204 static $_webkitAddKey_2_Callback(mthis, keySystem, key) native "HTMLMediaEleme nt_webkitAddKey_Callback_RESOLVER_STRING_2_DOMString_Uint8Array";
2700 2205
2701 static $webkitCancelKeyRequest_Callback(mthis, keySystem, sessionId) native "H TMLMediaElement_webkitCancelKeyRequest_Callback_RESOLVER_STRING_2_DOMString_DOMS tring"; 2206 static $webkitCancelKeyRequest_Callback(mthis, keySystem, sessionId) native "H TMLMediaElement_webkitCancelKeyRequest_Callback_RESOLVER_STRING_2_DOMString_DOMS tring";
2702 2207
2703 // Generated overload resolver
2704 static $generateKeyRequest(mthis, keySystem, initData) {
2705 if (initData != null) {
2706 $_webkitGenerateKeyRequest_1_Callback(mthis, keySystem, initData);
2707 return;
2708 }
2709 $_webkitGenerateKeyRequest_2_Callback(mthis, keySystem);
2710 return;
2711 }
2712
2713 static $_webkitGenerateKeyRequest_1_Callback(mthis, keySystem, initData) nativ e "HTMLMediaElement_webkitGenerateKeyRequest_Callback_RESOLVER_STRING_2_DOMStrin g_Uint8Array"; 2208 static $_webkitGenerateKeyRequest_1_Callback(mthis, keySystem, initData) nativ e "HTMLMediaElement_webkitGenerateKeyRequest_Callback_RESOLVER_STRING_2_DOMStrin g_Uint8Array";
2714 2209
2715 static $_webkitGenerateKeyRequest_2_Callback(mthis, keySystem) native "HTMLMed iaElement_webkitGenerateKeyRequest_Callback_RESOLVER_STRING_1_DOMString"; 2210 static $_webkitGenerateKeyRequest_2_Callback(mthis, keySystem) native "HTMLMed iaElement_webkitGenerateKeyRequest_Callback_RESOLVER_STRING_1_DOMString";
2716 } 2211 }
2717 2212
2718 class BlinkHTMLAudioElement { 2213 class BlinkHTMLAudioElement {
2719 // Generated overload resolver
2720 static $mkAudioElement(src) {
2721 return $_create_1constructorCallback(src);
2722 }
2723
2724 static $_create_1constructorCallback(src) native "HTMLAudioElement_constructor Callback_RESOLVER_STRING_1_DOMString"; 2214 static $_create_1constructorCallback(src) native "HTMLAudioElement_constructor Callback_RESOLVER_STRING_1_DOMString";
2725 } 2215 }
2726 2216
2727 class BlinkHTMLBRElement {} 2217 class BlinkHTMLBRElement {}
2728 2218
2729 class BlinkHTMLBaseElement { 2219 class BlinkHTMLBaseElement {
2730 static $href_Getter(mthis) native "HTMLBaseElement_href_Getter"; 2220 static $href_Getter(mthis) native "HTMLBaseElement_href_Getter";
2731 2221
2732 static $href_Setter(mthis, value) native "HTMLBaseElement_href_Setter"; 2222 static $href_Setter(mthis, value) native "HTMLBaseElement_href_Setter";
2733 2223
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
3230 static $width_Setter(mthis, value) native "HTMLInputElement_width_Setter"; 2720 static $width_Setter(mthis, value) native "HTMLInputElement_width_Setter";
3231 2721
3232 static $willValidate_Getter(mthis) native "HTMLInputElement_willValidate_Gette r"; 2722 static $willValidate_Getter(mthis) native "HTMLInputElement_willValidate_Gette r";
3233 2723
3234 static $checkValidity_Callback(mthis) native "HTMLInputElement_checkValidity_C allback_RESOLVER_STRING_0_"; 2724 static $checkValidity_Callback(mthis) native "HTMLInputElement_checkValidity_C allback_RESOLVER_STRING_0_";
3235 2725
3236 static $select_Callback(mthis) native "HTMLInputElement_select_Callback_RESOLV ER_STRING_0_"; 2726 static $select_Callback(mthis) native "HTMLInputElement_select_Callback_RESOLV ER_STRING_0_";
3237 2727
3238 static $setCustomValidity_Callback(mthis, error) native "HTMLInputElement_setC ustomValidity_Callback_RESOLVER_STRING_1_DOMString"; 2728 static $setCustomValidity_Callback(mthis, error) native "HTMLInputElement_setC ustomValidity_Callback_RESOLVER_STRING_1_DOMString";
3239 2729
3240 // Generated overload resolver
3241 static $setRangeText(mthis, replacement, start, end, selectionMode) {
3242 if ((replacement is String || replacement == null) && start == null && end = = null && selectionMode == null) {
3243 $_setRangeText_1_Callback(mthis, replacement);
3244 return;
3245 }
3246 if ((selectionMode is String || selectionMode == null) && (end is int || end == null) && (start is int || start == null) && (replacement is String || replac ement == null)) {
3247 $_setRangeText_2_Callback(mthis, replacement, start, end, selectionMode);
3248 return;
3249 }
3250 throw new ArgumentError("Incorrect number or type of arguments");
3251 }
3252
3253 static $_setRangeText_1_Callback(mthis, replacement) native "HTMLInputElement_ setRangeText_Callback_RESOLVER_STRING_1_DOMString"; 2730 static $_setRangeText_1_Callback(mthis, replacement) native "HTMLInputElement_ setRangeText_Callback_RESOLVER_STRING_1_DOMString";
3254 2731
3255 static $_setRangeText_2_Callback(mthis, replacement, start, end, selectionMode ) native "HTMLInputElement_setRangeText_Callback_RESOLVER_STRING_4_DOMString_uns igned long_unsigned long_DOMString"; 2732 static $_setRangeText_2_Callback(mthis, replacement, start, end, selectionMode ) native "HTMLInputElement_setRangeText_Callback_RESOLVER_STRING_4_DOMString_uns igned long_unsigned long_DOMString";
3256 2733
3257 // Generated overload resolver
3258 static $setSelectionRange(mthis, start, end, direction) {
3259 if (direction != null) {
3260 $_setSelectionRange_1_Callback(mthis, start, end, direction);
3261 return;
3262 }
3263 $_setSelectionRange_2_Callback(mthis, start, end);
3264 return;
3265 }
3266
3267 static $_setSelectionRange_1_Callback(mthis, start, end, direction) native "HT MLInputElement_setSelectionRange_Callback_RESOLVER_STRING_3_long_long_DOMString" ; 2734 static $_setSelectionRange_1_Callback(mthis, start, end, direction) native "HT MLInputElement_setSelectionRange_Callback_RESOLVER_STRING_3_long_long_DOMString" ;
3268 2735
3269 static $_setSelectionRange_2_Callback(mthis, start, end) native "HTMLInputElem ent_setSelectionRange_Callback_RESOLVER_STRING_2_long_long"; 2736 static $_setSelectionRange_2_Callback(mthis, start, end) native "HTMLInputElem ent_setSelectionRange_Callback_RESOLVER_STRING_2_long_long";
3270 2737
3271 // Generated overload resolver
3272 static $stepDown(mthis, n) {
3273 if (n != null) {
3274 $_stepDown_1_Callback(mthis, n);
3275 return;
3276 }
3277 $_stepDown_2_Callback(mthis);
3278 return;
3279 }
3280
3281 static $_stepDown_1_Callback(mthis, n) native "HTMLInputElement_stepDown_Callb ack_RESOLVER_STRING_1_long"; 2738 static $_stepDown_1_Callback(mthis, n) native "HTMLInputElement_stepDown_Callb ack_RESOLVER_STRING_1_long";
3282 2739
3283 static $_stepDown_2_Callback(mthis) native "HTMLInputElement_stepDown_Callback _RESOLVER_STRING_0_"; 2740 static $_stepDown_2_Callback(mthis) native "HTMLInputElement_stepDown_Callback _RESOLVER_STRING_0_";
3284 2741
3285 // Generated overload resolver
3286 static $stepUp(mthis, n) {
3287 if (n != null) {
3288 $_stepUp_1_Callback(mthis, n);
3289 return;
3290 }
3291 $_stepUp_2_Callback(mthis);
3292 return;
3293 }
3294
3295 static $_stepUp_1_Callback(mthis, n) native "HTMLInputElement_stepUp_Callback_ RESOLVER_STRING_1_long"; 2742 static $_stepUp_1_Callback(mthis, n) native "HTMLInputElement_stepUp_Callback_ RESOLVER_STRING_1_long";
3296 2743
3297 static $_stepUp_2_Callback(mthis) native "HTMLInputElement_stepUp_Callback_RES OLVER_STRING_0_"; 2744 static $_stepUp_2_Callback(mthis) native "HTMLInputElement_stepUp_Callback_RES OLVER_STRING_0_";
3298 } 2745 }
3299 2746
3300 class BlinkHTMLKeygenElement { 2747 class BlinkHTMLKeygenElement {
3301 static $autofocus_Getter(mthis) native "HTMLKeygenElement_autofocus_Getter"; 2748 static $autofocus_Getter(mthis) native "HTMLKeygenElement_autofocus_Getter";
3302 2749
3303 static $autofocus_Setter(mthis, value) native "HTMLKeygenElement_autofocus_Set ter"; 2750 static $autofocus_Setter(mthis, value) native "HTMLKeygenElement_autofocus_Set ter";
3304 2751
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
3515 static $disabled_Getter(mthis) native "HTMLOptGroupElement_disabled_Getter"; 2962 static $disabled_Getter(mthis) native "HTMLOptGroupElement_disabled_Getter";
3516 2963
3517 static $disabled_Setter(mthis, value) native "HTMLOptGroupElement_disabled_Set ter"; 2964 static $disabled_Setter(mthis, value) native "HTMLOptGroupElement_disabled_Set ter";
3518 2965
3519 static $label_Getter(mthis) native "HTMLOptGroupElement_label_Getter"; 2966 static $label_Getter(mthis) native "HTMLOptGroupElement_label_Getter";
3520 2967
3521 static $label_Setter(mthis, value) native "HTMLOptGroupElement_label_Setter"; 2968 static $label_Setter(mthis, value) native "HTMLOptGroupElement_label_Setter";
3522 } 2969 }
3523 2970
3524 class BlinkHTMLOptionElement { 2971 class BlinkHTMLOptionElement {
3525 // Generated overload resolver
3526 static $mkOptionElement__(data, value, defaultSelected, selected) {
3527 return $_create_1constructorCallback(data, value, defaultSelected, selected) ;
3528 }
3529
3530 static $_create_1constructorCallback(data, value, defaultSelected, selected) n ative "HTMLOptionElement_constructorCallback_RESOLVER_STRING_4_DOMString_DOMStri ng_boolean_boolean"; 2972 static $_create_1constructorCallback(data, value, defaultSelected, selected) n ative "HTMLOptionElement_constructorCallback_RESOLVER_STRING_4_DOMString_DOMStri ng_boolean_boolean";
3531 2973
3532 static $defaultSelected_Getter(mthis) native "HTMLOptionElement_defaultSelecte d_Getter"; 2974 static $defaultSelected_Getter(mthis) native "HTMLOptionElement_defaultSelecte d_Getter";
3533 2975
3534 static $defaultSelected_Setter(mthis, value) native "HTMLOptionElement_default Selected_Setter"; 2976 static $defaultSelected_Setter(mthis, value) native "HTMLOptionElement_default Selected_Setter";
3535 2977
3536 static $disabled_Getter(mthis) native "HTMLOptionElement_disabled_Getter"; 2978 static $disabled_Getter(mthis) native "HTMLOptionElement_disabled_Getter";
3537 2979
3538 static $disabled_Setter(mthis, value) native "HTMLOptionElement_disabled_Sette r"; 2980 static $disabled_Setter(mthis, value) native "HTMLOptionElement_disabled_Sette r";
3539 2981
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
3922 static $wrap_Getter(mthis) native "HTMLTextAreaElement_wrap_Getter"; 3364 static $wrap_Getter(mthis) native "HTMLTextAreaElement_wrap_Getter";
3923 3365
3924 static $wrap_Setter(mthis, value) native "HTMLTextAreaElement_wrap_Setter"; 3366 static $wrap_Setter(mthis, value) native "HTMLTextAreaElement_wrap_Setter";
3925 3367
3926 static $checkValidity_Callback(mthis) native "HTMLTextAreaElement_checkValidit y_Callback_RESOLVER_STRING_0_"; 3368 static $checkValidity_Callback(mthis) native "HTMLTextAreaElement_checkValidit y_Callback_RESOLVER_STRING_0_";
3927 3369
3928 static $select_Callback(mthis) native "HTMLTextAreaElement_select_Callback_RES OLVER_STRING_0_"; 3370 static $select_Callback(mthis) native "HTMLTextAreaElement_select_Callback_RES OLVER_STRING_0_";
3929 3371
3930 static $setCustomValidity_Callback(mthis, error) native "HTMLTextAreaElement_s etCustomValidity_Callback_RESOLVER_STRING_1_DOMString"; 3372 static $setCustomValidity_Callback(mthis, error) native "HTMLTextAreaElement_s etCustomValidity_Callback_RESOLVER_STRING_1_DOMString";
3931 3373
3932 // Generated overload resolver
3933 static $setRangeText(mthis, replacement, start, end, selectionMode) {
3934 if ((replacement is String || replacement == null) && start == null && end = = null && selectionMode == null) {
3935 $_setRangeText_1_Callback(mthis, replacement);
3936 return;
3937 }
3938 if ((selectionMode is String || selectionMode == null) && (end is int || end == null) && (start is int || start == null) && (replacement is String || replac ement == null)) {
3939 $_setRangeText_2_Callback(mthis, replacement, start, end, selectionMode);
3940 return;
3941 }
3942 throw new ArgumentError("Incorrect number or type of arguments");
3943 }
3944
3945 static $_setRangeText_1_Callback(mthis, replacement) native "HTMLTextAreaEleme nt_setRangeText_Callback_RESOLVER_STRING_1_DOMString"; 3374 static $_setRangeText_1_Callback(mthis, replacement) native "HTMLTextAreaEleme nt_setRangeText_Callback_RESOLVER_STRING_1_DOMString";
3946 3375
3947 static $_setRangeText_2_Callback(mthis, replacement, start, end, selectionMode ) native "HTMLTextAreaElement_setRangeText_Callback_RESOLVER_STRING_4_DOMString_ unsigned long_unsigned long_DOMString"; 3376 static $_setRangeText_2_Callback(mthis, replacement, start, end, selectionMode ) native "HTMLTextAreaElement_setRangeText_Callback_RESOLVER_STRING_4_DOMString_ unsigned long_unsigned long_DOMString";
3948 3377
3949 // Generated overload resolver
3950 static $setSelectionRange(mthis, start, end, direction) {
3951 if (direction != null) {
3952 $_setSelectionRange_1_Callback(mthis, start, end, direction);
3953 return;
3954 }
3955 $_setSelectionRange_2_Callback(mthis, start, end);
3956 return;
3957 }
3958
3959 static $_setSelectionRange_1_Callback(mthis, start, end, direction) native "HT MLTextAreaElement_setSelectionRange_Callback_RESOLVER_STRING_3_long_long_DOMStri ng"; 3378 static $_setSelectionRange_1_Callback(mthis, start, end, direction) native "HT MLTextAreaElement_setSelectionRange_Callback_RESOLVER_STRING_3_long_long_DOMStri ng";
3960 3379
3961 static $_setSelectionRange_2_Callback(mthis, start, end) native "HTMLTextAreaE lement_setSelectionRange_Callback_RESOLVER_STRING_2_long_long"; 3380 static $_setSelectionRange_2_Callback(mthis, start, end) native "HTMLTextAreaE lement_setSelectionRange_Callback_RESOLVER_STRING_2_long_long";
3962 } 3381 }
3963 3382
3964 class BlinkHTMLTitleElement {} 3383 class BlinkHTMLTitleElement {}
3965 3384
3966 class BlinkHTMLTrackElement { 3385 class BlinkHTMLTrackElement {
3967 static $default_Getter(mthis) native "HTMLTrackElement_default_Getter"; 3386 static $default_Getter(mthis) native "HTMLTrackElement_default_Getter";
3968 3387
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
4075 static $objectStoreNames_Getter(mthis) native "IDBDatabase_objectStoreNames_Ge tter"; 3494 static $objectStoreNames_Getter(mthis) native "IDBDatabase_objectStoreNames_Ge tter";
4076 3495
4077 static $version_Getter(mthis) native "IDBDatabase_version_Getter"; 3496 static $version_Getter(mthis) native "IDBDatabase_version_Getter";
4078 3497
4079 static $close_Callback(mthis) native "IDBDatabase_close_Callback_RESOLVER_STRI NG_0_"; 3498 static $close_Callback(mthis) native "IDBDatabase_close_Callback_RESOLVER_STRI NG_0_";
4080 3499
4081 static $createObjectStore_Callback(mthis, name, options) native "IDBDatabase_c reateObjectStore_Callback_RESOLVER_STRING_2_DOMString_Dictionary"; 3500 static $createObjectStore_Callback(mthis, name, options) native "IDBDatabase_c reateObjectStore_Callback_RESOLVER_STRING_2_DOMString_Dictionary";
4082 3501
4083 static $deleteObjectStore_Callback(mthis, name) native "IDBDatabase_deleteObje ctStore_Callback_RESOLVER_STRING_1_DOMString"; 3502 static $deleteObjectStore_Callback(mthis, name) native "IDBDatabase_deleteObje ctStore_Callback_RESOLVER_STRING_1_DOMString";
4084 3503
4085 // Generated overload resolver
4086 static $transaction(mthis, storeName_OR_storeNames, mode) {
4087 if ((mode is String || mode == null) && (storeName_OR_storeNames is DomStrin gList || storeName_OR_storeNames == null)) {
4088 return $_transaction_1_Callback(mthis, storeName_OR_storeNames, mode);
4089 }
4090 if ((mode is String || mode == null) && (storeName_OR_storeNames is List<Str ing> || storeName_OR_storeNames == null)) {
4091 return $_transaction_2_Callback(mthis, storeName_OR_storeNames, mode);
4092 }
4093 if ((mode is String || mode == null) && (storeName_OR_storeNames is String | | storeName_OR_storeNames == null)) {
4094 return $_transaction_3_Callback(mthis, storeName_OR_storeNames, mode);
4095 }
4096 throw new ArgumentError("Incorrect number or type of arguments");
4097 }
4098
4099 static $_transaction_1_Callback(mthis, storeName_OR_storeNames, mode) native " IDBDatabase_transaction_Callback_RESOLVER_STRING_2_DOMStringList_DOMString"; 3504 static $_transaction_1_Callback(mthis, storeName_OR_storeNames, mode) native " IDBDatabase_transaction_Callback_RESOLVER_STRING_2_DOMStringList_DOMString";
4100 3505
4101 static $_transaction_2_Callback(mthis, storeName_OR_storeNames, mode) native " IDBDatabase_transaction_Callback_RESOLVER_STRING_2_sequence<DOMString>_DOMString "; 3506 static $_transaction_2_Callback(mthis, storeName_OR_storeNames, mode) native " IDBDatabase_transaction_Callback_RESOLVER_STRING_2_sequence<DOMString>_DOMString ";
4102 3507
4103 static $_transaction_3_Callback(mthis, storeName_OR_storeNames, mode) native " IDBDatabase_transaction_Callback_RESOLVER_STRING_2_DOMString_DOMString"; 3508 static $_transaction_3_Callback(mthis, storeName_OR_storeNames, mode) native " IDBDatabase_transaction_Callback_RESOLVER_STRING_2_DOMString_DOMString";
4104 3509
4105 static $transactionList_Callback(mthis, storeNames, mode) native "IDBDatabase_ transaction_Callback_RESOLVER_STRING_2_sequence<DOMString>_DOMString"; 3510 static $transactionList_Callback(mthis, storeNames, mode) native "IDBDatabase_ transaction_Callback_RESOLVER_STRING_2_sequence<DOMString>_DOMString";
4106 3511
4107 static $transactionStore_Callback(mthis, storeName, mode) native "IDBDatabase_ transaction_Callback_RESOLVER_STRING_2_DOMString_DOMString"; 3512 static $transactionStore_Callback(mthis, storeName, mode) native "IDBDatabase_ transaction_Callback_RESOLVER_STRING_2_DOMString_DOMString";
4108 3513
4109 static $transactionStores_Callback(mthis, storeNames, mode) native "IDBDatabas e_transaction_Callback_RESOLVER_STRING_2_DOMStringList_DOMString"; 3514 static $transactionStores_Callback(mthis, storeNames, mode) native "IDBDatabas e_transaction_Callback_RESOLVER_STRING_2_DOMStringList_DOMString";
4110 } 3515 }
4111 3516
4112 class BlinkIDBFactory { 3517 class BlinkIDBFactory {
4113 static $cmp_Callback(mthis, first, second) native "IDBFactory_cmp_Callback_RES OLVER_STRING_2_ScriptValue_ScriptValue"; 3518 static $cmp_Callback(mthis, first, second) native "IDBFactory_cmp_Callback_RES OLVER_STRING_2_ScriptValue_ScriptValue";
4114 3519
4115 static $deleteDatabase_Callback(mthis, name) native "IDBFactory_deleteDatabase _Callback_RESOLVER_STRING_1_DOMString"; 3520 static $deleteDatabase_Callback(mthis, name) native "IDBFactory_deleteDatabase _Callback_RESOLVER_STRING_1_DOMString";
4116 3521
4117 // Generated overload resolver
4118 static $_open(mthis, name, version) {
4119 if (version != null) {
4120 return $_open_1_Callback(mthis, name, version);
4121 }
4122 return $_open_2_Callback(mthis, name);
4123 }
4124
4125 static $_open_1_Callback(mthis, name, version) native "IDBFactory_open_Callbac k_RESOLVER_STRING_2_DOMString_unsigned long long"; 3522 static $_open_1_Callback(mthis, name, version) native "IDBFactory_open_Callbac k_RESOLVER_STRING_2_DOMString_unsigned long long";
4126 3523
4127 static $_open_2_Callback(mthis, name) native "IDBFactory_open_Callback_RESOLVE R_STRING_1_DOMString"; 3524 static $_open_2_Callback(mthis, name) native "IDBFactory_open_Callback_RESOLVE R_STRING_1_DOMString";
4128 3525
4129 static $webkitGetDatabaseNames_Callback(mthis) native "IDBFactory_webkitGetDat abaseNames_Callback_RESOLVER_STRING_0_"; 3526 static $webkitGetDatabaseNames_Callback(mthis) native "IDBFactory_webkitGetDat abaseNames_Callback_RESOLVER_STRING_0_";
4130 } 3527 }
4131 3528
4132 class BlinkIDBIndex { 3529 class BlinkIDBIndex {
4133 static $keyPath_Getter(mthis) native "IDBIndex_keyPath_Getter"; 3530 static $keyPath_Getter(mthis) native "IDBIndex_keyPath_Getter";
4134 3531
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
4179 static $name_Getter(mthis) native "IDBObjectStore_name_Getter"; 3576 static $name_Getter(mthis) native "IDBObjectStore_name_Getter";
4180 3577
4181 static $transaction_Getter(mthis) native "IDBObjectStore_transaction_Getter"; 3578 static $transaction_Getter(mthis) native "IDBObjectStore_transaction_Getter";
4182 3579
4183 static $add_Callback(mthis, value, key) native "IDBObjectStore_add_Callback_RE SOLVER_STRING_2_ScriptValue_ScriptValue"; 3580 static $add_Callback(mthis, value, key) native "IDBObjectStore_add_Callback_RE SOLVER_STRING_2_ScriptValue_ScriptValue";
4184 3581
4185 static $clear_Callback(mthis) native "IDBObjectStore_clear_Callback_RESOLVER_S TRING_0_"; 3582 static $clear_Callback(mthis) native "IDBObjectStore_clear_Callback_RESOLVER_S TRING_0_";
4186 3583
4187 static $count_Callback(mthis, key) native "IDBObjectStore_count_Callback_RESOL VER_STRING_1_ScriptValue"; 3584 static $count_Callback(mthis, key) native "IDBObjectStore_count_Callback_RESOL VER_STRING_1_ScriptValue";
4188 3585
4189 // Generated overload resolver
4190 static $_createIndex(mthis, name, keyPath, options) {
4191 if ((options is Map || options == null) && (keyPath is List<String> || keyPa th == null) && (name is String || name == null)) {
4192 return $_createIndex_1_Callback(mthis, name, keyPath, options);
4193 }
4194 if ((options is Map || options == null) && (keyPath is String || keyPath == null) && (name is String || name == null)) {
4195 return $_createIndex_2_Callback(mthis, name, keyPath, options);
4196 }
4197 throw new ArgumentError("Incorrect number or type of arguments");
4198 }
4199
4200 static $_createIndex_1_Callback(mthis, name, keyPath, options) native "IDBObje ctStore_createIndex_Callback_RESOLVER_STRING_3_DOMString_sequence<DOMString>_Dic tionary"; 3586 static $_createIndex_1_Callback(mthis, name, keyPath, options) native "IDBObje ctStore_createIndex_Callback_RESOLVER_STRING_3_DOMString_sequence<DOMString>_Dic tionary";
4201 3587
4202 static $_createIndex_2_Callback(mthis, name, keyPath, options) native "IDBObje ctStore_createIndex_Callback_RESOLVER_STRING_3_DOMString_DOMString_Dictionary"; 3588 static $_createIndex_2_Callback(mthis, name, keyPath, options) native "IDBObje ctStore_createIndex_Callback_RESOLVER_STRING_3_DOMString_DOMString_Dictionary";
4203 3589
4204 static $delete_Callback(mthis, key) native "IDBObjectStore_delete_Callback_RES OLVER_STRING_1_ScriptValue"; 3590 static $delete_Callback(mthis, key) native "IDBObjectStore_delete_Callback_RES OLVER_STRING_1_ScriptValue";
4205 3591
4206 static $deleteIndex_Callback(mthis, name) native "IDBObjectStore_deleteIndex_C allback_RESOLVER_STRING_1_DOMString"; 3592 static $deleteIndex_Callback(mthis, name) native "IDBObjectStore_deleteIndex_C allback_RESOLVER_STRING_1_DOMString";
4207 3593
4208 static $get_Callback(mthis, key) native "IDBObjectStore_get_Callback_RESOLVER_ STRING_1_ScriptValue"; 3594 static $get_Callback(mthis, key) native "IDBObjectStore_get_Callback_RESOLVER_ STRING_1_ScriptValue";
4209 3595
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
4404 3790
4405 class BlinkMIDIInput {} 3791 class BlinkMIDIInput {}
4406 3792
4407 class BlinkMIDIMessageEvent { 3793 class BlinkMIDIMessageEvent {
4408 static $data_Getter(mthis) native "MIDIMessageEvent_data_Getter"; 3794 static $data_Getter(mthis) native "MIDIMessageEvent_data_Getter";
4409 3795
4410 static $receivedTime_Getter(mthis) native "MIDIMessageEvent_receivedTime_Gette r"; 3796 static $receivedTime_Getter(mthis) native "MIDIMessageEvent_receivedTime_Gette r";
4411 } 3797 }
4412 3798
4413 class BlinkMIDIOutput { 3799 class BlinkMIDIOutput {
4414 // Generated overload resolver
4415 static $send(mthis, data, timestamp) {
4416 if (timestamp != null) {
4417 $_send_1_Callback(mthis, data, timestamp);
4418 return;
4419 }
4420 $_send_2_Callback(mthis, data);
4421 return;
4422 }
4423
4424 static $_send_1_Callback(mthis, data, timestamp) native "MIDIOutput_send_Callb ack_RESOLVER_STRING_2_Uint8Array_double"; 3800 static $_send_1_Callback(mthis, data, timestamp) native "MIDIOutput_send_Callb ack_RESOLVER_STRING_2_Uint8Array_double";
4425 3801
4426 static $_send_2_Callback(mthis, data) native "MIDIOutput_send_Callback_RESOLVE R_STRING_1_Uint8Array"; 3802 static $_send_2_Callback(mthis, data) native "MIDIOutput_send_Callback_RESOLVE R_STRING_1_Uint8Array";
4427 } 3803 }
4428 3804
4429 class BlinkMediaController { 3805 class BlinkMediaController {
4430 // Generated overload resolver
4431 static $mkMediaController() {
4432 return $_create_1constructorCallback();
4433 }
4434
4435 static $_create_1constructorCallback() native "MediaController_constructorCall back_RESOLVER_STRING_0_"; 3806 static $_create_1constructorCallback() native "MediaController_constructorCall back_RESOLVER_STRING_0_";
4436 3807
4437 static $buffered_Getter(mthis) native "MediaController_buffered_Getter"; 3808 static $buffered_Getter(mthis) native "MediaController_buffered_Getter";
4438 3809
4439 static $currentTime_Getter(mthis) native "MediaController_currentTime_Getter"; 3810 static $currentTime_Getter(mthis) native "MediaController_currentTime_Getter";
4440 3811
4441 static $currentTime_Setter(mthis, value) native "MediaController_currentTime_S etter"; 3812 static $currentTime_Setter(mthis, value) native "MediaController_currentTime_S etter";
4442 3813
4443 static $defaultPlaybackRate_Getter(mthis) native "MediaController_defaultPlayb ackRate_Getter"; 3814 static $defaultPlaybackRate_Getter(mthis) native "MediaController_defaultPlayb ackRate_Getter";
4444 3815
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
4521 static $keySystem_Getter(mthis) native "MediaKeySession_keySystem_Getter"; 3892 static $keySystem_Getter(mthis) native "MediaKeySession_keySystem_Getter";
4522 3893
4523 static $sessionId_Getter(mthis) native "MediaKeySession_sessionId_Getter"; 3894 static $sessionId_Getter(mthis) native "MediaKeySession_sessionId_Getter";
4524 3895
4525 static $release_Callback(mthis) native "MediaKeySession_release_Callback_RESOL VER_STRING_0_"; 3896 static $release_Callback(mthis) native "MediaKeySession_release_Callback_RESOL VER_STRING_0_";
4526 3897
4527 static $update_Callback(mthis, response) native "MediaKeySession_update_Callba ck_RESOLVER_STRING_1_Uint8Array"; 3898 static $update_Callback(mthis, response) native "MediaKeySession_update_Callba ck_RESOLVER_STRING_1_Uint8Array";
4528 } 3899 }
4529 3900
4530 class BlinkMediaKeys { 3901 class BlinkMediaKeys {
4531 // Generated overload resolver
4532 static $mkMediaKeys(keySystem) {
4533 return $_create_1constructorCallback(keySystem);
4534 }
4535
4536 static $_create_1constructorCallback(keySystem) native "MediaKeys_constructorC allback_RESOLVER_STRING_1_DOMString"; 3902 static $_create_1constructorCallback(keySystem) native "MediaKeys_constructorC allback_RESOLVER_STRING_1_DOMString";
4537 3903
4538 static $keySystem_Getter(mthis) native "MediaKeys_keySystem_Getter"; 3904 static $keySystem_Getter(mthis) native "MediaKeys_keySystem_Getter";
4539 3905
4540 static $createSession_Callback(mthis, type, initData) native "MediaKeys_create Session_Callback_RESOLVER_STRING_2_DOMString_Uint8Array"; 3906 static $createSession_Callback(mthis, type, initData) native "MediaKeys_create Session_Callback_RESOLVER_STRING_2_DOMString_Uint8Array";
4541 } 3907 }
4542 3908
4543 class BlinkMediaList { 3909 class BlinkMediaList {
4544 static $length_Getter(mthis) native "MediaList_length_Getter"; 3910 static $length_Getter(mthis) native "MediaList_length_Getter";
4545 3911
4546 static $mediaText_Getter(mthis) native "MediaList_mediaText_Getter"; 3912 static $mediaText_Getter(mthis) native "MediaList_mediaText_Getter";
4547 3913
4548 static $mediaText_Setter(mthis, value) native "MediaList_mediaText_Setter"; 3914 static $mediaText_Setter(mthis, value) native "MediaList_mediaText_Setter";
4549 3915
4550 static $appendMedium_Callback(mthis, newMedium) native "MediaList_appendMedium _Callback_RESOLVER_STRING_1_DOMString"; 3916 static $appendMedium_Callback(mthis, newMedium) native "MediaList_appendMedium _Callback_RESOLVER_STRING_1_DOMString";
4551 3917
4552 static $deleteMedium_Callback(mthis, oldMedium) native "MediaList_deleteMedium _Callback_RESOLVER_STRING_1_DOMString"; 3918 static $deleteMedium_Callback(mthis, oldMedium) native "MediaList_deleteMedium _Callback_RESOLVER_STRING_1_DOMString";
4553 3919
4554 static $item_Callback(mthis, index) native "MediaList_item_Callback_RESOLVER_S TRING_1_unsigned long"; 3920 static $item_Callback(mthis, index) native "MediaList_item_Callback_RESOLVER_S TRING_1_unsigned long";
4555 } 3921 }
4556 3922
4557 class BlinkMediaQueryList { 3923 class BlinkMediaQueryList {
4558 static $matches_Getter(mthis) native "MediaQueryList_matches_Getter"; 3924 static $matches_Getter(mthis) native "MediaQueryList_matches_Getter";
4559 3925
4560 static $media_Getter(mthis) native "MediaQueryList_media_Getter"; 3926 static $media_Getter(mthis) native "MediaQueryList_media_Getter";
4561 } 3927 }
4562 3928
4563 class BlinkMediaSource { 3929 class BlinkMediaSource {
4564 // Generated overload resolver
4565 static $mkMediaSource() {
4566 return $_create_1constructorCallback();
4567 }
4568
4569 static $_create_1constructorCallback() native "MediaSource_constructorCallback _RESOLVER_STRING_0_"; 3930 static $_create_1constructorCallback() native "MediaSource_constructorCallback _RESOLVER_STRING_0_";
4570 3931
4571 static $activeSourceBuffers_Getter(mthis) native "MediaSource_activeSourceBuff ers_Getter"; 3932 static $activeSourceBuffers_Getter(mthis) native "MediaSource_activeSourceBuff ers_Getter";
4572 3933
4573 static $duration_Getter(mthis) native "MediaSource_duration_Getter"; 3934 static $duration_Getter(mthis) native "MediaSource_duration_Getter";
4574 3935
4575 static $duration_Setter(mthis, value) native "MediaSource_duration_Setter"; 3936 static $duration_Setter(mthis, value) native "MediaSource_duration_Setter";
4576 3937
4577 static $readyState_Getter(mthis) native "MediaSource_readyState_Getter"; 3938 static $readyState_Getter(mthis) native "MediaSource_readyState_Getter";
4578 3939
4579 static $sourceBuffers_Getter(mthis) native "MediaSource_sourceBuffers_Getter"; 3940 static $sourceBuffers_Getter(mthis) native "MediaSource_sourceBuffers_Getter";
4580 3941
4581 static $addSourceBuffer_Callback(mthis, type) native "MediaSource_addSourceBuf fer_Callback_RESOLVER_STRING_1_DOMString"; 3942 static $addSourceBuffer_Callback(mthis, type) native "MediaSource_addSourceBuf fer_Callback_RESOLVER_STRING_1_DOMString";
4582 3943
4583 // Generated overload resolver
4584 static $endOfStream(mthis, error) {
4585 if (error != null) {
4586 $_endOfStream_1_Callback(mthis, error);
4587 return;
4588 }
4589 $_endOfStream_2_Callback(mthis);
4590 return;
4591 }
4592
4593 static $_endOfStream_1_Callback(mthis, error) native "MediaSource_endOfStream_ Callback_RESOLVER_STRING_1_DOMString"; 3944 static $_endOfStream_1_Callback(mthis, error) native "MediaSource_endOfStream_ Callback_RESOLVER_STRING_1_DOMString";
4594 3945
4595 static $_endOfStream_2_Callback(mthis) native "MediaSource_endOfStream_Callbac k_RESOLVER_STRING_0_"; 3946 static $_endOfStream_2_Callback(mthis) native "MediaSource_endOfStream_Callbac k_RESOLVER_STRING_0_";
4596 3947
4597 static $isTypeSupported_Callback(type) native "MediaSource_isTypeSupported_Cal lback_RESOLVER_STRING_1_DOMString"; 3948 static $isTypeSupported_Callback(type) native "MediaSource_isTypeSupported_Cal lback_RESOLVER_STRING_1_DOMString";
4598 3949
4599 static $removeSourceBuffer_Callback(mthis, buffer) native "MediaSource_removeS ourceBuffer_Callback_RESOLVER_STRING_1_SourceBuffer"; 3950 static $removeSourceBuffer_Callback(mthis, buffer) native "MediaSource_removeS ourceBuffer_Callback_RESOLVER_STRING_1_SourceBuffer";
4600 } 3951 }
4601 3952
4602 class BlinkMediaStream { 3953 class BlinkMediaStream {
4603 // Generated overload resolver
4604 static $mkMediaStream(stream_OR_tracks) {
4605 if (stream_OR_tracks == null) {
4606 return $_create_1constructorCallback();
4607 }
4608 if ((stream_OR_tracks is MediaStream || stream_OR_tracks == null)) {
4609 return $_create_2constructorCallback(stream_OR_tracks);
4610 }
4611 if ((stream_OR_tracks is List<MediaStreamTrack> || stream_OR_tracks == null) ) {
4612 return $_create_3constructorCallback(stream_OR_tracks);
4613 }
4614 throw new ArgumentError("Incorrect number or type of arguments");
4615 }
4616
4617 static $_create_1constructorCallback() native "MediaStream_constructorCallback _RESOLVER_STRING_0_"; 3954 static $_create_1constructorCallback() native "MediaStream_constructorCallback _RESOLVER_STRING_0_";
4618 3955
4619 static $_create_2constructorCallback(stream_OR_tracks) native "MediaStream_con structorCallback_RESOLVER_STRING_1_MediaStream"; 3956 static $_create_2constructorCallback(stream_OR_tracks) native "MediaStream_con structorCallback_RESOLVER_STRING_1_MediaStream";
4620 3957
4621 static $_create_3constructorCallback(stream_OR_tracks) native "MediaStream_con structorCallback_RESOLVER_STRING_1_MediaStreamTrack[]"; 3958 static $_create_3constructorCallback(stream_OR_tracks) native "MediaStream_con structorCallback_RESOLVER_STRING_1_MediaStreamTrack[]";
4622 3959
4623 static $ended_Getter(mthis) native "MediaStream_ended_Getter"; 3960 static $ended_Getter(mthis) native "MediaStream_ended_Getter";
4624 3961
4625 static $id_Getter(mthis) native "MediaStream_id_Getter"; 3962 static $id_Getter(mthis) native "MediaStream_id_Getter";
4626 3963
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
4931 static $length_Getter(mthis) native "NodeList_length_Getter"; 4268 static $length_Getter(mthis) native "NodeList_length_Getter";
4932 4269
4933 static $NativeIndexed_Getter(mthis, index) native "NodeList_item_Callback_RESO LVER_STRING_1_unsigned long"; 4270 static $NativeIndexed_Getter(mthis, index) native "NodeList_item_Callback_RESO LVER_STRING_1_unsigned long";
4934 4271
4935 static $item_Callback(mthis, index) native "NodeList_item_Callback_RESOLVER_ST RING_1_unsigned long"; 4272 static $item_Callback(mthis, index) native "NodeList_item_Callback_RESOLVER_ST RING_1_unsigned long";
4936 } 4273 }
4937 4274
4938 class BlinkNotation {} 4275 class BlinkNotation {}
4939 4276
4940 class BlinkNotification { 4277 class BlinkNotification {
4941 // Generated overload resolver
4942 static $mkNotification(title, options) {
4943 return $_create_1constructorCallback(title, options);
4944 }
4945
4946 static $_create_1constructorCallback(title, options) native "Notification_cons tructorCallback_RESOLVER_STRING_2_DOMString_Dictionary"; 4278 static $_create_1constructorCallback(title, options) native "Notification_cons tructorCallback_RESOLVER_STRING_2_DOMString_Dictionary";
4947 4279
4948 static $body_Getter(mthis) native "Notification_body_Getter"; 4280 static $body_Getter(mthis) native "Notification_body_Getter";
4949 4281
4950 static $dir_Getter(mthis) native "Notification_dir_Getter"; 4282 static $dir_Getter(mthis) native "Notification_dir_Getter";
4951 4283
4952 static $icon_Getter(mthis) native "Notification_icon_Getter"; 4284 static $icon_Getter(mthis) native "Notification_icon_Getter";
4953 4285
4954 static $lang_Getter(mthis) native "Notification_lang_Getter"; 4286 static $lang_Getter(mthis) native "Notification_lang_Getter";
4955 4287
(...skipping 30 matching lines...) Expand all
4986 static $deleteVertexArrayOES_Callback(mthis, arrayObject) native "OESVertexArr ayObject_deleteVertexArrayOES_Callback_RESOLVER_STRING_1_WebGLVertexArrayObjectO ES"; 4318 static $deleteVertexArrayOES_Callback(mthis, arrayObject) native "OESVertexArr ayObject_deleteVertexArrayOES_Callback_RESOLVER_STRING_1_WebGLVertexArrayObjectO ES";
4987 4319
4988 static $isVertexArrayOES_Callback(mthis, arrayObject) native "OESVertexArrayOb ject_isVertexArrayOES_Callback_RESOLVER_STRING_1_WebGLVertexArrayObjectOES"; 4320 static $isVertexArrayOES_Callback(mthis, arrayObject) native "OESVertexArrayOb ject_isVertexArrayOES_Callback_RESOLVER_STRING_1_WebGLVertexArrayObjectOES";
4989 } 4321 }
4990 4322
4991 class BlinkOfflineAudioCompletionEvent { 4323 class BlinkOfflineAudioCompletionEvent {
4992 static $renderedBuffer_Getter(mthis) native "OfflineAudioCompletionEvent_rende redBuffer_Getter"; 4324 static $renderedBuffer_Getter(mthis) native "OfflineAudioCompletionEvent_rende redBuffer_Getter";
4993 } 4325 }
4994 4326
4995 class BlinkOfflineAudioContext { 4327 class BlinkOfflineAudioContext {
4996 // Generated overload resolver
4997 static $mkOfflineAudioContext(numberOfChannels, numberOfFrames, sampleRate) {
4998 return $_create_1constructorCallback(numberOfChannels, numberOfFrames, sampl eRate);
4999 }
5000
5001 static $_create_1constructorCallback(numberOfChannels, numberOfFrames, sampleR ate) native "OfflineAudioContext_constructorCallback_RESOLVER_STRING_3_unsigned long_unsigned long_float"; 4328 static $_create_1constructorCallback(numberOfChannels, numberOfFrames, sampleR ate) native "OfflineAudioContext_constructorCallback_RESOLVER_STRING_3_unsigned long_unsigned long_float";
5002 } 4329 }
5003 4330
5004 class BlinkOscillatorNode { 4331 class BlinkOscillatorNode {
5005 static $detune_Getter(mthis) native "OscillatorNode_detune_Getter"; 4332 static $detune_Getter(mthis) native "OscillatorNode_detune_Getter";
5006 4333
5007 static $frequency_Getter(mthis) native "OscillatorNode_frequency_Getter"; 4334 static $frequency_Getter(mthis) native "OscillatorNode_frequency_Getter";
5008 4335
5009 static $type_Getter(mthis) native "OscillatorNode_type_Getter"; 4336 static $type_Getter(mthis) native "OscillatorNode_type_Getter";
5010 4337
5011 static $type_Setter(mthis, value) native "OscillatorNode_type_Setter"; 4338 static $type_Setter(mthis, value) native "OscillatorNode_type_Setter";
5012 4339
5013 static $noteOff_Callback(mthis, when) native "OscillatorNode_noteOff_Callback_ RESOLVER_STRING_1_double"; 4340 static $noteOff_Callback(mthis, when) native "OscillatorNode_noteOff_Callback_ RESOLVER_STRING_1_double";
5014 4341
5015 static $noteOn_Callback(mthis, when) native "OscillatorNode_noteOn_Callback_RE SOLVER_STRING_1_double"; 4342 static $noteOn_Callback(mthis, when) native "OscillatorNode_noteOn_Callback_RE SOLVER_STRING_1_double";
5016 4343
5017 static $setPeriodicWave_Callback(mthis, periodicWave) native "OscillatorNode_s etPeriodicWave_Callback_RESOLVER_STRING_1_PeriodicWave"; 4344 static $setPeriodicWave_Callback(mthis, periodicWave) native "OscillatorNode_s etPeriodicWave_Callback_RESOLVER_STRING_1_PeriodicWave";
5018 4345
5019 // Generated overload resolver
5020 static $start(mthis, when) {
5021 if (when != null) {
5022 $_start_1_Callback(mthis, when);
5023 return;
5024 }
5025 $_start_2_Callback(mthis);
5026 return;
5027 }
5028
5029 static $_start_1_Callback(mthis, when) native "OscillatorNode_start_Callback_R ESOLVER_STRING_1_double"; 4346 static $_start_1_Callback(mthis, when) native "OscillatorNode_start_Callback_R ESOLVER_STRING_1_double";
5030 4347
5031 static $_start_2_Callback(mthis) native "OscillatorNode_start_Callback_RESOLVE R_STRING_0_"; 4348 static $_start_2_Callback(mthis) native "OscillatorNode_start_Callback_RESOLVE R_STRING_0_";
5032 4349
5033 // Generated overload resolver
5034 static $stop(mthis, when) {
5035 if (when != null) {
5036 $_stop_1_Callback(mthis, when);
5037 return;
5038 }
5039 $_stop_2_Callback(mthis);
5040 return;
5041 }
5042
5043 static $_stop_1_Callback(mthis, when) native "OscillatorNode_stop_Callback_RES OLVER_STRING_1_double"; 4350 static $_stop_1_Callback(mthis, when) native "OscillatorNode_stop_Callback_RES OLVER_STRING_1_double";
5044 4351
5045 static $_stop_2_Callback(mthis) native "OscillatorNode_stop_Callback_RESOLVER_ STRING_0_"; 4352 static $_stop_2_Callback(mthis) native "OscillatorNode_stop_Callback_RESOLVER_ STRING_0_";
5046 } 4353 }
5047 4354
5048 class BlinkOverflowEvent { 4355 class BlinkOverflowEvent {
5049 static $horizontalOverflow_Getter(mthis) native "OverflowEvent_horizontalOverf low_Getter"; 4356 static $horizontalOverflow_Getter(mthis) native "OverflowEvent_horizontalOverf low_Getter";
5050 4357
5051 static $orient_Getter(mthis) native "OverflowEvent_orient_Getter"; 4358 static $orient_Getter(mthis) native "OverflowEvent_orient_Getter";
5052 4359
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
5093 static $rolloffFactor_Setter(mthis, value) native "PannerNode_rolloffFactor_Se tter"; 4400 static $rolloffFactor_Setter(mthis, value) native "PannerNode_rolloffFactor_Se tter";
5094 4401
5095 static $setOrientation_Callback(mthis, x, y, z) native "PannerNode_setOrientat ion_Callback_RESOLVER_STRING_3_float_float_float"; 4402 static $setOrientation_Callback(mthis, x, y, z) native "PannerNode_setOrientat ion_Callback_RESOLVER_STRING_3_float_float_float";
5096 4403
5097 static $setPosition_Callback(mthis, x, y, z) native "PannerNode_setPosition_Ca llback_RESOLVER_STRING_3_float_float_float"; 4404 static $setPosition_Callback(mthis, x, y, z) native "PannerNode_setPosition_Ca llback_RESOLVER_STRING_3_float_float_float";
5098 4405
5099 static $setVelocity_Callback(mthis, x, y, z) native "PannerNode_setVelocity_Ca llback_RESOLVER_STRING_3_float_float_float"; 4406 static $setVelocity_Callback(mthis, x, y, z) native "PannerNode_setVelocity_Ca llback_RESOLVER_STRING_3_float_float_float";
5100 } 4407 }
5101 4408
5102 class BlinkPath { 4409 class BlinkPath {
5103 // Generated overload resolver
5104 static $mkPath(path_OR_text) {
5105 if (path_OR_text == null) {
5106 return $_create_1constructorCallback();
5107 }
5108 if ((path_OR_text is Path || path_OR_text == null)) {
5109 return $_create_2constructorCallback(path_OR_text);
5110 }
5111 if ((path_OR_text is String || path_OR_text == null)) {
5112 return $_create_3constructorCallback(path_OR_text);
5113 }
5114 throw new ArgumentError("Incorrect number or type of arguments");
5115 }
5116
5117 static $_create_1constructorCallback() native "Path2D_constructorCallback_RESO LVER_STRING_0_"; 4410 static $_create_1constructorCallback() native "Path2D_constructorCallback_RESO LVER_STRING_0_";
5118 4411
5119 static $_create_2constructorCallback(path_OR_text) native "Path2D_constructorC allback_RESOLVER_STRING_1_Path2D"; 4412 static $_create_2constructorCallback(path_OR_text) native "Path2D_constructorC allback_RESOLVER_STRING_1_Path2D";
5120 4413
5121 static $_create_3constructorCallback(path_OR_text) native "Path2D_constructorC allback_RESOLVER_STRING_1_DOMString"; 4414 static $_create_3constructorCallback(path_OR_text) native "Path2D_constructorC allback_RESOLVER_STRING_1_DOMString";
5122 4415
5123 static $arc_Callback(mthis, x, y, radius, startAngle, endAngle, anticlockwise) native "Path2D_arc_Callback_RESOLVER_STRING_6_float_float_float_float_float_boo lean"; 4416 static $arc_Callback(mthis, x, y, radius, startAngle, endAngle, anticlockwise) native "Path2D_arc_Callback_RESOLVER_STRING_6_float_float_float_float_float_boo lean";
5124 4417
5125 static $arcTo_Callback(mthis, x1, y1, x2, y2, radius) native "Path2D_arcTo_Cal lback_RESOLVER_STRING_5_float_float_float_float_float"; 4418 static $arcTo_Callback(mthis, x1, y1, x2, y2, radius) native "Path2D_arcTo_Cal lback_RESOLVER_STRING_5_float_float_float_float_float";
5126 4419
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
5351 static $canInsertDTMF_Getter(mthis) native "RTCDTMFSender_canInsertDTMF_Getter "; 4644 static $canInsertDTMF_Getter(mthis) native "RTCDTMFSender_canInsertDTMF_Getter ";
5352 4645
5353 static $duration_Getter(mthis) native "RTCDTMFSender_duration_Getter"; 4646 static $duration_Getter(mthis) native "RTCDTMFSender_duration_Getter";
5354 4647
5355 static $interToneGap_Getter(mthis) native "RTCDTMFSender_interToneGap_Getter"; 4648 static $interToneGap_Getter(mthis) native "RTCDTMFSender_interToneGap_Getter";
5356 4649
5357 static $toneBuffer_Getter(mthis) native "RTCDTMFSender_toneBuffer_Getter"; 4650 static $toneBuffer_Getter(mthis) native "RTCDTMFSender_toneBuffer_Getter";
5358 4651
5359 static $track_Getter(mthis) native "RTCDTMFSender_track_Getter"; 4652 static $track_Getter(mthis) native "RTCDTMFSender_track_Getter";
5360 4653
5361 // Generated overload resolver
5362 static $insertDtmf(mthis, tones, duration, interToneGap) {
5363 if (interToneGap != null) {
5364 $_insertDTMF_1_Callback(mthis, tones, duration, interToneGap);
5365 return;
5366 }
5367 if (duration != null) {
5368 $_insertDTMF_2_Callback(mthis, tones, duration);
5369 return;
5370 }
5371 $_insertDTMF_3_Callback(mthis, tones);
5372 return;
5373 }
5374
5375 static $_insertDTMF_1_Callback(mthis, tones, duration, interToneGap) native "R TCDTMFSender_insertDTMF_Callback_RESOLVER_STRING_3_DOMString_long_long"; 4654 static $_insertDTMF_1_Callback(mthis, tones, duration, interToneGap) native "R TCDTMFSender_insertDTMF_Callback_RESOLVER_STRING_3_DOMString_long_long";
5376 4655
5377 static $_insertDTMF_2_Callback(mthis, tones, duration) native "RTCDTMFSender_i nsertDTMF_Callback_RESOLVER_STRING_2_DOMString_long"; 4656 static $_insertDTMF_2_Callback(mthis, tones, duration) native "RTCDTMFSender_i nsertDTMF_Callback_RESOLVER_STRING_2_DOMString_long";
5378 4657
5379 static $_insertDTMF_3_Callback(mthis, tones) native "RTCDTMFSender_insertDTMF_ Callback_RESOLVER_STRING_1_DOMString"; 4658 static $_insertDTMF_3_Callback(mthis, tones) native "RTCDTMFSender_insertDTMF_ Callback_RESOLVER_STRING_1_DOMString";
5380 } 4659 }
5381 4660
5382 class BlinkRTCDTMFToneChangeEvent { 4661 class BlinkRTCDTMFToneChangeEvent {
5383 static $tone_Getter(mthis) native "RTCDTMFToneChangeEvent_tone_Getter"; 4662 static $tone_Getter(mthis) native "RTCDTMFToneChangeEvent_tone_Getter";
5384 } 4663 }
(...skipping 18 matching lines...) Expand all
5403 static $ordered_Getter(mthis) native "RTCDataChannel_ordered_Getter"; 4682 static $ordered_Getter(mthis) native "RTCDataChannel_ordered_Getter";
5404 4683
5405 static $protocol_Getter(mthis) native "RTCDataChannel_protocol_Getter"; 4684 static $protocol_Getter(mthis) native "RTCDataChannel_protocol_Getter";
5406 4685
5407 static $readyState_Getter(mthis) native "RTCDataChannel_readyState_Getter"; 4686 static $readyState_Getter(mthis) native "RTCDataChannel_readyState_Getter";
5408 4687
5409 static $reliable_Getter(mthis) native "RTCDataChannel_reliable_Getter"; 4688 static $reliable_Getter(mthis) native "RTCDataChannel_reliable_Getter";
5410 4689
5411 static $close_Callback(mthis) native "RTCDataChannel_close_Callback_RESOLVER_S TRING_0_"; 4690 static $close_Callback(mthis) native "RTCDataChannel_close_Callback_RESOLVER_S TRING_0_";
5412 4691
5413 // Generated overload resolver
5414 static $send(mthis, data) {
5415 if ((data is TypedData || data == null)) {
5416 $_send_1_Callback(mthis, data);
5417 return;
5418 }
5419 if ((data is ByteBuffer || data == null)) {
5420 $_send_2_Callback(mthis, data);
5421 return;
5422 }
5423 if ((data is Blob || data == null)) {
5424 $_send_3_Callback(mthis, data);
5425 return;
5426 }
5427 if ((data is String || data == null)) {
5428 $_send_4_Callback(mthis, data);
5429 return;
5430 }
5431 throw new ArgumentError("Incorrect number or type of arguments");
5432 }
5433
5434 static $_send_1_Callback(mthis, data) native "RTCDataChannel_send_Callback_RES OLVER_STRING_1_ArrayBufferView"; 4692 static $_send_1_Callback(mthis, data) native "RTCDataChannel_send_Callback_RES OLVER_STRING_1_ArrayBufferView";
5435 4693
5436 static $_send_2_Callback(mthis, data) native "RTCDataChannel_send_Callback_RES OLVER_STRING_1_ArrayBuffer"; 4694 static $_send_2_Callback(mthis, data) native "RTCDataChannel_send_Callback_RES OLVER_STRING_1_ArrayBuffer";
5437 4695
5438 static $_send_3_Callback(mthis, data) native "RTCDataChannel_send_Callback_RES OLVER_STRING_1_Blob"; 4696 static $_send_3_Callback(mthis, data) native "RTCDataChannel_send_Callback_RES OLVER_STRING_1_Blob";
5439 4697
5440 static $_send_4_Callback(mthis, data) native "RTCDataChannel_send_Callback_RES OLVER_STRING_1_DOMString"; 4698 static $_send_4_Callback(mthis, data) native "RTCDataChannel_send_Callback_RES OLVER_STRING_1_DOMString";
5441 4699
5442 static $sendBlob_Callback(mthis, data) native "RTCDataChannel_send_Callback_RE SOLVER_STRING_1_Blob"; 4700 static $sendBlob_Callback(mthis, data) native "RTCDataChannel_send_Callback_RE SOLVER_STRING_1_Blob";
5443 4701
5444 static $sendByteBuffer_Callback(mthis, data) native "RTCDataChannel_send_Callb ack_RESOLVER_STRING_1_ArrayBuffer"; 4702 static $sendByteBuffer_Callback(mthis, data) native "RTCDataChannel_send_Callb ack_RESOLVER_STRING_1_ArrayBuffer";
5445 4703
5446 static $sendString_Callback(mthis, data) native "RTCDataChannel_send_Callback_ RESOLVER_STRING_1_DOMString"; 4704 static $sendString_Callback(mthis, data) native "RTCDataChannel_send_Callback_ RESOLVER_STRING_1_DOMString";
5447 4705
5448 static $sendTypedData_Callback(mthis, data) native "RTCDataChannel_send_Callba ck_RESOLVER_STRING_1_ArrayBufferView"; 4706 static $sendTypedData_Callback(mthis, data) native "RTCDataChannel_send_Callba ck_RESOLVER_STRING_1_ArrayBufferView";
5449 } 4707 }
5450 4708
5451 class BlinkRTCDataChannelEvent { 4709 class BlinkRTCDataChannelEvent {
5452 static $channel_Getter(mthis) native "RTCDataChannelEvent_channel_Getter"; 4710 static $channel_Getter(mthis) native "RTCDataChannelEvent_channel_Getter";
5453 } 4711 }
5454 4712
5455 class BlinkRTCIceCandidate { 4713 class BlinkRTCIceCandidate {
5456 // Generated overload resolver
5457 static $mkRtcIceCandidate(dictionary) {
5458 return $_create_1constructorCallback(dictionary);
5459 }
5460
5461 static $_create_1constructorCallback(dictionary) native "RTCIceCandidate_const ructorCallback_RESOLVER_STRING_1_Dictionary"; 4714 static $_create_1constructorCallback(dictionary) native "RTCIceCandidate_const ructorCallback_RESOLVER_STRING_1_Dictionary";
5462 4715
5463 static $candidate_Getter(mthis) native "RTCIceCandidate_candidate_Getter"; 4716 static $candidate_Getter(mthis) native "RTCIceCandidate_candidate_Getter";
5464 4717
5465 static $sdpMLineIndex_Getter(mthis) native "RTCIceCandidate_sdpMLineIndex_Gett er"; 4718 static $sdpMLineIndex_Getter(mthis) native "RTCIceCandidate_sdpMLineIndex_Gett er";
5466 4719
5467 static $sdpMid_Getter(mthis) native "RTCIceCandidate_sdpMid_Getter"; 4720 static $sdpMid_Getter(mthis) native "RTCIceCandidate_sdpMid_Getter";
5468 } 4721 }
5469 4722
5470 class BlinkRTCIceCandidateEvent { 4723 class BlinkRTCIceCandidateEvent {
5471 static $candidate_Getter(mthis) native "RTCIceCandidateEvent_candidate_Getter" ; 4724 static $candidate_Getter(mthis) native "RTCIceCandidateEvent_candidate_Getter" ;
5472 } 4725 }
5473 4726
5474 class BlinkRTCPeerConnection { 4727 class BlinkRTCPeerConnection {
5475 // Generated overload resolver
5476 static $mkRtcPeerConnection(rtcIceServers, mediaConstraints) {
5477 return $_create_1constructorCallback(rtcIceServers, mediaConstraints);
5478 }
5479
5480 static $_create_1constructorCallback(rtcIceServers, mediaConstraints) native " RTCPeerConnection_constructorCallback_RESOLVER_STRING_2_Dictionary_Dictionary"; 4728 static $_create_1constructorCallback(rtcIceServers, mediaConstraints) native " RTCPeerConnection_constructorCallback_RESOLVER_STRING_2_Dictionary_Dictionary";
5481 4729
5482 static $iceConnectionState_Getter(mthis) native "RTCPeerConnection_iceConnecti onState_Getter"; 4730 static $iceConnectionState_Getter(mthis) native "RTCPeerConnection_iceConnecti onState_Getter";
5483 4731
5484 static $iceGatheringState_Getter(mthis) native "RTCPeerConnection_iceGathering State_Getter"; 4732 static $iceGatheringState_Getter(mthis) native "RTCPeerConnection_iceGathering State_Getter";
5485 4733
5486 static $localDescription_Getter(mthis) native "RTCPeerConnection_localDescript ion_Getter"; 4734 static $localDescription_Getter(mthis) native "RTCPeerConnection_localDescript ion_Getter";
5487 4735
5488 static $remoteDescription_Getter(mthis) native "RTCPeerConnection_remoteDescri ption_Getter"; 4736 static $remoteDescription_Getter(mthis) native "RTCPeerConnection_remoteDescri ption_Getter";
5489 4737
(...skipping 24 matching lines...) Expand all
5514 static $removeStream_Callback(mthis, stream) native "RTCPeerConnection_removeS tream_Callback_RESOLVER_STRING_1_MediaStream"; 4762 static $removeStream_Callback(mthis, stream) native "RTCPeerConnection_removeS tream_Callback_RESOLVER_STRING_1_MediaStream";
5515 4763
5516 static $setLocalDescription_Callback(mthis, description, successCallback, fail ureCallback) native "RTCPeerConnection_setLocalDescription_Callback_RESOLVER_STR ING_3_RTCSessionDescription_VoidCallback_RTCErrorCallback"; 4764 static $setLocalDescription_Callback(mthis, description, successCallback, fail ureCallback) native "RTCPeerConnection_setLocalDescription_Callback_RESOLVER_STR ING_3_RTCSessionDescription_VoidCallback_RTCErrorCallback";
5517 4765
5518 static $setRemoteDescription_Callback(mthis, description, successCallback, fai lureCallback) native "RTCPeerConnection_setRemoteDescription_Callback_RESOLVER_S TRING_3_RTCSessionDescription_VoidCallback_RTCErrorCallback"; 4766 static $setRemoteDescription_Callback(mthis, description, successCallback, fai lureCallback) native "RTCPeerConnection_setRemoteDescription_Callback_RESOLVER_S TRING_3_RTCSessionDescription_VoidCallback_RTCErrorCallback";
5519 4767
5520 static $updateIce_Callback(mthis, configuration, mediaConstraints) native "RTC PeerConnection_updateIce_Callback_RESOLVER_STRING_2_Dictionary_Dictionary"; 4768 static $updateIce_Callback(mthis, configuration, mediaConstraints) native "RTC PeerConnection_updateIce_Callback_RESOLVER_STRING_2_Dictionary_Dictionary";
5521 } 4769 }
5522 4770
5523 class BlinkRTCSessionDescription { 4771 class BlinkRTCSessionDescription {
5524 // Generated overload resolver
5525 static $mkRtcSessionDescription(descriptionInitDict) {
5526 return $_create_1constructorCallback(descriptionInitDict);
5527 }
5528
5529 static $_create_1constructorCallback(descriptionInitDict) native "RTCSessionDe scription_constructorCallback_RESOLVER_STRING_1_Dictionary"; 4772 static $_create_1constructorCallback(descriptionInitDict) native "RTCSessionDe scription_constructorCallback_RESOLVER_STRING_1_Dictionary";
5530 4773
5531 static $sdp_Getter(mthis) native "RTCSessionDescription_sdp_Getter"; 4774 static $sdp_Getter(mthis) native "RTCSessionDescription_sdp_Getter";
5532 4775
5533 static $sdp_Setter(mthis, value) native "RTCSessionDescription_sdp_Setter"; 4776 static $sdp_Setter(mthis, value) native "RTCSessionDescription_sdp_Setter";
5534 4777
5535 static $type_Getter(mthis) native "RTCSessionDescription_type_Getter"; 4778 static $type_Getter(mthis) native "RTCSessionDescription_type_Getter";
5536 4779
5537 static $type_Setter(mthis, value) native "RTCSessionDescription_type_Setter"; 4780 static $type_Setter(mthis, value) native "RTCSessionDescription_type_Setter";
5538 } 4781 }
(...skipping 1964 matching lines...) Expand 10 before | Expand all | Expand 10 after
7503 static $getElementById_Callback(mthis, elementId) native "ShadowRoot_getElemen tById_Callback_RESOLVER_STRING_1_DOMString"; 6746 static $getElementById_Callback(mthis, elementId) native "ShadowRoot_getElemen tById_Callback_RESOLVER_STRING_1_DOMString";
7504 6747
7505 static $getElementsByClassName_Callback(mthis, className) native "ShadowRoot_g etElementsByClassName_Callback_RESOLVER_STRING_1_DOMString"; 6748 static $getElementsByClassName_Callback(mthis, className) native "ShadowRoot_g etElementsByClassName_Callback_RESOLVER_STRING_1_DOMString";
7506 6749
7507 static $getElementsByTagName_Callback(mthis, tagName) native "ShadowRoot_getEl ementsByTagName_Callback_RESOLVER_STRING_1_DOMString"; 6750 static $getElementsByTagName_Callback(mthis, tagName) native "ShadowRoot_getEl ementsByTagName_Callback_RESOLVER_STRING_1_DOMString";
7508 6751
7509 static $getSelection_Callback(mthis) native "ShadowRoot_getSelection_Callback_ RESOLVER_STRING_0_"; 6752 static $getSelection_Callback(mthis) native "ShadowRoot_getSelection_Callback_ RESOLVER_STRING_0_";
7510 } 6753 }
7511 6754
7512 class BlinkSharedWorker { 6755 class BlinkSharedWorker {
7513 // Generated overload resolver
7514 static $mkSharedWorker(scriptURL, name) {
7515 return $_create_1constructorCallback(scriptURL, name);
7516 }
7517
7518 static $_create_1constructorCallback(scriptURL, name) native "SharedWorker_con structorCallback_RESOLVER_STRING_2_DOMString_DOMString"; 6756 static $_create_1constructorCallback(scriptURL, name) native "SharedWorker_con structorCallback_RESOLVER_STRING_2_DOMString_DOMString";
7519 6757
7520 static $port_Getter(mthis) native "SharedWorker_port_Getter"; 6758 static $port_Getter(mthis) native "SharedWorker_port_Getter";
7521 6759
7522 static $workerStart_Getter(mthis) native "SharedWorker_workerStart_Getter"; 6760 static $workerStart_Getter(mthis) native "SharedWorker_workerStart_Getter";
7523 } 6761 }
7524 6762
7525 class BlinkSharedWorkerGlobalScope { 6763 class BlinkSharedWorkerGlobalScope {
7526 static $name_Getter(mthis) native "SharedWorkerGlobalScope_name_Getter"; 6764 static $name_Getter(mthis) native "SharedWorkerGlobalScope_name_Getter";
7527 } 6765 }
(...skipping 16 matching lines...) Expand all
7544 static $timestampOffset_Getter(mthis) native "SourceBuffer_timestampOffset_Get ter"; 6782 static $timestampOffset_Getter(mthis) native "SourceBuffer_timestampOffset_Get ter";
7545 6783
7546 static $timestampOffset_Setter(mthis, value) native "SourceBuffer_timestampOff set_Setter"; 6784 static $timestampOffset_Setter(mthis, value) native "SourceBuffer_timestampOff set_Setter";
7547 6785
7548 static $updating_Getter(mthis) native "SourceBuffer_updating_Getter"; 6786 static $updating_Getter(mthis) native "SourceBuffer_updating_Getter";
7549 6787
7550 static $abort_Callback(mthis) native "SourceBuffer_abort_Callback_RESOLVER_STR ING_0_"; 6788 static $abort_Callback(mthis) native "SourceBuffer_abort_Callback_RESOLVER_STR ING_0_";
7551 6789
7552 static $appendBuffer_Callback(mthis, data) native "SourceBuffer_appendBuffer_C allback_RESOLVER_STRING_1_ArrayBuffer"; 6790 static $appendBuffer_Callback(mthis, data) native "SourceBuffer_appendBuffer_C allback_RESOLVER_STRING_1_ArrayBuffer";
7553 6791
7554 // Generated overload resolver
7555 static $appendStream(mthis, stream, maxSize) {
7556 if (maxSize != null) {
7557 $_appendStream_1_Callback(mthis, stream, maxSize);
7558 return;
7559 }
7560 $_appendStream_2_Callback(mthis, stream);
7561 return;
7562 }
7563
7564 static $_appendStream_1_Callback(mthis, stream, maxSize) native "SourceBuffer_ appendStream_Callback_RESOLVER_STRING_2_Stream_unsigned long long"; 6792 static $_appendStream_1_Callback(mthis, stream, maxSize) native "SourceBuffer_ appendStream_Callback_RESOLVER_STRING_2_Stream_unsigned long long";
7565 6793
7566 static $_appendStream_2_Callback(mthis, stream) native "SourceBuffer_appendStr eam_Callback_RESOLVER_STRING_1_Stream"; 6794 static $_appendStream_2_Callback(mthis, stream) native "SourceBuffer_appendStr eam_Callback_RESOLVER_STRING_1_Stream";
7567 6795
7568 static $appendTypedData_Callback(mthis, data) native "SourceBuffer_appendBuffe r_Callback_RESOLVER_STRING_1_ArrayBufferView"; 6796 static $appendTypedData_Callback(mthis, data) native "SourceBuffer_appendBuffe r_Callback_RESOLVER_STRING_1_ArrayBufferView";
7569 6797
7570 static $remove_Callback(mthis, start, end) native "SourceBuffer_remove_Callbac k_RESOLVER_STRING_2_double_double"; 6798 static $remove_Callback(mthis, start, end) native "SourceBuffer_remove_Callbac k_RESOLVER_STRING_2_double_double";
7571 } 6799 }
7572 6800
7573 class BlinkSourceBufferList { 6801 class BlinkSourceBufferList {
7574 static $length_Getter(mthis) native "SourceBufferList_length_Getter"; 6802 static $length_Getter(mthis) native "SourceBufferList_length_Getter";
7575 6803
7576 static $NativeIndexed_Getter(mthis, index) native "SourceBufferList_item_Callb ack_RESOLVER_STRING_1_unsigned long"; 6804 static $NativeIndexed_Getter(mthis, index) native "SourceBufferList_item_Callb ack_RESOLVER_STRING_1_unsigned long";
7577 6805
7578 static $item_Callback(mthis, index) native "SourceBufferList_item_Callback_RES OLVER_STRING_1_unsigned long"; 6806 static $item_Callback(mthis, index) native "SourceBufferList_item_Callback_RES OLVER_STRING_1_unsigned long";
7579 } 6807 }
7580 6808
7581 class BlinkSourceInfo { 6809 class BlinkSourceInfo {
7582 static $facing_Getter(mthis) native "SourceInfo_facing_Getter"; 6810 static $facing_Getter(mthis) native "SourceInfo_facing_Getter";
7583 6811
7584 static $id_Getter(mthis) native "SourceInfo_id_Getter"; 6812 static $id_Getter(mthis) native "SourceInfo_id_Getter";
7585 6813
7586 static $kind_Getter(mthis) native "SourceInfo_kind_Getter"; 6814 static $kind_Getter(mthis) native "SourceInfo_kind_Getter";
7587 6815
7588 static $label_Getter(mthis) native "SourceInfo_label_Getter"; 6816 static $label_Getter(mthis) native "SourceInfo_label_Getter";
7589 } 6817 }
7590 6818
7591 class BlinkSpeechGrammar { 6819 class BlinkSpeechGrammar {
7592 // Generated overload resolver
7593 static $mkSpeechGrammar() {
7594 return $_create_1constructorCallback();
7595 }
7596
7597 static $_create_1constructorCallback() native "SpeechGrammar_constructorCallba ck_RESOLVER_STRING_0_"; 6820 static $_create_1constructorCallback() native "SpeechGrammar_constructorCallba ck_RESOLVER_STRING_0_";
7598 6821
7599 static $src_Getter(mthis) native "SpeechGrammar_src_Getter"; 6822 static $src_Getter(mthis) native "SpeechGrammar_src_Getter";
7600 6823
7601 static $src_Setter(mthis, value) native "SpeechGrammar_src_Setter"; 6824 static $src_Setter(mthis, value) native "SpeechGrammar_src_Setter";
7602 6825
7603 static $weight_Getter(mthis) native "SpeechGrammar_weight_Getter"; 6826 static $weight_Getter(mthis) native "SpeechGrammar_weight_Getter";
7604 6827
7605 static $weight_Setter(mthis, value) native "SpeechGrammar_weight_Setter"; 6828 static $weight_Setter(mthis, value) native "SpeechGrammar_weight_Setter";
7606 } 6829 }
7607 6830
7608 class BlinkSpeechGrammarList { 6831 class BlinkSpeechGrammarList {
7609 // Generated overload resolver
7610 static $mkSpeechGrammarList() {
7611 return $_create_1constructorCallback();
7612 }
7613
7614 static $_create_1constructorCallback() native "SpeechGrammarList_constructorCa llback_RESOLVER_STRING_0_"; 6832 static $_create_1constructorCallback() native "SpeechGrammarList_constructorCa llback_RESOLVER_STRING_0_";
7615 6833
7616 static $length_Getter(mthis) native "SpeechGrammarList_length_Getter"; 6834 static $length_Getter(mthis) native "SpeechGrammarList_length_Getter";
7617 6835
7618 static $NativeIndexed_Getter(mthis, index) native "SpeechGrammarList_item_Call back_RESOLVER_STRING_1_unsigned long"; 6836 static $NativeIndexed_Getter(mthis, index) native "SpeechGrammarList_item_Call back_RESOLVER_STRING_1_unsigned long";
7619 6837
7620 // Generated overload resolver
7621 static $addFromString(mthis, string, weight) {
7622 if (weight != null) {
7623 $_addFromString_1_Callback(mthis, string, weight);
7624 return;
7625 }
7626 $_addFromString_2_Callback(mthis, string);
7627 return;
7628 }
7629
7630 static $_addFromString_1_Callback(mthis, string, weight) native "SpeechGrammar List_addFromString_Callback_RESOLVER_STRING_2_DOMString_float"; 6838 static $_addFromString_1_Callback(mthis, string, weight) native "SpeechGrammar List_addFromString_Callback_RESOLVER_STRING_2_DOMString_float";
7631 6839
7632 static $_addFromString_2_Callback(mthis, string) native "SpeechGrammarList_add FromString_Callback_RESOLVER_STRING_1_DOMString"; 6840 static $_addFromString_2_Callback(mthis, string) native "SpeechGrammarList_add FromString_Callback_RESOLVER_STRING_1_DOMString";
7633 6841
7634 // Generated overload resolver
7635 static $addFromUri(mthis, src, weight) {
7636 if (weight != null) {
7637 $_addFromUri_1_Callback(mthis, src, weight);
7638 return;
7639 }
7640 $_addFromUri_2_Callback(mthis, src);
7641 return;
7642 }
7643
7644 static $_addFromUri_1_Callback(mthis, src, weight) native "SpeechGrammarList_a ddFromUri_Callback_RESOLVER_STRING_2_DOMString_float"; 6842 static $_addFromUri_1_Callback(mthis, src, weight) native "SpeechGrammarList_a ddFromUri_Callback_RESOLVER_STRING_2_DOMString_float";
7645 6843
7646 static $_addFromUri_2_Callback(mthis, src) native "SpeechGrammarList_addFromUr i_Callback_RESOLVER_STRING_1_DOMString"; 6844 static $_addFromUri_2_Callback(mthis, src) native "SpeechGrammarList_addFromUr i_Callback_RESOLVER_STRING_1_DOMString";
7647 6845
7648 static $item_Callback(mthis, index) native "SpeechGrammarList_item_Callback_RE SOLVER_STRING_1_unsigned long"; 6846 static $item_Callback(mthis, index) native "SpeechGrammarList_item_Callback_RE SOLVER_STRING_1_unsigned long";
7649 } 6847 }
7650 6848
7651 class BlinkSpeechInputEvent {} 6849 class BlinkSpeechInputEvent {}
7652 6850
7653 class BlinkSpeechInputResult {} 6851 class BlinkSpeechInputResult {}
7654 6852
7655 class BlinkSpeechInputResultList { 6853 class BlinkSpeechInputResultList {
7656 static $length_Getter(mthis) native "SpeechInputResultList_length_Getter"; 6854 static $length_Getter(mthis) native "SpeechInputResultList_length_Getter";
7657 6855
7658 static $NativeIndexed_Getter(mthis, index) native "SpeechInputResultList_item_ Callback_RESOLVER_STRING_1_unsigned long"; 6856 static $NativeIndexed_Getter(mthis, index) native "SpeechInputResultList_item_ Callback_RESOLVER_STRING_1_unsigned long";
7659 6857
7660 static $item_Callback(mthis, index) native "SpeechInputResultList_item_Callbac k_RESOLVER_STRING_1_unsigned long"; 6858 static $item_Callback(mthis, index) native "SpeechInputResultList_item_Callbac k_RESOLVER_STRING_1_unsigned long";
7661 } 6859 }
7662 6860
7663 class BlinkSpeechRecognition { 6861 class BlinkSpeechRecognition {
7664 // Generated overload resolver
7665 static $mkSpeechRecognition() {
7666 return $_create_1constructorCallback();
7667 }
7668
7669 static $_create_1constructorCallback() native "SpeechRecognition_constructorCa llback_RESOLVER_STRING_0_"; 6862 static $_create_1constructorCallback() native "SpeechRecognition_constructorCa llback_RESOLVER_STRING_0_";
7670 6863
7671 static $continuous_Getter(mthis) native "SpeechRecognition_continuous_Getter"; 6864 static $continuous_Getter(mthis) native "SpeechRecognition_continuous_Getter";
7672 6865
7673 static $continuous_Setter(mthis, value) native "SpeechRecognition_continuous_S etter"; 6866 static $continuous_Setter(mthis, value) native "SpeechRecognition_continuous_S etter";
7674 6867
7675 static $grammars_Getter(mthis) native "SpeechRecognition_grammars_Getter"; 6868 static $grammars_Getter(mthis) native "SpeechRecognition_grammars_Getter";
7676 6869
7677 static $grammars_Setter(mthis, value) native "SpeechRecognition_grammars_Sette r"; 6870 static $grammars_Setter(mthis, value) native "SpeechRecognition_grammars_Sette r";
7678 6871
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
7753 6946
7754 class BlinkSpeechSynthesisEvent { 6947 class BlinkSpeechSynthesisEvent {
7755 static $charIndex_Getter(mthis) native "SpeechSynthesisEvent_charIndex_Getter" ; 6948 static $charIndex_Getter(mthis) native "SpeechSynthesisEvent_charIndex_Getter" ;
7756 6949
7757 static $elapsedTime_Getter(mthis) native "SpeechSynthesisEvent_elapsedTime_Get ter"; 6950 static $elapsedTime_Getter(mthis) native "SpeechSynthesisEvent_elapsedTime_Get ter";
7758 6951
7759 static $name_Getter(mthis) native "SpeechSynthesisEvent_name_Getter"; 6952 static $name_Getter(mthis) native "SpeechSynthesisEvent_name_Getter";
7760 } 6953 }
7761 6954
7762 class BlinkSpeechSynthesisUtterance { 6955 class BlinkSpeechSynthesisUtterance {
7763 // Generated overload resolver
7764 static $mkSpeechSynthesisUtterance(text) {
7765 return $_create_1constructorCallback(text);
7766 }
7767
7768 static $_create_1constructorCallback(text) native "SpeechSynthesisUtterance_co nstructorCallback_RESOLVER_STRING_1_DOMString"; 6956 static $_create_1constructorCallback(text) native "SpeechSynthesisUtterance_co nstructorCallback_RESOLVER_STRING_1_DOMString";
7769 6957
7770 static $lang_Getter(mthis) native "SpeechSynthesisUtterance_lang_Getter"; 6958 static $lang_Getter(mthis) native "SpeechSynthesisUtterance_lang_Getter";
7771 6959
7772 static $lang_Setter(mthis, value) native "SpeechSynthesisUtterance_lang_Setter "; 6960 static $lang_Setter(mthis, value) native "SpeechSynthesisUtterance_lang_Setter ";
7773 6961
7774 static $pitch_Getter(mthis) native "SpeechSynthesisUtterance_pitch_Getter"; 6962 static $pitch_Getter(mthis) native "SpeechSynthesisUtterance_pitch_Getter";
7775 6963
7776 static $pitch_Setter(mthis, value) native "SpeechSynthesisUtterance_pitch_Sett er"; 6964 static $pitch_Setter(mthis, value) native "SpeechSynthesisUtterance_pitch_Sett er";
7777 6965
(...skipping 22 matching lines...) Expand all
7800 static $localService_Getter(mthis) native "SpeechSynthesisVoice_localService_G etter"; 6988 static $localService_Getter(mthis) native "SpeechSynthesisVoice_localService_G etter";
7801 6989
7802 static $name_Getter(mthis) native "SpeechSynthesisVoice_name_Getter"; 6990 static $name_Getter(mthis) native "SpeechSynthesisVoice_name_Getter";
7803 6991
7804 static $voiceURI_Getter(mthis) native "SpeechSynthesisVoice_voiceURI_Getter"; 6992 static $voiceURI_Getter(mthis) native "SpeechSynthesisVoice_voiceURI_Getter";
7805 } 6993 }
7806 6994
7807 class BlinkStorage { 6995 class BlinkStorage {
7808 static $length_Getter(mthis) native "Storage_length_Getter"; 6996 static $length_Getter(mthis) native "Storage_length_Getter";
7809 6997
7810 // Generated overload resolver
7811 static $__delete__(mthis, index_OR_name) {
7812 if ((index_OR_name is int || index_OR_name == null)) {
7813 return $___delete___1_Callback(mthis, index_OR_name);
7814 }
7815 if ((index_OR_name is String || index_OR_name == null)) {
7816 return $___delete___2_Callback(mthis, index_OR_name);
7817 }
7818 throw new ArgumentError("Incorrect number or type of arguments");
7819 }
7820
7821 static $___delete___1_Callback(mthis, index_OR_name) native "Storage___delete_ __Callback_RESOLVER_STRING_1_unsigned long"; 6998 static $___delete___1_Callback(mthis, index_OR_name) native "Storage___delete_ __Callback_RESOLVER_STRING_1_unsigned long";
7822 6999
7823 static $___delete___2_Callback(mthis, index_OR_name) native "Storage___delete_ __Callback_RESOLVER_STRING_1_DOMString"; 7000 static $___delete___2_Callback(mthis, index_OR_name) native "Storage___delete_ __Callback_RESOLVER_STRING_1_DOMString";
7824 7001
7825 // Generated overload resolver
7826 static $__getter__(mthis, index_OR_name) {
7827 if ((index_OR_name is int || index_OR_name == null)) {
7828 return $___getter___1_Callback(mthis, index_OR_name);
7829 }
7830 if ((index_OR_name is String || index_OR_name == null)) {
7831 return $___getter___2_Callback(mthis, index_OR_name);
7832 }
7833 throw new ArgumentError("Incorrect number or type of arguments");
7834 }
7835
7836 static $___getter___1_Callback(mthis, index_OR_name) native "Storage___getter_ __Callback_RESOLVER_STRING_1_unsigned long"; 7002 static $___getter___1_Callback(mthis, index_OR_name) native "Storage___getter_ __Callback_RESOLVER_STRING_1_unsigned long";
7837 7003
7838 static $___getter___2_Callback(mthis, index_OR_name) native "Storage___getter_ __Callback_RESOLVER_STRING_1_DOMString"; 7004 static $___getter___2_Callback(mthis, index_OR_name) native "Storage___getter_ __Callback_RESOLVER_STRING_1_DOMString";
7839 7005
7840 // Generated overload resolver
7841 static $__setter__(mthis, index_OR_name, value) {
7842 if ((value is String || value == null) && (index_OR_name is int || index_OR_ name == null)) {
7843 $___setter___1_Callback(mthis, index_OR_name, value);
7844 return;
7845 }
7846 if ((value is String || value == null) && (index_OR_name is String || index_ OR_name == null)) {
7847 $___setter___2_Callback(mthis, index_OR_name, value);
7848 return;
7849 }
7850 throw new ArgumentError("Incorrect number or type of arguments");
7851 }
7852
7853 static $___setter___1_Callback(mthis, index_OR_name, value) native "Storage___ setter___Callback_RESOLVER_STRING_2_unsigned long_DOMString"; 7006 static $___setter___1_Callback(mthis, index_OR_name, value) native "Storage___ setter___Callback_RESOLVER_STRING_2_unsigned long_DOMString";
7854 7007
7855 static $___setter___2_Callback(mthis, index_OR_name, value) native "Storage___ setter___Callback_RESOLVER_STRING_2_DOMString_DOMString"; 7008 static $___setter___2_Callback(mthis, index_OR_name, value) native "Storage___ setter___Callback_RESOLVER_STRING_2_DOMString_DOMString";
7856 7009
7857 static $clear_Callback(mthis) native "Storage_clear_Callback_RESOLVER_STRING_0 _"; 7010 static $clear_Callback(mthis) native "Storage_clear_Callback_RESOLVER_STRING_0 _";
7858 7011
7859 static $getItem_Callback(mthis, key) native "Storage_getItem_Callback_RESOLVER _STRING_1_DOMString"; 7012 static $getItem_Callback(mthis, key) native "Storage_getItem_Callback_RESOLVER _STRING_1_DOMString";
7860 7013
7861 static $key_Callback(mthis, index) native "Storage_key_Callback_RESOLVER_STRIN G_1_unsigned long"; 7014 static $key_Callback(mthis, index) native "Storage_key_Callback_RESOLVER_STRIN G_1_unsigned long";
7862 7015
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
8121 static $nextSibling_Callback(mthis) native "TreeWalker_nextSibling_Callback_RE SOLVER_STRING_0_"; 7274 static $nextSibling_Callback(mthis) native "TreeWalker_nextSibling_Callback_RE SOLVER_STRING_0_";
8122 7275
8123 static $parentNode_Callback(mthis) native "TreeWalker_parentNode_Callback_RESO LVER_STRING_0_"; 7276 static $parentNode_Callback(mthis) native "TreeWalker_parentNode_Callback_RESO LVER_STRING_0_";
8124 7277
8125 static $previousNode_Callback(mthis) native "TreeWalker_previousNode_Callback_ RESOLVER_STRING_0_"; 7278 static $previousNode_Callback(mthis) native "TreeWalker_previousNode_Callback_ RESOLVER_STRING_0_";
8126 7279
8127 static $previousSibling_Callback(mthis) native "TreeWalker_previousSibling_Cal lback_RESOLVER_STRING_0_"; 7280 static $previousSibling_Callback(mthis) native "TreeWalker_previousSibling_Cal lback_RESOLVER_STRING_0_";
8128 } 7281 }
8129 7282
8130 class BlinkURL { 7283 class BlinkURL {
8131 // Generated overload resolver
8132 static $createObjectUrl(blob_OR_source_OR_stream) {
8133 if ((blob_OR_source_OR_stream is Blob || blob_OR_source_OR_stream == null)) {
8134 return $_createObjectURL_1_Callback(blob_OR_source_OR_stream);
8135 }
8136 if ((blob_OR_source_OR_stream is MediaSource || blob_OR_source_OR_stream == null)) {
8137 return $_createObjectURL_2_Callback(blob_OR_source_OR_stream);
8138 }
8139 if ((blob_OR_source_OR_stream is MediaStream || blob_OR_source_OR_stream == null)) {
8140 return $_createObjectURL_3_Callback(blob_OR_source_OR_stream);
8141 }
8142 throw new ArgumentError("Incorrect number or type of arguments");
8143 }
8144
8145 static $_createObjectURL_1_Callback(blob_OR_source_OR_stream) native "URL_crea teObjectURL_Callback_RESOLVER_STRING_1_Blob"; 7284 static $_createObjectURL_1_Callback(blob_OR_source_OR_stream) native "URL_crea teObjectURL_Callback_RESOLVER_STRING_1_Blob";
8146 7285
8147 static $_createObjectURL_2_Callback(blob_OR_source_OR_stream) native "URL_crea teObjectURL_Callback_RESOLVER_STRING_1_MediaSource"; 7286 static $_createObjectURL_2_Callback(blob_OR_source_OR_stream) native "URL_crea teObjectURL_Callback_RESOLVER_STRING_1_MediaStream";
8148 7287
8149 static $_createObjectURL_3_Callback(blob_OR_source_OR_stream) native "URL_crea teObjectURL_Callback_RESOLVER_STRING_1_MediaStream"; 7288 static $_createObjectURL_3_Callback(blob_OR_source_OR_stream) native "URL_crea teObjectURL_Callback_RESOLVER_STRING_1_MediaSource";
8150 7289
8151 static $createObjectUrlFromBlob_Callback(blob) native "URL_createObjectURL_Cal lback_RESOLVER_STRING_1_Blob"; 7290 static $createObjectUrlFromBlob_Callback(blob) native "URL_createObjectURL_Cal lback_RESOLVER_STRING_1_Blob";
8152 7291
8153 static $createObjectUrlFromSource_Callback(source) native "URL_createObjectURL _Callback_RESOLVER_STRING_1_MediaSource"; 7292 static $createObjectUrlFromSource_Callback(source) native "URL_createObjectURL _Callback_RESOLVER_STRING_1_MediaSource";
8154 7293
8155 static $createObjectUrlFromStream_Callback(stream) native "URL_createObjectURL _Callback_RESOLVER_STRING_1_MediaStream"; 7294 static $createObjectUrlFromStream_Callback(stream) native "URL_createObjectURL _Callback_RESOLVER_STRING_1_MediaStream";
8156 7295
8157 static $revokeObjectURL_Callback(url) native "URL_revokeObjectURL_Callback_RES OLVER_STRING_1_DOMString"; 7296 static $revokeObjectURL_Callback(url) native "URL_revokeObjectURL_Callback_RES OLVER_STRING_1_DOMString";
8158 7297
8159 static $hash_Getter(mthis) native "URL_hash_Getter"; 7298 static $hash_Getter(mthis) native "URL_hash_Getter";
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
8215 static $port_Getter(mthis) native "WorkerLocation_port_Getter"; 7354 static $port_Getter(mthis) native "WorkerLocation_port_Getter";
8216 7355
8217 static $protocol_Getter(mthis) native "WorkerLocation_protocol_Getter"; 7356 static $protocol_Getter(mthis) native "WorkerLocation_protocol_Getter";
8218 7357
8219 static $search_Getter(mthis) native "WorkerLocation_search_Getter"; 7358 static $search_Getter(mthis) native "WorkerLocation_search_Getter";
8220 7359
8221 static $toString_Callback(mthis) native "WorkerLocation_toString_Callback_RESO LVER_STRING_0_"; 7360 static $toString_Callback(mthis) native "WorkerLocation_toString_Callback_RESO LVER_STRING_0_";
8222 } 7361 }
8223 7362
8224 class BlinkVTTCue { 7363 class BlinkVTTCue {
8225 // Generated overload resolver
8226 static $mkVttCue(startTime, endTime, text) {
8227 return $_create_1constructorCallback(startTime, endTime, text);
8228 }
8229
8230 static $_create_1constructorCallback(startTime, endTime, text) native "VTTCue_ constructorCallback_RESOLVER_STRING_3_double_double_DOMString"; 7364 static $_create_1constructorCallback(startTime, endTime, text) native "VTTCue_ constructorCallback_RESOLVER_STRING_3_double_double_DOMString";
8231 7365
8232 static $align_Getter(mthis) native "VTTCue_align_Getter"; 7366 static $align_Getter(mthis) native "VTTCue_align_Getter";
8233 7367
8234 static $align_Setter(mthis, value) native "VTTCue_align_Setter"; 7368 static $align_Setter(mthis, value) native "VTTCue_align_Setter";
8235 7369
8236 static $line_Getter(mthis) native "VTTCue_line_Getter"; 7370 static $line_Getter(mthis) native "VTTCue_line_Getter";
8237 7371
8238 static $line_Setter(mthis, value) native "VTTCue_line_Setter"; 7372 static $line_Setter(mthis, value) native "VTTCue_line_Setter";
8239 7373
(...skipping 18 matching lines...) Expand all
8258 static $text_Setter(mthis, value) native "VTTCue_text_Setter"; 7392 static $text_Setter(mthis, value) native "VTTCue_text_Setter";
8259 7393
8260 static $vertical_Getter(mthis) native "VTTCue_vertical_Getter"; 7394 static $vertical_Getter(mthis) native "VTTCue_vertical_Getter";
8261 7395
8262 static $vertical_Setter(mthis, value) native "VTTCue_vertical_Setter"; 7396 static $vertical_Setter(mthis, value) native "VTTCue_vertical_Setter";
8263 7397
8264 static $getCueAsHTML_Callback(mthis) native "VTTCue_getCueAsHTML_Callback_RESO LVER_STRING_0_"; 7398 static $getCueAsHTML_Callback(mthis) native "VTTCue_getCueAsHTML_Callback_RESO LVER_STRING_0_";
8265 } 7399 }
8266 7400
8267 class BlinkVTTRegion { 7401 class BlinkVTTRegion {
8268 // Generated overload resolver
8269 static $mkVttRegion() {
8270 return $_create_1constructorCallback();
8271 }
8272
8273 static $_create_1constructorCallback() native "VTTRegion_constructorCallback_R ESOLVER_STRING_0_"; 7402 static $_create_1constructorCallback() native "VTTRegion_constructorCallback_R ESOLVER_STRING_0_";
8274 7403
8275 static $height_Getter(mthis) native "VTTRegion_height_Getter"; 7404 static $height_Getter(mthis) native "VTTRegion_height_Getter";
8276 7405
8277 static $height_Setter(mthis, value) native "VTTRegion_height_Setter"; 7406 static $height_Setter(mthis, value) native "VTTRegion_height_Setter";
8278 7407
8279 static $id_Getter(mthis) native "VTTRegion_id_Getter"; 7408 static $id_Getter(mthis) native "VTTRegion_id_Getter";
8280 7409
8281 static $id_Setter(mthis, value) native "VTTRegion_id_Setter"; 7410 static $id_Setter(mthis, value) native "VTTRegion_id_Setter";
8282 7411
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
8455 static $blendEquation_Callback(mthis, mode) native "WebGLRenderingContext_blen dEquation_Callback_RESOLVER_STRING_1_unsigned long"; 7584 static $blendEquation_Callback(mthis, mode) native "WebGLRenderingContext_blen dEquation_Callback_RESOLVER_STRING_1_unsigned long";
8456 7585
8457 static $blendEquationSeparate_Callback(mthis, modeRGB, modeAlpha) native "WebG LRenderingContext_blendEquationSeparate_Callback_RESOLVER_STRING_2_unsigned long _unsigned long"; 7586 static $blendEquationSeparate_Callback(mthis, modeRGB, modeAlpha) native "WebG LRenderingContext_blendEquationSeparate_Callback_RESOLVER_STRING_2_unsigned long _unsigned long";
8458 7587
8459 static $blendFunc_Callback(mthis, sfactor, dfactor) native "WebGLRenderingCont ext_blendFunc_Callback_RESOLVER_STRING_2_unsigned long_unsigned long"; 7588 static $blendFunc_Callback(mthis, sfactor, dfactor) native "WebGLRenderingCont ext_blendFunc_Callback_RESOLVER_STRING_2_unsigned long_unsigned long";
8460 7589
8461 static $blendFuncSeparate_Callback(mthis, srcRGB, dstRGB, srcAlpha, dstAlpha) native "WebGLRenderingContext_blendFuncSeparate_Callback_RESOLVER_STRING_4_unsig ned long_unsigned long_unsigned long_unsigned long"; 7590 static $blendFuncSeparate_Callback(mthis, srcRGB, dstRGB, srcAlpha, dstAlpha) native "WebGLRenderingContext_blendFuncSeparate_Callback_RESOLVER_STRING_4_unsig ned long_unsigned long_unsigned long_unsigned long";
8462 7591
8463 static $bufferByteData_Callback(mthis, target, data, usage) native "WebGLRende ringContext_bufferData_Callback_RESOLVER_STRING_3_unsigned long_ArrayBuffer_unsi gned long"; 7592 static $bufferByteData_Callback(mthis, target, data, usage) native "WebGLRende ringContext_bufferData_Callback_RESOLVER_STRING_3_unsigned long_ArrayBuffer_unsi gned long";
8464 7593
8465 // Generated overload resolver
8466 static $bufferData(mthis, target, data_OR_size, usage) {
8467 if ((usage is int || usage == null) && (data_OR_size is TypedData || data_OR _size == null) && (target is int || target == null)) {
8468 $_bufferData_1_Callback(mthis, target, data_OR_size, usage);
8469 return;
8470 }
8471 if ((usage is int || usage == null) && (data_OR_size is ByteBuffer || data_O R_size == null) && (target is int || target == null)) {
8472 $_bufferData_2_Callback(mthis, target, data_OR_size, usage);
8473 return;
8474 }
8475 if ((usage is int || usage == null) && (data_OR_size is int || data_OR_size == null) && (target is int || target == null)) {
8476 $_bufferData_3_Callback(mthis, target, data_OR_size, usage);
8477 return;
8478 }
8479 throw new ArgumentError("Incorrect number or type of arguments");
8480 }
8481
8482 static $_bufferData_1_Callback(mthis, target, data_OR_size, usage) native "Web GLRenderingContext_bufferData_Callback_RESOLVER_STRING_3_unsigned long_ArrayBuff erView_unsigned long"; 7594 static $_bufferData_1_Callback(mthis, target, data_OR_size, usage) native "Web GLRenderingContext_bufferData_Callback_RESOLVER_STRING_3_unsigned long_ArrayBuff erView_unsigned long";
8483 7595
8484 static $_bufferData_2_Callback(mthis, target, data_OR_size, usage) native "Web GLRenderingContext_bufferData_Callback_RESOLVER_STRING_3_unsigned long_ArrayBuff er_unsigned long"; 7596 static $_bufferData_2_Callback(mthis, target, data_OR_size, usage) native "Web GLRenderingContext_bufferData_Callback_RESOLVER_STRING_3_unsigned long_ArrayBuff er_unsigned long";
8485 7597
8486 static $_bufferData_3_Callback(mthis, target, data_OR_size, usage) native "Web GLRenderingContext_bufferData_Callback_RESOLVER_STRING_3_unsigned long_long long _unsigned long"; 7598 static $_bufferData_3_Callback(mthis, target, data_OR_size, usage) native "Web GLRenderingContext_bufferData_Callback_RESOLVER_STRING_3_unsigned long_long long _unsigned long";
8487 7599
8488 static $bufferDataTyped_Callback(mthis, target, data, usage) native "WebGLRend eringContext_bufferData_Callback_RESOLVER_STRING_3_unsigned long_ArrayBufferView _unsigned long"; 7600 static $bufferDataTyped_Callback(mthis, target, data, usage) native "WebGLRend eringContext_bufferData_Callback_RESOLVER_STRING_3_unsigned long_ArrayBufferView _unsigned long";
8489 7601
8490 static $bufferSubByteData_Callback(mthis, target, offset, data) native "WebGLR enderingContext_bufferSubData_Callback_RESOLVER_STRING_3_unsigned long_long long _ArrayBuffer"; 7602 static $bufferSubByteData_Callback(mthis, target, offset, data) native "WebGLR enderingContext_bufferSubData_Callback_RESOLVER_STRING_3_unsigned long_long long _ArrayBuffer";
8491 7603
8492 // Generated overload resolver
8493 static $bufferSubData(mthis, target, offset, data) {
8494 if ((data is TypedData || data == null) && (offset is int || offset == null) && (target is int || target == null)) {
8495 $_bufferSubData_1_Callback(mthis, target, offset, data);
8496 return;
8497 }
8498 if ((data is ByteBuffer || data == null) && (offset is int || offset == null ) && (target is int || target == null)) {
8499 $_bufferSubData_2_Callback(mthis, target, offset, data);
8500 return;
8501 }
8502 throw new ArgumentError("Incorrect number or type of arguments");
8503 }
8504
8505 static $_bufferSubData_1_Callback(mthis, target, offset, data) native "WebGLRe nderingContext_bufferSubData_Callback_RESOLVER_STRING_3_unsigned long_long long_ ArrayBufferView"; 7604 static $_bufferSubData_1_Callback(mthis, target, offset, data) native "WebGLRe nderingContext_bufferSubData_Callback_RESOLVER_STRING_3_unsigned long_long long_ ArrayBufferView";
8506 7605
8507 static $_bufferSubData_2_Callback(mthis, target, offset, data) native "WebGLRe nderingContext_bufferSubData_Callback_RESOLVER_STRING_3_unsigned long_long long_ ArrayBuffer"; 7606 static $_bufferSubData_2_Callback(mthis, target, offset, data) native "WebGLRe nderingContext_bufferSubData_Callback_RESOLVER_STRING_3_unsigned long_long long_ ArrayBuffer";
8508 7607
8509 static $bufferSubDataTyped_Callback(mthis, target, offset, data) native "WebGL RenderingContext_bufferSubData_Callback_RESOLVER_STRING_3_unsigned long_long lon g_ArrayBufferView"; 7608 static $bufferSubDataTyped_Callback(mthis, target, offset, data) native "WebGL RenderingContext_bufferSubData_Callback_RESOLVER_STRING_3_unsigned long_long lon g_ArrayBufferView";
8510 7609
8511 static $checkFramebufferStatus_Callback(mthis, target) native "WebGLRenderingC ontext_checkFramebufferStatus_Callback_RESOLVER_STRING_1_unsigned long"; 7610 static $checkFramebufferStatus_Callback(mthis, target) native "WebGLRenderingC ontext_checkFramebufferStatus_Callback_RESOLVER_STRING_1_unsigned long";
8512 7611
8513 static $clear_Callback(mthis, mask) native "WebGLRenderingContext_clear_Callba ck_RESOLVER_STRING_1_unsigned long"; 7612 static $clear_Callback(mthis, mask) native "WebGLRenderingContext_clear_Callba ck_RESOLVER_STRING_1_unsigned long";
8514 7613
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
8675 static $stencilFuncSeparate_Callback(mthis, face, func, ref, mask) native "Web GLRenderingContext_stencilFuncSeparate_Callback_RESOLVER_STRING_4_unsigned long_ unsigned long_long_unsigned long"; 7774 static $stencilFuncSeparate_Callback(mthis, face, func, ref, mask) native "Web GLRenderingContext_stencilFuncSeparate_Callback_RESOLVER_STRING_4_unsigned long_ unsigned long_long_unsigned long";
8676 7775
8677 static $stencilMask_Callback(mthis, mask) native "WebGLRenderingContext_stenci lMask_Callback_RESOLVER_STRING_1_unsigned long"; 7776 static $stencilMask_Callback(mthis, mask) native "WebGLRenderingContext_stenci lMask_Callback_RESOLVER_STRING_1_unsigned long";
8678 7777
8679 static $stencilMaskSeparate_Callback(mthis, face, mask) native "WebGLRendering Context_stencilMaskSeparate_Callback_RESOLVER_STRING_2_unsigned long_unsigned lo ng"; 7778 static $stencilMaskSeparate_Callback(mthis, face, mask) native "WebGLRendering Context_stencilMaskSeparate_Callback_RESOLVER_STRING_2_unsigned long_unsigned lo ng";
8680 7779
8681 static $stencilOp_Callback(mthis, fail, zfail, zpass) native "WebGLRenderingCo ntext_stencilOp_Callback_RESOLVER_STRING_3_unsigned long_unsigned long_unsigned long"; 7780 static $stencilOp_Callback(mthis, fail, zfail, zpass) native "WebGLRenderingCo ntext_stencilOp_Callback_RESOLVER_STRING_3_unsigned long_unsigned long_unsigned long";
8682 7781
8683 static $stencilOpSeparate_Callback(mthis, face, fail, zfail, zpass) native "We bGLRenderingContext_stencilOpSeparate_Callback_RESOLVER_STRING_4_unsigned long_u nsigned long_unsigned long_unsigned long"; 7782 static $stencilOpSeparate_Callback(mthis, face, fail, zfail, zpass) native "We bGLRenderingContext_stencilOpSeparate_Callback_RESOLVER_STRING_4_unsigned long_u nsigned long_unsigned long_unsigned long";
8684 7783
8685 // Generated overload resolver
8686 static $texImage2D(mthis, target, level, internalformat, format_OR_width, heig ht_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels) {
8687 if ((pixels is TypedData || pixels == null) && (type is int || type == null) && (format is int || format == null) && (border_OR_canvas_OR_image_OR_pixels_OR _video is int || border_OR_canvas_OR_image_OR_pixels_OR_video == null) && (heigh t_OR_type is int || height_OR_type == null) && (format_OR_width is int || format _OR_width == null) && (internalformat is int || internalformat == null) && (leve l is int || level == null) && (target is int || target == null)) {
8688 $_texImage2D_1_Callback(mthis, target, level, internalformat, format_OR_wi dth, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels);
8689 return;
8690 }
8691 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_ canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || height_ OR_type == null) && (format_OR_width is int || format_OR_width == null) && (inte rnalformat is int || internalformat == null) && (level is int || level == null) && (target is int || target == null) && format == null && type == null && pixels == null) {
8692 $_texImage2D_2_Callback(mthis, target, level, internalformat, format_OR_wi dth, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
8693 return;
8694 }
8695 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement || border_ OR_canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (i nternalformat is int || internalformat == null) && (level is int || level == nul l) && (target is int || target == null) && format == null && type == null && pix els == null) {
8696 $_texImage2D_3_Callback(mthis, target, level, internalformat, format_OR_wi dth, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
8697 return;
8698 }
8699 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement || border _OR_canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || hei ght_OR_type == null) && (format_OR_width is int || format_OR_width == null) && ( internalformat is int || internalformat == null) && (level is int || level == nu ll) && (target is int || target == null) && format == null && type == null && pi xels == null) {
8700 $_texImage2D_4_Callback(mthis, target, level, internalformat, format_OR_wi dth, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
8701 return;
8702 }
8703 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement || border_ OR_canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (i nternalformat is int || internalformat == null) && (level is int || level == nul l) && (target is int || target == null) && format == null && type == null && pix els == null) {
8704 $_texImage2D_5_Callback(mthis, target, level, internalformat, format_OR_wi dth, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
8705 return;
8706 }
8707 throw new ArgumentError("Incorrect number or type of arguments");
8708 }
8709
8710 static $_texImage2D_1_Callback(mthis, target, level, internalformat, format_OR _width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, format, ty pe, pixels) native "WebGLRenderingContext_texImage2D_Callback_RESOLVER_STRING_9_ unsigned long_long_unsigned long_long_long_long_unsigned long_unsigned long_Arra yBufferView"; 7784 static $_texImage2D_1_Callback(mthis, target, level, internalformat, format_OR _width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, format, ty pe, pixels) native "WebGLRenderingContext_texImage2D_Callback_RESOLVER_STRING_9_ unsigned long_long_unsigned long_long_long_long_unsigned long_unsigned long_Arra yBufferView";
8711 7785
8712 static $_texImage2D_2_Callback(mthis, target, level, internalformat, format_OR _width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video) native "We bGLRenderingContext_texImage2D_Callback_RESOLVER_STRING_6_unsigned long_long_uns igned long_unsigned long_unsigned long_ImageData"; 7786 static $_texImage2D_2_Callback(mthis, target, level, internalformat, format_OR _width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video) native "We bGLRenderingContext_texImage2D_Callback_RESOLVER_STRING_6_unsigned long_long_uns igned long_unsigned long_unsigned long_ImageData";
8713 7787
8714 static $_texImage2D_3_Callback(mthis, target, level, internalformat, format_OR _width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video) native "We bGLRenderingContext_texImage2D_Callback_RESOLVER_STRING_6_unsigned long_long_uns igned long_unsigned long_unsigned long_HTMLImageElement"; 7788 static $_texImage2D_3_Callback(mthis, target, level, internalformat, format_OR _width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video) native "We bGLRenderingContext_texImage2D_Callback_RESOLVER_STRING_6_unsigned long_long_uns igned long_unsigned long_unsigned long_HTMLImageElement";
8715 7789
8716 static $_texImage2D_4_Callback(mthis, target, level, internalformat, format_OR _width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video) native "We bGLRenderingContext_texImage2D_Callback_RESOLVER_STRING_6_unsigned long_long_uns igned long_unsigned long_unsigned long_HTMLCanvasElement"; 7790 static $_texImage2D_4_Callback(mthis, target, level, internalformat, format_OR _width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video) native "We bGLRenderingContext_texImage2D_Callback_RESOLVER_STRING_6_unsigned long_long_uns igned long_unsigned long_unsigned long_HTMLCanvasElement";
8717 7791
8718 static $_texImage2D_5_Callback(mthis, target, level, internalformat, format_OR _width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video) native "We bGLRenderingContext_texImage2D_Callback_RESOLVER_STRING_6_unsigned long_long_uns igned long_unsigned long_unsigned long_HTMLVideoElement"; 7792 static $_texImage2D_5_Callback(mthis, target, level, internalformat, format_OR _width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video) native "We bGLRenderingContext_texImage2D_Callback_RESOLVER_STRING_6_unsigned long_long_uns igned long_unsigned long_unsigned long_HTMLVideoElement";
8719 7793
8720 static $texImage2DCanvas_Callback(mthis, target, level, internalformat, format , type, canvas) native "WebGLRenderingContext_texImage2D_Callback_RESOLVER_STRIN G_6_unsigned long_long_unsigned long_unsigned long_unsigned long_HTMLCanvasEleme nt"; 7794 static $texImage2DCanvas_Callback(mthis, target, level, internalformat, format , type, canvas) native "WebGLRenderingContext_texImage2D_Callback_RESOLVER_STRIN G_6_unsigned long_long_unsigned long_unsigned long_unsigned long_HTMLCanvasEleme nt";
8721 7795
8722 static $texImage2DImage_Callback(mthis, target, level, internalformat, format, type, image) native "WebGLRenderingContext_texImage2D_Callback_RESOLVER_STRING_ 6_unsigned long_long_unsigned long_unsigned long_unsigned long_HTMLImageElement" ; 7796 static $texImage2DImage_Callback(mthis, target, level, internalformat, format, type, image) native "WebGLRenderingContext_texImage2D_Callback_RESOLVER_STRING_ 6_unsigned long_long_unsigned long_unsigned long_unsigned long_HTMLImageElement" ;
8723 7797
8724 static $texImage2DImageData_Callback(mthis, target, level, internalformat, for mat, type, pixels) native "WebGLRenderingContext_texImage2D_Callback_RESOLVER_ST RING_6_unsigned long_long_unsigned long_unsigned long_unsigned long_ImageData"; 7798 static $texImage2DImageData_Callback(mthis, target, level, internalformat, for mat, type, pixels) native "WebGLRenderingContext_texImage2D_Callback_RESOLVER_ST RING_6_unsigned long_long_unsigned long_unsigned long_unsigned long_ImageData";
8725 7799
8726 static $texImage2DVideo_Callback(mthis, target, level, internalformat, format, type, video) native "WebGLRenderingContext_texImage2D_Callback_RESOLVER_STRING_ 6_unsigned long_long_unsigned long_unsigned long_unsigned long_HTMLVideoElement" ; 7800 static $texImage2DVideo_Callback(mthis, target, level, internalformat, format, type, video) native "WebGLRenderingContext_texImage2D_Callback_RESOLVER_STRING_ 6_unsigned long_long_unsigned long_unsigned long_unsigned long_HTMLVideoElement" ;
8727 7801
8728 static $texParameterf_Callback(mthis, target, pname, param) native "WebGLRende ringContext_texParameterf_Callback_RESOLVER_STRING_3_unsigned long_unsigned long _float"; 7802 static $texParameterf_Callback(mthis, target, pname, param) native "WebGLRende ringContext_texParameterf_Callback_RESOLVER_STRING_3_unsigned long_unsigned long _float";
8729 7803
8730 static $texParameteri_Callback(mthis, target, pname, param) native "WebGLRende ringContext_texParameteri_Callback_RESOLVER_STRING_3_unsigned long_unsigned long _long"; 7804 static $texParameteri_Callback(mthis, target, pname, param) native "WebGLRende ringContext_texParameteri_Callback_RESOLVER_STRING_3_unsigned long_unsigned long _long";
8731 7805
8732 // Generated overload resolver
8733 static $texSubImage2D(mthis, target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels) {
8734 if ((pixels is TypedData || pixels == null) && (type is int || type == null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is int || canvas_OR_format_OR_ image_OR_pixels_OR_video == null) && (height_OR_type is int || height_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (yoffset is int || yoffset == null) && (xoffset is int || xoffset == null) && (level is int || level == null) && (target is int || target == null)) {
8735 $_texSubImage2D_1_Callback(mthis, target, level, xoffset, yoffset, format_ OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pi xels);
8736 return;
8737 }
8738 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || canvas_OR_ format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || height_ OR_type == null) && (format_OR_width is int || format_OR_width == null) && (yoff set is int || yoffset == null) && (xoffset is int || xoffset == null) && (level is int || level == null) && (target is int || target == null) && type == null && pixels == null) {
8739 $_texSubImage2D_2_Callback(mthis, target, level, xoffset, yoffset, format_ OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
8740 return;
8741 }
8742 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement || canvas_ OR_format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (y offset is int || yoffset == null) && (xoffset is int || xoffset == null) && (lev el is int || level == null) && (target is int || target == null) && type == null && pixels == null) {
8743 $_texSubImage2D_3_Callback(mthis, target, level, xoffset, yoffset, format_ OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
8744 return;
8745 }
8746 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement || canvas _OR_format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || hei ght_OR_type == null) && (format_OR_width is int || format_OR_width == null) && ( yoffset is int || yoffset == null) && (xoffset is int || xoffset == null) && (le vel is int || level == null) && (target is int || target == null) && type == nul l && pixels == null) {
8747 $_texSubImage2D_4_Callback(mthis, target, level, xoffset, yoffset, format_ OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
8748 return;
8749 }
8750 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement || canvas_ OR_format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (y offset is int || yoffset == null) && (xoffset is int || xoffset == null) && (lev el is int || level == null) && (target is int || target == null) && type == null && pixels == null) {
8751 $_texSubImage2D_5_Callback(mthis, target, level, xoffset, yoffset, format_ OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
8752 return;
8753 }
8754 throw new ArgumentError("Incorrect number or type of arguments");
8755 }
8756
8757 static $_texSubImage2D_1_Callback(mthis, target, level, xoffset, yoffset, form at_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels) native "WebGLRenderingContext_texSubImage2D_Callback_RESOLVER_STRING_9_ unsigned long_long_long_long_long_long_unsigned long_unsigned long_ArrayBufferVi ew"; 7806 static $_texSubImage2D_1_Callback(mthis, target, level, xoffset, yoffset, form at_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels) native "WebGLRenderingContext_texSubImage2D_Callback_RESOLVER_STRING_9_ unsigned long_long_long_long_long_long_unsigned long_unsigned long_ArrayBufferVi ew";
8758 7807
8759 static $_texSubImage2D_2_Callback(mthis, target, level, xoffset, yoffset, form at_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) nativ e "WebGLRenderingContext_texSubImage2D_Callback_RESOLVER_STRING_7_unsigned long_ long_long_long_unsigned long_unsigned long_ImageData"; 7808 static $_texSubImage2D_2_Callback(mthis, target, level, xoffset, yoffset, form at_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) nativ e "WebGLRenderingContext_texSubImage2D_Callback_RESOLVER_STRING_7_unsigned long_ long_long_long_unsigned long_unsigned long_ImageData";
8760 7809
8761 static $_texSubImage2D_3_Callback(mthis, target, level, xoffset, yoffset, form at_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) nativ e "WebGLRenderingContext_texSubImage2D_Callback_RESOLVER_STRING_7_unsigned long_ long_long_long_unsigned long_unsigned long_HTMLImageElement"; 7810 static $_texSubImage2D_3_Callback(mthis, target, level, xoffset, yoffset, form at_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) nativ e "WebGLRenderingContext_texSubImage2D_Callback_RESOLVER_STRING_7_unsigned long_ long_long_long_unsigned long_unsigned long_HTMLImageElement";
8762 7811
8763 static $_texSubImage2D_4_Callback(mthis, target, level, xoffset, yoffset, form at_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) nativ e "WebGLRenderingContext_texSubImage2D_Callback_RESOLVER_STRING_7_unsigned long_ long_long_long_unsigned long_unsigned long_HTMLCanvasElement"; 7812 static $_texSubImage2D_4_Callback(mthis, target, level, xoffset, yoffset, form at_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) nativ e "WebGLRenderingContext_texSubImage2D_Callback_RESOLVER_STRING_7_unsigned long_ long_long_long_unsigned long_unsigned long_HTMLCanvasElement";
8764 7813
8765 static $_texSubImage2D_5_Callback(mthis, target, level, xoffset, yoffset, form at_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) nativ e "WebGLRenderingContext_texSubImage2D_Callback_RESOLVER_STRING_7_unsigned long_ long_long_long_unsigned long_unsigned long_HTMLVideoElement"; 7814 static $_texSubImage2D_5_Callback(mthis, target, level, xoffset, yoffset, form at_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) nativ e "WebGLRenderingContext_texSubImage2D_Callback_RESOLVER_STRING_7_unsigned long_ long_long_long_unsigned long_unsigned long_HTMLVideoElement";
8766 7815
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
8857 static $elapsedTime_Getter(mthis) native "WebKitAnimationEvent_elapsedTime_Get ter"; 7906 static $elapsedTime_Getter(mthis) native "WebKitAnimationEvent_elapsedTime_Get ter";
8858 } 7907 }
8859 7908
8860 class BlinkWebKitCSSFilterRule { 7909 class BlinkWebKitCSSFilterRule {
8861 static $style_Getter(mthis) native "WebKitCSSFilterRule_style_Getter"; 7910 static $style_Getter(mthis) native "WebKitCSSFilterRule_style_Getter";
8862 } 7911 }
8863 7912
8864 class BlinkWebKitCSSFilterValue {} 7913 class BlinkWebKitCSSFilterValue {}
8865 7914
8866 class BlinkWebKitCSSMatrix { 7915 class BlinkWebKitCSSMatrix {
8867 // Generated overload resolver
8868 static $mk_WebKitCSSMatrix(cssValue) {
8869 return $_create_1constructorCallback(cssValue);
8870 }
8871
8872 static $_create_1constructorCallback(cssValue) native "WebKitCSSMatrix_constru ctorCallback_RESOLVER_STRING_1_DOMString"; 7916 static $_create_1constructorCallback(cssValue) native "WebKitCSSMatrix_constru ctorCallback_RESOLVER_STRING_1_DOMString";
8873 } 7917 }
8874 7918
8875 class BlinkWebKitCSSTransformValue {} 7919 class BlinkWebKitCSSTransformValue {}
8876 7920
8877 class BlinkWebKitMediaSource { 7921 class BlinkWebKitMediaSource {
8878 // Generated overload resolver
8879 static $mk_WebKitMediaSource() {
8880 return $_create_1constructorCallback();
8881 }
8882
8883 static $_create_1constructorCallback() native "WebKitMediaSource_constructorCa llback_RESOLVER_STRING_0_"; 7922 static $_create_1constructorCallback() native "WebKitMediaSource_constructorCa llback_RESOLVER_STRING_0_";
8884 } 7923 }
8885 7924
8886 class BlinkWebKitNotification {} 7925 class BlinkWebKitNotification {}
8887 7926
8888 class BlinkWebKitPoint { 7927 class BlinkWebKitPoint {
8889 static $constructorCallback(x, y) native "WebKitPoint_constructorCallback"; 7928 static $constructorCallback(x, y) native "WebKitPoint_constructorCallback";
8890 7929
8891 static $x_Getter(mthis) native "WebKitPoint_x_Getter"; 7930 static $x_Getter(mthis) native "WebKitPoint_x_Getter";
8892 7931
8893 static $x_Setter(mthis, value) native "WebKitPoint_x_Setter"; 7932 static $x_Setter(mthis, value) native "WebKitPoint_x_Setter";
8894 7933
8895 static $y_Getter(mthis) native "WebKitPoint_y_Getter"; 7934 static $y_Getter(mthis) native "WebKitPoint_y_Getter";
8896 7935
8897 static $y_Setter(mthis, value) native "WebKitPoint_y_Setter"; 7936 static $y_Setter(mthis, value) native "WebKitPoint_y_Setter";
8898 } 7937 }
8899 7938
8900 class BlinkWebKitSourceBuffer {} 7939 class BlinkWebKitSourceBuffer {}
8901 7940
8902 class BlinkWebKitSourceBufferList { 7941 class BlinkWebKitSourceBufferList {
8903 static $item_Callback(mthis, index) native "WebKitSourceBufferList_item_Callba ck_RESOLVER_STRING_1_unsigned long"; 7942 static $item_Callback(mthis, index) native "WebKitSourceBufferList_item_Callba ck_RESOLVER_STRING_1_unsigned long";
8904 } 7943 }
8905 7944
8906 class BlinkWebSocket { 7945 class BlinkWebSocket {
8907 // Generated overload resolver
8908 static $mkWebSocket(url, protocol_OR_protocols) {
8909 if ((url is String || url == null) && protocol_OR_protocols == null) {
8910 return $_create_1constructorCallback(url);
8911 }
8912 if ((protocol_OR_protocols is List<String> || protocol_OR_protocols == null) && (url is String || url == null)) {
8913 return $_create_2constructorCallback(url, protocol_OR_protocols);
8914 }
8915 if ((protocol_OR_protocols is String || protocol_OR_protocols == null) && (u rl is String || url == null)) {
8916 return $_create_3constructorCallback(url, protocol_OR_protocols);
8917 }
8918 throw new ArgumentError("Incorrect number or type of arguments");
8919 }
8920
8921 static $_create_1constructorCallback(url) native "WebSocket_constructorCallbac k_RESOLVER_STRING_1_DOMString"; 7946 static $_create_1constructorCallback(url) native "WebSocket_constructorCallbac k_RESOLVER_STRING_1_DOMString";
8922 7947
8923 static $_create_2constructorCallback(url, protocol_OR_protocols) native "WebSo cket_constructorCallback_RESOLVER_STRING_2_DOMString_sequence<DOMString>"; 7948 static $_create_2constructorCallback(url, protocol_OR_protocols) native "WebSo cket_constructorCallback_RESOLVER_STRING_2_DOMString_sequence<DOMString>";
8924 7949
8925 static $_create_3constructorCallback(url, protocol_OR_protocols) native "WebSo cket_constructorCallback_RESOLVER_STRING_2_DOMString_DOMString"; 7950 static $_create_3constructorCallback(url, protocol_OR_protocols) native "WebSo cket_constructorCallback_RESOLVER_STRING_2_DOMString_DOMString";
8926 7951
8927 static $binaryType_Getter(mthis) native "WebSocket_binaryType_Getter"; 7952 static $binaryType_Getter(mthis) native "WebSocket_binaryType_Getter";
8928 7953
8929 static $binaryType_Setter(mthis, value) native "WebSocket_binaryType_Setter"; 7954 static $binaryType_Setter(mthis, value) native "WebSocket_binaryType_Setter";
8930 7955
8931 static $bufferedAmount_Getter(mthis) native "WebSocket_bufferedAmount_Getter"; 7956 static $bufferedAmount_Getter(mthis) native "WebSocket_bufferedAmount_Getter";
8932 7957
8933 static $extensions_Getter(mthis) native "WebSocket_extensions_Getter"; 7958 static $extensions_Getter(mthis) native "WebSocket_extensions_Getter";
8934 7959
8935 static $protocol_Getter(mthis) native "WebSocket_protocol_Getter"; 7960 static $protocol_Getter(mthis) native "WebSocket_protocol_Getter";
8936 7961
8937 static $readyState_Getter(mthis) native "WebSocket_readyState_Getter"; 7962 static $readyState_Getter(mthis) native "WebSocket_readyState_Getter";
8938 7963
8939 static $url_Getter(mthis) native "WebSocket_url_Getter"; 7964 static $url_Getter(mthis) native "WebSocket_url_Getter";
8940 7965
8941 // Generated overload resolver
8942 static $close(mthis, code, reason) {
8943 if (reason != null) {
8944 $_close_1_Callback(mthis, code, reason);
8945 return;
8946 }
8947 if (code != null) {
8948 $_close_2_Callback(mthis, code);
8949 return;
8950 }
8951 $_close_3_Callback(mthis);
8952 return;
8953 }
8954
8955 static $_close_1_Callback(mthis, code, reason) native "WebSocket_close_Callbac k_RESOLVER_STRING_2_unsigned short_DOMString"; 7966 static $_close_1_Callback(mthis, code, reason) native "WebSocket_close_Callbac k_RESOLVER_STRING_2_unsigned short_DOMString";
8956 7967
8957 static $_close_2_Callback(mthis, code) native "WebSocket_close_Callback_RESOLV ER_STRING_1_unsigned short"; 7968 static $_close_2_Callback(mthis, code) native "WebSocket_close_Callback_RESOLV ER_STRING_1_unsigned short";
8958 7969
8959 static $_close_3_Callback(mthis) native "WebSocket_close_Callback_RESOLVER_STR ING_0_"; 7970 static $_close_3_Callback(mthis) native "WebSocket_close_Callback_RESOLVER_STR ING_0_";
8960 7971
8961 // Generated overload resolver
8962 static $send(mthis, data) {
8963 if ((data is TypedData || data == null)) {
8964 $_send_1_Callback(mthis, data);
8965 return;
8966 }
8967 if ((data is ByteBuffer || data == null)) {
8968 $_send_2_Callback(mthis, data);
8969 return;
8970 }
8971 if ((data is Blob || data == null)) {
8972 $_send_3_Callback(mthis, data);
8973 return;
8974 }
8975 if ((data is String || data == null)) {
8976 $_send_4_Callback(mthis, data);
8977 return;
8978 }
8979 throw new ArgumentError("Incorrect number or type of arguments");
8980 }
8981
8982 static $_send_1_Callback(mthis, data) native "WebSocket_send_Callback_RESOLVER _STRING_1_ArrayBufferView"; 7972 static $_send_1_Callback(mthis, data) native "WebSocket_send_Callback_RESOLVER _STRING_1_ArrayBufferView";
8983 7973
8984 static $_send_2_Callback(mthis, data) native "WebSocket_send_Callback_RESOLVER _STRING_1_ArrayBuffer"; 7974 static $_send_2_Callback(mthis, data) native "WebSocket_send_Callback_RESOLVER _STRING_1_ArrayBuffer";
8985 7975
8986 static $_send_3_Callback(mthis, data) native "WebSocket_send_Callback_RESOLVER _STRING_1_Blob"; 7976 static $_send_3_Callback(mthis, data) native "WebSocket_send_Callback_RESOLVER _STRING_1_Blob";
8987 7977
8988 static $_send_4_Callback(mthis, data) native "WebSocket_send_Callback_RESOLVER _STRING_1_DOMString"; 7978 static $_send_4_Callback(mthis, data) native "WebSocket_send_Callback_RESOLVER _STRING_1_DOMString";
8989 7979
8990 static $sendBlob_Callback(mthis, data) native "WebSocket_send_Callback_RESOLVE R_STRING_1_Blob"; 7980 static $sendBlob_Callback(mthis, data) native "WebSocket_send_Callback_RESOLVE R_STRING_1_Blob";
8991 7981
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
9108 static $statusbar_Getter(mthis) native "Window_statusbar_Getter"; 8098 static $statusbar_Getter(mthis) native "Window_statusbar_Getter";
9109 8099
9110 static $styleMedia_Getter(mthis) native "Window_styleMedia_Getter"; 8100 static $styleMedia_Getter(mthis) native "Window_styleMedia_Getter";
9111 8101
9112 static $toolbar_Getter(mthis) native "Window_toolbar_Getter"; 8102 static $toolbar_Getter(mthis) native "Window_toolbar_Getter";
9113 8103
9114 static $top_Getter(mthis) native "Window_top_Getter"; 8104 static $top_Getter(mthis) native "Window_top_Getter";
9115 8105
9116 static $window_Getter(mthis) native "Window_window_Getter"; 8106 static $window_Getter(mthis) native "Window_window_Getter";
9117 8107
9118 // Generated overload resolver
9119 static $__getter__(mthis, index_OR_name) {
9120 if ((index_OR_name is int || index_OR_name == null)) {
9121 return $___getter___1_Callback(mthis, index_OR_name);
9122 }
9123 if ((index_OR_name is String || index_OR_name == null)) {
9124 return $___getter___2_Callback(mthis, index_OR_name);
9125 }
9126 throw new ArgumentError("Incorrect number or type of arguments");
9127 }
9128
9129 static $___getter___1_Callback(mthis, index_OR_name) native "Window___getter__ _Callback_RESOLVER_STRING_1_unsigned long"; 8108 static $___getter___1_Callback(mthis, index_OR_name) native "Window___getter__ _Callback_RESOLVER_STRING_1_unsigned long";
9130 8109
9131 static $___getter___2_Callback(mthis, index_OR_name) native "Window___getter__ _Callback"; 8110 static $___getter___2_Callback(mthis, index_OR_name) native "Window___getter__ _Callback";
9132 8111
9133 static $alert_Callback(mthis, message) native "Window_alert_Callback_RESOLVER_ STRING_1_DOMString"; 8112 static $alert_Callback(mthis, message) native "Window_alert_Callback_RESOLVER_ STRING_1_DOMString";
9134 8113
9135 static $cancelAnimationFrame_Callback(mthis, id) native "Window_cancelAnimatio nFrame_Callback_RESOLVER_STRING_1_long"; 8114 static $cancelAnimationFrame_Callback(mthis, id) native "Window_cancelAnimatio nFrame_Callback_RESOLVER_STRING_1_long";
9136 8115
9137 static $close_Callback(mthis) native "Window_close_Callback_RESOLVER_STRING_0_ "; 8116 static $close_Callback(mthis) native "Window_close_Callback_RESOLVER_STRING_0_ ";
9138 8117
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
9193 static $clearInterval_Callback(mthis, handle) native "Window_clearInterval_Cal lback_RESOLVER_STRING_1_long"; 8172 static $clearInterval_Callback(mthis, handle) native "Window_clearInterval_Cal lback_RESOLVER_STRING_1_long";
9194 8173
9195 static $clearTimeout_Callback(mthis, handle) native "Window_clearTimeout_Callb ack_RESOLVER_STRING_1_long"; 8174 static $clearTimeout_Callback(mthis, handle) native "Window_clearTimeout_Callb ack_RESOLVER_STRING_1_long";
9196 8175
9197 static $setInterval_Callback(mthis, handler, timeout) native "Window_setInterv al_Callback"; 8176 static $setInterval_Callback(mthis, handler, timeout) native "Window_setInterv al_Callback";
9198 8177
9199 static $setTimeout_Callback(mthis, handler, timeout) native "Window_setTimeout _Callback"; 8178 static $setTimeout_Callback(mthis, handler, timeout) native "Window_setTimeout _Callback";
9200 } 8179 }
9201 8180
9202 class BlinkWorker { 8181 class BlinkWorker {
9203 // Generated overload resolver
9204 static $mkWorker(scriptUrl) {
9205 return $_create_1constructorCallback(scriptUrl);
9206 }
9207
9208 static $_create_1constructorCallback(scriptUrl) native "Worker_constructorCall back_RESOLVER_STRING_1_DOMString"; 8182 static $_create_1constructorCallback(scriptUrl) native "Worker_constructorCall back_RESOLVER_STRING_1_DOMString";
9209 8183
9210 static $postMessage_Callback(mthis, message, messagePorts) native "Worker_post Message_Callback"; 8184 static $postMessage_Callback(mthis, message, messagePorts) native "Worker_post Message_Callback";
9211 8185
9212 static $terminate_Callback(mthis) native "Worker_terminate_Callback_RESOLVER_S TRING_0_"; 8186 static $terminate_Callback(mthis) native "Worker_terminate_Callback_RESOLVER_S TRING_0_";
9213 } 8187 }
9214 8188
9215 class BlinkWorkerConsole {} 8189 class BlinkWorkerConsole {}
9216 8190
9217 class BlinkWorkerCrypto {} 8191 class BlinkWorkerCrypto {}
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
9270 static $send_Callback(mthis, data) native "XMLHttpRequest_send_Callback"; 8244 static $send_Callback(mthis, data) native "XMLHttpRequest_send_Callback";
9271 8245
9272 static $setRequestHeader_Callback(mthis, header, value) native "XMLHttpRequest _setRequestHeader_Callback_RESOLVER_STRING_2_DOMString_DOMString"; 8246 static $setRequestHeader_Callback(mthis, header, value) native "XMLHttpRequest _setRequestHeader_Callback_RESOLVER_STRING_2_DOMString_DOMString";
9273 } 8247 }
9274 8248
9275 class BlinkXMLHttpRequestProgressEvent {} 8249 class BlinkXMLHttpRequestProgressEvent {}
9276 8250
9277 class BlinkXMLHttpRequestUpload {} 8251 class BlinkXMLHttpRequestUpload {}
9278 8252
9279 class BlinkXMLSerializer { 8253 class BlinkXMLSerializer {
9280 // Generated overload resolver
9281 static $mkXmlSerializer() {
9282 return $_create_1constructorCallback();
9283 }
9284
9285 static $_create_1constructorCallback() native "XMLSerializer_constructorCallba ck_RESOLVER_STRING_0_"; 8254 static $_create_1constructorCallback() native "XMLSerializer_constructorCallba ck_RESOLVER_STRING_0_";
9286 8255
9287 static $serializeToString_Callback(mthis, node) native "XMLSerializer_serializ eToString_Callback_RESOLVER_STRING_1_Node"; 8256 static $serializeToString_Callback(mthis, node) native "XMLSerializer_serializ eToString_Callback_RESOLVER_STRING_1_Node";
9288 } 8257 }
9289 8258
9290 class BlinkXPathEvaluator { 8259 class BlinkXPathEvaluator {
9291 // Generated overload resolver
9292 static $mkXPathEvaluator() {
9293 return $_create_1constructorCallback();
9294 }
9295
9296 static $_create_1constructorCallback() native "XPathEvaluator_constructorCallb ack_RESOLVER_STRING_0_"; 8260 static $_create_1constructorCallback() native "XPathEvaluator_constructorCallb ack_RESOLVER_STRING_0_";
9297 8261
9298 static $createExpression_Callback(mthis, expression, resolver) native "XPathEv aluator_createExpression_Callback_RESOLVER_STRING_2_DOMString_XPathNSResolver"; 8262 static $createExpression_Callback(mthis, expression, resolver) native "XPathEv aluator_createExpression_Callback_RESOLVER_STRING_2_DOMString_XPathNSResolver";
9299 8263
9300 static $createNSResolver_Callback(mthis, nodeResolver) native "XPathEvaluator_ createNSResolver_Callback_RESOLVER_STRING_1_Node"; 8264 static $createNSResolver_Callback(mthis, nodeResolver) native "XPathEvaluator_ createNSResolver_Callback_RESOLVER_STRING_1_Node";
9301 8265
9302 static $evaluate_Callback(mthis, expression, contextNode, resolver, type, inRe sult) native "XPathEvaluator_evaluate_Callback_RESOLVER_STRING_5_DOMString_Node_ XPathNSResolver_unsigned short_XPathResult"; 8266 static $evaluate_Callback(mthis, expression, contextNode, resolver, type, inRe sult) native "XPathEvaluator_evaluate_Callback_RESOLVER_STRING_5_DOMString_Node_ XPathNSResolver_unsigned short_XPathResult";
9303 } 8267 }
9304 8268
9305 class BlinkXPathExpression { 8269 class BlinkXPathExpression {
(...skipping 18 matching lines...) Expand all
9324 static $snapshotLength_Getter(mthis) native "XPathResult_snapshotLength_Getter "; 8288 static $snapshotLength_Getter(mthis) native "XPathResult_snapshotLength_Getter ";
9325 8289
9326 static $stringValue_Getter(mthis) native "XPathResult_stringValue_Getter"; 8290 static $stringValue_Getter(mthis) native "XPathResult_stringValue_Getter";
9327 8291
9328 static $iterateNext_Callback(mthis) native "XPathResult_iterateNext_Callback_R ESOLVER_STRING_0_"; 8292 static $iterateNext_Callback(mthis) native "XPathResult_iterateNext_Callback_R ESOLVER_STRING_0_";
9329 8293
9330 static $snapshotItem_Callback(mthis, index) native "XPathResult_snapshotItem_C allback_RESOLVER_STRING_1_unsigned long"; 8294 static $snapshotItem_Callback(mthis, index) native "XPathResult_snapshotItem_C allback_RESOLVER_STRING_1_unsigned long";
9331 } 8295 }
9332 8296
9333 class BlinkXSLTProcessor { 8297 class BlinkXSLTProcessor {
9334 // Generated overload resolver
9335 static $mkXsltProcessor() {
9336 return $_create_1constructorCallback();
9337 }
9338
9339 static $_create_1constructorCallback() native "XSLTProcessor_constructorCallba ck_RESOLVER_STRING_0_"; 8298 static $_create_1constructorCallback() native "XSLTProcessor_constructorCallba ck_RESOLVER_STRING_0_";
9340 8299
9341 static $clearParameters_Callback(mthis) native "XSLTProcessor_clearParameters_ Callback_RESOLVER_STRING_0_"; 8300 static $clearParameters_Callback(mthis) native "XSLTProcessor_clearParameters_ Callback_RESOLVER_STRING_0_";
9342 8301
9343 static $getParameter_Callback(mthis, namespaceURI, localName) native "XSLTProc essor_getParameter_Callback"; 8302 static $getParameter_Callback(mthis, namespaceURI, localName) native "XSLTProc essor_getParameter_Callback";
9344 8303
9345 static $importStylesheet_Callback(mthis, stylesheet) native "XSLTProcessor_imp ortStylesheet_Callback_RESOLVER_STRING_1_Node"; 8304 static $importStylesheet_Callback(mthis, stylesheet) native "XSLTProcessor_imp ortStylesheet_Callback_RESOLVER_STRING_1_Node";
9346 8305
9347 static $removeParameter_Callback(mthis, namespaceURI, localName) native "XSLTP rocessor_removeParameter_Callback"; 8306 static $removeParameter_Callback(mthis, namespaceURI, localName) native "XSLTP rocessor_removeParameter_Callback";
9348 8307
9349 static $reset_Callback(mthis) native "XSLTProcessor_reset_Callback_RESOLVER_ST RING_0_"; 8308 static $reset_Callback(mthis) native "XSLTProcessor_reset_Callback_RESOLVER_ST RING_0_";
9350 8309
9351 static $setParameter_Callback(mthis, namespaceURI, localName, value) native "X SLTProcessor_setParameter_Callback"; 8310 static $setParameter_Callback(mthis, namespaceURI, localName, value) native "X SLTProcessor_setParameter_Callback";
9352 8311
9353 static $transformToDocument_Callback(mthis, source) native "XSLTProcessor_tran sformToDocument_Callback_RESOLVER_STRING_1_Node"; 8312 static $transformToDocument_Callback(mthis, source) native "XSLTProcessor_tran sformToDocument_Callback_RESOLVER_STRING_1_Node";
9354 8313
9355 static $transformToFragment_Callback(mthis, source, docVal) native "XSLTProces sor_transformToFragment_Callback_RESOLVER_STRING_2_Node_Document"; 8314 static $transformToFragment_Callback(mthis, source, docVal) native "XSLTProces sor_transformToFragment_Callback_RESOLVER_STRING_2_Node_Document";
9356 } 8315 }
9357 8316
9358 8317
9359 // TODO(vsm): This should be moved out of this library. Into dart:html?
9360 Type _getType(String key) {
9361 var result;
9362
9363 // TODO(vsm): Add Cross Frame and JS types here as well.
9364
9365 // Check the html library.
9366 result = _getHtmlType(key);
9367 if (result != null) {
9368 return result;
9369 }
9370
9371 // Check the web gl library.
9372 result = _getWebGlType(key);
9373 if (result != null) {
9374 return result;
9375 }
9376
9377 // Check the indexed db library.
9378 result = _getIndexDbType(key);
9379 if (result != null) {
9380 return result;
9381 }
9382
9383 // Check the web audio library.
9384 result = _getWebAudioType(key);
9385 if (result != null) {
9386 return result;
9387 }
9388
9389 // Check the web sql library.
9390 result = _getWebSqlType(key);
9391 if (result != null) {
9392 return result;
9393 }
9394
9395 // Check the svg library.
9396 result = _getSvgType(key);
9397 if (result != null) {
9398 return result;
9399 }
9400
9401 return null;
9402 }
9403
9404 Type _getHtmlType(String key) {
9405 if (htmlBlinkMap.containsKey(key)) {
9406 return htmlBlinkMap[key]();
9407 }
9408 return null;
9409 }
9410
9411 Type _getWebGlType(String key) {
9412 if (web_glBlinkMap.containsKey(key)) {
9413 return web_glBlinkMap[key]();
9414 }
9415 return null;
9416 }
9417
9418 Type _getIndexDbType(String key) {
9419 if (indexed_dbBlinkMap.containsKey(key)) {
9420 return indexed_dbBlinkMap[key]();
9421 }
9422 return null;
9423 }
9424
9425 Type _getWebAudioType(String key) {
9426 if (web_audioBlinkMap.containsKey(key)) {
9427 return web_audioBlinkMap[key]();
9428 }
9429 return null;
9430 }
9431
9432 Type _getWebSqlType(String key) {
9433 if (web_sqlBlinkMap.containsKey(key)) {
9434 return web_sqlBlinkMap[key]();
9435 }
9436 return null;
9437 }
9438
9439 Type _getSvgType(String key) {
9440 if (svgBlinkMap.containsKey(key)) {
9441 return svgBlinkMap[key]();
9442 }
9443 return null;
9444 }
9445
9446 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 8318 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
9447 // for details. All rights reserved. Use of this source code is governed by a 8319 // for details. All rights reserved. Use of this source code is governed by a
9448 // BSD-style license that can be found in the LICENSE file. 8320 // BSD-style license that can be found in the LICENSE file.
9449 8321
9450 8322
9451 // _Utils native entry points 8323 // _Utils native entry points
9452 class Blink_Utils { 8324 class Blink_Utils {
9453 static window() native "Utils_window"; 8325 static window() native "Utils_window";
9454 8326
9455 static forwardingPrint(message) native "Utils_forwardingPrint"; 8327 static forwardingPrint(message) native "Utils_forwardingPrint";
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
9503 static containsKey(_DOMStringMap, key) native "DOMStringMap_containsKey_Callba ck"; 8375 static containsKey(_DOMStringMap, key) native "DOMStringMap_containsKey_Callba ck";
9504 8376
9505 static item(_DOMStringMap, key) native "DOMStringMap_item_Callback"; 8377 static item(_DOMStringMap, key) native "DOMStringMap_item_Callback";
9506 8378
9507 static setItem(_DOMStringMap, key, value) native "DOMStringMap_setItem_Callbac k"; 8379 static setItem(_DOMStringMap, key, value) native "DOMStringMap_setItem_Callbac k";
9508 8380
9509 static remove(_DOMStringMap, key) native "DOMStringMap_remove_Callback"; 8381 static remove(_DOMStringMap, key) native "DOMStringMap_remove_Callback";
9510 8382
9511 static get_keys(_DOMStringMap) native "DOMStringMap_getKeys_Callback"; 8383 static get_keys(_DOMStringMap) native "DOMStringMap_getKeys_Callback";
9512 } 8384 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698