Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
dart.idl
Go to the documentation of this file.
1// This file introduces / supplements and forces Dart declarations.
2
3[DartSupplemental]
4interface WaveShaperNode {
5 // TODO(ager): Auto-generate this custom method when the info about retaining
6 // typed arrays is in the IDL.
7 [Custom=Setter] attribute Float32Array? curve;
8};
9
10[DartSupplemental]
11interface AudioParam {
12 // TODO(ager): Auto-generate this custom method when the info about retaining
13 // typed arrays is in the IDL.
14 [Custom] void setValueCurveAtTime(Float32Array values, double time, double duration);
15};
16
17[DartSupplemental]
18interface Document {
19 [Custom] Element createElement(DOMString tagName);
20 [Custom] Element createElement(DOMString localName, DOMString typeExtension);
21 [Custom] Element createElementNS(DOMString namespaceURI, DOMString qualifiedName);
22 [Custom] Element createElementNS(DOMString namespaceURI, DOMString qualifiedName, DOMString typeExtension);
23 [DartName=registerElement2] CustomElementConstructor registerElement(DOMString type, optional ElementRegistrationOptions options);
24 [DartSuppress] readonly attribute (HTMLScriptElement or SVGScriptElement)? currentScript;
25 readonly attribute HTMLScriptElement? currentScript;
26};
27
28[DartSupplemental]
29interface Node {
30 [Custom] Node cloneNode([Default=Undefined] optional boolean deep);
31 [DartSuppress] readonly attribute Element nextElementSibling;
32 [DartSuppress] readonly attribute Element previousElementSibling;
33};
34
35[DartSupplemental]
37 [DartSuppress] attribute EventListener onaudioprocess;
38 [Custom] void _setEventListener(EventListener eventListener);
39};
40
41[DartSupplemental]
42interface Element {
43 readonly attribute Element? nextElementSibling;
44 readonly attribute Element? previousElementSibling;
45};
46
47[DartSupplemental]
48interface CharacterData {
49 readonly attribute Element? nextElementSibling;
50 readonly attribute Element? previousElementSibling;
51};
52
53[Callback]
54interface TimeoutHandler {
56};
57
58[Callback]
60 void handleEvent(double highResTime);
61};
62
63// FIXME(leafp): This is a temporary hack to get things running while
64// we are still generating _blink from the dart side idl files.
65// Once we are up and running generating dart:_blink in dartium
66// this should go away.
67[DartSupplemental]
68interface URL {
69 [DartSuppress] static DOMString createObjectURL(WebKitMediaSource source);
70};
71
72[DartSupplemental]
74 [DartName=createImageDataFromImageData] ImageData createImageData(ImageData imagedata);
75
76 // Removed in 1916.
77 [DartSuppress] void drawSystemFocusRing(Element element);
78
79 [DartSuppress] void assert(boolean condition);
80
81 [DartSuppress] attribute boolean webkitImageSmoothingEnabled;
82
83 // Removed in 1985.
84 [DartSuppress] readonly attribute float webkitBackingStorePixelRatio;
85};
86
88 [DartSuppress] DOMString toDataURL([TreatNullAs=NullString, Default=Undefined] DOMString type);
89 [Custom] DOMString toDataURL([TreatNullAs=NullString, Default=Undefined] DOMString type, optional float quality);
90};
91
92[DartSupplemental]
94 [DartSuppress] void add(optional HTMLOptionElement element, optional long before);
95 [DartSuppress] void remove(HTMLOptionElement option); // Non standard.
96};
97
98[DartSupplemental]
100 [DartSuppress] void add([Default=Undefined] HTMLElement element, [Default=Undefined] HTMLElement before);
101 [DartSuppress, Custom] void remove();
102 [DartSuppress] void remove(long index);
103 [DartSuppress] void remove(HTMLOptionElement option); // Non standard.
104};
105
106[DartSupplemental]
108 // Adding media events.
109 attribute EventListener oncanplay;
110 attribute EventListener oncanplaythrough;
111 attribute EventListener ondurationchange;
112 attribute EventListener onemptied;
113 attribute EventListener onended;
114 attribute EventListener onloadeddata;
115 attribute EventListener onloadedmetadata;
116 attribute EventListener onloadstart;
117 attribute EventListener onpause;
118 attribute EventListener onplay;
119 attribute EventListener onplaying;
120 attribute EventListener onprogress;
121 attribute EventListener onratechange;
122 attribute EventListener onseeked;
123 attribute EventListener onseeking;
124 attribute EventListener onshow;
125 attribute EventListener onstalled;
126 attribute EventListener onsuspend;
127 attribute EventListener ontimeupdate;
128 attribute EventListener onvolumechange;
129 attribute EventListener onwaiting;
130 attribute EventListener onwheel;
131};
132
133[DartSupplemental]
135 [DartSuppress] Promise<void> createOffer(RTCSessionDescriptionCallback successCallback, RTCPeerConnectionErrorCallback failureCallback, optional Dictionary rtcOfferOptions);
136 [DartSuppress] Promise<void> createAnswer(RTCSessionDescriptionCallback successCallback, RTCPeerConnectionErrorCallback failureCallback, optional Dictionary mediaConstraints);
137 [DartSuppress] void addIceCandidate(RTCIceCandidate candidate);
138 [DartSuppress] Promise<void> getStats(RTCStatsCallback successCallback, optional MediaStreamTrack? selector);
139 [DartSuppress] Promise<void> setLocalDescription(RTCSessionDescriptionInit description, VoidCallback successCallback, [Default=Undefined] optional RTCPeerConnectionErrorCallback failureCallback);
140 [DartSuppress] Promise<void> setRemoteDescription(RTCSessionDescriptionInit description, VoidCallback successCallback, [Default=Undefined] optional RTCPeerConnectionErrorCallback failureCallback);
141 [Custom] readonly attribute DOMString connectionState;
142 [Custom] attribute EventHandler onconnectionstatechange;
143};
144
145// See implementation in tools/dom/templates for canvas and offscreenCanvas.
146interface WebGLCanvas {
147};
148
149[DartSupplemental]
151 [DartSuppress] readonly attribute (HTMLCanvasElement or OffscreenCanvas) canvas;
153};
154
155[DartSupplemental]
157 [DartSuppress] readonly attribute (HTMLCanvasElement or OffscreenCanvas) canvas;
159};
160
161[DartSupplemental]
163 [DartSuppress] readonly attribute (HTMLCanvasElement or OffscreenCanvas) canvas;
165 [DartName=bufferData2] void bufferData(GLenum target, [AllowShared] ArrayBufferView srcData, GLenum usage, GLuint srcOffset, optional GLuint length = 0);
166 [DartName=bufferSubData2] void bufferSubData(GLenum target, GLintptr dstByteOffset, [AllowShared] ArrayBufferView srcData, GLuint srcOffset, optional GLuint length = 0);
167 [DartName=compressedTexImage2D2] void compressedTexImage2D(GLenum target, GLint level, GLenum internalformat,
168 GLsizei width, GLsizei height, GLint border,
169 [AllowShared] ArrayBufferView data, GLuint srcOffset,
170 optional GLuint srcLengthOverride = 0);
171 [DartName=compressedTexImage2D3] void compressedTexImage2D(GLenum target, GLint level, GLenum internalformat,
172 GLsizei width, GLsizei height, GLint border,
173 GLsizei imageSize, GLintptr offset);
174 [DartName=compressedTexSubImage2D2] void compressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
175 GLsizei width, GLsizei height, GLenum format,
176 [AllowShared] ArrayBufferView data, GLuint srcOffset,
177 optional GLuint srcLengthOverride = 0);
178 [DartName=compressedTexSubImage2D3] void compressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
179 GLsizei width, GLsizei height, GLenum format,
180 GLsizei imageSize, GLintptr offset);
181 [DartName=compressedTexImage3D2] void compressedTexImage3D(GLenum target, GLint level, GLenum internalformat,
182 GLsizei width, GLsizei height, GLsizei depth, GLint border,
183 GLsizei imageSize, GLintptr offset);
184 [DartName=compressedTexSubImage3D2] void compressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset,
185 GLsizei width, GLsizei height, GLsizei depth, GLenum format,
186 GLsizei imageSize, GLintptr offset);
187 [DartName=readPixels2] void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, ArrayBufferView dstData, GLintptr offset);
188 [DartName=readPixels2] void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLintptr offset);
189 [DartName=texImage2D2] void texImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLintptr offset);
190 [DartName=texImage2D2] void texImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, ImageData data);
191 [DartName=texImage2D2] void texImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, HTMLImageElement image);
192 [DartName=texImage2D2] void texImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, HTMLCanvasElement canvas);
193 [DartName=texImage2D2] void texImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, HTMLVideoElement video);
194 [DartName=texImage2D2] void texImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, ImageBitmap bitmap);
195 [DartName=texImage2D2] void texImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, [AllowShared] ArrayBufferView srcData, GLuint srcOffset);
196 [DartName=texSubImage2D2] void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLintptr offset);
197 [DartName=texSubImage2D2] void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, ImageData data);
198 [DartName=texSubImage2D2] void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, HTMLImageElement image);
199 [DartName=texSubImage2D2] void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, HTMLCanvasElement canvas);
200 [DartName=texSubImage2D2] void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, HTMLVideoElement video);
201 [DartName=texSubImage2D2] void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, ImageBitmap bitmap);
202 [DartName=texSubImage2D2] void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, [AllowShared] ArrayBufferView srcData, GLuint srcOffset);
203 [DartName=uniform1fv2] void uniform1fv(WebGLUniformLocation? location, [FlexibleArrayBufferView] Float32Array v,
204 GLuint srcOffset, optional GLuint srcLength = 0);
205 [DartName=uniform1fv2] void uniform1fv(WebGLUniformLocation? location, sequence<GLfloat> v,
206 GLuint srcOffset, optional GLuint srcLength = 0);
207 [DartName=uniform2fv2] void uniform2fv(WebGLUniformLocation? location, [FlexibleArrayBufferView] Float32Array v,
208 GLuint srcOffset, optional GLuint srcLength = 0);
209 [DartName=uniform2fv2] void uniform2fv(WebGLUniformLocation? location, sequence<GLfloat> v,
210 GLuint srcOffset, optional GLuint srcLength = 0);
211 [DartName=uniform3fv2] void uniform3fv(WebGLUniformLocation? location, [FlexibleArrayBufferView] Float32Array v,
212 GLuint srcOffset, optional GLuint srcLength = 0);
213 [DartName=uniform3fv2] void uniform3fv(WebGLUniformLocation? location, sequence<GLfloat> v,
214 GLuint srcOffset, optional GLuint srcLength = 0);
215 [DartName=uniform4fv2] void uniform4fv(WebGLUniformLocation? location, [FlexibleArrayBufferView] Float32Array v,
216 GLuint srcOffset, optional GLuint srcLength = 0);
217 [DartName=uniform4fv2] void uniform4fv(WebGLUniformLocation? location, sequence<GLfloat> v,
218 GLuint srcOffset, optional GLuint srcLength = 0);
219 [DartName=uniform1iv2] void uniform1iv(WebGLUniformLocation? location, [FlexibleArrayBufferView] Int32Array v,
220 GLuint srcOffset, optional GLuint srcLength = 0);
221 [DartName=uniform1iv2] void uniform1iv(WebGLUniformLocation? location, sequence<GLint> v,
222 GLuint srcOffset, optional GLuint srcLength = 0);
223 [DartName=uniform2iv2] void uniform2iv(WebGLUniformLocation? location, [FlexibleArrayBufferView] Int32Array v,
224 GLuint srcOffset, optional GLuint srcLength = 0);
225 [DartName=uniform2iv2] void uniform2iv(WebGLUniformLocation? location, sequence<GLint> v,
226 GLuint srcOffset, optional GLuint srcLength = 0);
227 [DartName=uniform3iv2] void uniform3iv(WebGLUniformLocation? location, [FlexibleArrayBufferView] Int32Array v,
228 GLuint srcOffset, optional GLuint srcLength = 0);
229 [DartName=uniform3iv2] void uniform3iv(WebGLUniformLocation? location, sequence<GLint> v,
230 GLuint srcOffset, optional GLuint srcLength = 0);
231 [DartName=uniform4iv2] void uniform4iv(WebGLUniformLocation? location, [FlexibleArrayBufferView] Int32Array v,
232 GLuint srcOffset, optional GLuint srcLength = 0);
233 [DartName=uniform4iv2] void uniform4iv(WebGLUniformLocation? location, sequence<GLint> v,
234 GLuint srcOffset, optional GLuint srcLength = 0);
235 [DartName=uniformMatrix2fv2] void uniformMatrix2fv(WebGLUniformLocation? location, GLboolean transpose, [AllowShared] Float32Array array,
236 GLuint srcOffset, optional GLuint srcLength = 0);
237 [DartName=uniformMatrix2fv2] void uniformMatrix2fv(WebGLUniformLocation? location, GLboolean transpose, sequence<GLfloat> array,
238 GLuint srcOffset, optional GLuint srcLength = 0);
239 [DartName=uniformMatrix3fv2] void uniformMatrix3fv(WebGLUniformLocation? location, GLboolean transpose, [AllowShared] Float32Array array,
240 GLuint srcOffset, optional GLuint srcLength = 0);
241 [DartName=uniformMatrix3fv2] void uniformMatrix3fv(WebGLUniformLocation? location, GLboolean transpose, sequence<GLfloat> array,
242 GLuint srcOffset, optional GLuint srcLength = 0);
243 [DartName=uniformMatrix4fv2] void uniformMatrix4fv(WebGLUniformLocation? location, GLboolean transpose, [AllowShared] Float32Array array,
244 GLuint srcOffset, optional GLuint srcLength = 0);
245 [DartName=uniformMatrix4fv2] void uniformMatrix4fv(WebGLUniformLocation? location, GLboolean transpose, sequence<GLfloat> array,
246 GLuint srcOffset, optional GLuint srcLength = 0);
247};
248
249[DartSupplemental]
251 [DartSuppress] void initEvent(optional DOMString eventTypeArg,
252 optional boolean canBubbleArg,
253 optional boolean cancelableArg,
254 optional DOMString statusMessageArg);
255};
256
257// TODO(vsm): Define new names for these (see b/4436830).
258[DartSupplemental]
259interface IDBCursor {
260 [DartName=next, CallWith=ExecutionContext, ImplementedAs=continueFunction, RaisesException] void continue([DartForceOptional] optional any key);
261};
262
263[DartSupplemental]
264interface IDBIndex {
265 [CallWith=ExecutionContext, RaisesException] IDBRequest count([Default=Undefined] optional any key);
266};
267
268[DartSupplemental]
269interface HTMLMediaElement {
270 DOMString canPlayType([Default=Undefined] optional DOMString type, [Default=Undefined, TreatNullAs=NullString, DartForceOptional] optional DOMString keySystem);
271};
272
273[DartSupplemental]
274interface IDBKeyRange {
275 [DartName=only_] static IDBKeyRange only(any value);
276 [DartName=lowerBound_] static IDBKeyRange lowerBound(any bound, [DartForceOptional] optional boolean open);
277 [DartName=upperBound_] static IDBKeyRange upperBound(any bound, [DartForceOptional] optional boolean open);
278 [DartName=bound_] static IDBKeyRange bound(any lower, any upper, [DartForceOptional] optional boolean lowerOpen, [DartForceOptional] optional boolean upperOpen);
279};
280
281[DartSupplemental]
282interface IDBObjectStore {
283 [CallWith=ScriptState, RaisesException] IDBRequest put(any value, [DartForceOptional] optional any key);
284 [CallWith=ScriptState, RaisesException] IDBRequest add(any value, [DartForceOptional] optional any key);
285};
286
287interface EntrySync {
288 // Native implementation is declared to return EntrySync.
289 [DartSuppress] DirectoryEntrySync getParent();
291};
292
293// Need to add for Blob which are really File that extends a Blob when called
294// via file() method on FileEntry
296 void handleEvent(File? file);
297};
298
299[DartSupplemental]
300interface FileEntry {
301 [DartSuppress] void file(BlobCallback successCallback, optional ErrorCallback errorCallback);
302 void file(FileCallback successCallback, optional ErrorCallback errorCallback);
303};
304
305[DartSupplemental,
306 CustomConstructor,
307 Constructor(Array blobParts, optional DOMString type, optional DOMString endings)
308 ]
309interface Blob {
310};
311
312[DartSupplemental, Callback] // Add missing Callback attribute.
313interface VoidCallback {
314};
315
316interface SVGNumber {
317 [DartStrictTypeChecking, Custom] attribute float value;
318};
319
320[DartSupplemental]
321interface Navigator {
322 [DartSuppress] void getUserMedia(MediaStreamConstraints constraints,
323 NavigatorUserMediaSuccessCallback successCallback,
324 NavigatorUserMediaErrorCallback errorCallback);
325 // Marked as nullable to address browser compatibility. See 41905.
326 [DartSuppress, MeasureAs=NavigatorDeviceMemory,RuntimeEnabled=NavigatorDeviceMemory,SecureContext]
327 readonly attribute float deviceMemory;
328 [MeasureAs=NavigatorDeviceMemory,RuntimeEnabled=NavigatorDeviceMemory,SecureContext]
329 readonly attribute float? deviceMemory;
330 // Defined as part of NavigatorNetworkInformation. Marked as nullable to
331 // address browser compatibility. See 41905.
332 [DartSuppress, MeasureAs=NetInfo] readonly attribute NetworkInformation connection;
333 [MeasureAs=NetInfo] readonly attribute NetworkInformation? connection;
334};
335
336[DartSupplemental,
337 CustomConstructor,
338 // Provide missing constructor signature.
339 Constructor(optional HTMLFormElement form)]
340interface FormData {
341 [DartSuppress] void append(DOMString name, DOMString value, DOMString filename);
342 [Custom] void append(DOMString name, DOMString value);
343 [Custom] void append(DOMString name, Blob value, optional DOMString filename);
344};
345
346[DartSupplemental, Constructor]
347interface XMLHttpRequest {
348 [Custom] void send();
349 [Custom] void send(ArrayBuffer data); // FIXME: this should be eventually deprecated.
350 [Custom] void send(ArrayBufferView data);
351 [Custom] void send(Blob data);
352 [Custom] void send(Document data);
353 [Custom] void send([DartStrictTypeChecking] DOMString data);
354 [Custom] void send(FormData data);
355};
356
357[DartSuppress]
358interface AbstractView {};
359
360[DartSuppress]
362
363[DartSupplemental]
364interface Location {
365 [DartSuppress] attribute URLString href;
366 [Custom=Setter] attribute DOMString href;
367 [Custom=Setter] attribute TrustedURL trustedHref;
368
369 [Custom] void assign(optional DOMString url);
370 [Custom] void replace([Default=Undefined] optional DOMString url);
371 [Custom] void reload();
372
373 // URI decomposition attributes
374 [Custom=Setter] attribute DOMString protocol;
375 [Custom=Setter] attribute DOMString host;
376 [Custom=Setter] attribute DOMString hostname;
377 [Custom=Setter] attribute DOMString port;
378 [Custom=Setter] attribute DOMString pathname;
379 [Custom=Setter] attribute DOMString search;
380 [Custom=Setter] attribute DOMString hash;
381};
382
383// TODO(jacobr): reenable these new Blink features.
384[DartSuppress]
386
387[DartSupplemental]
388interface ImageData {
389 [DartSuppress] ImageDataColorSettings getColorSettings();
390 // Below needs 'any' because ImageDataArray is union of (Uint8ClampedArray
391 // or Uint16Array or Float32Array)
392 [DartSuppress] readonly attribute any dataUnion;
393};
394
395[DartSupplemental,
396 CustomConstructor,
397 Constructor()
398]
399interface MessageChannel {
400};
401
402// See https://chromiumcodereview.appspot.com/15901002 for the V8 implementation of
403// TextEncoder/TextDecoder
404[DartSuppress]
405interface TextEncoder {};
406
407[DartSuppress]
408interface TextDecoder {};
409
410[DartSupplemental]
411interface Window : EventTarget {
412 [DartSuppress] void alert();
413 [DartSuppress] void alert(DOMString message);
414 void alert(optional DOMString message);
415
416 [DartSuppress] void scrollBy(long x, long y);
417 [DartSuppress] void scrollBy(long x, long y, Dictionary scrollOptions);
418 [RaisesException] void scrollBy(long x, long y, optional Dictionary scrollOptions);
419
420 [DartSuppress] void scrollTo(long x, long y);
421 [DartSuppress] void scrollTo(long x, long y, Dictionary scrollOptions);
422 [RaisesException] void scrollTo(long x, long y, optional Dictionary scrollOptions);
423
424 [DartSuppress] void scroll(long x, long y);
425 [DartSuppress] void scroll(long x, long y, Dictionary scrollOptions);
426 [RaisesException] void scroll(long x, long y, optional Dictionary scrollOptions);
427
428 [RuntimeEnabled=VisualViewportAPI, Replaceable, SameObject, DartSuppress] readonly attribute VisualViewport visualViewport;
429 [RuntimeEnabled=VisualViewportAPI, Replaceable, SameObject] readonly attribute VisualViewport? visualViewport;
430};
431
432[DartSupplemental]
433interface CanvasRenderingContext2D {
434 [DartSuppress] void webkitPutImageDataHD(ImageData? imagedata, float dx, float dy);
435 [DartSuppress] void webkitPutImageDataHD(ImageData? imagedata, float dx, float dy, float dirtyX, float dirtyY, float dirtyWidth, float dirtyHeight);
436 [DartSuppress] ImageData webkitGetImageDataHD(float sx, float sy, float sw, float sh);
437};
438
439[DartSupplemental]
440interface AudioParam {
441 [DartSuppress] void setTargetValueAtTime(float target, double time, double timeConstant);
442 void setTargetAtTime(float target, double time, double timeConstant);
443};
444
445[DartSupplemental]
446interface AudioContext {
447 // Number of AudioBufferSourceNodes that are currently playing.
448 [DartSuppress] readonly attribute unsigned long activeSourceCount;
449 [DartSuppress] ScriptProcessorNode createJavaScriptNode(unsigned long bufferSize, optional unsigned long numberOfInputChannels, optional unsigned long numberOfOutputChannels);
450 [DartSuppress] AudioBuffer createBuffer(ArrayBuffer? buffer, boolean mixToMono);
451 [DartSuppress] GainNode createGainNode();
452 [DartSuppress] DelayNode createDelayNode(optional double maxDelayTime);
453};
454
455[DartSupplemental]
457 [DartSuppress] AudioNode connect(AudioNode destination, optional unsigned long output = 0, optional unsigned long input = 0);
458 [DartSuppress] void connect(AudioParam destination, optional unsigned long output = 0);
459 AudioNode? connect(AudioNode destination, optional unsigned long output = 0, optional unsigned long input = 0);
460 // Scripts don't unify return types, so this is changed from void to do so.
461 AudioNode? connect(AudioParam destination, optional unsigned long output = 0);
462};
463
464[DartSupplemental]
466 [DartSuppress] attribute boolean webkitSpeech;
467 [DartSuppress] attribute boolean webkitGrammar;
468};
469
470[DartSupplemental]
471interface ShadowRoot {
472 [DartSuppress] attribute boolean applyAuthorStyles;
473};
474
475[DartSupplemental]
477 [DartSuppress] readonly attribute DOMString url;
478};
479
480[DartSupplemental]
481interface OscillatorNode {
482 [DartSuppress] readonly attribute unsigned short playbackState;
483};
484
485[DartSupplemental]
487 [DartSuppress] readonly attribute SVGElementInstanceList childNodes;
488};
489
490[DartSupplemental]
492 [DartSuppress] CSSStyleSheet createCSSStyleSheet([Default=Undefined] optional DOMString title,
493 [Default=Undefined] optional DOMString media);
494 [DartSuppress] Document createHTMLDocument(optional DOMString title);
495 HTMLDocument createHTMLDocument(optional DOMString title);
496};
497
498[DartSupplemental]
499interface DOMRect {
500 [DartSuppress] static DOMRect fromRect(optional DOMRectInit other);
501};
502
503[DartSupplemental]
504interface SVGSVGElement {
505 [DartSuppress] attribute DOMString contentStyleType;
506 [DartSuppress] attribute DOMString contentScriptType;
507};
508
509[DartSupplemental]
510interface AudioBuffer {
511 [DartSuppress] attribute float gain;
512};
513
514[DartSupplemental]
515interface WorkerCrypto {
516 [DartSuppress] ArrayBufferView getRandomValues(ArrayBufferView array);
517};
518
519[DartSupplemental]
521 void requestAutocomplete([Default=Undefined] optional Dictionary details);
522 [DartSuppress] void requestAutocomplete();
523};
524
525[DartSupplemental]
527 [DartSuppress] readonly attribute unsigned short playbackState;
528};
529
530[DartSupplemental]
532 [DartName=start2] void start(optional double when);
533};
534
535[DartSupplemental]
536interface Element : Node {
537 // Use template implementation that looks for both the non-prefixed and
538 // prefixed `requestFullscreen` instead.
539 [DartSuppress] void requestFullscreen();
540 [DartSuppress] void webkitRequestFullscreen();
541 // setAttribute and setAttributeNS can take in non-string values that are
542 // then converted to strings.
543 [DartSuppress] void setAttribute(DOMString name, DOMString value);
544 [DartSuppress] void setAttributeNS(DOMString? namespaceURI, DOMString name, DOMString value);
545 void setAttribute(DOMString name, object value);
546 void setAttributeNS(DOMString? namespaceURI, DOMString name, object value);
547};
548
549[DartSupplemental]
550interface CSS {
551 [DartName=inch] static CSSUnitValue in(double value);
552};
553
554[DartSupplemental]
556 // Expose __propertyQuery__ a getter with a special operation in the IDL
557 // when used with Custom=PropertyQuery will emit __propertyQuery__.
558 [Custom=PropertyQuery] getter boolean (DOMString name);
559};
560
561[DartSupplemental]
562interface MIDIOutput : MIDIPort {
563 // TODO(terry): Need to support both send operations where the first param
564 // is Uint8Array or sequence<unsigned long>. For now suppress
565 // the new operation. Vijay suggestion, and I think this makes
566 // sense, change dart:html to have a send operation that takes
567 // a List<int> and have custom handler to call the correct
568 // method. The dart:blink library needs to do something else
569 // postfix the name with send_sequence (?).
570 [DartSuppress] void send(sequence<unsigned long> data, optional double timestamp);
571};
572
573// Tweaks types required for Dart strong mode.
574[DartSupplemental]
575interface HTMLCollection {
576
577 // FIXME: The index argument should not be optional.
578 getter Node? item([Default=Undefined] optional unsigned long index);
579 getter any namedItem(DOMString name);
580
581 [DartSuppress] getter Element? item([Default=Undefined] optional unsigned long index);
582 [DartSuppress] getter Element? namedItem(DOMString name);
583
584};
585
586// Make sure HTMLFormControlsCollection matches HTMLCollection.
587[DartSupplemental]
589
590 // FIXME: The index argument should not be optional.
591 getter Node? item([Default=Undefined] optional unsigned long index);
592
593 [DartSuppress, ImplementedAs=item] getter Node (unsigned long index);
594
595};
596
597[DartSupplemental]
598interface Performance {
599 [DartSuppress] void webkitClearResourceTimings();
600 [DartSuppress] void webkitSetResourceTimingBufferSize(unsigned long maxSize);
601 [DartSuppress] attribute EventHandler onwebkitresourcetimingbufferfull;
602 // Marked as nullable to address browser compatibility. See 41905.
603 [DartSuppress, Measure] readonly attribute MemoryInfo memory;
604 [Measure] readonly attribute MemoryInfo? memory;
605 [DartSuppress] void mark(DOMString markName);
606 PerformanceEntry? mark(DOMString markName, optional Dictionary markOptions);
607 [DartSuppress] void measure(DOMString measureName, optional DOMString startMark = null, optional DOMString endMark = null);
608 // Note that `startMark` and `endMark` can't be null (but they can be
609 // undefined) in Firefox. Firefox also seems to disallow `measureOptions`.
610 // Safari also requires that `endMark` be non-null if `startMark` is
611 // non-null. In order to unify different browser behavior, we allow all
612 // possible syntaxes.
613 PerformanceMeasure? measure(DOMString measureName, optional DOMString? startMark, optional DOMString? endMark);
614 PerformanceMeasure? measure(DOMString measureName, Dictionary measureOptions);
615};
616
617[DartSupplemental]
618interface CalcLength {
619 [DartName=inch] readonly attribute double? in;
620};
621
622[DartSuppress]
623interface DragEvent {};
624
625[DartSuppress]
626interface InputEvent {};
627
628[DartSuppress]
629interface Scale {};
630
632
633
634// This only exists in Safari, and is deprecated there. But include it anyway
635// because otherwise iterating CSSRules in Safari can yield unknown JS objects.
636interface CSSCharsetRule : CSSRule {
637 [MeasureAs=CSSCharsetRuleEncoding] attribute DOMString encoding;
638};
639
640[DartSupplemental]
641interface Event {
642 [DartSuppress] readonly attribute object path;
643};
644
645[DartSupplemental]
646interface UIEvent : Event {
647
648 // None of these are optional anymore.
649 [DartSuppress] void initUIEvent([Default=Undefined] optional DOMString type,
650 [Default=Undefined] optional boolean bubbles,
651 [Default=Undefined] optional boolean cancelable,
652 [Default=Undefined] optional Window? view,
653 [Default=Undefined] optional long detail);
654
655 void initUIEvent(DOMString type, boolean bubbles, boolean cancelable,
656 Window? view, long detail);
657
658};
659
660[DartSupplemental]
661interface EventTarget {
662 [DartSuppress] void addEventListener(DOMString type, EventListener? listener, optional (AddEventListenerOptions or boolean) options);
663 [DartSuppress] void removeEventListener(DOMString type, EventListener? listener, optional (EventListenerOptions or boolean) options);
664 [Custom] void addEventListener(DOMString type, EventListener? listener, optional boolean options);
665 [Custom] void removeEventListener(DOMString type, EventListener? listener, optional boolean options);
666};
667
668[DartSupplemental]
670 // Marked as nullable to address browser compatibility. See 41905.
671 [DartSuppress, RuntimeEnabled=NetInfoDownlink, MeasureAs=NetInfoDownlink] readonly attribute unrestricted double downlink;
672 [RuntimeEnabled=NetInfoDownlink, MeasureAs=NetInfoDownlink] readonly attribute unrestricted double? downlink;
673};
674
675interface NoncedElement {
676 // Marked as nullable to address browser compatibility. See 41905.
677 [DartSuppress, CEReactions] attribute DOMString nonce;
678 [CEReactions] attribute DOMString? nonce;
679};
680
681// PositionCallback can be used on a deprecated Position object,
682// a GeolocationPosition object, or a Firefox-specific object.
683callback PositionCallback = void(object position);
684
685interface MathMLElement : Element {};
686
687[DartSupplemental,
688 CustomConstructor,
689 Constructor(optional unsigned long length)
690] interface SharedArrayBuffer {
691 SharedArrayBuffer slice(optional unsigned long begin, optional unsigned long end);
692};
const char * options
static float next(float f)
emscripten::val Float32Array
Definition WasmCommon.h:35
Element implements GlobalEventHandlers
Definition dart.idl:631
callback PositionCallback
Definition dart.idl:683
static const char * begin(const StringSlice &s)
Definition editor.cpp:252
sk_sp< SkImage > image
Definition examples.cpp:29
SkBitmap source
Definition examples.cpp:28
double duration
Definition examples.cpp:30
glong glong end
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
static const uint8_t buffer[]
uint32_t uint32_t * format
uint32_t * target
const char * name
Definition fuchsia.cc:50
readonly attribute unsigned short playbackState
Definition dart.idl:527
attribute float gain
Definition dart.idl:511
GainNode createGainNode()
readonly attribute unsigned long activeSourceCount
Definition dart.idl:448
ScriptProcessorNode createJavaScriptNode(unsigned long bufferSize, optional unsigned long numberOfInputChannels, optional unsigned long numberOfOutputChannels)
AudioBuffer createBuffer(ArrayBuffer? buffer, boolean mixToMono)
DelayNode createDelayNode(optional double maxDelayTime)
void connect(AudioParam destination, optional unsigned long output=0)
AudioNode connect(AudioParam destination, optional unsigned long output=0)
AudioNode connect(AudioNode destination, optional unsigned long output=0, optional unsigned long input=0)
void setValueCurveAtTime(Float32Array values, double time, double duration)
void setTargetAtTime(float target, double time, double timeConstant)
void setTargetValueAtTime(float target, double time, double timeConstant)
void start(optional double when)
readonly attribute DOMString url
Definition dart.idl:477
Definition dart.idl:309
attribute DOMString encoding
Definition dart.idl:637
getter boolean(DOMString name)
Definition dart.idl:550
static CSSUnitValue in(double value)
readonly attribute double in
Definition dart.idl:619
void assert(boolean condition)
void webkitPutImageDataHD(ImageData? imagedata, float dx, float dy, float dirtyX, float dirtyY, float dirtyWidth, float dirtyHeight)
ImageData webkitGetImageDataHD(float sx, float sy, float sw, float sh)
void webkitPutImageDataHD(ImageData? imagedata, float dx, float dy)
attribute boolean webkitImageSmoothingEnabled
Definition dart.idl:81
void drawSystemFocusRing(Element element)
readonly attribute float webkitBackingStorePixelRatio
Definition dart.idl:84
ImageData createImageData(ImageData imagedata)
readonly attribute Element previousElementSibling
Definition dart.idl:50
readonly attribute Element nextElementSibling
Definition dart.idl:49
HTMLDocument createHTMLDocument(optional DOMString title)
Document createHTMLDocument(optional DOMString title)
CSSStyleSheet createCSSStyleSheet([Default=Undefined] optional DOMString title, [Default=Undefined] optional DOMString media)
static DOMRect fromRect(optional DOMRectInit other)
Element createElementNS(DOMString namespaceURI, DOMString qualifiedName, DOMString typeExtension)
readonly attribute(HTMLScriptElement or SVGScriptElement)? currentScript
CustomElementConstructor registerElement(DOMString type, optional ElementRegistrationOptions options)
Element createElement(DOMString localName, DOMString typeExtension)
readonly attribute HTMLScriptElement currentScript
Definition dart.idl:25
Element createElementNS(DOMString namespaceURI, DOMString qualifiedName)
Element createElement(DOMString tagName)
void requestFullscreen()
readonly attribute Element previousElementSibling
Definition dart.idl:44
void setAttribute(DOMString name, object value)
void setAttributeNS(DOMString? namespaceURI, DOMString name, DOMString value)
void setAttribute(DOMString name, DOMString value)
void setAttributeNS(DOMString? namespaceURI, DOMString name, object value)
readonly attribute Element nextElementSibling
Definition dart.idl:43
void webkitRequestFullscreen()
DirectoryEntrySync getParent()
EntrySync getParent()
void addEventListener(DOMString type, EventListener? listener, optional boolean options)
void removeEventListener(DOMString type, EventListener? listener, optional(EventListenerOptions or boolean) options)
void removeEventListener(DOMString type, EventListener? listener, optional boolean options)
void addEventListener(DOMString type, EventListener? listener, optional(AddEventListenerOptions or boolean) options)
readonly attribute object path
Definition dart.idl:642
void handleEvent(File? file)
void file(FileCallback successCallback, optional ErrorCallback errorCallback)
void file(BlobCallback successCallback, optional ErrorCallback errorCallback)
void append(DOMString name, Blob value, optional DOMString filename)
void append(DOMString name, DOMString value, DOMString filename)
void append(DOMString name, DOMString value)
DOMString toDataURL([TreatNullAs=NullString, Default=Undefined] DOMString type)
DOMString toDataURL([TreatNullAs=NullString, Default=Undefined] DOMString type, optional float quality)
getter any namedItem(DOMString name)
getter Element item([Default=Undefined] optional unsigned long index)
getter Element namedItem(DOMString name)
getter Node item([Default=Undefined] optional unsigned long index)
getter Node item([Default=Undefined] optional unsigned long index)
getter Node(unsigned long index)
void requestAutocomplete([Default=Undefined] optional Dictionary details)
void requestAutocomplete()
attribute boolean webkitSpeech
Definition dart.idl:466
attribute boolean webkitGrammar
Definition dart.idl:467
attribute EventListener onstalled
Definition dart.idl:125
attribute EventListener onwheel
Definition dart.idl:130
attribute EventListener onratechange
Definition dart.idl:121
DOMString canPlayType([Default=Undefined] optional DOMString type, [Default=Undefined, TreatNullAs=NullString, DartForceOptional] optional DOMString keySystem)
attribute EventListener onplaying
Definition dart.idl:119
attribute EventListener oncanplay
Definition dart.idl:109
attribute EventListener onemptied
Definition dart.idl:112
attribute EventListener onplay
Definition dart.idl:118
attribute EventListener onended
Definition dart.idl:113
attribute EventListener onseeked
Definition dart.idl:122
attribute EventListener onprogress
Definition dart.idl:120
attribute EventListener onvolumechange
Definition dart.idl:128
attribute EventListener onwaiting
Definition dart.idl:129
attribute EventListener onloadedmetadata
Definition dart.idl:115
attribute EventListener ondurationchange
Definition dart.idl:111
attribute EventListener onseeking
Definition dart.idl:123
attribute EventListener onsuspend
Definition dart.idl:126
attribute EventListener onpause
Definition dart.idl:117
attribute EventListener oncanplaythrough
Definition dart.idl:110
attribute EventListener ontimeupdate
Definition dart.idl:127
attribute EventListener onshow
Definition dart.idl:124
attribute EventListener onloadeddata
Definition dart.idl:114
attribute EventListener onloadstart
Definition dart.idl:116
void add(optional HTMLOptionElement element, optional long before)
void add([Default=Undefined] HTMLElement element, [Default=Undefined] HTMLElement before)
IDBRequest count([Default=Undefined] optional any key)
static IDBKeyRange upperBound(any bound, [DartForceOptional] optional boolean open)
static IDBKeyRange only(any value)
static IDBKeyRange bound(any lower, any upper, [DartForceOptional] optional boolean lowerOpen, [DartForceOptional] optional boolean upperOpen)
static IDBKeyRange lowerBound(any bound, [DartForceOptional] optional boolean open)
IDBRequest put(any value, [DartForceOptional] optional any key)
IDBRequest add(any value, [DartForceOptional] optional any key)
readonly attribute any dataUnion
Definition dart.idl:392
ImageDataColorSettings getColorSettings()
attribute DOMString search
Definition dart.idl:379
void assign(optional DOMString url)
attribute DOMString pathname
Definition dart.idl:378
attribute DOMString host
Definition dart.idl:375
void replace([Default=Undefined] optional DOMString url)
void reload()
attribute DOMString href
Definition dart.idl:366
attribute DOMString hash
Definition dart.idl:380
attribute DOMString port
Definition dart.idl:377
attribute DOMString hostname
Definition dart.idl:376
attribute URLString href
Definition dart.idl:365
attribute DOMString protocol
Definition dart.idl:374
attribute TrustedURL trustedHref
Definition dart.idl:367
void send(sequence< unsigned long > data, optional double timestamp)
readonly attribute float deviceMemory
Definition dart.idl:327
readonly attribute NetworkInformation connection
Definition dart.idl:332
void getUserMedia(MediaStreamConstraints constraints, NavigatorUserMediaSuccessCallback successCallback, NavigatorUserMediaErrorCallback errorCallback)
readonly attribute unrestricted double downlink
Definition dart.idl:671
Definition dart.idl:29
Node cloneNode([Default=Undefined] optional boolean deep)
readonly attribute Element nextElementSibling
Definition dart.idl:31
readonly attribute Element previousElementSibling
Definition dart.idl:32
attribute DOMString nonce
Definition dart.idl:677
readonly attribute unsigned short playbackState
Definition dart.idl:482
void webkitSetResourceTimingBufferSize(unsigned long maxSize)
readonly attribute MemoryInfo memory
Definition dart.idl:603
void mark(DOMString markName)
void webkitClearResourceTimings()
attribute EventHandler onwebkitresourcetimingbufferfull
Definition dart.idl:601
PerformanceMeasure measure(DOMString measureName, Dictionary measureOptions)
void measure(DOMString measureName, optional DOMString startMark=null, optional DOMString endMark=null)
PerformanceEntry mark(DOMString markName, optional Dictionary markOptions)
PerformanceMeasure measure(DOMString measureName, optional DOMString? startMark, optional DOMString? endMark)
Promise< void > getStats(RTCStatsCallback successCallback, optional MediaStreamTrack? selector)
void addIceCandidate(RTCIceCandidate candidate)
Promise< void > createAnswer(RTCSessionDescriptionCallback successCallback, RTCPeerConnectionErrorCallback failureCallback, optional Dictionary mediaConstraints)
attribute EventHandler onconnectionstatechange
Definition dart.idl:142
Promise< void > createOffer(RTCSessionDescriptionCallback successCallback, RTCPeerConnectionErrorCallback failureCallback, optional Dictionary rtcOfferOptions)
Promise< void > setRemoteDescription(RTCSessionDescriptionInit description, VoidCallback successCallback, [Default=Undefined] optional RTCPeerConnectionErrorCallback failureCallback)
Promise< void > setLocalDescription(RTCSessionDescriptionInit description, VoidCallback successCallback, [Default=Undefined] optional RTCPeerConnectionErrorCallback failureCallback)
readonly attribute DOMString connectionState
Definition dart.idl:141
void handleEvent(double highResTime)
readonly attribute SVGElementInstanceList childNodes
Definition dart.idl:487
attribute float value
Definition dart.idl:317
attribute DOMString contentStyleType
Definition dart.idl:505
attribute DOMString contentScriptType
Definition dart.idl:506
attribute EventListener onaudioprocess
Definition dart.idl:37
void _setEventListener(EventListener eventListener)
attribute boolean applyAuthorStyles
Definition dart.idl:472
SharedArrayBuffer slice(optional unsigned long begin, optional unsigned long end)
void handleEvent()
void initUIEvent([Default=Undefined] optional DOMString type, [Default=Undefined] optional boolean bubbles, [Default=Undefined] optional boolean cancelable, [Default=Undefined] optional Window? view, [Default=Undefined] optional long detail)
void initUIEvent(DOMString type, boolean bubbles, boolean cancelable, Window? view, long detail)
Definition dart.idl:68
static DOMString createObjectURL(WebKitMediaSource source)
attribute Float32Array curve
Definition dart.idl:7
void compressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLintptr offset)
void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, HTMLVideoElement video)
void uniformMatrix4fv(WebGLUniformLocation? location, GLboolean transpose, sequence< GLfloat > array, GLuint srcOffset, optional GLuint srcLength=0)
void uniform1iv(WebGLUniformLocation? location, sequence< GLint > v, GLuint srcOffset, optional GLuint srcLength=0)
void uniform3iv(WebGLUniformLocation? location, [FlexibleArrayBufferView] Int32Array v, GLuint srcOffset, optional GLuint srcLength=0)
void uniform4fv(WebGLUniformLocation? location, [FlexibleArrayBufferView] Float32Array v, GLuint srcOffset, optional GLuint srcLength=0)
void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, HTMLCanvasElement canvas)
void uniform4iv(WebGLUniformLocation? location, [FlexibleArrayBufferView] Int32Array v, GLuint srcOffset, optional GLuint srcLength=0)
void texImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, HTMLCanvasElement canvas)
void texImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, HTMLImageElement image)
void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, ImageData data)
void uniform1fv(WebGLUniformLocation? location, [FlexibleArrayBufferView] Float32Array v, GLuint srcOffset, optional GLuint srcLength=0)
void compressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, GLintptr offset)
void uniformMatrix2fv(WebGLUniformLocation? location, GLboolean transpose, [AllowShared] Float32Array array, GLuint srcOffset, optional GLuint srcLength=0)
void uniform2fv(WebGLUniformLocation? location, [FlexibleArrayBufferView] Float32Array v, GLuint srcOffset, optional GLuint srcLength=0)
void uniform1fv(WebGLUniformLocation? location, sequence< GLfloat > v, GLuint srcOffset, optional GLuint srcLength=0)
void compressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, [AllowShared] ArrayBufferView data, GLuint srcOffset, optional GLuint srcLengthOverride=0)
void bufferData(GLenum target, [AllowShared] ArrayBufferView srcData, GLenum usage, GLuint srcOffset, optional GLuint length=0)
void compressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, GLintptr offset)
void texImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, [AllowShared] ArrayBufferView srcData, GLuint srcOffset)
void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, ArrayBufferView dstData, GLintptr offset)
void uniform4fv(WebGLUniformLocation? location, sequence< GLfloat > v, GLuint srcOffset, optional GLuint srcLength=0)
readonly attribute WebGLCanvas canvas
Definition dart.idl:164
void texImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, ImageData data)
void texImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, ImageBitmap bitmap)
void uniform4iv(WebGLUniformLocation? location, sequence< GLint > v, GLuint srcOffset, optional GLuint srcLength=0)
void uniformMatrix3fv(WebGLUniformLocation? location, GLboolean transpose, sequence< GLfloat > array, GLuint srcOffset, optional GLuint srcLength=0)
void uniform2iv(WebGLUniformLocation? location, sequence< GLint > v, GLuint srcOffset, optional GLuint srcLength=0)
void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, ImageBitmap bitmap)
void texImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLintptr offset)
void uniform3fv(WebGLUniformLocation? location, sequence< GLfloat > v, GLuint srcOffset, optional GLuint srcLength=0)
void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, [AllowShared] ArrayBufferView srcData, GLuint srcOffset)
void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, HTMLImageElement image)
void uniformMatrix4fv(WebGLUniformLocation? location, GLboolean transpose, [AllowShared] Float32Array array, GLuint srcOffset, optional GLuint srcLength=0)
void compressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, GLintptr offset)
void uniformMatrix3fv(WebGLUniformLocation? location, GLboolean transpose, [AllowShared] Float32Array array, GLuint srcOffset, optional GLuint srcLength=0)
void uniform2fv(WebGLUniformLocation? location, sequence< GLfloat > v, GLuint srcOffset, optional GLuint srcLength=0)
void uniform3fv(WebGLUniformLocation? location, [FlexibleArrayBufferView] Float32Array v, GLuint srcOffset, optional GLuint srcLength=0)
void compressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, [AllowShared] ArrayBufferView data, GLuint srcOffset, optional GLuint srcLengthOverride=0)
void texImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, HTMLVideoElement video)
void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLintptr offset)
void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLintptr offset)
void bufferSubData(GLenum target, GLintptr dstByteOffset, [AllowShared] ArrayBufferView srcData, GLuint srcOffset, optional GLuint length=0)
void uniform2iv(WebGLUniformLocation? location, [FlexibleArrayBufferView] Int32Array v, GLuint srcOffset, optional GLuint srcLength=0)
void uniformMatrix2fv(WebGLUniformLocation? location, GLboolean transpose, sequence< GLfloat > array, GLuint srcOffset, optional GLuint srcLength=0)
void uniform3iv(WebGLUniformLocation? location, sequence< GLint > v, GLuint srcOffset, optional GLuint srcLength=0)
readonly attribute(HTMLCanvasElement or OffscreenCanvas) canvas
void uniform1iv(WebGLUniformLocation? location, [FlexibleArrayBufferView] Int32Array v, GLuint srcOffset, optional GLuint srcLength=0)
readonly attribute WebGLCanvas canvas
Definition dart.idl:152
readonly attribute(HTMLCanvasElement or OffscreenCanvas) canvas
void initEvent(optional DOMString eventTypeArg, optional boolean canBubbleArg, optional boolean cancelableArg, optional DOMString statusMessageArg)
readonly attribute HTMLCanvasElement canvas
Definition dart.idl:158
readonly attribute(HTMLCanvasElement or OffscreenCanvas) canvas
void scrollTo(long x, long y)
void scrollBy(long x, long y, Dictionary scrollOptions)
void scroll(long x, long y, Dictionary scrollOptions)
void alert(optional DOMString message)
void scrollBy(long x, long y)
void scrollTo(long x, long y, Dictionary scrollOptions)
void scroll(long x, long y, optional Dictionary scrollOptions)
void scrollBy(long x, long y, optional Dictionary scrollOptions)
void alert(DOMString message)
readonly attribute VisualViewport visualViewport
Definition dart.idl:428
void scrollTo(long x, long y, optional Dictionary scrollOptions)
void scroll(long x, long y)
void alert()
ArrayBufferView getRandomValues(ArrayBufferView array)
void send(Document data)
void send(ArrayBuffer data)
void send(Blob data)
void send(FormData data)
void send(ArrayBufferView data)
void send([DartStrictTypeChecking] DOMString data)
size_t length
Win32Message message
double y
double x
int32_t height
int32_t width
static void usage(char *argv0)
Point offset