| OLD | NEW |
| (Empty) |
| 1 #library('dom'); | |
| 2 | |
| 3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 4 // for details. All rights reserved. Use of this source code is governed by a | |
| 5 // BSD-style license that can be found in the LICENSE file. | |
| 6 | |
| 7 // DO NOT EDIT | |
| 8 // Auto-generated Dart DOM library. | |
| 9 | |
| 10 #native("frog_dom.js"); | |
| 11 | |
| 12 | |
| 13 class Window extends DOMWindow {} | |
| 14 Window window; | |
| 15 Document document; | |
| 16 | |
| 17 class AbstractWorker native "AbstractWorker" { | |
| 18 | |
| 19 EventListener onerror; | |
| 20 | |
| 21 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | |
| 22 | |
| 23 bool dispatchEvent(Event evt) native; | |
| 24 | |
| 25 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | |
| 26 | |
| 27 var dartObjectLocalStorage; | |
| 28 | |
| 29 String get typeName() native; | |
| 30 } | |
| 31 | |
| 32 class ArrayBuffer native "ArrayBuffer" { | |
| 33 | |
| 34 int byteLength; | |
| 35 | |
| 36 var dartObjectLocalStorage; | |
| 37 | |
| 38 String get typeName() native; | |
| 39 } | |
| 40 | |
| 41 class ArrayBufferView native "ArrayBufferView" { | |
| 42 | |
| 43 ArrayBuffer buffer; | |
| 44 | |
| 45 int byteLength; | |
| 46 | |
| 47 int byteOffset; | |
| 48 | |
| 49 var dartObjectLocalStorage; | |
| 50 | |
| 51 String get typeName() native; | |
| 52 } | |
| 53 | |
| 54 class Attr extends Node native "Attr" { | |
| 55 | |
| 56 bool isId; | |
| 57 | |
| 58 String name; | |
| 59 | |
| 60 Element ownerElement; | |
| 61 | |
| 62 bool specified; | |
| 63 | |
| 64 String value; | |
| 65 } | |
| 66 | |
| 67 class BarInfo native "BarInfo" { | |
| 68 | |
| 69 bool visible; | |
| 70 | |
| 71 var dartObjectLocalStorage; | |
| 72 | |
| 73 String get typeName() native; | |
| 74 } | |
| 75 | |
| 76 class BeforeLoadEvent extends Event native "BeforeLoadEvent" { | |
| 77 | |
| 78 String url; | |
| 79 | |
| 80 void initBeforeLoadEvent(String type, bool canBubble, bool cancelable, String
url) native; | |
| 81 } | |
| 82 | |
| 83 class Blob native "Blob" { | |
| 84 | |
| 85 int size; | |
| 86 | |
| 87 String type; | |
| 88 | |
| 89 var dartObjectLocalStorage; | |
| 90 | |
| 91 String get typeName() native; | |
| 92 } | |
| 93 | |
| 94 class CDATASection extends Text native "CDATASection" { | |
| 95 } | |
| 96 | |
| 97 class CSSCharsetRule extends CSSRule native "CSSCharsetRule" { | |
| 98 | |
| 99 String encoding; | |
| 100 } | |
| 101 | |
| 102 class CSSFontFaceRule extends CSSRule native "CSSFontFaceRule" { | |
| 103 | |
| 104 CSSStyleDeclaration style; | |
| 105 } | |
| 106 | |
| 107 class CSSImportRule extends CSSRule native "CSSImportRule" { | |
| 108 | |
| 109 String href; | |
| 110 | |
| 111 MediaList media; | |
| 112 | |
| 113 CSSStyleSheet styleSheet; | |
| 114 } | |
| 115 | |
| 116 class CSSMediaRule extends CSSRule native "CSSMediaRule" { | |
| 117 | |
| 118 CSSRuleList cssRules; | |
| 119 | |
| 120 MediaList media; | |
| 121 | |
| 122 void deleteRule(int index) native; | |
| 123 | |
| 124 int insertRule(String rule, int index) native; | |
| 125 } | |
| 126 | |
| 127 class CSSPageRule extends CSSRule native "CSSPageRule" { | |
| 128 | |
| 129 String selectorText; | |
| 130 | |
| 131 CSSStyleDeclaration style; | |
| 132 } | |
| 133 | |
| 134 class CSSPrimitiveValue extends CSSValue native "CSSPrimitiveValue" { | |
| 135 | |
| 136 int primitiveType; | |
| 137 | |
| 138 Counter getCounterValue() native; | |
| 139 | |
| 140 num getFloatValue(int unitType) native; | |
| 141 | |
| 142 RGBColor getRGBColorValue() native; | |
| 143 | |
| 144 Rect getRectValue() native; | |
| 145 | |
| 146 String getStringValue() native; | |
| 147 | |
| 148 void setFloatValue(int unitType, num floatValue) native; | |
| 149 | |
| 150 void setStringValue(int stringType, String stringValue) native; | |
| 151 } | |
| 152 | |
| 153 class CSSRule native "CSSRule" { | |
| 154 | |
| 155 String cssText; | |
| 156 | |
| 157 CSSRule parentRule; | |
| 158 | |
| 159 CSSStyleSheet parentStyleSheet; | |
| 160 | |
| 161 int type; | |
| 162 | |
| 163 var dartObjectLocalStorage; | |
| 164 | |
| 165 String get typeName() native; | |
| 166 } | |
| 167 | |
| 168 class CSSRuleList native "CSSRuleList" { | |
| 169 | |
| 170 int length; | |
| 171 | |
| 172 CSSRule item(int index) native; | |
| 173 | |
| 174 var dartObjectLocalStorage; | |
| 175 | |
| 176 String get typeName() native; | |
| 177 } | |
| 178 | |
| 179 class CSSStyleDeclaration native "CSSStyleDeclaration" { | |
| 180 | |
| 181 String cssText; | |
| 182 | |
| 183 int length; | |
| 184 | |
| 185 CSSRule parentRule; | |
| 186 | |
| 187 CSSValue getPropertyCSSValue(String propertyName) native; | |
| 188 | |
| 189 String getPropertyPriority(String propertyName) native; | |
| 190 | |
| 191 String getPropertyShorthand(String propertyName) native; | |
| 192 | |
| 193 String getPropertyValue(String propertyName) native; | |
| 194 | |
| 195 bool isPropertyImplicit(String propertyName) native; | |
| 196 | |
| 197 String item(int index) native; | |
| 198 | |
| 199 String removeProperty(String propertyName) native; | |
| 200 | |
| 201 void setProperty(String propertyName, String value, [String priority = null])
native; | |
| 202 | |
| 203 var dartObjectLocalStorage; | |
| 204 | |
| 205 String get typeName() native; | |
| 206 } | |
| 207 | |
| 208 class CSSStyleRule extends CSSRule native "CSSStyleRule" { | |
| 209 | |
| 210 String selectorText; | |
| 211 | |
| 212 CSSStyleDeclaration style; | |
| 213 } | |
| 214 | |
| 215 class CSSStyleSheet extends StyleSheet native "CSSStyleSheet" { | |
| 216 | |
| 217 CSSRuleList cssRules; | |
| 218 | |
| 219 CSSRule ownerRule; | |
| 220 | |
| 221 CSSRuleList rules; | |
| 222 | |
| 223 int addRule(String selector, String style, [int index = null]) native; | |
| 224 | |
| 225 void deleteRule(int index) native; | |
| 226 | |
| 227 int insertRule(String rule, int index) native; | |
| 228 | |
| 229 void removeRule(int index) native; | |
| 230 } | |
| 231 | |
| 232 class CSSUnknownRule extends CSSRule native "CSSUnknownRule" { | |
| 233 } | |
| 234 | |
| 235 class CSSValue native "CSSValue" { | |
| 236 | |
| 237 String cssText; | |
| 238 | |
| 239 int cssValueType; | |
| 240 | |
| 241 var dartObjectLocalStorage; | |
| 242 | |
| 243 String get typeName() native; | |
| 244 } | |
| 245 | |
| 246 class CSSValueList extends CSSValue native "CSSValueList" { | |
| 247 | |
| 248 int length; | |
| 249 | |
| 250 CSSValue item(int index) native; | |
| 251 } | |
| 252 | |
| 253 class CanvasGradient native "CanvasGradient" { | |
| 254 | |
| 255 void addColorStop(num offset, String color) native; | |
| 256 | |
| 257 var dartObjectLocalStorage; | |
| 258 | |
| 259 String get typeName() native; | |
| 260 } | |
| 261 | |
| 262 class CanvasPattern native "CanvasPattern" { | |
| 263 | |
| 264 var dartObjectLocalStorage; | |
| 265 | |
| 266 String get typeName() native; | |
| 267 } | |
| 268 | |
| 269 class CanvasPixelArray native "CanvasPixelArray" { | |
| 270 | |
| 271 int length; | |
| 272 | |
| 273 int operator[](int index) native; | |
| 274 | |
| 275 void operator[]=(int index, int value) native; | |
| 276 | |
| 277 int item(int index) native; | |
| 278 | |
| 279 var dartObjectLocalStorage; | |
| 280 | |
| 281 String get typeName() native; | |
| 282 } | |
| 283 | |
| 284 class CanvasRenderingContext native "CanvasRenderingContext" { | |
| 285 | |
| 286 HTMLCanvasElement canvas; | |
| 287 | |
| 288 var dartObjectLocalStorage; | |
| 289 | |
| 290 String get typeName() native; | |
| 291 } | |
| 292 | |
| 293 class CanvasRenderingContext2D extends CanvasRenderingContext native "CanvasRend
eringContext2D" { | |
| 294 | |
| 295 // TODO(vsm): Auto-generate these two fields. | |
| 296 var fillStyle; | |
| 297 var strokeStyle; | |
| 298 | |
| 299 String font; | |
| 300 | |
| 301 num globalAlpha; | |
| 302 | |
| 303 String globalCompositeOperation; | |
| 304 | |
| 305 String lineCap; | |
| 306 | |
| 307 String lineJoin; | |
| 308 | |
| 309 num lineWidth; | |
| 310 | |
| 311 num miterLimit; | |
| 312 | |
| 313 num shadowBlur; | |
| 314 | |
| 315 String shadowColor; | |
| 316 | |
| 317 num shadowOffsetX; | |
| 318 | |
| 319 num shadowOffsetY; | |
| 320 | |
| 321 String textAlign; | |
| 322 | |
| 323 String textBaseline; | |
| 324 | |
| 325 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc
kwise) native; | |
| 326 | |
| 327 void arcTo(num x1, num y1, num x2, num y2, num radius) native; | |
| 328 | |
| 329 void beginPath() native; | |
| 330 | |
| 331 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) nativ
e; | |
| 332 | |
| 333 void clearRect(num x, num y, num width, num height) native; | |
| 334 | |
| 335 void clearShadow() native; | |
| 336 | |
| 337 void clip() native; | |
| 338 | |
| 339 void closePath() native; | |
| 340 | |
| 341 ImageData createImageData(var imagedata_OR_sw, [num sh = null]) native; | |
| 342 | |
| 343 CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1) native; | |
| 344 | |
| 345 CanvasPattern createPattern(var canvas_OR_image, String repetitionType) native
; | |
| 346 | |
| 347 CanvasGradient createRadialGradient(num x0, num y0, num r0, num x1, num y1, nu
m r1) native; | |
| 348 | |
| 349 void drawImage(var canvas_OR_image, num sx_OR_x, num sy_OR_y, [num sw_OR_width
= null, num height_OR_sh = null, num dx = null, num dy = null, num dw = null, n
um dh = null]) native; | |
| 350 | |
| 351 void drawImageFromRect(HTMLImageElement image, [num sx = null, num sy = null,
num sw = null, num sh = null, num dx = null, num dy = null, num dw = null, num d
h = null, String compositeOperation = null]) native; | |
| 352 | |
| 353 void fill() native; | |
| 354 | |
| 355 void fillRect(num x, num y, num width, num height) native; | |
| 356 | |
| 357 void fillText(String text, num x, num y, [num maxWidth = null]) native; | |
| 358 | |
| 359 ImageData getImageData(num sx, num sy, num sw, num sh) native; | |
| 360 | |
| 361 bool isPointInPath(num x, num y) native; | |
| 362 | |
| 363 void lineTo(num x, num y) native; | |
| 364 | |
| 365 TextMetrics measureText(String text) native; | |
| 366 | |
| 367 void moveTo(num x, num y) native; | |
| 368 | |
| 369 void putImageData(ImageData imagedata, num dx, num dy, [num dirtyX = null, num
dirtyY = null, num dirtyWidth = null, num dirtyHeight = null]) native; | |
| 370 | |
| 371 void quadraticCurveTo(num cpx, num cpy, num x, num y) native; | |
| 372 | |
| 373 void rect(num x, num y, num width, num height) native; | |
| 374 | |
| 375 void restore() native; | |
| 376 | |
| 377 void rotate(num angle) native; | |
| 378 | |
| 379 void save() native; | |
| 380 | |
| 381 void scale(num sx, num sy) native; | |
| 382 | |
| 383 void setAlpha(num alpha) native; | |
| 384 | |
| 385 void setCompositeOperation(String compositeOperation) native; | |
| 386 | |
| 387 void setFillColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m = nul
l, num b_OR_y = null, num a_OR_k = null, num a = null]) native; | |
| 388 | |
| 389 // TODO(vsm): Auto-generate this method. | |
| 390 void setFillStyle(var color_OR_gradient_OR_pattern) { | |
| 391 this.fillStyle = color_OR_gradient_OR_pattern; | |
| 392 } | |
| 393 | |
| 394 void setLineCap(String cap) native; | |
| 395 | |
| 396 void setLineJoin(String join) native; | |
| 397 | |
| 398 void setLineWidth(num width) native; | |
| 399 | |
| 400 void setMiterLimit(num limit) native; | |
| 401 | |
| 402 void setShadow(num width, num height, num blur, [var c_OR_color_OR_grayLevel_O
R_r = null, num alpha_OR_g_OR_m = null, num b_OR_y = null, num a_OR_k = null, nu
m a = null]) native; | |
| 403 | |
| 404 void setStrokeColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m = n
ull, num b_OR_y = null, num a_OR_k = null, num a = null]) native; | |
| 405 | |
| 406 // TODO(vsm): Auto-generate this method. | |
| 407 void setStrokeStyle(var color_OR_gradient_OR_pattern) { | |
| 408 this.strokeStyle = color_OR_gradient_OR_pattern; | |
| 409 } | |
| 410 | |
| 411 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy) native; | |
| 412 | |
| 413 void stroke() native; | |
| 414 | |
| 415 void strokeRect(num x, num y, num width, num height, [num lineWidth = null]) n
ative; | |
| 416 | |
| 417 void strokeText(String text, num x, num y, [num maxWidth = null]) native; | |
| 418 | |
| 419 void transform(num m11, num m12, num m21, num m22, num dx, num dy) native; | |
| 420 | |
| 421 void translate(num tx, num ty) native; | |
| 422 } | |
| 423 | |
| 424 class CharacterData extends Node native "CharacterData" { | |
| 425 | |
| 426 String data; | |
| 427 | |
| 428 int length; | |
| 429 | |
| 430 void appendData(String data) native; | |
| 431 | |
| 432 void deleteData(int offset, int length) native; | |
| 433 | |
| 434 void insertData(int offset, String data) native; | |
| 435 | |
| 436 void replaceData(int offset, int length, String data) native; | |
| 437 | |
| 438 String substringData(int offset, int length) native; | |
| 439 } | |
| 440 | |
| 441 class ClientRect native "ClientRect" { | |
| 442 | |
| 443 num bottom; | |
| 444 | |
| 445 num height; | |
| 446 | |
| 447 num left; | |
| 448 | |
| 449 num right; | |
| 450 | |
| 451 num top; | |
| 452 | |
| 453 num width; | |
| 454 | |
| 455 var dartObjectLocalStorage; | |
| 456 | |
| 457 String get typeName() native; | |
| 458 } | |
| 459 | |
| 460 class ClientRectList native "ClientRectList" { | |
| 461 | |
| 462 int length; | |
| 463 | |
| 464 ClientRect item(int index) native; | |
| 465 | |
| 466 var dartObjectLocalStorage; | |
| 467 | |
| 468 String get typeName() native; | |
| 469 } | |
| 470 | |
| 471 class Clipboard native "Clipboard" { | |
| 472 | |
| 473 String dropEffect; | |
| 474 | |
| 475 String effectAllowed; | |
| 476 | |
| 477 FileList files; | |
| 478 | |
| 479 DataTransferItems items; | |
| 480 | |
| 481 void clearData([String type = null]) native; | |
| 482 | |
| 483 void getData(String type) native; | |
| 484 | |
| 485 bool setData(String type, String data) native; | |
| 486 | |
| 487 void setDragImage(HTMLImageElement image, int x, int y) native; | |
| 488 | |
| 489 var dartObjectLocalStorage; | |
| 490 | |
| 491 String get typeName() native; | |
| 492 } | |
| 493 | |
| 494 class CloseEvent extends Event native "CloseEvent" { | |
| 495 | |
| 496 int code; | |
| 497 | |
| 498 String reason; | |
| 499 | |
| 500 bool wasClean; | |
| 501 | |
| 502 void initCloseEvent(String typeArg, bool canBubbleArg, bool cancelableArg, boo
l wasCleanArg, int codeArg, String reasonArg) native; | |
| 503 } | |
| 504 | |
| 505 class Comment extends CharacterData native "Comment" { | |
| 506 } | |
| 507 | |
| 508 class CompositionEvent extends UIEvent native "CompositionEvent" { | |
| 509 | |
| 510 String data; | |
| 511 | |
| 512 void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableAr
g, DOMWindow viewArg, String dataArg) native; | |
| 513 } | |
| 514 | |
| 515 class Console native "Console" { | |
| 516 | |
| 517 MemoryInfo memory; | |
| 518 | |
| 519 void assert(bool condition) native; | |
| 520 | |
| 521 void count() native; | |
| 522 | |
| 523 void debug(Object arg) native; | |
| 524 | |
| 525 void dir() native; | |
| 526 | |
| 527 void dirxml() native; | |
| 528 | |
| 529 void error(Object arg) native; | |
| 530 | |
| 531 void group() native; | |
| 532 | |
| 533 void groupCollapsed() native; | |
| 534 | |
| 535 void groupEnd() native; | |
| 536 | |
| 537 void info(Object arg) native; | |
| 538 | |
| 539 void log(Object arg) native; | |
| 540 | |
| 541 void markTimeline() native; | |
| 542 | |
| 543 void time(String title) native; | |
| 544 | |
| 545 void timeEnd(String title) native; | |
| 546 | |
| 547 void timeStamp() native; | |
| 548 | |
| 549 void trace(Object arg) native; | |
| 550 | |
| 551 void warn(Object arg) native; | |
| 552 | |
| 553 var dartObjectLocalStorage; | |
| 554 | |
| 555 String get typeName() native; | |
| 556 } | |
| 557 | |
| 558 class Coordinates native "Coordinates" { | |
| 559 | |
| 560 num accuracy; | |
| 561 | |
| 562 num altitude; | |
| 563 | |
| 564 num altitudeAccuracy; | |
| 565 | |
| 566 num heading; | |
| 567 | |
| 568 num latitude; | |
| 569 | |
| 570 num longitude; | |
| 571 | |
| 572 num speed; | |
| 573 | |
| 574 var dartObjectLocalStorage; | |
| 575 | |
| 576 String get typeName() native; | |
| 577 } | |
| 578 | |
| 579 class Counter native "Counter" { | |
| 580 | |
| 581 String identifier; | |
| 582 | |
| 583 String listStyle; | |
| 584 | |
| 585 String separator; | |
| 586 | |
| 587 var dartObjectLocalStorage; | |
| 588 | |
| 589 String get typeName() native; | |
| 590 } | |
| 591 | |
| 592 class Crypto native "Crypto" { | |
| 593 | |
| 594 void getRandomValues(ArrayBufferView array) native; | |
| 595 | |
| 596 var dartObjectLocalStorage; | |
| 597 | |
| 598 String get typeName() native; | |
| 599 } | |
| 600 | |
| 601 class CustomEvent extends Event native "CustomEvent" { | |
| 602 | |
| 603 Object detail; | |
| 604 | |
| 605 void initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Ob
ject detailArg) native; | |
| 606 } | |
| 607 | |
| 608 // This type name can't be refered to, so we signal that with an empty string. | |
| 609 class DOMApplicationCache native "" { | |
| 610 | |
| 611 EventListener oncached; | |
| 612 | |
| 613 EventListener onchecking; | |
| 614 | |
| 615 EventListener ondownloading; | |
| 616 | |
| 617 EventListener onerror; | |
| 618 | |
| 619 EventListener onnoupdate; | |
| 620 | |
| 621 EventListener onobsolete; | |
| 622 | |
| 623 EventListener onprogress; | |
| 624 | |
| 625 EventListener onupdateready; | |
| 626 | |
| 627 int status; | |
| 628 | |
| 629 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | |
| 630 | |
| 631 bool dispatchEvent(Event evt) native; | |
| 632 | |
| 633 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | |
| 634 | |
| 635 void swapCache() native; | |
| 636 | |
| 637 void update() native; | |
| 638 | |
| 639 var dartObjectLocalStorage; | |
| 640 | |
| 641 String get typeName() native; | |
| 642 } | |
| 643 | |
| 644 class DOMException native "DOMException" { | |
| 645 | |
| 646 int code; | |
| 647 | |
| 648 String message; | |
| 649 | |
| 650 String name; | |
| 651 | |
| 652 var dartObjectLocalStorage; | |
| 653 | |
| 654 String get typeName() native; | |
| 655 } | |
| 656 | |
| 657 class DOMFileSystem native "DOMFileSystem" { | |
| 658 | |
| 659 String name; | |
| 660 | |
| 661 DirectoryEntry root; | |
| 662 | |
| 663 var dartObjectLocalStorage; | |
| 664 | |
| 665 String get typeName() native; | |
| 666 } | |
| 667 | |
| 668 class DOMFileSystemSync native "DOMFileSystemSync" { | |
| 669 | |
| 670 String name; | |
| 671 | |
| 672 DirectoryEntrySync root; | |
| 673 | |
| 674 var dartObjectLocalStorage; | |
| 675 | |
| 676 String get typeName() native; | |
| 677 } | |
| 678 | |
| 679 class DOMFormData native "DOMFormData" { | |
| 680 | |
| 681 void append(String name, String value) native; | |
| 682 | |
| 683 var dartObjectLocalStorage; | |
| 684 | |
| 685 String get typeName() native; | |
| 686 } | |
| 687 | |
| 688 class DOMImplementation native "DOMImplementation" { | |
| 689 | |
| 690 CSSStyleSheet createCSSStyleSheet(String title, String media) native; | |
| 691 | |
| 692 Document createDocument(String namespaceURI, String qualifiedName, DocumentTyp
e doctype) native; | |
| 693 | |
| 694 DocumentType createDocumentType(String qualifiedName, String publicId, String
systemId) native; | |
| 695 | |
| 696 HTMLDocument createHTMLDocument(String title) native; | |
| 697 | |
| 698 bool hasFeature(String feature, String version) native; | |
| 699 | |
| 700 var dartObjectLocalStorage; | |
| 701 | |
| 702 String get typeName() native; | |
| 703 } | |
| 704 | |
| 705 class DOMMimeType native "DOMMimeType" { | |
| 706 | |
| 707 String description; | |
| 708 | |
| 709 DOMPlugin enabledPlugin; | |
| 710 | |
| 711 String suffixes; | |
| 712 | |
| 713 String type; | |
| 714 | |
| 715 var dartObjectLocalStorage; | |
| 716 | |
| 717 String get typeName() native; | |
| 718 } | |
| 719 | |
| 720 class DOMMimeTypeArray native "DOMMimeTypeArray" { | |
| 721 | |
| 722 int length; | |
| 723 | |
| 724 DOMMimeType item(int index) native; | |
| 725 | |
| 726 DOMMimeType namedItem(String name) native; | |
| 727 | |
| 728 var dartObjectLocalStorage; | |
| 729 | |
| 730 String get typeName() native; | |
| 731 } | |
| 732 | |
| 733 class DOMParser native "DOMParser" { | |
| 734 | |
| 735 Document parseFromString(String str, String contentType) native; | |
| 736 | |
| 737 var dartObjectLocalStorage; | |
| 738 | |
| 739 String get typeName() native; | |
| 740 } | |
| 741 | |
| 742 class DOMPlugin native "DOMPlugin" { | |
| 743 | |
| 744 String description; | |
| 745 | |
| 746 String filename; | |
| 747 | |
| 748 int length; | |
| 749 | |
| 750 String name; | |
| 751 | |
| 752 DOMMimeType item(int index) native; | |
| 753 | |
| 754 DOMMimeType namedItem(String name) native; | |
| 755 | |
| 756 var dartObjectLocalStorage; | |
| 757 | |
| 758 String get typeName() native; | |
| 759 } | |
| 760 | |
| 761 class DOMPluginArray native "DOMPluginArray" { | |
| 762 | |
| 763 int length; | |
| 764 | |
| 765 DOMPlugin item(int index) native; | |
| 766 | |
| 767 DOMPlugin namedItem(String name) native; | |
| 768 | |
| 769 void refresh(bool reload) native; | |
| 770 | |
| 771 var dartObjectLocalStorage; | |
| 772 | |
| 773 String get typeName() native; | |
| 774 } | |
| 775 | |
| 776 class DOMSelection native "DOMSelection" { | |
| 777 | |
| 778 Node anchorNode; | |
| 779 | |
| 780 int anchorOffset; | |
| 781 | |
| 782 Node baseNode; | |
| 783 | |
| 784 int baseOffset; | |
| 785 | |
| 786 Node extentNode; | |
| 787 | |
| 788 int extentOffset; | |
| 789 | |
| 790 Node focusNode; | |
| 791 | |
| 792 int focusOffset; | |
| 793 | |
| 794 bool isCollapsed; | |
| 795 | |
| 796 int rangeCount; | |
| 797 | |
| 798 String type; | |
| 799 | |
| 800 void addRange(Range range) native; | |
| 801 | |
| 802 void collapse(Node node, int index) native; | |
| 803 | |
| 804 void collapseToEnd() native; | |
| 805 | |
| 806 void collapseToStart() native; | |
| 807 | |
| 808 bool containsNode(Node node, bool allowPartial) native; | |
| 809 | |
| 810 void deleteFromDocument() native; | |
| 811 | |
| 812 void empty() native; | |
| 813 | |
| 814 void extend(Node node, int offset) native; | |
| 815 | |
| 816 Range getRangeAt(int index) native; | |
| 817 | |
| 818 void modify(String alter, String direction, String granularity) native; | |
| 819 | |
| 820 void removeAllRanges() native; | |
| 821 | |
| 822 void selectAllChildren(Node node) native; | |
| 823 | |
| 824 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte
ntOffset) native; | |
| 825 | |
| 826 void setPosition(Node node, int offset) native; | |
| 827 | |
| 828 var dartObjectLocalStorage; | |
| 829 | |
| 830 String get typeName() native; | |
| 831 } | |
| 832 | |
| 833 class DOMSettableTokenList extends DOMTokenList native "DOMSettableTokenList" { | |
| 834 | |
| 835 String value; | |
| 836 } | |
| 837 | |
| 838 class DOMTokenList native "DOMTokenList" { | |
| 839 | |
| 840 int length; | |
| 841 | |
| 842 void add(String token) native; | |
| 843 | |
| 844 bool contains(String token) native; | |
| 845 | |
| 846 String item(int index) native; | |
| 847 | |
| 848 void remove(String token) native; | |
| 849 | |
| 850 bool toggle(String token) native; | |
| 851 | |
| 852 var dartObjectLocalStorage; | |
| 853 | |
| 854 String get typeName() native; | |
| 855 } | |
| 856 | |
| 857 class DOMURL native "DOMURL" { | |
| 858 | |
| 859 String createObjectURL(Blob blob) native; | |
| 860 | |
| 861 void revokeObjectURL(String url) native; | |
| 862 | |
| 863 var dartObjectLocalStorage; | |
| 864 | |
| 865 String get typeName() native; | |
| 866 } | |
| 867 | |
| 868 class DOMWindow native "DOMWindow" { | |
| 869 | |
| 870 DOMApplicationCache applicationCache; | |
| 871 | |
| 872 Navigator clientInformation; | |
| 873 | |
| 874 bool closed; | |
| 875 | |
| 876 Console console; | |
| 877 | |
| 878 Crypto crypto; | |
| 879 | |
| 880 String defaultStatus; | |
| 881 | |
| 882 num devicePixelRatio; | |
| 883 | |
| 884 Document document; | |
| 885 | |
| 886 Event event; | |
| 887 | |
| 888 Element frameElement; | |
| 889 | |
| 890 DOMWindow frames; | |
| 891 | |
| 892 History history; | |
| 893 | |
| 894 int innerHeight; | |
| 895 | |
| 896 int innerWidth; | |
| 897 | |
| 898 int length; | |
| 899 | |
| 900 Storage localStorage; | |
| 901 | |
| 902 Location location; | |
| 903 | |
| 904 BarInfo locationbar; | |
| 905 | |
| 906 BarInfo menubar; | |
| 907 | |
| 908 String name; | |
| 909 | |
| 910 Navigator navigator; | |
| 911 | |
| 912 bool offscreenBuffering; | |
| 913 | |
| 914 EventListener onabort; | |
| 915 | |
| 916 EventListener onbeforeunload; | |
| 917 | |
| 918 EventListener onblur; | |
| 919 | |
| 920 EventListener oncanplay; | |
| 921 | |
| 922 EventListener oncanplaythrough; | |
| 923 | |
| 924 EventListener onchange; | |
| 925 | |
| 926 EventListener onclick; | |
| 927 | |
| 928 EventListener oncontextmenu; | |
| 929 | |
| 930 EventListener ondblclick; | |
| 931 | |
| 932 EventListener ondevicemotion; | |
| 933 | |
| 934 EventListener ondeviceorientation; | |
| 935 | |
| 936 EventListener ondrag; | |
| 937 | |
| 938 EventListener ondragend; | |
| 939 | |
| 940 EventListener ondragenter; | |
| 941 | |
| 942 EventListener ondragleave; | |
| 943 | |
| 944 EventListener ondragover; | |
| 945 | |
| 946 EventListener ondragstart; | |
| 947 | |
| 948 EventListener ondrop; | |
| 949 | |
| 950 EventListener ondurationchange; | |
| 951 | |
| 952 EventListener onemptied; | |
| 953 | |
| 954 EventListener onended; | |
| 955 | |
| 956 EventListener onerror; | |
| 957 | |
| 958 EventListener onfocus; | |
| 959 | |
| 960 EventListener onhashchange; | |
| 961 | |
| 962 EventListener oninput; | |
| 963 | |
| 964 EventListener oninvalid; | |
| 965 | |
| 966 EventListener onkeydown; | |
| 967 | |
| 968 EventListener onkeypress; | |
| 969 | |
| 970 EventListener onkeyup; | |
| 971 | |
| 972 EventListener onload; | |
| 973 | |
| 974 EventListener onloadeddata; | |
| 975 | |
| 976 EventListener onloadedmetadata; | |
| 977 | |
| 978 EventListener onloadstart; | |
| 979 | |
| 980 EventListener onmessage; | |
| 981 | |
| 982 EventListener onmousedown; | |
| 983 | |
| 984 EventListener onmousemove; | |
| 985 | |
| 986 EventListener onmouseout; | |
| 987 | |
| 988 EventListener onmouseover; | |
| 989 | |
| 990 EventListener onmouseup; | |
| 991 | |
| 992 EventListener onmousewheel; | |
| 993 | |
| 994 EventListener onoffline; | |
| 995 | |
| 996 EventListener ononline; | |
| 997 | |
| 998 EventListener onpagehide; | |
| 999 | |
| 1000 EventListener onpageshow; | |
| 1001 | |
| 1002 EventListener onpause; | |
| 1003 | |
| 1004 EventListener onplay; | |
| 1005 | |
| 1006 EventListener onplaying; | |
| 1007 | |
| 1008 EventListener onpopstate; | |
| 1009 | |
| 1010 EventListener onprogress; | |
| 1011 | |
| 1012 EventListener onratechange; | |
| 1013 | |
| 1014 EventListener onreset; | |
| 1015 | |
| 1016 EventListener onresize; | |
| 1017 | |
| 1018 EventListener onscroll; | |
| 1019 | |
| 1020 EventListener onsearch; | |
| 1021 | |
| 1022 EventListener onseeked; | |
| 1023 | |
| 1024 EventListener onseeking; | |
| 1025 | |
| 1026 EventListener onselect; | |
| 1027 | |
| 1028 EventListener onstalled; | |
| 1029 | |
| 1030 EventListener onstorage; | |
| 1031 | |
| 1032 EventListener onsubmit; | |
| 1033 | |
| 1034 EventListener onsuspend; | |
| 1035 | |
| 1036 EventListener ontimeupdate; | |
| 1037 | |
| 1038 EventListener ontouchcancel; | |
| 1039 | |
| 1040 EventListener ontouchend; | |
| 1041 | |
| 1042 EventListener ontouchmove; | |
| 1043 | |
| 1044 EventListener ontouchstart; | |
| 1045 | |
| 1046 EventListener onunload; | |
| 1047 | |
| 1048 EventListener onvolumechange; | |
| 1049 | |
| 1050 EventListener onwaiting; | |
| 1051 | |
| 1052 EventListener onwebkitanimationend; | |
| 1053 | |
| 1054 EventListener onwebkitanimationiteration; | |
| 1055 | |
| 1056 EventListener onwebkitanimationstart; | |
| 1057 | |
| 1058 EventListener onwebkittransitionend; | |
| 1059 | |
| 1060 DOMWindow opener; | |
| 1061 | |
| 1062 int outerHeight; | |
| 1063 | |
| 1064 int outerWidth; | |
| 1065 | |
| 1066 int pageXOffset; | |
| 1067 | |
| 1068 int pageYOffset; | |
| 1069 | |
| 1070 DOMWindow parent; | |
| 1071 | |
| 1072 Performance performance; | |
| 1073 | |
| 1074 BarInfo personalbar; | |
| 1075 | |
| 1076 Screen screen; | |
| 1077 | |
| 1078 int screenLeft; | |
| 1079 | |
| 1080 int screenTop; | |
| 1081 | |
| 1082 int screenX; | |
| 1083 | |
| 1084 int screenY; | |
| 1085 | |
| 1086 int scrollX; | |
| 1087 | |
| 1088 int scrollY; | |
| 1089 | |
| 1090 BarInfo scrollbars; | |
| 1091 | |
| 1092 DOMWindow self; | |
| 1093 | |
| 1094 Storage sessionStorage; | |
| 1095 | |
| 1096 String status; | |
| 1097 | |
| 1098 BarInfo statusbar; | |
| 1099 | |
| 1100 StyleMedia styleMedia; | |
| 1101 | |
| 1102 BarInfo toolbar; | |
| 1103 | |
| 1104 DOMWindow top; | |
| 1105 | |
| 1106 NotificationCenter webkitNotifications; | |
| 1107 | |
| 1108 DOMWindow window; | |
| 1109 | |
| 1110 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | |
| 1111 | |
| 1112 void alert(String message) native; | |
| 1113 | |
| 1114 String atob(String string) native; | |
| 1115 | |
| 1116 void blur() native; | |
| 1117 | |
| 1118 String btoa(String string) native; | |
| 1119 | |
| 1120 void captureEvents() native; | |
| 1121 | |
| 1122 void clearInterval(int handle) native; | |
| 1123 | |
| 1124 void clearTimeout(int handle) native; | |
| 1125 | |
| 1126 void close() native; | |
| 1127 | |
| 1128 bool confirm(String message) native; | |
| 1129 | |
| 1130 FileReader createFileReader() native; | |
| 1131 | |
| 1132 WebKitCSSMatrix createWebKitCSSMatrix([String cssValue = null]) native; | |
| 1133 | |
| 1134 WebKitPoint createWebKitPoint(num x, num y) native; | |
| 1135 | |
| 1136 XMLHttpRequest createXMLHttpRequest() native; | |
| 1137 | |
| 1138 bool dispatchEvent(Event evt) native; | |
| 1139 | |
| 1140 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w
holeWord, bool searchInFrames, bool showDialog) native; | |
| 1141 | |
| 1142 void focus() native; | |
| 1143 | |
| 1144 CSSStyleDeclaration getComputedStyle(Element element, String pseudoElement) na
tive; | |
| 1145 | |
| 1146 DOMSelection getSelection() native; | |
| 1147 | |
| 1148 MediaQueryList matchMedia(String query) native; | |
| 1149 | |
| 1150 void moveBy(num x, num y) native; | |
| 1151 | |
| 1152 void moveTo(num x, num y) native; | |
| 1153 | |
| 1154 DOMWindow open(String url, String name, [String options = null]) native; | |
| 1155 | |
| 1156 void postMessage(String message, var messagePort_OR_targetOrigin, [String targ
etOrigin = null]) native; | |
| 1157 | |
| 1158 void print() native; | |
| 1159 | |
| 1160 String prompt(String message, String defaultValue) native; | |
| 1161 | |
| 1162 void releaseEvents() native; | |
| 1163 | |
| 1164 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | |
| 1165 | |
| 1166 void resizeBy(num x, num y) native; | |
| 1167 | |
| 1168 void resizeTo(num width, num height) native; | |
| 1169 | |
| 1170 void scroll(int x, int y) native; | |
| 1171 | |
| 1172 void scrollBy(int x, int y) native; | |
| 1173 | |
| 1174 void scrollTo(int x, int y) native; | |
| 1175 | |
| 1176 int setInterval(TimeoutHandler handler, int timeout) native; | |
| 1177 | |
| 1178 int setTimeout(TimeoutHandler handler, int timeout) native; | |
| 1179 | |
| 1180 Object showModalDialog(String url, [Object dialogArgs = null, String featureAr
gs = null]) native; | |
| 1181 | |
| 1182 void stop() native; | |
| 1183 | |
| 1184 void webkitCancelRequestAnimationFrame(int id) native; | |
| 1185 | |
| 1186 WebKitPoint webkitConvertPointFromNodeToPage(Node node, WebKitPoint p) native; | |
| 1187 | |
| 1188 WebKitPoint webkitConvertPointFromPageToNode(Node node, WebKitPoint p) native; | |
| 1189 | |
| 1190 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Elemen
t element) native; | |
| 1191 | |
| 1192 var dartObjectLocalStorage; | |
| 1193 | |
| 1194 String get typeName() native; | |
| 1195 } | |
| 1196 | |
| 1197 class DataTransferItem native "DataTransferItem" { | |
| 1198 | |
| 1199 String kind; | |
| 1200 | |
| 1201 String type; | |
| 1202 | |
| 1203 Blob getAsFile() native; | |
| 1204 | |
| 1205 void getAsString(StringCallback callback) native; | |
| 1206 | |
| 1207 var dartObjectLocalStorage; | |
| 1208 | |
| 1209 String get typeName() native; | |
| 1210 } | |
| 1211 | |
| 1212 class DataTransferItems native "DataTransferItems" { | |
| 1213 | |
| 1214 int length; | |
| 1215 | |
| 1216 void add(String data, String type) native; | |
| 1217 | |
| 1218 void clear() native; | |
| 1219 | |
| 1220 DataTransferItem item(int index) native; | |
| 1221 | |
| 1222 var dartObjectLocalStorage; | |
| 1223 | |
| 1224 String get typeName() native; | |
| 1225 } | |
| 1226 | |
| 1227 class DataView extends ArrayBufferView native "DataView" { | |
| 1228 | |
| 1229 num getFloat32(int byteOffset, [bool littleEndian = null]) native; | |
| 1230 | |
| 1231 num getFloat64(int byteOffset, [bool littleEndian = null]) native; | |
| 1232 | |
| 1233 int getInt16(int byteOffset, [bool littleEndian = null]) native; | |
| 1234 | |
| 1235 int getInt32(int byteOffset, [bool littleEndian = null]) native; | |
| 1236 | |
| 1237 Object getInt8() native; | |
| 1238 | |
| 1239 int getUint16(int byteOffset, [bool littleEndian = null]) native; | |
| 1240 | |
| 1241 int getUint32(int byteOffset, [bool littleEndian = null]) native; | |
| 1242 | |
| 1243 Object getUint8() native; | |
| 1244 | |
| 1245 void setFloat32(int byteOffset, num value, [bool littleEndian = null]) native; | |
| 1246 | |
| 1247 void setFloat64(int byteOffset, num value, [bool littleEndian = null]) native; | |
| 1248 | |
| 1249 void setInt16(int byteOffset, int value, [bool littleEndian = null]) native; | |
| 1250 | |
| 1251 void setInt32(int byteOffset, int value, [bool littleEndian = null]) native; | |
| 1252 | |
| 1253 void setInt8() native; | |
| 1254 | |
| 1255 void setUint16(int byteOffset, int value, [bool littleEndian = null]) native; | |
| 1256 | |
| 1257 void setUint32(int byteOffset, int value, [bool littleEndian = null]) native; | |
| 1258 | |
| 1259 void setUint8() native; | |
| 1260 } | |
| 1261 | |
| 1262 class Database native "Database" { | |
| 1263 | |
| 1264 String version; | |
| 1265 | |
| 1266 void changeVersion(String oldVersion, String newVersion, [SQLTransactionCallba
ck callback = null, SQLTransactionErrorCallback errorCallback = null, VoidCallba
ck successCallback = null]) native; | |
| 1267 | |
| 1268 void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCall
back errorCallback = null, VoidCallback successCallback = null]) native; | |
| 1269 | |
| 1270 void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback
errorCallback = null, VoidCallback successCallback = null]) native; | |
| 1271 | |
| 1272 var dartObjectLocalStorage; | |
| 1273 | |
| 1274 String get typeName() native; | |
| 1275 } | |
| 1276 | |
| 1277 class DatabaseCallback native "DatabaseCallback" { | |
| 1278 | |
| 1279 bool handleEvent(var database) native; | |
| 1280 | |
| 1281 var dartObjectLocalStorage; | |
| 1282 | |
| 1283 String get typeName() native; | |
| 1284 } | |
| 1285 | |
| 1286 class DatabaseSync native "DatabaseSync" { | |
| 1287 | |
| 1288 String version; | |
| 1289 | |
| 1290 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa
llback callback = null]) native; | |
| 1291 | |
| 1292 void readTransaction(SQLTransactionSyncCallback callback) native; | |
| 1293 | |
| 1294 void transaction(SQLTransactionSyncCallback callback) native; | |
| 1295 | |
| 1296 var dartObjectLocalStorage; | |
| 1297 | |
| 1298 String get typeName() native; | |
| 1299 } | |
| 1300 | |
| 1301 class DedicatedWorkerContext extends WorkerContext native "DedicatedWorkerContex
t" { | |
| 1302 | |
| 1303 EventListener onmessage; | |
| 1304 | |
| 1305 void postMessage(Object message) native; | |
| 1306 | |
| 1307 void webkitPostMessage(Object message) native; | |
| 1308 } | |
| 1309 | |
| 1310 class DeviceMotionEvent extends Event native "DeviceMotionEvent" { | |
| 1311 | |
| 1312 num interval; | |
| 1313 } | |
| 1314 | |
| 1315 class DeviceOrientationEvent extends Event native "DeviceOrientationEvent" { | |
| 1316 | |
| 1317 num alpha; | |
| 1318 | |
| 1319 num beta; | |
| 1320 | |
| 1321 num gamma; | |
| 1322 | |
| 1323 void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, nu
m alpha, num beta, num gamma) native; | |
| 1324 } | |
| 1325 | |
| 1326 class DirectoryEntry extends Entry native "DirectoryEntry" { | |
| 1327 | |
| 1328 DirectoryReader createReader() native; | |
| 1329 | |
| 1330 void getDirectory(String path, [WebKitFlags flags = null, EntryCallback succes
sCallback = null, ErrorCallback errorCallback = null]) native; | |
| 1331 | |
| 1332 void getFile(String path, [WebKitFlags flags = null, EntryCallback successCall
back = null, ErrorCallback errorCallback = null]) native; | |
| 1333 | |
| 1334 void removeRecursively([VoidCallback successCallback = null, ErrorCallback err
orCallback = null]) native; | |
| 1335 } | |
| 1336 | |
| 1337 class DirectoryEntrySync extends EntrySync native "DirectoryEntrySync" { | |
| 1338 | |
| 1339 DirectoryReaderSync createReader() native; | |
| 1340 | |
| 1341 DirectoryEntrySync getDirectory(String path, WebKitFlags flags) native; | |
| 1342 | |
| 1343 FileEntrySync getFile(String path, WebKitFlags flags) native; | |
| 1344 | |
| 1345 void removeRecursively() native; | |
| 1346 } | |
| 1347 | |
| 1348 class DirectoryReader native "DirectoryReader" { | |
| 1349 | |
| 1350 void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback
= null]) native; | |
| 1351 | |
| 1352 var dartObjectLocalStorage; | |
| 1353 | |
| 1354 String get typeName() native; | |
| 1355 } | |
| 1356 | |
| 1357 class DirectoryReaderSync native "DirectoryReaderSync" { | |
| 1358 | |
| 1359 EntryArraySync readEntries() native; | |
| 1360 | |
| 1361 var dartObjectLocalStorage; | |
| 1362 | |
| 1363 String get typeName() native; | |
| 1364 } | |
| 1365 | |
| 1366 class Document extends Node native "Document" { | |
| 1367 | |
| 1368 String URL; | |
| 1369 | |
| 1370 HTMLCollection anchors; | |
| 1371 | |
| 1372 HTMLCollection applets; | |
| 1373 | |
| 1374 HTMLElement body; | |
| 1375 | |
| 1376 String characterSet; | |
| 1377 | |
| 1378 String charset; | |
| 1379 | |
| 1380 String compatMode; | |
| 1381 | |
| 1382 String cookie; | |
| 1383 | |
| 1384 String defaultCharset; | |
| 1385 | |
| 1386 DOMWindow defaultView; | |
| 1387 | |
| 1388 DocumentType doctype; | |
| 1389 | |
| 1390 Element documentElement; | |
| 1391 | |
| 1392 String documentURI; | |
| 1393 | |
| 1394 String domain; | |
| 1395 | |
| 1396 HTMLCollection forms; | |
| 1397 | |
| 1398 HTMLHeadElement head; | |
| 1399 | |
| 1400 HTMLCollection images; | |
| 1401 | |
| 1402 DOMImplementation implementation; | |
| 1403 | |
| 1404 String inputEncoding; | |
| 1405 | |
| 1406 String lastModified; | |
| 1407 | |
| 1408 HTMLCollection links; | |
| 1409 | |
| 1410 EventListener onabort; | |
| 1411 | |
| 1412 EventListener onbeforecopy; | |
| 1413 | |
| 1414 EventListener onbeforecut; | |
| 1415 | |
| 1416 EventListener onbeforepaste; | |
| 1417 | |
| 1418 EventListener onblur; | |
| 1419 | |
| 1420 EventListener onchange; | |
| 1421 | |
| 1422 EventListener onclick; | |
| 1423 | |
| 1424 EventListener oncontextmenu; | |
| 1425 | |
| 1426 EventListener oncopy; | |
| 1427 | |
| 1428 EventListener oncut; | |
| 1429 | |
| 1430 EventListener ondblclick; | |
| 1431 | |
| 1432 EventListener ondrag; | |
| 1433 | |
| 1434 EventListener ondragend; | |
| 1435 | |
| 1436 EventListener ondragenter; | |
| 1437 | |
| 1438 EventListener ondragleave; | |
| 1439 | |
| 1440 EventListener ondragover; | |
| 1441 | |
| 1442 EventListener ondragstart; | |
| 1443 | |
| 1444 EventListener ondrop; | |
| 1445 | |
| 1446 EventListener onerror; | |
| 1447 | |
| 1448 EventListener onfocus; | |
| 1449 | |
| 1450 EventListener oninput; | |
| 1451 | |
| 1452 EventListener oninvalid; | |
| 1453 | |
| 1454 EventListener onkeydown; | |
| 1455 | |
| 1456 EventListener onkeypress; | |
| 1457 | |
| 1458 EventListener onkeyup; | |
| 1459 | |
| 1460 EventListener onload; | |
| 1461 | |
| 1462 EventListener onmousedown; | |
| 1463 | |
| 1464 EventListener onmousemove; | |
| 1465 | |
| 1466 EventListener onmouseout; | |
| 1467 | |
| 1468 EventListener onmouseover; | |
| 1469 | |
| 1470 EventListener onmouseup; | |
| 1471 | |
| 1472 EventListener onmousewheel; | |
| 1473 | |
| 1474 EventListener onpaste; | |
| 1475 | |
| 1476 EventListener onreadystatechange; | |
| 1477 | |
| 1478 EventListener onreset; | |
| 1479 | |
| 1480 EventListener onscroll; | |
| 1481 | |
| 1482 EventListener onsearch; | |
| 1483 | |
| 1484 EventListener onselect; | |
| 1485 | |
| 1486 EventListener onselectionchange; | |
| 1487 | |
| 1488 EventListener onselectstart; | |
| 1489 | |
| 1490 EventListener onsubmit; | |
| 1491 | |
| 1492 EventListener ontouchcancel; | |
| 1493 | |
| 1494 EventListener ontouchend; | |
| 1495 | |
| 1496 EventListener ontouchmove; | |
| 1497 | |
| 1498 EventListener ontouchstart; | |
| 1499 | |
| 1500 EventListener onwebkitfullscreenchange; | |
| 1501 | |
| 1502 String preferredStylesheetSet; | |
| 1503 | |
| 1504 String readyState; | |
| 1505 | |
| 1506 String referrer; | |
| 1507 | |
| 1508 String selectedStylesheetSet; | |
| 1509 | |
| 1510 StyleSheetList styleSheets; | |
| 1511 | |
| 1512 String title; | |
| 1513 | |
| 1514 bool webkitHidden; | |
| 1515 | |
| 1516 String webkitVisibilityState; | |
| 1517 | |
| 1518 String xmlEncoding; | |
| 1519 | |
| 1520 bool xmlStandalone; | |
| 1521 | |
| 1522 String xmlVersion; | |
| 1523 | |
| 1524 Node adoptNode(Node source) native; | |
| 1525 | |
| 1526 Range caretRangeFromPoint(int x, int y) native; | |
| 1527 | |
| 1528 Attr createAttribute(String name) native; | |
| 1529 | |
| 1530 Attr createAttributeNS(String namespaceURI, String qualifiedName) native; | |
| 1531 | |
| 1532 CDATASection createCDATASection(String data) native; | |
| 1533 | |
| 1534 CSSStyleDeclaration createCSSStyleDeclaration() native; | |
| 1535 | |
| 1536 Comment createComment(String data) native; | |
| 1537 | |
| 1538 DocumentFragment createDocumentFragment() native; | |
| 1539 | |
| 1540 Element createElement(String tagName) native; | |
| 1541 | |
| 1542 Element createElementNS(String namespaceURI, String qualifiedName) native; | |
| 1543 | |
| 1544 EntityReference createEntityReference(String name) native; | |
| 1545 | |
| 1546 Event createEvent(String eventType) native; | |
| 1547 | |
| 1548 NodeIterator createNodeIterator(Node root, int whatToShow, NodeFilter filter,
bool expandEntityReferences) native; | |
| 1549 | |
| 1550 ProcessingInstruction createProcessingInstruction(String target, String data)
native; | |
| 1551 | |
| 1552 Range createRange() native; | |
| 1553 | |
| 1554 Text createTextNode(String data) native; | |
| 1555 | |
| 1556 TreeWalker createTreeWalker(Node root, int whatToShow, NodeFilter filter, bool
expandEntityReferences) native; | |
| 1557 | |
| 1558 Element elementFromPoint(int x, int y) native; | |
| 1559 | |
| 1560 bool execCommand(String command, bool userInterface, String value) native; | |
| 1561 | |
| 1562 Object getCSSCanvasContext(String contextId, String name, int width, int heigh
t) native; | |
| 1563 | |
| 1564 Element getElementById(String elementId) native; | |
| 1565 | |
| 1566 NodeList getElementsByClassName(String tagname) native; | |
| 1567 | |
| 1568 NodeList getElementsByName(String elementName) native; | |
| 1569 | |
| 1570 NodeList getElementsByTagName(String tagname) native; | |
| 1571 | |
| 1572 NodeList getElementsByTagNameNS(String namespaceURI, String localName) native; | |
| 1573 | |
| 1574 CSSStyleDeclaration getOverrideStyle(Element element, String pseudoElement) na
tive; | |
| 1575 | |
| 1576 Node importNode(Node importedNode, bool deep) native; | |
| 1577 | |
| 1578 bool queryCommandEnabled(String command) native; | |
| 1579 | |
| 1580 bool queryCommandIndeterm(String command) native; | |
| 1581 | |
| 1582 bool queryCommandState(String command) native; | |
| 1583 | |
| 1584 bool queryCommandSupported(String command) native; | |
| 1585 | |
| 1586 String queryCommandValue(String command) native; | |
| 1587 | |
| 1588 Element querySelector(String selectors) native; | |
| 1589 | |
| 1590 NodeList querySelectorAll(String selectors) native; | |
| 1591 } | |
| 1592 | |
| 1593 class DocumentFragment extends Node native "DocumentFragment" { | |
| 1594 | |
| 1595 Element querySelector(String selectors) native; | |
| 1596 | |
| 1597 NodeList querySelectorAll(String selectors) native; | |
| 1598 } | |
| 1599 | |
| 1600 class DocumentType extends Node native "DocumentType" { | |
| 1601 | |
| 1602 NamedNodeMap entities; | |
| 1603 | |
| 1604 String internalSubset; | |
| 1605 | |
| 1606 String name; | |
| 1607 | |
| 1608 NamedNodeMap notations; | |
| 1609 | |
| 1610 String publicId; | |
| 1611 | |
| 1612 String systemId; | |
| 1613 } | |
| 1614 | |
| 1615 class Element extends Node native "Element" { | |
| 1616 | |
| 1617 int childElementCount; | |
| 1618 | |
| 1619 int clientHeight; | |
| 1620 | |
| 1621 int clientLeft; | |
| 1622 | |
| 1623 int clientTop; | |
| 1624 | |
| 1625 int clientWidth; | |
| 1626 | |
| 1627 Element firstElementChild; | |
| 1628 | |
| 1629 Element lastElementChild; | |
| 1630 | |
| 1631 Element nextElementSibling; | |
| 1632 | |
| 1633 int offsetHeight; | |
| 1634 | |
| 1635 int offsetLeft; | |
| 1636 | |
| 1637 Element offsetParent; | |
| 1638 | |
| 1639 int offsetTop; | |
| 1640 | |
| 1641 int offsetWidth; | |
| 1642 | |
| 1643 EventListener onabort; | |
| 1644 | |
| 1645 EventListener onbeforecopy; | |
| 1646 | |
| 1647 EventListener onbeforecut; | |
| 1648 | |
| 1649 EventListener onbeforepaste; | |
| 1650 | |
| 1651 EventListener onblur; | |
| 1652 | |
| 1653 EventListener onchange; | |
| 1654 | |
| 1655 EventListener onclick; | |
| 1656 | |
| 1657 EventListener oncontextmenu; | |
| 1658 | |
| 1659 EventListener oncopy; | |
| 1660 | |
| 1661 EventListener oncut; | |
| 1662 | |
| 1663 EventListener ondblclick; | |
| 1664 | |
| 1665 EventListener ondrag; | |
| 1666 | |
| 1667 EventListener ondragend; | |
| 1668 | |
| 1669 EventListener ondragenter; | |
| 1670 | |
| 1671 EventListener ondragleave; | |
| 1672 | |
| 1673 EventListener ondragover; | |
| 1674 | |
| 1675 EventListener ondragstart; | |
| 1676 | |
| 1677 EventListener ondrop; | |
| 1678 | |
| 1679 EventListener onerror; | |
| 1680 | |
| 1681 EventListener onfocus; | |
| 1682 | |
| 1683 EventListener oninput; | |
| 1684 | |
| 1685 EventListener oninvalid; | |
| 1686 | |
| 1687 EventListener onkeydown; | |
| 1688 | |
| 1689 EventListener onkeypress; | |
| 1690 | |
| 1691 EventListener onkeyup; | |
| 1692 | |
| 1693 EventListener onload; | |
| 1694 | |
| 1695 EventListener onmousedown; | |
| 1696 | |
| 1697 EventListener onmousemove; | |
| 1698 | |
| 1699 EventListener onmouseout; | |
| 1700 | |
| 1701 EventListener onmouseover; | |
| 1702 | |
| 1703 EventListener onmouseup; | |
| 1704 | |
| 1705 EventListener onmousewheel; | |
| 1706 | |
| 1707 EventListener onpaste; | |
| 1708 | |
| 1709 EventListener onreset; | |
| 1710 | |
| 1711 EventListener onscroll; | |
| 1712 | |
| 1713 EventListener onsearch; | |
| 1714 | |
| 1715 EventListener onselect; | |
| 1716 | |
| 1717 EventListener onselectstart; | |
| 1718 | |
| 1719 EventListener onsubmit; | |
| 1720 | |
| 1721 EventListener ontouchcancel; | |
| 1722 | |
| 1723 EventListener ontouchend; | |
| 1724 | |
| 1725 EventListener ontouchmove; | |
| 1726 | |
| 1727 EventListener ontouchstart; | |
| 1728 | |
| 1729 EventListener onwebkitfullscreenchange; | |
| 1730 | |
| 1731 Element previousElementSibling; | |
| 1732 | |
| 1733 int scrollHeight; | |
| 1734 | |
| 1735 int scrollLeft; | |
| 1736 | |
| 1737 int scrollTop; | |
| 1738 | |
| 1739 int scrollWidth; | |
| 1740 | |
| 1741 CSSStyleDeclaration style; | |
| 1742 | |
| 1743 String tagName; | |
| 1744 | |
| 1745 void blur() native; | |
| 1746 | |
| 1747 void focus() native; | |
| 1748 | |
| 1749 String getAttribute(String name) native; | |
| 1750 | |
| 1751 String getAttributeNS(String namespaceURI, String localName) native; | |
| 1752 | |
| 1753 Attr getAttributeNode(String name) native; | |
| 1754 | |
| 1755 Attr getAttributeNodeNS(String namespaceURI, String localName) native; | |
| 1756 | |
| 1757 ClientRect getBoundingClientRect() native; | |
| 1758 | |
| 1759 ClientRectList getClientRects() native; | |
| 1760 | |
| 1761 NodeList getElementsByClassName(String name) native; | |
| 1762 | |
| 1763 NodeList getElementsByTagName(String name) native; | |
| 1764 | |
| 1765 NodeList getElementsByTagNameNS(String namespaceURI, String localName) native; | |
| 1766 | |
| 1767 bool hasAttribute(String name) native; | |
| 1768 | |
| 1769 bool hasAttributeNS(String namespaceURI, String localName) native; | |
| 1770 | |
| 1771 Element querySelector(String selectors) native; | |
| 1772 | |
| 1773 NodeList querySelectorAll(String selectors) native; | |
| 1774 | |
| 1775 void removeAttribute(String name) native; | |
| 1776 | |
| 1777 void removeAttributeNS(String namespaceURI, String localName) native; | |
| 1778 | |
| 1779 Attr removeAttributeNode(Attr oldAttr) native; | |
| 1780 | |
| 1781 void scrollByLines(int lines) native; | |
| 1782 | |
| 1783 void scrollByPages(int pages) native; | |
| 1784 | |
| 1785 void scrollIntoView([bool alignWithTop = null]) native; | |
| 1786 | |
| 1787 void scrollIntoViewIfNeeded([bool centerIfNeeded = null]) native; | |
| 1788 | |
| 1789 void setAttribute(String name, String value) native; | |
| 1790 | |
| 1791 void setAttributeNS(String namespaceURI, String qualifiedName, String value) n
ative; | |
| 1792 | |
| 1793 Attr setAttributeNode(Attr newAttr) native; | |
| 1794 | |
| 1795 Attr setAttributeNodeNS(Attr newAttr) native; | |
| 1796 | |
| 1797 bool webkitMatchesSelector(String selectors) native; | |
| 1798 } | |
| 1799 | |
| 1800 class ElementTraversal native "ElementTraversal" { | |
| 1801 | |
| 1802 int childElementCount; | |
| 1803 | |
| 1804 Element firstElementChild; | |
| 1805 | |
| 1806 Element lastElementChild; | |
| 1807 | |
| 1808 Element nextElementSibling; | |
| 1809 | |
| 1810 Element previousElementSibling; | |
| 1811 | |
| 1812 var dartObjectLocalStorage; | |
| 1813 | |
| 1814 String get typeName() native; | |
| 1815 } | |
| 1816 | |
| 1817 class Entity extends Node native "Entity" { | |
| 1818 | |
| 1819 String notationName; | |
| 1820 | |
| 1821 String publicId; | |
| 1822 | |
| 1823 String systemId; | |
| 1824 } | |
| 1825 | |
| 1826 class EntityReference extends Node native "EntityReference" { | |
| 1827 } | |
| 1828 | |
| 1829 class EntriesCallback native "EntriesCallback" { | |
| 1830 | |
| 1831 bool handleEvent(EntryArray entries) native; | |
| 1832 | |
| 1833 var dartObjectLocalStorage; | |
| 1834 | |
| 1835 String get typeName() native; | |
| 1836 } | |
| 1837 | |
| 1838 class Entry native "Entry" { | |
| 1839 | |
| 1840 DOMFileSystem filesystem; | |
| 1841 | |
| 1842 String fullPath; | |
| 1843 | |
| 1844 bool isDirectory; | |
| 1845 | |
| 1846 bool isFile; | |
| 1847 | |
| 1848 String name; | |
| 1849 | |
| 1850 void copyTo(DirectoryEntry parent, [String name = null, EntryCallback successC
allback = null, ErrorCallback errorCallback = null]) native; | |
| 1851 | |
| 1852 void getMetadata([MetadataCallback successCallback = null, ErrorCallback error
Callback = null]) native; | |
| 1853 | |
| 1854 void getParent([EntryCallback successCallback = null, ErrorCallback errorCallb
ack = null]) native; | |
| 1855 | |
| 1856 void moveTo(DirectoryEntry parent, [String name = null, EntryCallback successC
allback = null, ErrorCallback errorCallback = null]) native; | |
| 1857 | |
| 1858 void remove([VoidCallback successCallback = null, ErrorCallback errorCallback
= null]) native; | |
| 1859 | |
| 1860 String toURL() native; | |
| 1861 | |
| 1862 var dartObjectLocalStorage; | |
| 1863 | |
| 1864 String get typeName() native; | |
| 1865 } | |
| 1866 | |
| 1867 class EntryArray native "EntryArray" { | |
| 1868 | |
| 1869 int length; | |
| 1870 | |
| 1871 Entry item(int index) native; | |
| 1872 | |
| 1873 var dartObjectLocalStorage; | |
| 1874 | |
| 1875 String get typeName() native; | |
| 1876 } | |
| 1877 | |
| 1878 class EntryArraySync native "EntryArraySync" { | |
| 1879 | |
| 1880 int length; | |
| 1881 | |
| 1882 EntrySync item(int index) native; | |
| 1883 | |
| 1884 var dartObjectLocalStorage; | |
| 1885 | |
| 1886 String get typeName() native; | |
| 1887 } | |
| 1888 | |
| 1889 class EntryCallback native "EntryCallback" { | |
| 1890 | |
| 1891 bool handleEvent(Entry entry) native; | |
| 1892 | |
| 1893 var dartObjectLocalStorage; | |
| 1894 | |
| 1895 String get typeName() native; | |
| 1896 } | |
| 1897 | |
| 1898 class EntrySync native "EntrySync" { | |
| 1899 | |
| 1900 DOMFileSystemSync filesystem; | |
| 1901 | |
| 1902 String fullPath; | |
| 1903 | |
| 1904 bool isDirectory; | |
| 1905 | |
| 1906 bool isFile; | |
| 1907 | |
| 1908 String name; | |
| 1909 | |
| 1910 EntrySync copyTo(DirectoryEntrySync parent, String name) native; | |
| 1911 | |
| 1912 Metadata getMetadata() native; | |
| 1913 | |
| 1914 DirectoryEntrySync getParent() native; | |
| 1915 | |
| 1916 EntrySync moveTo(DirectoryEntrySync parent, String name) native; | |
| 1917 | |
| 1918 void remove() native; | |
| 1919 | |
| 1920 String toURL() native; | |
| 1921 | |
| 1922 var dartObjectLocalStorage; | |
| 1923 | |
| 1924 String get typeName() native; | |
| 1925 } | |
| 1926 | |
| 1927 class ErrorCallback native "ErrorCallback" { | |
| 1928 | |
| 1929 bool handleEvent(FileError error) native; | |
| 1930 | |
| 1931 var dartObjectLocalStorage; | |
| 1932 | |
| 1933 String get typeName() native; | |
| 1934 } | |
| 1935 | |
| 1936 class ErrorEvent extends Event native "ErrorEvent" { | |
| 1937 | |
| 1938 String filename; | |
| 1939 | |
| 1940 int lineno; | |
| 1941 | |
| 1942 String message; | |
| 1943 | |
| 1944 void initErrorEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Str
ing messageArg, String filenameArg, int linenoArg) native; | |
| 1945 } | |
| 1946 | |
| 1947 class Event native "Event" { | |
| 1948 | |
| 1949 bool bubbles; | |
| 1950 | |
| 1951 bool cancelBubble; | |
| 1952 | |
| 1953 bool cancelable; | |
| 1954 | |
| 1955 EventTarget currentTarget; | |
| 1956 | |
| 1957 bool defaultPrevented; | |
| 1958 | |
| 1959 int eventPhase; | |
| 1960 | |
| 1961 bool returnValue; | |
| 1962 | |
| 1963 EventTarget srcElement; | |
| 1964 | |
| 1965 EventTarget target; | |
| 1966 | |
| 1967 int timeStamp; | |
| 1968 | |
| 1969 String type; | |
| 1970 | |
| 1971 void initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) nat
ive; | |
| 1972 | |
| 1973 void preventDefault() native; | |
| 1974 | |
| 1975 void stopImmediatePropagation() native; | |
| 1976 | |
| 1977 void stopPropagation() native; | |
| 1978 | |
| 1979 var dartObjectLocalStorage; | |
| 1980 | |
| 1981 String get typeName() native; | |
| 1982 } | |
| 1983 | |
| 1984 class EventException native "EventException" { | |
| 1985 | |
| 1986 int code; | |
| 1987 | |
| 1988 String message; | |
| 1989 | |
| 1990 String name; | |
| 1991 | |
| 1992 var dartObjectLocalStorage; | |
| 1993 | |
| 1994 String get typeName() native; | |
| 1995 } | |
| 1996 | |
| 1997 class EventSource native "EventSource" { | |
| 1998 | |
| 1999 String URL; | |
| 2000 | |
| 2001 EventListener onerror; | |
| 2002 | |
| 2003 EventListener onmessage; | |
| 2004 | |
| 2005 EventListener onopen; | |
| 2006 | |
| 2007 int readyState; | |
| 2008 | |
| 2009 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | |
| 2010 | |
| 2011 void close() native; | |
| 2012 | |
| 2013 bool dispatchEvent(Event evt) native; | |
| 2014 | |
| 2015 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | |
| 2016 | |
| 2017 var dartObjectLocalStorage; | |
| 2018 | |
| 2019 String get typeName() native; | |
| 2020 } | |
| 2021 | |
| 2022 class EventTarget native "EventTarget" { | |
| 2023 | |
| 2024 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | |
| 2025 | |
| 2026 bool dispatchEvent(Event event) native; | |
| 2027 | |
| 2028 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | |
| 2029 | |
| 2030 var dartObjectLocalStorage; | |
| 2031 | |
| 2032 String get typeName() native; | |
| 2033 } | |
| 2034 | |
| 2035 class File extends Blob native "File" { | |
| 2036 | |
| 2037 String fileName; | |
| 2038 | |
| 2039 int fileSize; | |
| 2040 | |
| 2041 Date lastModifiedDate; | |
| 2042 | |
| 2043 String name; | |
| 2044 } | |
| 2045 | |
| 2046 class FileCallback native "FileCallback" { | |
| 2047 | |
| 2048 bool handleEvent(File file) native; | |
| 2049 | |
| 2050 var dartObjectLocalStorage; | |
| 2051 | |
| 2052 String get typeName() native; | |
| 2053 } | |
| 2054 | |
| 2055 class FileEntry extends Entry native "FileEntry" { | |
| 2056 | |
| 2057 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall
back = null]) native; | |
| 2058 | |
| 2059 void file(FileCallback successCallback, [ErrorCallback errorCallback = null])
native; | |
| 2060 } | |
| 2061 | |
| 2062 class FileEntrySync extends EntrySync native "FileEntrySync" { | |
| 2063 | |
| 2064 FileWriterSync createWriter() native; | |
| 2065 | |
| 2066 File file() native; | |
| 2067 } | |
| 2068 | |
| 2069 class FileError native "FileError" { | |
| 2070 | |
| 2071 int code; | |
| 2072 | |
| 2073 var dartObjectLocalStorage; | |
| 2074 | |
| 2075 String get typeName() native; | |
| 2076 } | |
| 2077 | |
| 2078 class FileException native "FileException" { | |
| 2079 | |
| 2080 int code; | |
| 2081 | |
| 2082 String message; | |
| 2083 | |
| 2084 String name; | |
| 2085 | |
| 2086 var dartObjectLocalStorage; | |
| 2087 | |
| 2088 String get typeName() native; | |
| 2089 } | |
| 2090 | |
| 2091 class FileList native "FileList" { | |
| 2092 | |
| 2093 int length; | |
| 2094 | |
| 2095 File item(int index) native; | |
| 2096 | |
| 2097 var dartObjectLocalStorage; | |
| 2098 | |
| 2099 String get typeName() native; | |
| 2100 } | |
| 2101 | |
| 2102 class FileReader native "FileReader" { | |
| 2103 | |
| 2104 FileError error; | |
| 2105 | |
| 2106 EventListener onabort; | |
| 2107 | |
| 2108 EventListener onerror; | |
| 2109 | |
| 2110 EventListener onload; | |
| 2111 | |
| 2112 EventListener onloadend; | |
| 2113 | |
| 2114 EventListener onloadstart; | |
| 2115 | |
| 2116 EventListener onprogress; | |
| 2117 | |
| 2118 int readyState; | |
| 2119 | |
| 2120 Object result; | |
| 2121 | |
| 2122 void abort() native; | |
| 2123 | |
| 2124 void readAsArrayBuffer(Blob blob) native; | |
| 2125 | |
| 2126 void readAsBinaryString(Blob blob) native; | |
| 2127 | |
| 2128 void readAsDataURL(Blob blob) native; | |
| 2129 | |
| 2130 void readAsText(Blob blob, [String encoding = null]) native; | |
| 2131 | |
| 2132 var dartObjectLocalStorage; | |
| 2133 | |
| 2134 String get typeName() native; | |
| 2135 } | |
| 2136 | |
| 2137 class FileReaderSync native "FileReaderSync" { | |
| 2138 | |
| 2139 ArrayBuffer readAsArrayBuffer(Blob blob) native; | |
| 2140 | |
| 2141 String readAsBinaryString(Blob blob) native; | |
| 2142 | |
| 2143 String readAsDataURL(Blob blob) native; | |
| 2144 | |
| 2145 String readAsText(Blob blob, [String encoding = null]) native; | |
| 2146 | |
| 2147 var dartObjectLocalStorage; | |
| 2148 | |
| 2149 String get typeName() native; | |
| 2150 } | |
| 2151 | |
| 2152 class FileSystemCallback native "FileSystemCallback" { | |
| 2153 | |
| 2154 bool handleEvent(DOMFileSystem fileSystem) native; | |
| 2155 | |
| 2156 var dartObjectLocalStorage; | |
| 2157 | |
| 2158 String get typeName() native; | |
| 2159 } | |
| 2160 | |
| 2161 class FileWriter native "FileWriter" { | |
| 2162 | |
| 2163 FileError error; | |
| 2164 | |
| 2165 int length; | |
| 2166 | |
| 2167 EventListener onabort; | |
| 2168 | |
| 2169 EventListener onerror; | |
| 2170 | |
| 2171 EventListener onprogress; | |
| 2172 | |
| 2173 EventListener onwrite; | |
| 2174 | |
| 2175 EventListener onwriteend; | |
| 2176 | |
| 2177 EventListener onwritestart; | |
| 2178 | |
| 2179 int position; | |
| 2180 | |
| 2181 int readyState; | |
| 2182 | |
| 2183 void abort() native; | |
| 2184 | |
| 2185 void seek(int position) native; | |
| 2186 | |
| 2187 void truncate(int size) native; | |
| 2188 | |
| 2189 void write(Blob data) native; | |
| 2190 | |
| 2191 var dartObjectLocalStorage; | |
| 2192 | |
| 2193 String get typeName() native; | |
| 2194 } | |
| 2195 | |
| 2196 class FileWriterCallback native "FileWriterCallback" { | |
| 2197 | |
| 2198 bool handleEvent(FileWriter fileWriter) native; | |
| 2199 | |
| 2200 var dartObjectLocalStorage; | |
| 2201 | |
| 2202 String get typeName() native; | |
| 2203 } | |
| 2204 | |
| 2205 class FileWriterSync native "FileWriterSync" { | |
| 2206 | |
| 2207 int length; | |
| 2208 | |
| 2209 int position; | |
| 2210 | |
| 2211 void seek(int position) native; | |
| 2212 | |
| 2213 void truncate(int size) native; | |
| 2214 | |
| 2215 void write(Blob data) native; | |
| 2216 | |
| 2217 var dartObjectLocalStorage; | |
| 2218 | |
| 2219 String get typeName() native; | |
| 2220 } | |
| 2221 | |
| 2222 class Float32Array extends ArrayBufferView native "Float32Array" { | |
| 2223 | |
| 2224 int length; | |
| 2225 | |
| 2226 Float32Array subarray(int start, [int end = null]) native; | |
| 2227 } | |
| 2228 | |
| 2229 class Float64Array extends ArrayBufferView native "Float64Array" { | |
| 2230 | |
| 2231 int length; | |
| 2232 | |
| 2233 Float64Array subarray(int start, [int end = null]) native; | |
| 2234 } | |
| 2235 | |
| 2236 class Geolocation native "Geolocation" { | |
| 2237 | |
| 2238 void clearWatch(int watchId) native; | |
| 2239 | |
| 2240 void getCurrentPosition(PositionCallback successCallback, [PositionErrorCallba
ck errorCallback = null]) native; | |
| 2241 | |
| 2242 int watchPosition(PositionCallback successCallback, [PositionErrorCallback err
orCallback = null]) native; | |
| 2243 | |
| 2244 var dartObjectLocalStorage; | |
| 2245 | |
| 2246 String get typeName() native; | |
| 2247 } | |
| 2248 | |
| 2249 class Geoposition native "Geoposition" { | |
| 2250 | |
| 2251 Coordinates coords; | |
| 2252 | |
| 2253 int timestamp; | |
| 2254 | |
| 2255 var dartObjectLocalStorage; | |
| 2256 | |
| 2257 String get typeName() native; | |
| 2258 } | |
| 2259 | |
| 2260 class HTMLAllCollection native "HTMLAllCollection" { | |
| 2261 | |
| 2262 int length; | |
| 2263 | |
| 2264 Node item(int index) native; | |
| 2265 | |
| 2266 Node namedItem(String name) native; | |
| 2267 | |
| 2268 NodeList tags(String name) native; | |
| 2269 | |
| 2270 var dartObjectLocalStorage; | |
| 2271 | |
| 2272 String get typeName() native; | |
| 2273 } | |
| 2274 | |
| 2275 class HTMLAnchorElement extends HTMLElement native "HTMLAnchorElement" { | |
| 2276 | |
| 2277 String accessKey; | |
| 2278 | |
| 2279 String charset; | |
| 2280 | |
| 2281 String coords; | |
| 2282 | |
| 2283 String download; | |
| 2284 | |
| 2285 String hash; | |
| 2286 | |
| 2287 String host; | |
| 2288 | |
| 2289 String hostname; | |
| 2290 | |
| 2291 String href; | |
| 2292 | |
| 2293 String hreflang; | |
| 2294 | |
| 2295 String name; | |
| 2296 | |
| 2297 String origin; | |
| 2298 | |
| 2299 String pathname; | |
| 2300 | |
| 2301 String ping; | |
| 2302 | |
| 2303 String port; | |
| 2304 | |
| 2305 String protocol; | |
| 2306 | |
| 2307 String rel; | |
| 2308 | |
| 2309 String rev; | |
| 2310 | |
| 2311 String search; | |
| 2312 | |
| 2313 String shape; | |
| 2314 | |
| 2315 String target; | |
| 2316 | |
| 2317 String text; | |
| 2318 | |
| 2319 String type; | |
| 2320 | |
| 2321 String getParameter(String name) native; | |
| 2322 } | |
| 2323 | |
| 2324 class HTMLAppletElement extends HTMLElement native "HTMLAppletElement" { | |
| 2325 | |
| 2326 String align; | |
| 2327 | |
| 2328 String alt; | |
| 2329 | |
| 2330 String archive; | |
| 2331 | |
| 2332 String code; | |
| 2333 | |
| 2334 String codeBase; | |
| 2335 | |
| 2336 String height; | |
| 2337 | |
| 2338 int hspace; | |
| 2339 | |
| 2340 String name; | |
| 2341 | |
| 2342 String object; | |
| 2343 | |
| 2344 int vspace; | |
| 2345 | |
| 2346 String width; | |
| 2347 } | |
| 2348 | |
| 2349 class HTMLAreaElement extends HTMLElement native "HTMLAreaElement" { | |
| 2350 | |
| 2351 String accessKey; | |
| 2352 | |
| 2353 String alt; | |
| 2354 | |
| 2355 String coords; | |
| 2356 | |
| 2357 String hash; | |
| 2358 | |
| 2359 String host; | |
| 2360 | |
| 2361 String hostname; | |
| 2362 | |
| 2363 String href; | |
| 2364 | |
| 2365 bool noHref; | |
| 2366 | |
| 2367 String pathname; | |
| 2368 | |
| 2369 String ping; | |
| 2370 | |
| 2371 String port; | |
| 2372 | |
| 2373 String protocol; | |
| 2374 | |
| 2375 String search; | |
| 2376 | |
| 2377 String shape; | |
| 2378 | |
| 2379 String target; | |
| 2380 } | |
| 2381 | |
| 2382 class HTMLAudioElement extends HTMLMediaElement native "HTMLAudioElement" { | |
| 2383 } | |
| 2384 | |
| 2385 class HTMLBRElement extends HTMLElement native "HTMLBRElement" { | |
| 2386 | |
| 2387 String clear; | |
| 2388 } | |
| 2389 | |
| 2390 class HTMLBaseElement extends HTMLElement native "HTMLBaseElement" { | |
| 2391 | |
| 2392 String href; | |
| 2393 | |
| 2394 String target; | |
| 2395 } | |
| 2396 | |
| 2397 class HTMLBaseFontElement extends HTMLElement native "HTMLBaseFontElement" { | |
| 2398 | |
| 2399 String color; | |
| 2400 | |
| 2401 String face; | |
| 2402 | |
| 2403 int size; | |
| 2404 } | |
| 2405 | |
| 2406 class HTMLBodyElement extends HTMLElement native "HTMLBodyElement" { | |
| 2407 | |
| 2408 String aLink; | |
| 2409 | |
| 2410 String background; | |
| 2411 | |
| 2412 String bgColor; | |
| 2413 | |
| 2414 String link; | |
| 2415 | |
| 2416 EventListener onbeforeunload; | |
| 2417 | |
| 2418 EventListener onblur; | |
| 2419 | |
| 2420 EventListener onerror; | |
| 2421 | |
| 2422 EventListener onfocus; | |
| 2423 | |
| 2424 EventListener onhashchange; | |
| 2425 | |
| 2426 EventListener onload; | |
| 2427 | |
| 2428 EventListener onmessage; | |
| 2429 | |
| 2430 EventListener onoffline; | |
| 2431 | |
| 2432 EventListener ononline; | |
| 2433 | |
| 2434 EventListener onorientationchange; | |
| 2435 | |
| 2436 EventListener onpopstate; | |
| 2437 | |
| 2438 EventListener onresize; | |
| 2439 | |
| 2440 EventListener onstorage; | |
| 2441 | |
| 2442 EventListener onunload; | |
| 2443 | |
| 2444 String text; | |
| 2445 | |
| 2446 String vLink; | |
| 2447 } | |
| 2448 | |
| 2449 class HTMLButtonElement extends HTMLElement native "HTMLButtonElement" { | |
| 2450 | |
| 2451 String accessKey; | |
| 2452 | |
| 2453 bool autofocus; | |
| 2454 | |
| 2455 bool disabled; | |
| 2456 | |
| 2457 HTMLFormElement form; | |
| 2458 | |
| 2459 String formAction; | |
| 2460 | |
| 2461 String formEnctype; | |
| 2462 | |
| 2463 String formMethod; | |
| 2464 | |
| 2465 bool formNoValidate; | |
| 2466 | |
| 2467 String formTarget; | |
| 2468 | |
| 2469 NodeList labels; | |
| 2470 | |
| 2471 String name; | |
| 2472 | |
| 2473 String type; | |
| 2474 | |
| 2475 String validationMessage; | |
| 2476 | |
| 2477 ValidityState validity; | |
| 2478 | |
| 2479 String value; | |
| 2480 | |
| 2481 bool willValidate; | |
| 2482 | |
| 2483 bool checkValidity() native; | |
| 2484 | |
| 2485 void click() native; | |
| 2486 | |
| 2487 void setCustomValidity(String error) native; | |
| 2488 } | |
| 2489 | |
| 2490 class HTMLCanvasElement extends HTMLElement native "HTMLCanvasElement" { | |
| 2491 | |
| 2492 int height; | |
| 2493 | |
| 2494 int width; | |
| 2495 | |
| 2496 Object getContext(String contextId) native; | |
| 2497 | |
| 2498 String toDataURL(String type) native; | |
| 2499 } | |
| 2500 | |
| 2501 class HTMLCollection native "HTMLCollection" { | |
| 2502 | |
| 2503 int length; | |
| 2504 | |
| 2505 Node operator[](int index) native; | |
| 2506 | |
| 2507 Node item(int index) native; | |
| 2508 | |
| 2509 Node namedItem(String name) native; | |
| 2510 | |
| 2511 var dartObjectLocalStorage; | |
| 2512 | |
| 2513 String get typeName() native; | |
| 2514 } | |
| 2515 | |
| 2516 class HTMLDListElement extends HTMLElement native "HTMLDListElement" { | |
| 2517 | |
| 2518 bool compact; | |
| 2519 } | |
| 2520 | |
| 2521 class HTMLDataListElement extends HTMLElement native "HTMLDataListElement" { | |
| 2522 | |
| 2523 HTMLCollection options; | |
| 2524 } | |
| 2525 | |
| 2526 class HTMLDetailsElement extends HTMLElement native "HTMLDetailsElement" { | |
| 2527 | |
| 2528 bool open; | |
| 2529 } | |
| 2530 | |
| 2531 class HTMLDirectoryElement extends HTMLElement native "HTMLDirectoryElement" { | |
| 2532 | |
| 2533 bool compact; | |
| 2534 } | |
| 2535 | |
| 2536 class HTMLDivElement extends HTMLElement native "HTMLDivElement" { | |
| 2537 | |
| 2538 String align; | |
| 2539 } | |
| 2540 | |
| 2541 class HTMLDocument extends Document native "HTMLDocument" { | |
| 2542 | |
| 2543 Element activeElement; | |
| 2544 | |
| 2545 String alinkColor; | |
| 2546 | |
| 2547 String bgColor; | |
| 2548 | |
| 2549 String compatMode; | |
| 2550 | |
| 2551 String designMode; | |
| 2552 | |
| 2553 String dir; | |
| 2554 | |
| 2555 HTMLCollection embeds; | |
| 2556 | |
| 2557 String fgColor; | |
| 2558 | |
| 2559 int height; | |
| 2560 | |
| 2561 String linkColor; | |
| 2562 | |
| 2563 HTMLCollection plugins; | |
| 2564 | |
| 2565 HTMLCollection scripts; | |
| 2566 | |
| 2567 String vlinkColor; | |
| 2568 | |
| 2569 int width; | |
| 2570 | |
| 2571 void captureEvents() native; | |
| 2572 | |
| 2573 void clear() native; | |
| 2574 | |
| 2575 void close() native; | |
| 2576 | |
| 2577 bool hasFocus() native; | |
| 2578 | |
| 2579 void open() native; | |
| 2580 | |
| 2581 void releaseEvents() native; | |
| 2582 | |
| 2583 void write(String text) native; | |
| 2584 | |
| 2585 void writeln(String text) native; | |
| 2586 } | |
| 2587 | |
| 2588 class HTMLElement extends Element native "HTMLElement" { | |
| 2589 | |
| 2590 HTMLCollection children; | |
| 2591 | |
| 2592 DOMTokenList classList; | |
| 2593 | |
| 2594 String className; | |
| 2595 | |
| 2596 String contentEditable; | |
| 2597 | |
| 2598 String dir; | |
| 2599 | |
| 2600 bool draggable; | |
| 2601 | |
| 2602 bool hidden; | |
| 2603 | |
| 2604 String id; | |
| 2605 | |
| 2606 String innerHTML; | |
| 2607 | |
| 2608 String innerText; | |
| 2609 | |
| 2610 bool isContentEditable; | |
| 2611 | |
| 2612 String lang; | |
| 2613 | |
| 2614 String outerHTML; | |
| 2615 | |
| 2616 String outerText; | |
| 2617 | |
| 2618 bool spellcheck; | |
| 2619 | |
| 2620 int tabIndex; | |
| 2621 | |
| 2622 String title; | |
| 2623 | |
| 2624 String webkitdropzone; | |
| 2625 | |
| 2626 Element insertAdjacentElement(String where, Element element) native; | |
| 2627 | |
| 2628 void insertAdjacentHTML(String where, String html) native; | |
| 2629 | |
| 2630 void insertAdjacentText(String where, String text) native; | |
| 2631 } | |
| 2632 | |
| 2633 class HTMLEmbedElement extends HTMLElement native "HTMLEmbedElement" { | |
| 2634 | |
| 2635 String align; | |
| 2636 | |
| 2637 int height; | |
| 2638 | |
| 2639 String name; | |
| 2640 | |
| 2641 String src; | |
| 2642 | |
| 2643 String type; | |
| 2644 | |
| 2645 int width; | |
| 2646 } | |
| 2647 | |
| 2648 class HTMLFieldSetElement extends HTMLElement native "HTMLFieldSetElement" { | |
| 2649 | |
| 2650 HTMLFormElement form; | |
| 2651 | |
| 2652 String validationMessage; | |
| 2653 | |
| 2654 ValidityState validity; | |
| 2655 | |
| 2656 bool willValidate; | |
| 2657 | |
| 2658 bool checkValidity() native; | |
| 2659 | |
| 2660 void setCustomValidity(String error) native; | |
| 2661 } | |
| 2662 | |
| 2663 class HTMLFontElement extends HTMLElement native "HTMLFontElement" { | |
| 2664 | |
| 2665 String color; | |
| 2666 | |
| 2667 String face; | |
| 2668 | |
| 2669 String size; | |
| 2670 } | |
| 2671 | |
| 2672 class HTMLFormElement extends HTMLElement native "HTMLFormElement" { | |
| 2673 | |
| 2674 String acceptCharset; | |
| 2675 | |
| 2676 String action; | |
| 2677 | |
| 2678 String autocomplete; | |
| 2679 | |
| 2680 HTMLCollection elements; | |
| 2681 | |
| 2682 String encoding; | |
| 2683 | |
| 2684 String enctype; | |
| 2685 | |
| 2686 int length; | |
| 2687 | |
| 2688 String method; | |
| 2689 | |
| 2690 String name; | |
| 2691 | |
| 2692 bool noValidate; | |
| 2693 | |
| 2694 String target; | |
| 2695 | |
| 2696 bool checkValidity() native; | |
| 2697 | |
| 2698 void reset() native; | |
| 2699 | |
| 2700 void submit() native; | |
| 2701 } | |
| 2702 | |
| 2703 class HTMLFrameElement extends HTMLElement native "HTMLFrameElement" { | |
| 2704 | |
| 2705 Document contentDocument; | |
| 2706 | |
| 2707 DOMWindow contentWindow; | |
| 2708 | |
| 2709 String frameBorder; | |
| 2710 | |
| 2711 int height; | |
| 2712 | |
| 2713 String location; | |
| 2714 | |
| 2715 String longDesc; | |
| 2716 | |
| 2717 String marginHeight; | |
| 2718 | |
| 2719 String marginWidth; | |
| 2720 | |
| 2721 String name; | |
| 2722 | |
| 2723 bool noResize; | |
| 2724 | |
| 2725 String scrolling; | |
| 2726 | |
| 2727 String src; | |
| 2728 | |
| 2729 int width; | |
| 2730 } | |
| 2731 | |
| 2732 class HTMLFrameSetElement extends HTMLElement native "HTMLFrameSetElement" { | |
| 2733 | |
| 2734 String cols; | |
| 2735 | |
| 2736 EventListener onbeforeunload; | |
| 2737 | |
| 2738 EventListener onblur; | |
| 2739 | |
| 2740 EventListener onerror; | |
| 2741 | |
| 2742 EventListener onfocus; | |
| 2743 | |
| 2744 EventListener onhashchange; | |
| 2745 | |
| 2746 EventListener onload; | |
| 2747 | |
| 2748 EventListener onmessage; | |
| 2749 | |
| 2750 EventListener onoffline; | |
| 2751 | |
| 2752 EventListener ononline; | |
| 2753 | |
| 2754 EventListener onorientationchange; | |
| 2755 | |
| 2756 EventListener onpopstate; | |
| 2757 | |
| 2758 EventListener onresize; | |
| 2759 | |
| 2760 EventListener onstorage; | |
| 2761 | |
| 2762 EventListener onunload; | |
| 2763 | |
| 2764 String rows; | |
| 2765 } | |
| 2766 | |
| 2767 class HTMLHRElement extends HTMLElement native "HTMLHRElement" { | |
| 2768 | |
| 2769 String align; | |
| 2770 | |
| 2771 bool noShade; | |
| 2772 | |
| 2773 String size; | |
| 2774 | |
| 2775 String width; | |
| 2776 } | |
| 2777 | |
| 2778 class HTMLHeadElement extends HTMLElement native "HTMLHeadElement" { | |
| 2779 | |
| 2780 String profile; | |
| 2781 } | |
| 2782 | |
| 2783 class HTMLHeadingElement extends HTMLElement native "HTMLHeadingElement" { | |
| 2784 | |
| 2785 String align; | |
| 2786 } | |
| 2787 | |
| 2788 class HTMLHtmlElement extends HTMLElement native "HTMLHtmlElement" { | |
| 2789 | |
| 2790 String manifest; | |
| 2791 | |
| 2792 String version; | |
| 2793 } | |
| 2794 | |
| 2795 class HTMLIFrameElement extends HTMLElement native "HTMLIFrameElement" { | |
| 2796 | |
| 2797 String align; | |
| 2798 | |
| 2799 Document contentDocument; | |
| 2800 | |
| 2801 DOMWindow contentWindow; | |
| 2802 | |
| 2803 String frameBorder; | |
| 2804 | |
| 2805 String height; | |
| 2806 | |
| 2807 String longDesc; | |
| 2808 | |
| 2809 String marginHeight; | |
| 2810 | |
| 2811 String marginWidth; | |
| 2812 | |
| 2813 String name; | |
| 2814 | |
| 2815 String sandbox; | |
| 2816 | |
| 2817 String scrolling; | |
| 2818 | |
| 2819 String src; | |
| 2820 | |
| 2821 String width; | |
| 2822 } | |
| 2823 | |
| 2824 class HTMLImageElement extends HTMLElement native "HTMLImageElement" { | |
| 2825 | |
| 2826 String align; | |
| 2827 | |
| 2828 String alt; | |
| 2829 | |
| 2830 String border; | |
| 2831 | |
| 2832 bool complete; | |
| 2833 | |
| 2834 String crossOrigin; | |
| 2835 | |
| 2836 int height; | |
| 2837 | |
| 2838 int hspace; | |
| 2839 | |
| 2840 bool isMap; | |
| 2841 | |
| 2842 String longDesc; | |
| 2843 | |
| 2844 String lowsrc; | |
| 2845 | |
| 2846 String name; | |
| 2847 | |
| 2848 int naturalHeight; | |
| 2849 | |
| 2850 int naturalWidth; | |
| 2851 | |
| 2852 String src; | |
| 2853 | |
| 2854 String useMap; | |
| 2855 | |
| 2856 int vspace; | |
| 2857 | |
| 2858 int width; | |
| 2859 | |
| 2860 int x; | |
| 2861 | |
| 2862 int y; | |
| 2863 } | |
| 2864 | |
| 2865 class HTMLInputElement extends HTMLElement native "HTMLInputElement" { | |
| 2866 | |
| 2867 String accept; | |
| 2868 | |
| 2869 String accessKey; | |
| 2870 | |
| 2871 String align; | |
| 2872 | |
| 2873 String alt; | |
| 2874 | |
| 2875 String autocomplete; | |
| 2876 | |
| 2877 bool autofocus; | |
| 2878 | |
| 2879 bool checked; | |
| 2880 | |
| 2881 bool defaultChecked; | |
| 2882 | |
| 2883 String defaultValue; | |
| 2884 | |
| 2885 bool disabled; | |
| 2886 | |
| 2887 FileList files; | |
| 2888 | |
| 2889 HTMLFormElement form; | |
| 2890 | |
| 2891 String formAction; | |
| 2892 | |
| 2893 String formEnctype; | |
| 2894 | |
| 2895 String formMethod; | |
| 2896 | |
| 2897 bool formNoValidate; | |
| 2898 | |
| 2899 String formTarget; | |
| 2900 | |
| 2901 bool incremental; | |
| 2902 | |
| 2903 bool indeterminate; | |
| 2904 | |
| 2905 NodeList labels; | |
| 2906 | |
| 2907 HTMLElement list; | |
| 2908 | |
| 2909 String max; | |
| 2910 | |
| 2911 int maxLength; | |
| 2912 | |
| 2913 String min; | |
| 2914 | |
| 2915 bool multiple; | |
| 2916 | |
| 2917 String name; | |
| 2918 | |
| 2919 EventListener onwebkitspeechchange; | |
| 2920 | |
| 2921 String pattern; | |
| 2922 | |
| 2923 String placeholder; | |
| 2924 | |
| 2925 bool readOnly; | |
| 2926 | |
| 2927 bool required; | |
| 2928 | |
| 2929 HTMLOptionElement selectedOption; | |
| 2930 | |
| 2931 String selectionDirection; | |
| 2932 | |
| 2933 int selectionEnd; | |
| 2934 | |
| 2935 int selectionStart; | |
| 2936 | |
| 2937 int size; | |
| 2938 | |
| 2939 String src; | |
| 2940 | |
| 2941 String step; | |
| 2942 | |
| 2943 String type; | |
| 2944 | |
| 2945 String useMap; | |
| 2946 | |
| 2947 String validationMessage; | |
| 2948 | |
| 2949 ValidityState validity; | |
| 2950 | |
| 2951 String value; | |
| 2952 | |
| 2953 Date valueAsDate; | |
| 2954 | |
| 2955 num valueAsNumber; | |
| 2956 | |
| 2957 bool webkitGrammar; | |
| 2958 | |
| 2959 bool webkitSpeech; | |
| 2960 | |
| 2961 bool webkitdirectory; | |
| 2962 | |
| 2963 bool willValidate; | |
| 2964 | |
| 2965 bool checkValidity() native; | |
| 2966 | |
| 2967 void click() native; | |
| 2968 | |
| 2969 void select() native; | |
| 2970 | |
| 2971 void setCustomValidity(String error) native; | |
| 2972 | |
| 2973 void setSelectionRange(int start, int end, [String direction = null]) native; | |
| 2974 | |
| 2975 void setValueForUser(String value) native; | |
| 2976 | |
| 2977 void stepDown([int n = null]) native; | |
| 2978 | |
| 2979 void stepUp([int n = null]) native; | |
| 2980 } | |
| 2981 | |
| 2982 class HTMLIsIndexElement extends HTMLInputElement native "HTMLIsIndexElement" { | |
| 2983 | |
| 2984 HTMLFormElement form; | |
| 2985 | |
| 2986 String prompt; | |
| 2987 } | |
| 2988 | |
| 2989 class HTMLKeygenElement extends HTMLElement native "HTMLKeygenElement" { | |
| 2990 | |
| 2991 bool autofocus; | |
| 2992 | |
| 2993 String challenge; | |
| 2994 | |
| 2995 bool disabled; | |
| 2996 | |
| 2997 HTMLFormElement form; | |
| 2998 | |
| 2999 String keytype; | |
| 3000 | |
| 3001 NodeList labels; | |
| 3002 | |
| 3003 String name; | |
| 3004 | |
| 3005 String type; | |
| 3006 | |
| 3007 String validationMessage; | |
| 3008 | |
| 3009 ValidityState validity; | |
| 3010 | |
| 3011 bool willValidate; | |
| 3012 | |
| 3013 bool checkValidity() native; | |
| 3014 | |
| 3015 void setCustomValidity(String error) native; | |
| 3016 } | |
| 3017 | |
| 3018 class HTMLLIElement extends HTMLElement native "HTMLLIElement" { | |
| 3019 | |
| 3020 String type; | |
| 3021 | |
| 3022 int value; | |
| 3023 } | |
| 3024 | |
| 3025 class HTMLLabelElement extends HTMLElement native "HTMLLabelElement" { | |
| 3026 | |
| 3027 String accessKey; | |
| 3028 | |
| 3029 HTMLElement control; | |
| 3030 | |
| 3031 HTMLFormElement form; | |
| 3032 | |
| 3033 String htmlFor; | |
| 3034 } | |
| 3035 | |
| 3036 class HTMLLegendElement extends HTMLElement native "HTMLLegendElement" { | |
| 3037 | |
| 3038 String accessKey; | |
| 3039 | |
| 3040 String align; | |
| 3041 | |
| 3042 HTMLFormElement form; | |
| 3043 } | |
| 3044 | |
| 3045 class HTMLLinkElement extends HTMLElement native "HTMLLinkElement" { | |
| 3046 | |
| 3047 String charset; | |
| 3048 | |
| 3049 bool disabled; | |
| 3050 | |
| 3051 String href; | |
| 3052 | |
| 3053 String hreflang; | |
| 3054 | |
| 3055 String media; | |
| 3056 | |
| 3057 String rel; | |
| 3058 | |
| 3059 String rev; | |
| 3060 | |
| 3061 StyleSheet sheet; | |
| 3062 | |
| 3063 String target; | |
| 3064 | |
| 3065 String type; | |
| 3066 } | |
| 3067 | |
| 3068 class HTMLMapElement extends HTMLElement native "HTMLMapElement" { | |
| 3069 | |
| 3070 HTMLCollection areas; | |
| 3071 | |
| 3072 String name; | |
| 3073 } | |
| 3074 | |
| 3075 class HTMLMarqueeElement extends HTMLElement native "HTMLMarqueeElement" { | |
| 3076 | |
| 3077 String behavior; | |
| 3078 | |
| 3079 String bgColor; | |
| 3080 | |
| 3081 String direction; | |
| 3082 | |
| 3083 String height; | |
| 3084 | |
| 3085 int hspace; | |
| 3086 | |
| 3087 int loop; | |
| 3088 | |
| 3089 int scrollAmount; | |
| 3090 | |
| 3091 int scrollDelay; | |
| 3092 | |
| 3093 bool trueSpeed; | |
| 3094 | |
| 3095 int vspace; | |
| 3096 | |
| 3097 String width; | |
| 3098 | |
| 3099 void start() native; | |
| 3100 | |
| 3101 void stop() native; | |
| 3102 } | |
| 3103 | |
| 3104 class HTMLMediaElement extends HTMLElement native "HTMLMediaElement" { | |
| 3105 | |
| 3106 bool autoplay; | |
| 3107 | |
| 3108 TimeRanges buffered; | |
| 3109 | |
| 3110 bool controls; | |
| 3111 | |
| 3112 String currentSrc; | |
| 3113 | |
| 3114 num currentTime; | |
| 3115 | |
| 3116 bool defaultMuted; | |
| 3117 | |
| 3118 num defaultPlaybackRate; | |
| 3119 | |
| 3120 num duration; | |
| 3121 | |
| 3122 bool ended; | |
| 3123 | |
| 3124 MediaError error; | |
| 3125 | |
| 3126 num initialTime; | |
| 3127 | |
| 3128 bool loop; | |
| 3129 | |
| 3130 bool muted; | |
| 3131 | |
| 3132 int networkState; | |
| 3133 | |
| 3134 bool paused; | |
| 3135 | |
| 3136 num playbackRate; | |
| 3137 | |
| 3138 TimeRanges played; | |
| 3139 | |
| 3140 String preload; | |
| 3141 | |
| 3142 int readyState; | |
| 3143 | |
| 3144 TimeRanges seekable; | |
| 3145 | |
| 3146 bool seeking; | |
| 3147 | |
| 3148 String src; | |
| 3149 | |
| 3150 num startTime; | |
| 3151 | |
| 3152 num volume; | |
| 3153 | |
| 3154 int webkitAudioDecodedByteCount; | |
| 3155 | |
| 3156 bool webkitClosedCaptionsVisible; | |
| 3157 | |
| 3158 bool webkitHasClosedCaptions; | |
| 3159 | |
| 3160 bool webkitPreservesPitch; | |
| 3161 | |
| 3162 int webkitVideoDecodedByteCount; | |
| 3163 | |
| 3164 String canPlayType(String type) native; | |
| 3165 | |
| 3166 void load() native; | |
| 3167 | |
| 3168 void pause() native; | |
| 3169 | |
| 3170 void play() native; | |
| 3171 } | |
| 3172 | |
| 3173 class HTMLMenuElement extends HTMLElement native "HTMLMenuElement" { | |
| 3174 | |
| 3175 bool compact; | |
| 3176 } | |
| 3177 | |
| 3178 class HTMLMetaElement extends HTMLElement native "HTMLMetaElement" { | |
| 3179 | |
| 3180 String content; | |
| 3181 | |
| 3182 String httpEquiv; | |
| 3183 | |
| 3184 String name; | |
| 3185 | |
| 3186 String scheme; | |
| 3187 } | |
| 3188 | |
| 3189 class HTMLMeterElement extends HTMLElement native "HTMLMeterElement" { | |
| 3190 | |
| 3191 HTMLFormElement form; | |
| 3192 | |
| 3193 num high; | |
| 3194 | |
| 3195 NodeList labels; | |
| 3196 | |
| 3197 num low; | |
| 3198 | |
| 3199 num max; | |
| 3200 | |
| 3201 num min; | |
| 3202 | |
| 3203 num optimum; | |
| 3204 | |
| 3205 num value; | |
| 3206 } | |
| 3207 | |
| 3208 class HTMLModElement extends HTMLElement native "HTMLModElement" { | |
| 3209 | |
| 3210 String cite; | |
| 3211 | |
| 3212 String dateTime; | |
| 3213 } | |
| 3214 | |
| 3215 class HTMLOListElement extends HTMLElement native "HTMLOListElement" { | |
| 3216 | |
| 3217 bool compact; | |
| 3218 | |
| 3219 int start; | |
| 3220 | |
| 3221 String type; | |
| 3222 } | |
| 3223 | |
| 3224 class HTMLObjectElement extends HTMLElement native "HTMLObjectElement" { | |
| 3225 | |
| 3226 String align; | |
| 3227 | |
| 3228 String archive; | |
| 3229 | |
| 3230 String border; | |
| 3231 | |
| 3232 String code; | |
| 3233 | |
| 3234 String codeBase; | |
| 3235 | |
| 3236 String codeType; | |
| 3237 | |
| 3238 Document contentDocument; | |
| 3239 | |
| 3240 String data; | |
| 3241 | |
| 3242 bool declare; | |
| 3243 | |
| 3244 HTMLFormElement form; | |
| 3245 | |
| 3246 String height; | |
| 3247 | |
| 3248 int hspace; | |
| 3249 | |
| 3250 String name; | |
| 3251 | |
| 3252 String standby; | |
| 3253 | |
| 3254 String type; | |
| 3255 | |
| 3256 String useMap; | |
| 3257 | |
| 3258 String validationMessage; | |
| 3259 | |
| 3260 ValidityState validity; | |
| 3261 | |
| 3262 int vspace; | |
| 3263 | |
| 3264 String width; | |
| 3265 | |
| 3266 bool willValidate; | |
| 3267 | |
| 3268 bool checkValidity() native; | |
| 3269 | |
| 3270 void setCustomValidity(String error) native; | |
| 3271 } | |
| 3272 | |
| 3273 class HTMLOptGroupElement extends HTMLElement native "HTMLOptGroupElement" { | |
| 3274 | |
| 3275 bool disabled; | |
| 3276 | |
| 3277 String label; | |
| 3278 } | |
| 3279 | |
| 3280 class HTMLOptionElement extends HTMLElement native "HTMLOptionElement" { | |
| 3281 | |
| 3282 bool defaultSelected; | |
| 3283 | |
| 3284 bool disabled; | |
| 3285 | |
| 3286 HTMLFormElement form; | |
| 3287 | |
| 3288 int index; | |
| 3289 | |
| 3290 String label; | |
| 3291 | |
| 3292 bool selected; | |
| 3293 | |
| 3294 String text; | |
| 3295 | |
| 3296 String value; | |
| 3297 } | |
| 3298 | |
| 3299 class HTMLOptionsCollection extends HTMLCollection native "HTMLOptionsCollection
" { | |
| 3300 | |
| 3301 int length; | |
| 3302 | |
| 3303 int selectedIndex; | |
| 3304 | |
| 3305 void remove(int index) native; | |
| 3306 } | |
| 3307 | |
| 3308 class HTMLOutputElement extends HTMLElement native "HTMLOutputElement" { | |
| 3309 | |
| 3310 String defaultValue; | |
| 3311 | |
| 3312 HTMLFormElement form; | |
| 3313 | |
| 3314 DOMSettableTokenList htmlFor; | |
| 3315 | |
| 3316 NodeList labels; | |
| 3317 | |
| 3318 String name; | |
| 3319 | |
| 3320 String type; | |
| 3321 | |
| 3322 String validationMessage; | |
| 3323 | |
| 3324 ValidityState validity; | |
| 3325 | |
| 3326 String value; | |
| 3327 | |
| 3328 bool willValidate; | |
| 3329 | |
| 3330 bool checkValidity() native; | |
| 3331 | |
| 3332 void setCustomValidity(String error) native; | |
| 3333 } | |
| 3334 | |
| 3335 class HTMLParagraphElement extends HTMLElement native "HTMLParagraphElement" { | |
| 3336 | |
| 3337 String align; | |
| 3338 } | |
| 3339 | |
| 3340 class HTMLParamElement extends HTMLElement native "HTMLParamElement" { | |
| 3341 | |
| 3342 String name; | |
| 3343 | |
| 3344 String type; | |
| 3345 | |
| 3346 String value; | |
| 3347 | |
| 3348 String valueType; | |
| 3349 } | |
| 3350 | |
| 3351 class HTMLPreElement extends HTMLElement native "HTMLPreElement" { | |
| 3352 | |
| 3353 int width; | |
| 3354 | |
| 3355 bool wrap; | |
| 3356 } | |
| 3357 | |
| 3358 class HTMLProgressElement extends HTMLElement native "HTMLProgressElement" { | |
| 3359 | |
| 3360 HTMLFormElement form; | |
| 3361 | |
| 3362 NodeList labels; | |
| 3363 | |
| 3364 num max; | |
| 3365 | |
| 3366 num position; | |
| 3367 | |
| 3368 num value; | |
| 3369 } | |
| 3370 | |
| 3371 class HTMLQuoteElement extends HTMLElement native "HTMLQuoteElement" { | |
| 3372 | |
| 3373 String cite; | |
| 3374 } | |
| 3375 | |
| 3376 class HTMLScriptElement extends HTMLElement native "HTMLScriptElement" { | |
| 3377 | |
| 3378 bool async; | |
| 3379 | |
| 3380 String charset; | |
| 3381 | |
| 3382 bool defer; | |
| 3383 | |
| 3384 String event; | |
| 3385 | |
| 3386 String htmlFor; | |
| 3387 | |
| 3388 String src; | |
| 3389 | |
| 3390 String text; | |
| 3391 | |
| 3392 String type; | |
| 3393 } | |
| 3394 | |
| 3395 class HTMLSelectElement extends HTMLElement native "HTMLSelectElement" { | |
| 3396 | |
| 3397 bool autofocus; | |
| 3398 | |
| 3399 bool disabled; | |
| 3400 | |
| 3401 HTMLFormElement form; | |
| 3402 | |
| 3403 NodeList labels; | |
| 3404 | |
| 3405 int length; | |
| 3406 | |
| 3407 bool multiple; | |
| 3408 | |
| 3409 String name; | |
| 3410 | |
| 3411 HTMLOptionsCollection options; | |
| 3412 | |
| 3413 bool required; | |
| 3414 | |
| 3415 int selectedIndex; | |
| 3416 | |
| 3417 int size; | |
| 3418 | |
| 3419 String type; | |
| 3420 | |
| 3421 String validationMessage; | |
| 3422 | |
| 3423 ValidityState validity; | |
| 3424 | |
| 3425 String value; | |
| 3426 | |
| 3427 bool willValidate; | |
| 3428 | |
| 3429 void add(HTMLElement element, HTMLElement before) native; | |
| 3430 | |
| 3431 bool checkValidity() native; | |
| 3432 | |
| 3433 Node item(int index) native; | |
| 3434 | |
| 3435 Node namedItem(String name) native; | |
| 3436 | |
| 3437 void remove(int index) native; | |
| 3438 | |
| 3439 void setCustomValidity(String error) native; | |
| 3440 } | |
| 3441 | |
| 3442 class HTMLSourceElement extends HTMLElement native "HTMLSourceElement" { | |
| 3443 | |
| 3444 String media; | |
| 3445 | |
| 3446 String src; | |
| 3447 | |
| 3448 String type; | |
| 3449 } | |
| 3450 | |
| 3451 class HTMLSpanElement extends HTMLElement native "HTMLSpanElement" { | |
| 3452 } | |
| 3453 | |
| 3454 class HTMLStyleElement extends HTMLElement native "HTMLStyleElement" { | |
| 3455 | |
| 3456 bool disabled; | |
| 3457 | |
| 3458 String media; | |
| 3459 | |
| 3460 StyleSheet sheet; | |
| 3461 | |
| 3462 String type; | |
| 3463 } | |
| 3464 | |
| 3465 class HTMLTableCaptionElement extends HTMLElement native "HTMLTableCaptionElemen
t" { | |
| 3466 | |
| 3467 String align; | |
| 3468 } | |
| 3469 | |
| 3470 class HTMLTableCellElement extends HTMLElement native "HTMLTableCellElement" { | |
| 3471 | |
| 3472 String abbr; | |
| 3473 | |
| 3474 String align; | |
| 3475 | |
| 3476 String axis; | |
| 3477 | |
| 3478 String bgColor; | |
| 3479 | |
| 3480 int cellIndex; | |
| 3481 | |
| 3482 String ch; | |
| 3483 | |
| 3484 String chOff; | |
| 3485 | |
| 3486 int colSpan; | |
| 3487 | |
| 3488 String headers; | |
| 3489 | |
| 3490 String height; | |
| 3491 | |
| 3492 bool noWrap; | |
| 3493 | |
| 3494 int rowSpan; | |
| 3495 | |
| 3496 String scope; | |
| 3497 | |
| 3498 String vAlign; | |
| 3499 | |
| 3500 String width; | |
| 3501 } | |
| 3502 | |
| 3503 class HTMLTableColElement extends HTMLElement native "HTMLTableColElement" { | |
| 3504 | |
| 3505 String align; | |
| 3506 | |
| 3507 String ch; | |
| 3508 | |
| 3509 String chOff; | |
| 3510 | |
| 3511 int span; | |
| 3512 | |
| 3513 String vAlign; | |
| 3514 | |
| 3515 String width; | |
| 3516 } | |
| 3517 | |
| 3518 class HTMLTableElement extends HTMLElement native "HTMLTableElement" { | |
| 3519 | |
| 3520 String align; | |
| 3521 | |
| 3522 String bgColor; | |
| 3523 | |
| 3524 String border; | |
| 3525 | |
| 3526 HTMLTableCaptionElement caption; | |
| 3527 | |
| 3528 String cellPadding; | |
| 3529 | |
| 3530 String cellSpacing; | |
| 3531 | |
| 3532 String frame; | |
| 3533 | |
| 3534 HTMLCollection rows; | |
| 3535 | |
| 3536 String rules; | |
| 3537 | |
| 3538 String summary; | |
| 3539 | |
| 3540 HTMLCollection tBodies; | |
| 3541 | |
| 3542 HTMLTableSectionElement tFoot; | |
| 3543 | |
| 3544 HTMLTableSectionElement tHead; | |
| 3545 | |
| 3546 String width; | |
| 3547 | |
| 3548 HTMLElement createCaption() native; | |
| 3549 | |
| 3550 HTMLElement createTFoot() native; | |
| 3551 | |
| 3552 HTMLElement createTHead() native; | |
| 3553 | |
| 3554 void deleteCaption() native; | |
| 3555 | |
| 3556 void deleteRow(int index) native; | |
| 3557 | |
| 3558 void deleteTFoot() native; | |
| 3559 | |
| 3560 void deleteTHead() native; | |
| 3561 | |
| 3562 HTMLElement insertRow(int index) native; | |
| 3563 } | |
| 3564 | |
| 3565 class HTMLTableRowElement extends HTMLElement native "HTMLTableRowElement" { | |
| 3566 | |
| 3567 String align; | |
| 3568 | |
| 3569 String bgColor; | |
| 3570 | |
| 3571 HTMLCollection cells; | |
| 3572 | |
| 3573 String ch; | |
| 3574 | |
| 3575 String chOff; | |
| 3576 | |
| 3577 int rowIndex; | |
| 3578 | |
| 3579 int sectionRowIndex; | |
| 3580 | |
| 3581 String vAlign; | |
| 3582 | |
| 3583 void deleteCell(int index) native; | |
| 3584 | |
| 3585 HTMLElement insertCell(int index) native; | |
| 3586 } | |
| 3587 | |
| 3588 class HTMLTableSectionElement extends HTMLElement native "HTMLTableSectionElemen
t" { | |
| 3589 | |
| 3590 String align; | |
| 3591 | |
| 3592 String ch; | |
| 3593 | |
| 3594 String chOff; | |
| 3595 | |
| 3596 HTMLCollection rows; | |
| 3597 | |
| 3598 String vAlign; | |
| 3599 | |
| 3600 void deleteRow(int index) native; | |
| 3601 | |
| 3602 HTMLElement insertRow(int index) native; | |
| 3603 } | |
| 3604 | |
| 3605 class HTMLTextAreaElement extends HTMLElement native "HTMLTextAreaElement" { | |
| 3606 | |
| 3607 String accessKey; | |
| 3608 | |
| 3609 bool autofocus; | |
| 3610 | |
| 3611 int cols; | |
| 3612 | |
| 3613 String defaultValue; | |
| 3614 | |
| 3615 bool disabled; | |
| 3616 | |
| 3617 HTMLFormElement form; | |
| 3618 | |
| 3619 NodeList labels; | |
| 3620 | |
| 3621 int maxLength; | |
| 3622 | |
| 3623 String name; | |
| 3624 | |
| 3625 String placeholder; | |
| 3626 | |
| 3627 bool readOnly; | |
| 3628 | |
| 3629 bool required; | |
| 3630 | |
| 3631 int rows; | |
| 3632 | |
| 3633 String selectionDirection; | |
| 3634 | |
| 3635 int selectionEnd; | |
| 3636 | |
| 3637 int selectionStart; | |
| 3638 | |
| 3639 int textLength; | |
| 3640 | |
| 3641 String type; | |
| 3642 | |
| 3643 String validationMessage; | |
| 3644 | |
| 3645 ValidityState validity; | |
| 3646 | |
| 3647 String value; | |
| 3648 | |
| 3649 bool willValidate; | |
| 3650 | |
| 3651 String wrap; | |
| 3652 | |
| 3653 bool checkValidity() native; | |
| 3654 | |
| 3655 void select() native; | |
| 3656 | |
| 3657 void setCustomValidity(String error) native; | |
| 3658 | |
| 3659 void setSelectionRange(int start, int end, [String direction = null]) native; | |
| 3660 } | |
| 3661 | |
| 3662 class HTMLTitleElement extends HTMLElement native "HTMLTitleElement" { | |
| 3663 | |
| 3664 String text; | |
| 3665 } | |
| 3666 | |
| 3667 class HTMLTrackElement extends HTMLElement native "HTMLTrackElement" { | |
| 3668 | |
| 3669 bool isDefault; | |
| 3670 | |
| 3671 String kind; | |
| 3672 | |
| 3673 String label; | |
| 3674 | |
| 3675 String src; | |
| 3676 | |
| 3677 String srclang; | |
| 3678 } | |
| 3679 | |
| 3680 class HTMLUListElement extends HTMLElement native "HTMLUListElement" { | |
| 3681 | |
| 3682 bool compact; | |
| 3683 | |
| 3684 String type; | |
| 3685 } | |
| 3686 | |
| 3687 class HTMLUnknownElement extends HTMLElement native "HTMLUnknownElement" { | |
| 3688 } | |
| 3689 | |
| 3690 class HTMLVideoElement extends HTMLMediaElement native "HTMLVideoElement" { | |
| 3691 | |
| 3692 int height; | |
| 3693 | |
| 3694 String poster; | |
| 3695 | |
| 3696 int videoHeight; | |
| 3697 | |
| 3698 int videoWidth; | |
| 3699 | |
| 3700 int webkitDecodedFrameCount; | |
| 3701 | |
| 3702 bool webkitDisplayingFullscreen; | |
| 3703 | |
| 3704 int webkitDroppedFrameCount; | |
| 3705 | |
| 3706 bool webkitSupportsFullscreen; | |
| 3707 | |
| 3708 int width; | |
| 3709 | |
| 3710 void webkitEnterFullScreen() native; | |
| 3711 | |
| 3712 void webkitEnterFullscreen() native; | |
| 3713 | |
| 3714 void webkitExitFullScreen() native; | |
| 3715 | |
| 3716 void webkitExitFullscreen() native; | |
| 3717 } | |
| 3718 | |
| 3719 class HashChangeEvent extends Event native "HashChangeEvent" { | |
| 3720 | |
| 3721 String newURL; | |
| 3722 | |
| 3723 String oldURL; | |
| 3724 | |
| 3725 void initHashChangeEvent(String type, bool canBubble, bool cancelable, String
oldURL, String newURL) native; | |
| 3726 } | |
| 3727 | |
| 3728 class History native "History" { | |
| 3729 | |
| 3730 int length; | |
| 3731 | |
| 3732 void back() native; | |
| 3733 | |
| 3734 void forward() native; | |
| 3735 | |
| 3736 void go(int distance) native; | |
| 3737 | |
| 3738 void pushState(Object data, String title, [String url = null]) native; | |
| 3739 | |
| 3740 void replaceState(Object data, String title, [String url = null]) native; | |
| 3741 | |
| 3742 var dartObjectLocalStorage; | |
| 3743 | |
| 3744 String get typeName() native; | |
| 3745 } | |
| 3746 | |
| 3747 class IDBAny native "IDBAny" { | |
| 3748 | |
| 3749 var dartObjectLocalStorage; | |
| 3750 | |
| 3751 String get typeName() native; | |
| 3752 } | |
| 3753 | |
| 3754 class IDBCursor native "IDBCursor" { | |
| 3755 | |
| 3756 int direction; | |
| 3757 | |
| 3758 IDBKey key; | |
| 3759 | |
| 3760 IDBKey primaryKey; | |
| 3761 | |
| 3762 IDBAny source; | |
| 3763 | |
| 3764 void continueFunction([IDBKey key = null]) native; | |
| 3765 | |
| 3766 IDBRequest delete() native; | |
| 3767 | |
| 3768 IDBRequest update(String value) native; | |
| 3769 | |
| 3770 var dartObjectLocalStorage; | |
| 3771 | |
| 3772 String get typeName() native; | |
| 3773 } | |
| 3774 | |
| 3775 class IDBCursorWithValue extends IDBCursor native "IDBCursorWithValue" { | |
| 3776 | |
| 3777 String value; | |
| 3778 } | |
| 3779 | |
| 3780 class IDBDatabase native "IDBDatabase" { | |
| 3781 | |
| 3782 String name; | |
| 3783 | |
| 3784 EventListener onabort; | |
| 3785 | |
| 3786 EventListener onerror; | |
| 3787 | |
| 3788 EventListener onversionchange; | |
| 3789 | |
| 3790 String version; | |
| 3791 | |
| 3792 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | |
| 3793 | |
| 3794 void close() native; | |
| 3795 | |
| 3796 IDBObjectStore createObjectStore(String name) native; | |
| 3797 | |
| 3798 void deleteObjectStore(String name) native; | |
| 3799 | |
| 3800 bool dispatchEvent(Event evt) native; | |
| 3801 | |
| 3802 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | |
| 3803 | |
| 3804 IDBVersionChangeRequest setVersion(String version) native; | |
| 3805 | |
| 3806 var dartObjectLocalStorage; | |
| 3807 | |
| 3808 String get typeName() native; | |
| 3809 } | |
| 3810 | |
| 3811 class IDBDatabaseError native "IDBDatabaseError" { | |
| 3812 | |
| 3813 int code; | |
| 3814 | |
| 3815 String message; | |
| 3816 | |
| 3817 var dartObjectLocalStorage; | |
| 3818 | |
| 3819 String get typeName() native; | |
| 3820 } | |
| 3821 | |
| 3822 class IDBDatabaseException native "IDBDatabaseException" { | |
| 3823 | |
| 3824 int code; | |
| 3825 | |
| 3826 String message; | |
| 3827 | |
| 3828 String name; | |
| 3829 | |
| 3830 var dartObjectLocalStorage; | |
| 3831 | |
| 3832 String get typeName() native; | |
| 3833 } | |
| 3834 | |
| 3835 class IDBFactory native "IDBFactory" { | |
| 3836 | |
| 3837 IDBRequest getDatabaseNames() native; | |
| 3838 | |
| 3839 IDBRequest open(String name) native; | |
| 3840 | |
| 3841 var dartObjectLocalStorage; | |
| 3842 | |
| 3843 String get typeName() native; | |
| 3844 } | |
| 3845 | |
| 3846 class IDBIndex native "IDBIndex" { | |
| 3847 | |
| 3848 String keyPath; | |
| 3849 | |
| 3850 String name; | |
| 3851 | |
| 3852 IDBObjectStore objectStore; | |
| 3853 | |
| 3854 bool unique; | |
| 3855 | |
| 3856 IDBRequest getObject(IDBKey key) native; | |
| 3857 | |
| 3858 IDBRequest getKey(IDBKey key) native; | |
| 3859 | |
| 3860 IDBRequest openCursor([IDBKeyRange range = null, int direction = null]) native
; | |
| 3861 | |
| 3862 IDBRequest openKeyCursor([IDBKeyRange range = null, int direction = null]) nat
ive; | |
| 3863 | |
| 3864 var dartObjectLocalStorage; | |
| 3865 | |
| 3866 String get typeName() native; | |
| 3867 } | |
| 3868 | |
| 3869 class IDBKey native "IDBKey" { | |
| 3870 | |
| 3871 var dartObjectLocalStorage; | |
| 3872 | |
| 3873 String get typeName() native; | |
| 3874 } | |
| 3875 | |
| 3876 class IDBKeyRange native "IDBKeyRange" { | |
| 3877 | |
| 3878 IDBKey lower; | |
| 3879 | |
| 3880 bool lowerOpen; | |
| 3881 | |
| 3882 IDBKey upper; | |
| 3883 | |
| 3884 bool upperOpen; | |
| 3885 | |
| 3886 IDBKeyRange bound(IDBKey lower, IDBKey upper, [bool lowerOpen = null, bool upp
erOpen = null]) native; | |
| 3887 | |
| 3888 IDBKeyRange lowerBound(IDBKey bound, [bool open = null]) native; | |
| 3889 | |
| 3890 IDBKeyRange only(IDBKey value) native; | |
| 3891 | |
| 3892 IDBKeyRange upperBound(IDBKey bound, [bool open = null]) native; | |
| 3893 | |
| 3894 var dartObjectLocalStorage; | |
| 3895 | |
| 3896 String get typeName() native; | |
| 3897 } | |
| 3898 | |
| 3899 class IDBObjectStore native "IDBObjectStore" { | |
| 3900 | |
| 3901 String keyPath; | |
| 3902 | |
| 3903 String name; | |
| 3904 | |
| 3905 // TODO(vsm): Disabling this by hand. For the playground app, the | |
| 3906 // generated code is trying to modify the prototype of this type | |
| 3907 // even though it is not available. This needs to be handled by | |
| 3908 // some combination of lazy patching, Object/base type patching, | |
| 3909 // and/or caller side dispatch | |
| 3910 // IDBRequest add(String value, [IDBKey key = null]) native; | |
| 3911 | |
| 3912 IDBRequest clear() native; | |
| 3913 | |
| 3914 IDBIndex createIndex(String name, String keyPath) native; | |
| 3915 | |
| 3916 IDBRequest delete(IDBKey key) native; | |
| 3917 | |
| 3918 void deleteIndex(String name) native; | |
| 3919 | |
| 3920 IDBRequest getObject(IDBKey key) native; | |
| 3921 | |
| 3922 IDBIndex index(String name) native; | |
| 3923 | |
| 3924 IDBRequest openCursor([IDBKeyRange range = null, int direction = null]) native
; | |
| 3925 | |
| 3926 IDBRequest put(String value, [IDBKey key = null]) native; | |
| 3927 | |
| 3928 var dartObjectLocalStorage; | |
| 3929 | |
| 3930 String get typeName() native; | |
| 3931 } | |
| 3932 | |
| 3933 class IDBRequest native "IDBRequest" { | |
| 3934 | |
| 3935 int errorCode; | |
| 3936 | |
| 3937 EventListener onerror; | |
| 3938 | |
| 3939 EventListener onsuccess; | |
| 3940 | |
| 3941 int readyState; | |
| 3942 | |
| 3943 IDBAny result; | |
| 3944 | |
| 3945 IDBAny source; | |
| 3946 | |
| 3947 IDBTransaction transaction; | |
| 3948 | |
| 3949 String webkitErrorMessage; | |
| 3950 | |
| 3951 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | |
| 3952 | |
| 3953 bool dispatchEvent(Event evt) native; | |
| 3954 | |
| 3955 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | |
| 3956 | |
| 3957 var dartObjectLocalStorage; | |
| 3958 | |
| 3959 String get typeName() native; | |
| 3960 } | |
| 3961 | |
| 3962 class IDBTransaction native "IDBTransaction" { | |
| 3963 | |
| 3964 IDBDatabase db; | |
| 3965 | |
| 3966 int mode; | |
| 3967 | |
| 3968 EventListener onabort; | |
| 3969 | |
| 3970 EventListener oncomplete; | |
| 3971 | |
| 3972 EventListener onerror; | |
| 3973 | |
| 3974 void abort() native; | |
| 3975 | |
| 3976 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | |
| 3977 | |
| 3978 bool dispatchEvent(Event evt) native; | |
| 3979 | |
| 3980 IDBObjectStore objectStore(String name) native; | |
| 3981 | |
| 3982 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | |
| 3983 | |
| 3984 var dartObjectLocalStorage; | |
| 3985 | |
| 3986 String get typeName() native; | |
| 3987 } | |
| 3988 | |
| 3989 class IDBVersionChangeEvent extends Event native "IDBVersionChangeEvent" { | |
| 3990 | |
| 3991 String version; | |
| 3992 } | |
| 3993 | |
| 3994 class IDBVersionChangeRequest extends IDBRequest native "IDBVersionChangeRequest
" { | |
| 3995 | |
| 3996 EventListener onblocked; | |
| 3997 } | |
| 3998 | |
| 3999 class ImageData native "ImageData" { | |
| 4000 | |
| 4001 CanvasPixelArray data; | |
| 4002 | |
| 4003 int height; | |
| 4004 | |
| 4005 int width; | |
| 4006 | |
| 4007 var dartObjectLocalStorage; | |
| 4008 | |
| 4009 String get typeName() native; | |
| 4010 } | |
| 4011 | |
| 4012 class InjectedScriptHost native "InjectedScriptHost" { | |
| 4013 | |
| 4014 void clearConsoleMessages() native; | |
| 4015 | |
| 4016 void copyText(String text) native; | |
| 4017 | |
| 4018 int databaseId(Object database) native; | |
| 4019 | |
| 4020 Object evaluate(String text) native; | |
| 4021 | |
| 4022 void inspect(Object objectId, Object hints) native; | |
| 4023 | |
| 4024 Object inspectedNode(int num) native; | |
| 4025 | |
| 4026 Object internalConstructorName(Object object) native; | |
| 4027 | |
| 4028 bool isHTMLAllCollection(Object object) native; | |
| 4029 | |
| 4030 int storageId(Object storage) native; | |
| 4031 | |
| 4032 String type(Object object) native; | |
| 4033 | |
| 4034 var dartObjectLocalStorage; | |
| 4035 | |
| 4036 String get typeName() native; | |
| 4037 } | |
| 4038 | |
| 4039 class InspectorFrontendHost native "InspectorFrontendHost" { | |
| 4040 | |
| 4041 void bringToFront() native; | |
| 4042 | |
| 4043 void closeWindow() native; | |
| 4044 | |
| 4045 void copyText(String text) native; | |
| 4046 | |
| 4047 void disconnectFromBackend() native; | |
| 4048 | |
| 4049 String hiddenPanels() native; | |
| 4050 | |
| 4051 void inspectedURLChanged(String newURL) native; | |
| 4052 | |
| 4053 void loaded() native; | |
| 4054 | |
| 4055 String localizedStringsURL() native; | |
| 4056 | |
| 4057 void moveWindowBy(num x, num y) native; | |
| 4058 | |
| 4059 String platform() native; | |
| 4060 | |
| 4061 String port() native; | |
| 4062 | |
| 4063 void recordActionTaken(int actionCode) native; | |
| 4064 | |
| 4065 void recordPanelShown(int panelCode) native; | |
| 4066 | |
| 4067 void recordSettingChanged(int settingChanged) native; | |
| 4068 | |
| 4069 void requestAttachWindow() native; | |
| 4070 | |
| 4071 void requestDetachWindow() native; | |
| 4072 | |
| 4073 void saveAs(String fileName, String content) native; | |
| 4074 | |
| 4075 void sendMessageToBackend(String message) native; | |
| 4076 | |
| 4077 void setAttachedWindowHeight(int height) native; | |
| 4078 | |
| 4079 void setExtensionAPI(String script) native; | |
| 4080 | |
| 4081 void showContextMenu(MouseEvent event, Object items) native; | |
| 4082 | |
| 4083 var dartObjectLocalStorage; | |
| 4084 | |
| 4085 String get typeName() native; | |
| 4086 } | |
| 4087 | |
| 4088 class Int16Array extends ArrayBufferView native "Int16Array" { | |
| 4089 | |
| 4090 int length; | |
| 4091 | |
| 4092 Int16Array subarray(int start, [int end = null]) native; | |
| 4093 } | |
| 4094 | |
| 4095 class Int32Array extends ArrayBufferView native "Int32Array" { | |
| 4096 | |
| 4097 int length; | |
| 4098 | |
| 4099 Int32Array subarray(int start, [int end = null]) native; | |
| 4100 } | |
| 4101 | |
| 4102 class Int8Array extends ArrayBufferView native "Int8Array" { | |
| 4103 | |
| 4104 int length; | |
| 4105 | |
| 4106 Int8Array subarray(int start, [int end = null]) native; | |
| 4107 } | |
| 4108 | |
| 4109 class JavaScriptCallFrame native "JavaScriptCallFrame" { | |
| 4110 | |
| 4111 JavaScriptCallFrame caller; | |
| 4112 | |
| 4113 int column; | |
| 4114 | |
| 4115 String functionName; | |
| 4116 | |
| 4117 int line; | |
| 4118 | |
| 4119 int sourceID; | |
| 4120 | |
| 4121 String type; | |
| 4122 | |
| 4123 void evaluate(String script) native; | |
| 4124 | |
| 4125 int scopeType(int scopeIndex) native; | |
| 4126 | |
| 4127 var dartObjectLocalStorage; | |
| 4128 | |
| 4129 String get typeName() native; | |
| 4130 } | |
| 4131 | |
| 4132 class KeyboardEvent extends UIEvent native "KeyboardEvent" { | |
| 4133 | |
| 4134 bool altGraphKey; | |
| 4135 | |
| 4136 bool altKey; | |
| 4137 | |
| 4138 bool ctrlKey; | |
| 4139 | |
| 4140 String keyIdentifier; | |
| 4141 | |
| 4142 int keyLocation; | |
| 4143 | |
| 4144 bool metaKey; | |
| 4145 | |
| 4146 bool shiftKey; | |
| 4147 | |
| 4148 bool getModifierState(String keyIdentifierArg) native; | |
| 4149 | |
| 4150 void initKeyboardEvent(String type, bool canBubble, bool cancelable, DOMWindow
view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool sh
iftKey, bool metaKey, bool altGraphKey) native; | |
| 4151 } | |
| 4152 | |
| 4153 class LocalMediaStream extends MediaStream native "LocalMediaStream" { | |
| 4154 | |
| 4155 void stop() native; | |
| 4156 } | |
| 4157 | |
| 4158 class Location native "Location" { | |
| 4159 | |
| 4160 String hash; | |
| 4161 | |
| 4162 String host; | |
| 4163 | |
| 4164 String hostname; | |
| 4165 | |
| 4166 String href; | |
| 4167 | |
| 4168 String origin; | |
| 4169 | |
| 4170 String pathname; | |
| 4171 | |
| 4172 String port; | |
| 4173 | |
| 4174 String protocol; | |
| 4175 | |
| 4176 String search; | |
| 4177 | |
| 4178 void assign(String url) native; | |
| 4179 | |
| 4180 String getParameter(String name) native; | |
| 4181 | |
| 4182 void reload() native; | |
| 4183 | |
| 4184 void replace(String url) native; | |
| 4185 | |
| 4186 var dartObjectLocalStorage; | |
| 4187 | |
| 4188 String get typeName() native; | |
| 4189 } | |
| 4190 | |
| 4191 class MediaError native "MediaError" { | |
| 4192 | |
| 4193 int code; | |
| 4194 | |
| 4195 var dartObjectLocalStorage; | |
| 4196 | |
| 4197 String get typeName() native; | |
| 4198 } | |
| 4199 | |
| 4200 class MediaList native "MediaList" { | |
| 4201 | |
| 4202 int length; | |
| 4203 | |
| 4204 String mediaText; | |
| 4205 | |
| 4206 String operator[](int index) native; | |
| 4207 | |
| 4208 void appendMedium(String newMedium) native; | |
| 4209 | |
| 4210 void deleteMedium(String oldMedium) native; | |
| 4211 | |
| 4212 String item(int index) native; | |
| 4213 | |
| 4214 var dartObjectLocalStorage; | |
| 4215 | |
| 4216 String get typeName() native; | |
| 4217 } | |
| 4218 | |
| 4219 class MediaQueryList native "MediaQueryList" { | |
| 4220 | |
| 4221 bool matches; | |
| 4222 | |
| 4223 String media; | |
| 4224 | |
| 4225 void addListener(MediaQueryListListener listener) native; | |
| 4226 | |
| 4227 void removeListener(MediaQueryListListener listener) native; | |
| 4228 | |
| 4229 var dartObjectLocalStorage; | |
| 4230 | |
| 4231 String get typeName() native; | |
| 4232 } | |
| 4233 | |
| 4234 class MediaQueryListListener native "MediaQueryListListener" { | |
| 4235 | |
| 4236 void queryChanged(MediaQueryList list) native; | |
| 4237 | |
| 4238 var dartObjectLocalStorage; | |
| 4239 | |
| 4240 String get typeName() native; | |
| 4241 } | |
| 4242 | |
| 4243 class MediaStream native "MediaStream" { | |
| 4244 | |
| 4245 String label; | |
| 4246 | |
| 4247 EventListener onended; | |
| 4248 | |
| 4249 int readyState; | |
| 4250 | |
| 4251 MediaStreamTrackList tracks; | |
| 4252 | |
| 4253 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | |
| 4254 | |
| 4255 bool dispatchEvent(Event event) native; | |
| 4256 | |
| 4257 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | |
| 4258 | |
| 4259 var dartObjectLocalStorage; | |
| 4260 | |
| 4261 String get typeName() native; | |
| 4262 } | |
| 4263 | |
| 4264 class MediaStreamList native "MediaStreamList" { | |
| 4265 | |
| 4266 int length; | |
| 4267 | |
| 4268 MediaStream item(int index) native; | |
| 4269 | |
| 4270 var dartObjectLocalStorage; | |
| 4271 | |
| 4272 String get typeName() native; | |
| 4273 } | |
| 4274 | |
| 4275 class MediaStreamTrack native "MediaStreamTrack" { | |
| 4276 | |
| 4277 bool enabled; | |
| 4278 | |
| 4279 String kind; | |
| 4280 | |
| 4281 String label; | |
| 4282 | |
| 4283 var dartObjectLocalStorage; | |
| 4284 | |
| 4285 String get typeName() native; | |
| 4286 } | |
| 4287 | |
| 4288 class MediaStreamTrackList native "MediaStreamTrackList" { | |
| 4289 | |
| 4290 int length; | |
| 4291 | |
| 4292 MediaStreamTrack item(int index) native; | |
| 4293 | |
| 4294 var dartObjectLocalStorage; | |
| 4295 | |
| 4296 String get typeName() native; | |
| 4297 } | |
| 4298 | |
| 4299 class MemoryInfo native "MemoryInfo" { | |
| 4300 | |
| 4301 int jsHeapSizeLimit; | |
| 4302 | |
| 4303 int totalJSHeapSize; | |
| 4304 | |
| 4305 int usedJSHeapSize; | |
| 4306 | |
| 4307 var dartObjectLocalStorage; | |
| 4308 | |
| 4309 String get typeName() native; | |
| 4310 } | |
| 4311 | |
| 4312 class MessageChannel native "MessageChannel" { | |
| 4313 | |
| 4314 MessagePort port1; | |
| 4315 | |
| 4316 MessagePort port2; | |
| 4317 | |
| 4318 var dartObjectLocalStorage; | |
| 4319 | |
| 4320 String get typeName() native; | |
| 4321 } | |
| 4322 | |
| 4323 class MessageEvent extends Event native "MessageEvent" { | |
| 4324 | |
| 4325 String data; | |
| 4326 | |
| 4327 String lastEventId; | |
| 4328 | |
| 4329 MessagePort messagePort; | |
| 4330 | |
| 4331 String origin; | |
| 4332 | |
| 4333 DOMWindow source; | |
| 4334 | |
| 4335 void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, S
tring dataArg, String originArg, String lastEventIdArg, DOMWindow sourceArg, Mes
sagePort messagePort) native; | |
| 4336 } | |
| 4337 | |
| 4338 class MessagePort native "MessagePort" { | |
| 4339 | |
| 4340 EventListener onmessage; | |
| 4341 | |
| 4342 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | |
| 4343 | |
| 4344 void close() native; | |
| 4345 | |
| 4346 bool dispatchEvent(Event evt) native; | |
| 4347 | |
| 4348 void postMessage(String message) native; | |
| 4349 | |
| 4350 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | |
| 4351 | |
| 4352 void start() native; | |
| 4353 | |
| 4354 void webkitPostMessage(String message) native; | |
| 4355 | |
| 4356 var dartObjectLocalStorage; | |
| 4357 | |
| 4358 String get typeName() native; | |
| 4359 } | |
| 4360 | |
| 4361 class Metadata native "Metadata" { | |
| 4362 | |
| 4363 Date modificationTime; | |
| 4364 | |
| 4365 var dartObjectLocalStorage; | |
| 4366 | |
| 4367 String get typeName() native; | |
| 4368 } | |
| 4369 | |
| 4370 class MetadataCallback native "MetadataCallback" { | |
| 4371 | |
| 4372 bool handleEvent(Metadata metadata) native; | |
| 4373 | |
| 4374 var dartObjectLocalStorage; | |
| 4375 | |
| 4376 String get typeName() native; | |
| 4377 } | |
| 4378 | |
| 4379 class MouseEvent extends UIEvent native "MouseEvent" { | |
| 4380 | |
| 4381 bool altKey; | |
| 4382 | |
| 4383 int button; | |
| 4384 | |
| 4385 int clientX; | |
| 4386 | |
| 4387 int clientY; | |
| 4388 | |
| 4389 bool ctrlKey; | |
| 4390 | |
| 4391 Node fromElement; | |
| 4392 | |
| 4393 bool metaKey; | |
| 4394 | |
| 4395 int offsetX; | |
| 4396 | |
| 4397 int offsetY; | |
| 4398 | |
| 4399 EventTarget relatedTarget; | |
| 4400 | |
| 4401 int screenX; | |
| 4402 | |
| 4403 int screenY; | |
| 4404 | |
| 4405 bool shiftKey; | |
| 4406 | |
| 4407 Node toElement; | |
| 4408 | |
| 4409 int x; | |
| 4410 | |
| 4411 int y; | |
| 4412 | |
| 4413 void initMouseEvent(String type, bool canBubble, bool cancelable, DOMWindow vi
ew, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey
, bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarge
t) native; | |
| 4414 } | |
| 4415 | |
| 4416 class MutationEvent extends Event native "MutationEvent" { | |
| 4417 | |
| 4418 int attrChange; | |
| 4419 | |
| 4420 String attrName; | |
| 4421 | |
| 4422 String newValue; | |
| 4423 | |
| 4424 String prevValue; | |
| 4425 | |
| 4426 Node relatedNode; | |
| 4427 | |
| 4428 void initMutationEvent(String type, bool canBubble, bool cancelable, Node rela
tedNode, String prevValue, String newValue, String attrName, int attrChange) nat
ive; | |
| 4429 } | |
| 4430 | |
| 4431 class MutationRecord native "MutationRecord" { | |
| 4432 | |
| 4433 NodeList addedNodes; | |
| 4434 | |
| 4435 String attributeName; | |
| 4436 | |
| 4437 String attributeNamespace; | |
| 4438 | |
| 4439 Node nextSibling; | |
| 4440 | |
| 4441 String oldValue; | |
| 4442 | |
| 4443 Node previousSibling; | |
| 4444 | |
| 4445 NodeList removedNodes; | |
| 4446 | |
| 4447 Node target; | |
| 4448 | |
| 4449 String type; | |
| 4450 | |
| 4451 var dartObjectLocalStorage; | |
| 4452 | |
| 4453 String get typeName() native; | |
| 4454 } | |
| 4455 | |
| 4456 class NamedNodeMap native "NamedNodeMap" { | |
| 4457 | |
| 4458 int length; | |
| 4459 | |
| 4460 Node operator[](int index) native; | |
| 4461 | |
| 4462 Node getNamedItem(String name) native; | |
| 4463 | |
| 4464 Node getNamedItemNS(String namespaceURI, String localName) native; | |
| 4465 | |
| 4466 Node item(int index) native; | |
| 4467 | |
| 4468 Node removeNamedItem(String name) native; | |
| 4469 | |
| 4470 Node removeNamedItemNS(String namespaceURI, String localName) native; | |
| 4471 | |
| 4472 Node setNamedItem(Node node) native; | |
| 4473 | |
| 4474 Node setNamedItemNS(Node node) native; | |
| 4475 | |
| 4476 var dartObjectLocalStorage; | |
| 4477 | |
| 4478 String get typeName() native; | |
| 4479 } | |
| 4480 | |
| 4481 class Navigator native "Navigator" { | |
| 4482 | |
| 4483 String appCodeName; | |
| 4484 | |
| 4485 String appName; | |
| 4486 | |
| 4487 String appVersion; | |
| 4488 | |
| 4489 bool cookieEnabled; | |
| 4490 | |
| 4491 String language; | |
| 4492 | |
| 4493 DOMMimeTypeArray mimeTypes; | |
| 4494 | |
| 4495 bool onLine; | |
| 4496 | |
| 4497 String platform; | |
| 4498 | |
| 4499 DOMPluginArray plugins; | |
| 4500 | |
| 4501 String product; | |
| 4502 | |
| 4503 String productSub; | |
| 4504 | |
| 4505 String userAgent; | |
| 4506 | |
| 4507 String vendor; | |
| 4508 | |
| 4509 String vendorSub; | |
| 4510 | |
| 4511 void getStorageUpdates() native; | |
| 4512 | |
| 4513 bool javaEnabled() native; | |
| 4514 | |
| 4515 var dartObjectLocalStorage; | |
| 4516 | |
| 4517 String get typeName() native; | |
| 4518 } | |
| 4519 | |
| 4520 class NavigatorUserMediaError native "NavigatorUserMediaError" { | |
| 4521 | |
| 4522 int code; | |
| 4523 | |
| 4524 var dartObjectLocalStorage; | |
| 4525 | |
| 4526 String get typeName() native; | |
| 4527 } | |
| 4528 | |
| 4529 class NavigatorUserMediaErrorCallback native "NavigatorUserMediaErrorCallback" { | |
| 4530 | |
| 4531 bool handleEvent(NavigatorUserMediaError error) native; | |
| 4532 | |
| 4533 var dartObjectLocalStorage; | |
| 4534 | |
| 4535 String get typeName() native; | |
| 4536 } | |
| 4537 | |
| 4538 class NavigatorUserMediaSuccessCallback native "NavigatorUserMediaSuccessCallbac
k" { | |
| 4539 | |
| 4540 bool handleEvent(LocalMediaStream stream) native; | |
| 4541 | |
| 4542 var dartObjectLocalStorage; | |
| 4543 | |
| 4544 String get typeName() native; | |
| 4545 } | |
| 4546 | |
| 4547 class Node native "Node" { | |
| 4548 | |
| 4549 NamedNodeMap attributes; | |
| 4550 | |
| 4551 String baseURI; | |
| 4552 | |
| 4553 NodeList childNodes; | |
| 4554 | |
| 4555 Node firstChild; | |
| 4556 | |
| 4557 Node lastChild; | |
| 4558 | |
| 4559 String localName; | |
| 4560 | |
| 4561 String namespaceURI; | |
| 4562 | |
| 4563 Node nextSibling; | |
| 4564 | |
| 4565 String nodeName; | |
| 4566 | |
| 4567 int nodeType; | |
| 4568 | |
| 4569 String nodeValue; | |
| 4570 | |
| 4571 Document ownerDocument; | |
| 4572 | |
| 4573 Element parentElement; | |
| 4574 | |
| 4575 Node parentNode; | |
| 4576 | |
| 4577 String prefix; | |
| 4578 | |
| 4579 Node previousSibling; | |
| 4580 | |
| 4581 String textContent; | |
| 4582 | |
| 4583 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | |
| 4584 | |
| 4585 Node appendChild(Node newChild) native; | |
| 4586 | |
| 4587 Node cloneNode(bool deep) native; | |
| 4588 | |
| 4589 int compareDocumentPosition(Node other) native; | |
| 4590 | |
| 4591 bool contains(Node other) native; | |
| 4592 | |
| 4593 bool dispatchEvent(Event event) native; | |
| 4594 | |
| 4595 bool hasAttributes() native; | |
| 4596 | |
| 4597 bool hasChildNodes() native; | |
| 4598 | |
| 4599 Node insertBefore(Node newChild, Node refChild) native; | |
| 4600 | |
| 4601 bool isDefaultNamespace(String namespaceURI) native; | |
| 4602 | |
| 4603 bool isEqualNode(Node other) native; | |
| 4604 | |
| 4605 bool isSameNode(Node other) native; | |
| 4606 | |
| 4607 bool isSupported(String feature, String version) native; | |
| 4608 | |
| 4609 String lookupNamespaceURI(String prefix) native; | |
| 4610 | |
| 4611 String lookupPrefix(String namespaceURI) native; | |
| 4612 | |
| 4613 void normalize() native; | |
| 4614 | |
| 4615 Node removeChild(Node oldChild) native; | |
| 4616 | |
| 4617 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | |
| 4618 | |
| 4619 Node replaceChild(Node newChild, Node oldChild) native; | |
| 4620 | |
| 4621 var dartObjectLocalStorage; | |
| 4622 | |
| 4623 String get typeName() native; | |
| 4624 } | |
| 4625 | |
| 4626 class NodeFilter native "NodeFilter" { | |
| 4627 | |
| 4628 int acceptNode(Node n) native; | |
| 4629 | |
| 4630 var dartObjectLocalStorage; | |
| 4631 | |
| 4632 String get typeName() native; | |
| 4633 } | |
| 4634 | |
| 4635 class NodeIterator native "NodeIterator" { | |
| 4636 | |
| 4637 bool expandEntityReferences; | |
| 4638 | |
| 4639 NodeFilter filter; | |
| 4640 | |
| 4641 bool pointerBeforeReferenceNode; | |
| 4642 | |
| 4643 Node referenceNode; | |
| 4644 | |
| 4645 Node root; | |
| 4646 | |
| 4647 int whatToShow; | |
| 4648 | |
| 4649 void detach() native; | |
| 4650 | |
| 4651 Node nextNode() native; | |
| 4652 | |
| 4653 Node previousNode() native; | |
| 4654 | |
| 4655 var dartObjectLocalStorage; | |
| 4656 | |
| 4657 String get typeName() native; | |
| 4658 } | |
| 4659 | |
| 4660 class NodeList native "NodeList" { | |
| 4661 | |
| 4662 int length; | |
| 4663 | |
| 4664 Node operator[](int index) native; | |
| 4665 | |
| 4666 Node item(int index) native; | |
| 4667 | |
| 4668 var dartObjectLocalStorage; | |
| 4669 | |
| 4670 String get typeName() native; | |
| 4671 } | |
| 4672 | |
| 4673 class NodeSelector native "NodeSelector" { | |
| 4674 | |
| 4675 Element querySelector(String selectors) native; | |
| 4676 | |
| 4677 NodeList querySelectorAll(String selectors) native; | |
| 4678 | |
| 4679 var dartObjectLocalStorage; | |
| 4680 | |
| 4681 String get typeName() native; | |
| 4682 } | |
| 4683 | |
| 4684 class Notation extends Node native "Notation" { | |
| 4685 | |
| 4686 String publicId; | |
| 4687 | |
| 4688 String systemId; | |
| 4689 } | |
| 4690 | |
| 4691 class Notification native "Notification" { | |
| 4692 | |
| 4693 String dir; | |
| 4694 | |
| 4695 EventListener onclick; | |
| 4696 | |
| 4697 EventListener onclose; | |
| 4698 | |
| 4699 EventListener ondisplay; | |
| 4700 | |
| 4701 EventListener onerror; | |
| 4702 | |
| 4703 String replaceId; | |
| 4704 | |
| 4705 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | |
| 4706 | |
| 4707 void cancel() native; | |
| 4708 | |
| 4709 bool dispatchEvent(Event evt) native; | |
| 4710 | |
| 4711 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | |
| 4712 | |
| 4713 void show() native; | |
| 4714 | |
| 4715 var dartObjectLocalStorage; | |
| 4716 | |
| 4717 String get typeName() native; | |
| 4718 } | |
| 4719 | |
| 4720 class NotificationCenter native "NotificationCenter" { | |
| 4721 | |
| 4722 int checkPermission() native; | |
| 4723 | |
| 4724 Notification createHTMLNotification(String url) native; | |
| 4725 | |
| 4726 Notification createNotification(String iconUrl, String title, String body) nat
ive; | |
| 4727 | |
| 4728 void requestPermission(VoidCallback callback) native; | |
| 4729 | |
| 4730 var dartObjectLocalStorage; | |
| 4731 | |
| 4732 String get typeName() native; | |
| 4733 } | |
| 4734 | |
| 4735 class OESStandardDerivatives native "OESStandardDerivatives" { | |
| 4736 | |
| 4737 var dartObjectLocalStorage; | |
| 4738 | |
| 4739 String get typeName() native; | |
| 4740 } | |
| 4741 | |
| 4742 class OESTextureFloat native "OESTextureFloat" { | |
| 4743 | |
| 4744 var dartObjectLocalStorage; | |
| 4745 | |
| 4746 String get typeName() native; | |
| 4747 } | |
| 4748 | |
| 4749 class OESVertexArrayObject native "OESVertexArrayObject" { | |
| 4750 | |
| 4751 void bindVertexArrayOES(WebGLVertexArrayObjectOES arrayObject) native; | |
| 4752 | |
| 4753 WebGLVertexArrayObjectOES createVertexArrayOES() native; | |
| 4754 | |
| 4755 void deleteVertexArrayOES(WebGLVertexArrayObjectOES arrayObject) native; | |
| 4756 | |
| 4757 bool isVertexArrayOES(WebGLVertexArrayObjectOES arrayObject) native; | |
| 4758 | |
| 4759 var dartObjectLocalStorage; | |
| 4760 | |
| 4761 String get typeName() native; | |
| 4762 } | |
| 4763 | |
| 4764 class OperationNotAllowedException native "OperationNotAllowedException" { | |
| 4765 | |
| 4766 int code; | |
| 4767 | |
| 4768 String message; | |
| 4769 | |
| 4770 String name; | |
| 4771 | |
| 4772 var dartObjectLocalStorage; | |
| 4773 | |
| 4774 String get typeName() native; | |
| 4775 } | |
| 4776 | |
| 4777 class OverflowEvent extends Event native "OverflowEvent" { | |
| 4778 | |
| 4779 bool horizontalOverflow; | |
| 4780 | |
| 4781 int orient; | |
| 4782 | |
| 4783 bool verticalOverflow; | |
| 4784 | |
| 4785 void initOverflowEvent(int orient, bool horizontalOverflow, bool verticalOverf
low) native; | |
| 4786 } | |
| 4787 | |
| 4788 class PageTransitionEvent extends Event native "PageTransitionEvent" { | |
| 4789 | |
| 4790 bool persisted; | |
| 4791 | |
| 4792 void initPageTransitionEvent(String typeArg, bool canBubbleArg, bool cancelabl
eArg, bool persisted) native; | |
| 4793 } | |
| 4794 | |
| 4795 class Performance native "Performance" { | |
| 4796 | |
| 4797 MemoryInfo memory; | |
| 4798 | |
| 4799 PerformanceNavigation navigation; | |
| 4800 | |
| 4801 PerformanceTiming timing; | |
| 4802 | |
| 4803 var dartObjectLocalStorage; | |
| 4804 | |
| 4805 String get typeName() native; | |
| 4806 } | |
| 4807 | |
| 4808 class PerformanceNavigation native "PerformanceNavigation" { | |
| 4809 | |
| 4810 int redirectCount; | |
| 4811 | |
| 4812 int type; | |
| 4813 | |
| 4814 var dartObjectLocalStorage; | |
| 4815 | |
| 4816 String get typeName() native; | |
| 4817 } | |
| 4818 | |
| 4819 class PerformanceTiming native "PerformanceTiming" { | |
| 4820 | |
| 4821 int connectEnd; | |
| 4822 | |
| 4823 int connectStart; | |
| 4824 | |
| 4825 int domComplete; | |
| 4826 | |
| 4827 int domContentLoadedEventEnd; | |
| 4828 | |
| 4829 int domContentLoadedEventStart; | |
| 4830 | |
| 4831 int domInteractive; | |
| 4832 | |
| 4833 int domLoading; | |
| 4834 | |
| 4835 int domainLookupEnd; | |
| 4836 | |
| 4837 int domainLookupStart; | |
| 4838 | |
| 4839 int fetchStart; | |
| 4840 | |
| 4841 int loadEventEnd; | |
| 4842 | |
| 4843 int loadEventStart; | |
| 4844 | |
| 4845 int navigationStart; | |
| 4846 | |
| 4847 int redirectEnd; | |
| 4848 | |
| 4849 int redirectStart; | |
| 4850 | |
| 4851 int requestStart; | |
| 4852 | |
| 4853 int responseEnd; | |
| 4854 | |
| 4855 int responseStart; | |
| 4856 | |
| 4857 int secureConnectionStart; | |
| 4858 | |
| 4859 int unloadEventEnd; | |
| 4860 | |
| 4861 int unloadEventStart; | |
| 4862 | |
| 4863 var dartObjectLocalStorage; | |
| 4864 | |
| 4865 String get typeName() native; | |
| 4866 } | |
| 4867 | |
| 4868 class PopStateEvent extends Event native "PopStateEvent" { | |
| 4869 | |
| 4870 Object state; | |
| 4871 | |
| 4872 void initPopStateEvent(String typeArg, bool canBubbleArg, bool cancelableArg,
Object stateArg) native; | |
| 4873 } | |
| 4874 | |
| 4875 class PositionCallback native "PositionCallback" { | |
| 4876 | |
| 4877 bool handleEvent(Geoposition position) native; | |
| 4878 | |
| 4879 var dartObjectLocalStorage; | |
| 4880 | |
| 4881 String get typeName() native; | |
| 4882 } | |
| 4883 | |
| 4884 class PositionError native "PositionError" { | |
| 4885 | |
| 4886 int code; | |
| 4887 | |
| 4888 String message; | |
| 4889 | |
| 4890 var dartObjectLocalStorage; | |
| 4891 | |
| 4892 String get typeName() native; | |
| 4893 } | |
| 4894 | |
| 4895 class PositionErrorCallback native "PositionErrorCallback" { | |
| 4896 | |
| 4897 bool handleEvent(PositionError error) native; | |
| 4898 | |
| 4899 var dartObjectLocalStorage; | |
| 4900 | |
| 4901 String get typeName() native; | |
| 4902 } | |
| 4903 | |
| 4904 class ProcessingInstruction extends Node native "ProcessingInstruction" { | |
| 4905 | |
| 4906 String data; | |
| 4907 | |
| 4908 StyleSheet sheet; | |
| 4909 | |
| 4910 String target; | |
| 4911 } | |
| 4912 | |
| 4913 class ProgressEvent extends Event native "ProgressEvent" { | |
| 4914 | |
| 4915 bool lengthComputable; | |
| 4916 | |
| 4917 int loaded; | |
| 4918 | |
| 4919 int total; | |
| 4920 | |
| 4921 void initProgressEvent(String typeArg, bool canBubbleArg, bool cancelableArg,
bool lengthComputableArg, int loadedArg, int totalArg) native; | |
| 4922 } | |
| 4923 | |
| 4924 class RGBColor native "RGBColor" { | |
| 4925 | |
| 4926 CSSPrimitiveValue alpha; | |
| 4927 | |
| 4928 CSSPrimitiveValue blue; | |
| 4929 | |
| 4930 CSSPrimitiveValue green; | |
| 4931 | |
| 4932 CSSPrimitiveValue red; | |
| 4933 | |
| 4934 var dartObjectLocalStorage; | |
| 4935 | |
| 4936 String get typeName() native; | |
| 4937 } | |
| 4938 | |
| 4939 class Range native "Range" { | |
| 4940 | |
| 4941 bool collapsed; | |
| 4942 | |
| 4943 Node commonAncestorContainer; | |
| 4944 | |
| 4945 Node endContainer; | |
| 4946 | |
| 4947 int endOffset; | |
| 4948 | |
| 4949 Node startContainer; | |
| 4950 | |
| 4951 int startOffset; | |
| 4952 | |
| 4953 String text; | |
| 4954 | |
| 4955 DocumentFragment cloneContents() native; | |
| 4956 | |
| 4957 Range cloneRange() native; | |
| 4958 | |
| 4959 void collapse(bool toStart) native; | |
| 4960 | |
| 4961 int compareNode(Node refNode) native; | |
| 4962 | |
| 4963 int comparePoint(Node refNode, int offset) native; | |
| 4964 | |
| 4965 DocumentFragment createContextualFragment(String html) native; | |
| 4966 | |
| 4967 void deleteContents() native; | |
| 4968 | |
| 4969 void detach() native; | |
| 4970 | |
| 4971 void expand(String unit) native; | |
| 4972 | |
| 4973 DocumentFragment extractContents() native; | |
| 4974 | |
| 4975 void insertNode(Node newNode) native; | |
| 4976 | |
| 4977 bool intersectsNode(Node refNode) native; | |
| 4978 | |
| 4979 bool isPointInRange(Node refNode, int offset) native; | |
| 4980 | |
| 4981 void selectNode(Node refNode) native; | |
| 4982 | |
| 4983 void selectNodeContents(Node refNode) native; | |
| 4984 | |
| 4985 void setEnd(Node refNode, int offset) native; | |
| 4986 | |
| 4987 void setEndAfter(Node refNode) native; | |
| 4988 | |
| 4989 void setEndBefore(Node refNode) native; | |
| 4990 | |
| 4991 void setStart(Node refNode, int offset) native; | |
| 4992 | |
| 4993 void setStartAfter(Node refNode) native; | |
| 4994 | |
| 4995 void setStartBefore(Node refNode) native; | |
| 4996 | |
| 4997 void surroundContents(Node newParent) native; | |
| 4998 | |
| 4999 String toString() native; | |
| 5000 | |
| 5001 var dartObjectLocalStorage; | |
| 5002 | |
| 5003 String get typeName() native; | |
| 5004 } | |
| 5005 | |
| 5006 class RangeException native "RangeException" { | |
| 5007 | |
| 5008 int code; | |
| 5009 | |
| 5010 String message; | |
| 5011 | |
| 5012 String name; | |
| 5013 | |
| 5014 var dartObjectLocalStorage; | |
| 5015 | |
| 5016 String get typeName() native; | |
| 5017 } | |
| 5018 | |
| 5019 class Rect native "Rect" { | |
| 5020 | |
| 5021 CSSPrimitiveValue bottom; | |
| 5022 | |
| 5023 CSSPrimitiveValue left; | |
| 5024 | |
| 5025 CSSPrimitiveValue right; | |
| 5026 | |
| 5027 CSSPrimitiveValue top; | |
| 5028 | |
| 5029 var dartObjectLocalStorage; | |
| 5030 | |
| 5031 String get typeName() native; | |
| 5032 } | |
| 5033 | |
| 5034 class SQLError native "SQLError" { | |
| 5035 | |
| 5036 int code; | |
| 5037 | |
| 5038 String message; | |
| 5039 | |
| 5040 var dartObjectLocalStorage; | |
| 5041 | |
| 5042 String get typeName() native; | |
| 5043 } | |
| 5044 | |
| 5045 class SQLException native "SQLException" { | |
| 5046 | |
| 5047 int code; | |
| 5048 | |
| 5049 String message; | |
| 5050 | |
| 5051 var dartObjectLocalStorage; | |
| 5052 | |
| 5053 String get typeName() native; | |
| 5054 } | |
| 5055 | |
| 5056 class SQLResultSet native "SQLResultSet" { | |
| 5057 | |
| 5058 int insertId; | |
| 5059 | |
| 5060 SQLResultSetRowList rows; | |
| 5061 | |
| 5062 int rowsAffected; | |
| 5063 | |
| 5064 var dartObjectLocalStorage; | |
| 5065 | |
| 5066 String get typeName() native; | |
| 5067 } | |
| 5068 | |
| 5069 class SQLResultSetRowList native "SQLResultSetRowList" { | |
| 5070 | |
| 5071 int length; | |
| 5072 | |
| 5073 Object item(int index) native; | |
| 5074 | |
| 5075 var dartObjectLocalStorage; | |
| 5076 | |
| 5077 String get typeName() native; | |
| 5078 } | |
| 5079 | |
| 5080 class SQLStatementCallback native "SQLStatementCallback" { | |
| 5081 | |
| 5082 bool handleEvent(SQLTransaction transaction, SQLResultSet resultSet) native; | |
| 5083 | |
| 5084 var dartObjectLocalStorage; | |
| 5085 | |
| 5086 String get typeName() native; | |
| 5087 } | |
| 5088 | |
| 5089 class SQLStatementErrorCallback native "SQLStatementErrorCallback" { | |
| 5090 | |
| 5091 bool handleEvent(SQLTransaction transaction, SQLError error) native; | |
| 5092 | |
| 5093 var dartObjectLocalStorage; | |
| 5094 | |
| 5095 String get typeName() native; | |
| 5096 } | |
| 5097 | |
| 5098 class SQLTransaction native "SQLTransaction" { | |
| 5099 | |
| 5100 var dartObjectLocalStorage; | |
| 5101 | |
| 5102 String get typeName() native; | |
| 5103 } | |
| 5104 | |
| 5105 class SQLTransactionCallback native "SQLTransactionCallback" { | |
| 5106 | |
| 5107 bool handleEvent(SQLTransaction transaction) native; | |
| 5108 | |
| 5109 var dartObjectLocalStorage; | |
| 5110 | |
| 5111 String get typeName() native; | |
| 5112 } | |
| 5113 | |
| 5114 class SQLTransactionErrorCallback native "SQLTransactionErrorCallback" { | |
| 5115 | |
| 5116 bool handleEvent(SQLError error) native; | |
| 5117 | |
| 5118 var dartObjectLocalStorage; | |
| 5119 | |
| 5120 String get typeName() native; | |
| 5121 } | |
| 5122 | |
| 5123 class SQLTransactionSync native "SQLTransactionSync" { | |
| 5124 | |
| 5125 var dartObjectLocalStorage; | |
| 5126 | |
| 5127 String get typeName() native; | |
| 5128 } | |
| 5129 | |
| 5130 class SQLTransactionSyncCallback native "SQLTransactionSyncCallback" { | |
| 5131 | |
| 5132 bool handleEvent(SQLTransactionSync transaction) native; | |
| 5133 | |
| 5134 var dartObjectLocalStorage; | |
| 5135 | |
| 5136 String get typeName() native; | |
| 5137 } | |
| 5138 | |
| 5139 class Screen native "Screen" { | |
| 5140 | |
| 5141 int availHeight; | |
| 5142 | |
| 5143 int availLeft; | |
| 5144 | |
| 5145 int availTop; | |
| 5146 | |
| 5147 int availWidth; | |
| 5148 | |
| 5149 int colorDepth; | |
| 5150 | |
| 5151 int height; | |
| 5152 | |
| 5153 int pixelDepth; | |
| 5154 | |
| 5155 int width; | |
| 5156 | |
| 5157 var dartObjectLocalStorage; | |
| 5158 | |
| 5159 String get typeName() native; | |
| 5160 } | |
| 5161 | |
| 5162 class ScriptProfile native "ScriptProfile" { | |
| 5163 | |
| 5164 ScriptProfileNode head; | |
| 5165 | |
| 5166 String title; | |
| 5167 | |
| 5168 int uid; | |
| 5169 | |
| 5170 var dartObjectLocalStorage; | |
| 5171 | |
| 5172 String get typeName() native; | |
| 5173 } | |
| 5174 | |
| 5175 class ScriptProfileNode native "ScriptProfileNode" { | |
| 5176 | |
| 5177 int callUID; | |
| 5178 | |
| 5179 String functionName; | |
| 5180 | |
| 5181 int lineNumber; | |
| 5182 | |
| 5183 int numberOfCalls; | |
| 5184 | |
| 5185 num selfTime; | |
| 5186 | |
| 5187 num totalTime; | |
| 5188 | |
| 5189 String url; | |
| 5190 | |
| 5191 bool visible; | |
| 5192 | |
| 5193 var dartObjectLocalStorage; | |
| 5194 | |
| 5195 String get typeName() native; | |
| 5196 } | |
| 5197 | |
| 5198 class SharedWorker extends AbstractWorker native "SharedWorker" { | |
| 5199 | |
| 5200 MessagePort port; | |
| 5201 } | |
| 5202 | |
| 5203 class SharedWorkercontext extends WorkerContext native "SharedWorkercontext" { | |
| 5204 | |
| 5205 String name; | |
| 5206 | |
| 5207 EventListener onconnect; | |
| 5208 } | |
| 5209 | |
| 5210 class SpeechInputEvent extends Event native "SpeechInputEvent" { | |
| 5211 | |
| 5212 SpeechInputResultList results; | |
| 5213 } | |
| 5214 | |
| 5215 class SpeechInputResult native "SpeechInputResult" { | |
| 5216 | |
| 5217 num confidence; | |
| 5218 | |
| 5219 String utterance; | |
| 5220 | |
| 5221 var dartObjectLocalStorage; | |
| 5222 | |
| 5223 String get typeName() native; | |
| 5224 } | |
| 5225 | |
| 5226 class SpeechInputResultList native "SpeechInputResultList" { | |
| 5227 | |
| 5228 int length; | |
| 5229 | |
| 5230 SpeechInputResult item(int index) native; | |
| 5231 | |
| 5232 var dartObjectLocalStorage; | |
| 5233 | |
| 5234 String get typeName() native; | |
| 5235 } | |
| 5236 | |
| 5237 class Storage native "Storage" { | |
| 5238 | |
| 5239 int length; | |
| 5240 | |
| 5241 void clear() native; | |
| 5242 | |
| 5243 String getItem(String key) native; | |
| 5244 | |
| 5245 String key(int index) native; | |
| 5246 | |
| 5247 void removeItem(String key) native; | |
| 5248 | |
| 5249 void setItem(String key, String data) native; | |
| 5250 | |
| 5251 var dartObjectLocalStorage; | |
| 5252 | |
| 5253 String get typeName() native; | |
| 5254 } | |
| 5255 | |
| 5256 class StorageEvent extends Event native "StorageEvent" { | |
| 5257 | |
| 5258 String key; | |
| 5259 | |
| 5260 String newValue; | |
| 5261 | |
| 5262 String oldValue; | |
| 5263 | |
| 5264 Storage storageArea; | |
| 5265 | |
| 5266 String url; | |
| 5267 | |
| 5268 void initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, S
tring keyArg, String oldValueArg, String newValueArg, String urlArg, Storage sto
rageAreaArg) native; | |
| 5269 } | |
| 5270 | |
| 5271 class StorageInfo native "StorageInfo" { | |
| 5272 | |
| 5273 void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallba
ck = null, StorageInfoErrorCallback errorCallback = null]) native; | |
| 5274 | |
| 5275 void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallb
ack quotaCallback = null, StorageInfoErrorCallback errorCallback = null]) native
; | |
| 5276 | |
| 5277 var dartObjectLocalStorage; | |
| 5278 | |
| 5279 String get typeName() native; | |
| 5280 } | |
| 5281 | |
| 5282 class StorageInfoErrorCallback native "StorageInfoErrorCallback" { | |
| 5283 | |
| 5284 bool handleEvent(DOMException error) native; | |
| 5285 | |
| 5286 var dartObjectLocalStorage; | |
| 5287 | |
| 5288 String get typeName() native; | |
| 5289 } | |
| 5290 | |
| 5291 class StorageInfoQuotaCallback native "StorageInfoQuotaCallback" { | |
| 5292 | |
| 5293 bool handleEvent(int grantedQuotaInBytes) native; | |
| 5294 | |
| 5295 var dartObjectLocalStorage; | |
| 5296 | |
| 5297 String get typeName() native; | |
| 5298 } | |
| 5299 | |
| 5300 class StorageInfoUsageCallback native "StorageInfoUsageCallback" { | |
| 5301 | |
| 5302 bool handleEvent(int currentUsageInBytes, int currentQuotaInBytes) native; | |
| 5303 | |
| 5304 var dartObjectLocalStorage; | |
| 5305 | |
| 5306 String get typeName() native; | |
| 5307 } | |
| 5308 | |
| 5309 class StringCallback native "StringCallback" { | |
| 5310 | |
| 5311 bool handleEvent(String data) native; | |
| 5312 | |
| 5313 var dartObjectLocalStorage; | |
| 5314 | |
| 5315 String get typeName() native; | |
| 5316 } | |
| 5317 | |
| 5318 class StyleMedia native "StyleMedia" { | |
| 5319 | |
| 5320 String type; | |
| 5321 | |
| 5322 bool matchMedium(String mediaquery) native; | |
| 5323 | |
| 5324 var dartObjectLocalStorage; | |
| 5325 | |
| 5326 String get typeName() native; | |
| 5327 } | |
| 5328 | |
| 5329 class StyleSheet native "StyleSheet" { | |
| 5330 | |
| 5331 bool disabled; | |
| 5332 | |
| 5333 String href; | |
| 5334 | |
| 5335 MediaList media; | |
| 5336 | |
| 5337 Node ownerNode; | |
| 5338 | |
| 5339 StyleSheet parentStyleSheet; | |
| 5340 | |
| 5341 String title; | |
| 5342 | |
| 5343 String type; | |
| 5344 | |
| 5345 var dartObjectLocalStorage; | |
| 5346 | |
| 5347 String get typeName() native; | |
| 5348 } | |
| 5349 | |
| 5350 class StyleSheetList native "StyleSheetList" { | |
| 5351 | |
| 5352 int length; | |
| 5353 | |
| 5354 StyleSheet operator[](int index) native; | |
| 5355 | |
| 5356 StyleSheet item(int index) native; | |
| 5357 | |
| 5358 var dartObjectLocalStorage; | |
| 5359 | |
| 5360 String get typeName() native; | |
| 5361 } | |
| 5362 | |
| 5363 class Text extends CharacterData native "Text" { | |
| 5364 | |
| 5365 String wholeText; | |
| 5366 | |
| 5367 Text replaceWholeText(String content) native; | |
| 5368 | |
| 5369 Text splitText(int offset) native; | |
| 5370 } | |
| 5371 | |
| 5372 class TextEvent extends UIEvent native "TextEvent" { | |
| 5373 | |
| 5374 String data; | |
| 5375 | |
| 5376 void initTextEvent(String typeArg, bool canBubbleArg, bool cancelableArg, DOMW
indow viewArg, String dataArg) native; | |
| 5377 } | |
| 5378 | |
| 5379 class TextMetrics native "TextMetrics" { | |
| 5380 | |
| 5381 num width; | |
| 5382 | |
| 5383 var dartObjectLocalStorage; | |
| 5384 | |
| 5385 String get typeName() native; | |
| 5386 } | |
| 5387 | |
| 5388 class TimeRanges native "TimeRanges" { | |
| 5389 | |
| 5390 int length; | |
| 5391 | |
| 5392 num end(int index) native; | |
| 5393 | |
| 5394 num start(int index) native; | |
| 5395 | |
| 5396 var dartObjectLocalStorage; | |
| 5397 | |
| 5398 String get typeName() native; | |
| 5399 } | |
| 5400 | |
| 5401 class Touch native "Touch" { | |
| 5402 | |
| 5403 int clientX; | |
| 5404 | |
| 5405 int clientY; | |
| 5406 | |
| 5407 int identifier; | |
| 5408 | |
| 5409 int pageX; | |
| 5410 | |
| 5411 int pageY; | |
| 5412 | |
| 5413 int screenX; | |
| 5414 | |
| 5415 int screenY; | |
| 5416 | |
| 5417 EventTarget target; | |
| 5418 | |
| 5419 num webkitForce; | |
| 5420 | |
| 5421 int webkitRadiusX; | |
| 5422 | |
| 5423 int webkitRadiusY; | |
| 5424 | |
| 5425 num webkitRotationAngle; | |
| 5426 | |
| 5427 var dartObjectLocalStorage; | |
| 5428 | |
| 5429 String get typeName() native; | |
| 5430 } | |
| 5431 | |
| 5432 class TouchEvent extends UIEvent native "TouchEvent" { | |
| 5433 | |
| 5434 bool altKey; | |
| 5435 | |
| 5436 TouchList changedTouches; | |
| 5437 | |
| 5438 bool ctrlKey; | |
| 5439 | |
| 5440 bool metaKey; | |
| 5441 | |
| 5442 bool shiftKey; | |
| 5443 | |
| 5444 TouchList targetTouches; | |
| 5445 | |
| 5446 TouchList touches; | |
| 5447 | |
| 5448 void initTouchEvent(TouchList touches, TouchList targetTouches, TouchList chan
gedTouches, String type, DOMWindow view, int screenX, int screenY, int clientX,
int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) native; | |
| 5449 } | |
| 5450 | |
| 5451 class TouchList native "TouchList" { | |
| 5452 | |
| 5453 int length; | |
| 5454 | |
| 5455 Touch operator[](int index) native; | |
| 5456 | |
| 5457 Touch item(int index) native; | |
| 5458 | |
| 5459 var dartObjectLocalStorage; | |
| 5460 | |
| 5461 String get typeName() native; | |
| 5462 } | |
| 5463 | |
| 5464 class TreeWalker native "TreeWalker" { | |
| 5465 | |
| 5466 Node currentNode; | |
| 5467 | |
| 5468 bool expandEntityReferences; | |
| 5469 | |
| 5470 NodeFilter filter; | |
| 5471 | |
| 5472 Node root; | |
| 5473 | |
| 5474 int whatToShow; | |
| 5475 | |
| 5476 Node firstChild() native; | |
| 5477 | |
| 5478 Node lastChild() native; | |
| 5479 | |
| 5480 Node nextNode() native; | |
| 5481 | |
| 5482 Node nextSibling() native; | |
| 5483 | |
| 5484 Node parentNode() native; | |
| 5485 | |
| 5486 Node previousNode() native; | |
| 5487 | |
| 5488 Node previousSibling() native; | |
| 5489 | |
| 5490 var dartObjectLocalStorage; | |
| 5491 | |
| 5492 String get typeName() native; | |
| 5493 } | |
| 5494 | |
| 5495 class UIEvent extends Event native "UIEvent" { | |
| 5496 | |
| 5497 int charCode; | |
| 5498 | |
| 5499 int detail; | |
| 5500 | |
| 5501 int keyCode; | |
| 5502 | |
| 5503 int layerX; | |
| 5504 | |
| 5505 int layerY; | |
| 5506 | |
| 5507 int pageX; | |
| 5508 | |
| 5509 int pageY; | |
| 5510 | |
| 5511 DOMWindow view; | |
| 5512 | |
| 5513 int which; | |
| 5514 | |
| 5515 void initUIEvent(String type, bool canBubble, bool cancelable, DOMWindow view,
int detail) native; | |
| 5516 } | |
| 5517 | |
| 5518 class Uint16Array extends ArrayBufferView native "Uint16Array" { | |
| 5519 | |
| 5520 int length; | |
| 5521 | |
| 5522 Uint16Array subarray(int start, [int end = null]) native; | |
| 5523 } | |
| 5524 | |
| 5525 class Uint32Array extends ArrayBufferView native "Uint32Array" { | |
| 5526 | |
| 5527 int length; | |
| 5528 | |
| 5529 Uint32Array subarray(int start, [int end = null]) native; | |
| 5530 } | |
| 5531 | |
| 5532 class Uint8Array extends ArrayBufferView native "Uint8Array" { | |
| 5533 | |
| 5534 int length; | |
| 5535 | |
| 5536 Uint8Array subarray(int start, [int end = null]) native; | |
| 5537 } | |
| 5538 | |
| 5539 class ValidityState native "ValidityState" { | |
| 5540 | |
| 5541 bool customError; | |
| 5542 | |
| 5543 bool patternMismatch; | |
| 5544 | |
| 5545 bool rangeOverflow; | |
| 5546 | |
| 5547 bool rangeUnderflow; | |
| 5548 | |
| 5549 bool stepMismatch; | |
| 5550 | |
| 5551 bool tooLong; | |
| 5552 | |
| 5553 bool typeMismatch; | |
| 5554 | |
| 5555 bool valid; | |
| 5556 | |
| 5557 bool valueMissing; | |
| 5558 | |
| 5559 var dartObjectLocalStorage; | |
| 5560 | |
| 5561 String get typeName() native; | |
| 5562 } | |
| 5563 | |
| 5564 class VoidCallback native "VoidCallback" { | |
| 5565 | |
| 5566 void handleEvent() native; | |
| 5567 | |
| 5568 var dartObjectLocalStorage; | |
| 5569 | |
| 5570 String get typeName() native; | |
| 5571 } | |
| 5572 | |
| 5573 class WebGLActiveInfo native "WebGLActiveInfo" { | |
| 5574 | |
| 5575 String name; | |
| 5576 | |
| 5577 int size; | |
| 5578 | |
| 5579 int type; | |
| 5580 | |
| 5581 var dartObjectLocalStorage; | |
| 5582 | |
| 5583 String get typeName() native; | |
| 5584 } | |
| 5585 | |
| 5586 class WebGLBuffer native "WebGLBuffer" { | |
| 5587 | |
| 5588 var dartObjectLocalStorage; | |
| 5589 | |
| 5590 String get typeName() native; | |
| 5591 } | |
| 5592 | |
| 5593 class WebGLContextAttributes native "WebGLContextAttributes" { | |
| 5594 | |
| 5595 bool alpha; | |
| 5596 | |
| 5597 bool antialias; | |
| 5598 | |
| 5599 bool depth; | |
| 5600 | |
| 5601 bool premultipliedAlpha; | |
| 5602 | |
| 5603 bool preserveDrawingBuffer; | |
| 5604 | |
| 5605 bool stencil; | |
| 5606 | |
| 5607 var dartObjectLocalStorage; | |
| 5608 | |
| 5609 String get typeName() native; | |
| 5610 } | |
| 5611 | |
| 5612 class WebGLContextEvent extends Event native "WebGLContextEvent" { | |
| 5613 | |
| 5614 String statusMessage; | |
| 5615 } | |
| 5616 | |
| 5617 class WebGLFramebuffer native "WebGLFramebuffer" { | |
| 5618 | |
| 5619 var dartObjectLocalStorage; | |
| 5620 | |
| 5621 String get typeName() native; | |
| 5622 } | |
| 5623 | |
| 5624 class WebGLProgram native "WebGLProgram" { | |
| 5625 | |
| 5626 var dartObjectLocalStorage; | |
| 5627 | |
| 5628 String get typeName() native; | |
| 5629 } | |
| 5630 | |
| 5631 class WebGLRenderbuffer native "WebGLRenderbuffer" { | |
| 5632 | |
| 5633 var dartObjectLocalStorage; | |
| 5634 | |
| 5635 String get typeName() native; | |
| 5636 } | |
| 5637 | |
| 5638 class WebGLRenderingContext extends CanvasRenderingContext native "WebGLRenderin
gContext" { | |
| 5639 | |
| 5640 int drawingBufferHeight; | |
| 5641 | |
| 5642 int drawingBufferWidth; | |
| 5643 | |
| 5644 void activeTexture(int texture) native; | |
| 5645 | |
| 5646 void attachShader(WebGLProgram program, WebGLShader shader) native; | |
| 5647 | |
| 5648 void bindAttribLocation(WebGLProgram program, int index, String name) native; | |
| 5649 | |
| 5650 void bindBuffer(int target, WebGLBuffer buffer) native; | |
| 5651 | |
| 5652 void bindFramebuffer(int target, WebGLFramebuffer framebuffer) native; | |
| 5653 | |
| 5654 void bindRenderbuffer(int target, WebGLRenderbuffer renderbuffer) native; | |
| 5655 | |
| 5656 void bindTexture(int target, WebGLTexture texture) native; | |
| 5657 | |
| 5658 void blendColor(num red, num green, num blue, num alpha) native; | |
| 5659 | |
| 5660 void blendEquation(int mode) native; | |
| 5661 | |
| 5662 void blendEquationSeparate(int modeRGB, int modeAlpha) native; | |
| 5663 | |
| 5664 void blendFunc(int sfactor, int dfactor) native; | |
| 5665 | |
| 5666 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) nat
ive; | |
| 5667 | |
| 5668 void bufferData(int target, var data_OR_size, int usage) native; | |
| 5669 | |
| 5670 void bufferSubData(int target, int offset, var data) native; | |
| 5671 | |
| 5672 int checkFramebufferStatus(int target) native; | |
| 5673 | |
| 5674 void clear(int mask) native; | |
| 5675 | |
| 5676 void clearColor(num red, num green, num blue, num alpha) native; | |
| 5677 | |
| 5678 void clearDepth(num depth) native; | |
| 5679 | |
| 5680 void clearStencil(int s) native; | |
| 5681 | |
| 5682 void colorMask(bool red, bool green, bool blue, bool alpha) native; | |
| 5683 | |
| 5684 void compileShader(WebGLShader shader) native; | |
| 5685 | |
| 5686 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border) native; | |
| 5687 | |
| 5688 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height) native; | |
| 5689 | |
| 5690 WebGLBuffer createBuffer() native; | |
| 5691 | |
| 5692 WebGLFramebuffer createFramebuffer() native; | |
| 5693 | |
| 5694 WebGLProgram createProgram() native; | |
| 5695 | |
| 5696 WebGLRenderbuffer createRenderbuffer() native; | |
| 5697 | |
| 5698 WebGLShader createShader(int type) native; | |
| 5699 | |
| 5700 WebGLTexture createTexture() native; | |
| 5701 | |
| 5702 void cullFace(int mode) native; | |
| 5703 | |
| 5704 void deleteBuffer(WebGLBuffer buffer) native; | |
| 5705 | |
| 5706 void deleteFramebuffer(WebGLFramebuffer framebuffer) native; | |
| 5707 | |
| 5708 void deleteProgram(WebGLProgram program) native; | |
| 5709 | |
| 5710 void deleteRenderbuffer(WebGLRenderbuffer renderbuffer) native; | |
| 5711 | |
| 5712 void deleteShader(WebGLShader shader) native; | |
| 5713 | |
| 5714 void deleteTexture(WebGLTexture texture) native; | |
| 5715 | |
| 5716 void depthFunc(int func) native; | |
| 5717 | |
| 5718 void depthMask(bool flag) native; | |
| 5719 | |
| 5720 void depthRange(num zNear, num zFar) native; | |
| 5721 | |
| 5722 void detachShader(WebGLProgram program, WebGLShader shader) native; | |
| 5723 | |
| 5724 void disable(int cap) native; | |
| 5725 | |
| 5726 void disableVertexAttribArray(int index) native; | |
| 5727 | |
| 5728 void drawArrays(int mode, int first, int count) native; | |
| 5729 | |
| 5730 void drawElements(int mode, int count, int type, int offset) native; | |
| 5731 | |
| 5732 void enable(int cap) native; | |
| 5733 | |
| 5734 void enableVertexAttribArray(int index) native; | |
| 5735 | |
| 5736 void finish() native; | |
| 5737 | |
| 5738 void flush() native; | |
| 5739 | |
| 5740 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge
t, WebGLRenderbuffer renderbuffer) native; | |
| 5741 | |
| 5742 void framebufferTexture2D(int target, int attachment, int textarget, WebGLText
ure texture, int level) native; | |
| 5743 | |
| 5744 void frontFace(int mode) native; | |
| 5745 | |
| 5746 void generateMipmap(int target) native; | |
| 5747 | |
| 5748 WebGLActiveInfo getActiveAttrib(WebGLProgram program, int index) native; | |
| 5749 | |
| 5750 WebGLActiveInfo getActiveUniform(WebGLProgram program, int index) native; | |
| 5751 | |
| 5752 void getAttachedShaders(WebGLProgram program) native; | |
| 5753 | |
| 5754 int getAttribLocation(WebGLProgram program, String name) native; | |
| 5755 | |
| 5756 void getBufferParameter() native; | |
| 5757 | |
| 5758 WebGLContextAttributes getContextAttributes() native; | |
| 5759 | |
| 5760 int getError() native; | |
| 5761 | |
| 5762 void getExtension(String name) native; | |
| 5763 | |
| 5764 void getFramebufferAttachmentParameter() native; | |
| 5765 | |
| 5766 void getParameter() native; | |
| 5767 | |
| 5768 String getProgramInfoLog(WebGLProgram program) native; | |
| 5769 | |
| 5770 void getProgramParameter() native; | |
| 5771 | |
| 5772 void getRenderbufferParameter() native; | |
| 5773 | |
| 5774 String getShaderInfoLog(WebGLShader shader) native; | |
| 5775 | |
| 5776 void getShaderParameter() native; | |
| 5777 | |
| 5778 String getShaderSource(WebGLShader shader) native; | |
| 5779 | |
| 5780 void getSupportedExtensions() native; | |
| 5781 | |
| 5782 void getTexParameter() native; | |
| 5783 | |
| 5784 void getUniform() native; | |
| 5785 | |
| 5786 WebGLUniformLocation getUniformLocation(WebGLProgram program, String name) nat
ive; | |
| 5787 | |
| 5788 void getVertexAttrib() native; | |
| 5789 | |
| 5790 int getVertexAttribOffset(int index, int pname) native; | |
| 5791 | |
| 5792 void hint(int target, int mode) native; | |
| 5793 | |
| 5794 bool isBuffer(WebGLBuffer buffer) native; | |
| 5795 | |
| 5796 bool isContextLost() native; | |
| 5797 | |
| 5798 bool isEnabled(int cap) native; | |
| 5799 | |
| 5800 bool isFramebuffer(WebGLFramebuffer framebuffer) native; | |
| 5801 | |
| 5802 bool isProgram(WebGLProgram program) native; | |
| 5803 | |
| 5804 bool isRenderbuffer(WebGLRenderbuffer renderbuffer) native; | |
| 5805 | |
| 5806 bool isShader(WebGLShader shader) native; | |
| 5807 | |
| 5808 bool isTexture(WebGLTexture texture) native; | |
| 5809 | |
| 5810 void lineWidth(num width) native; | |
| 5811 | |
| 5812 void linkProgram(WebGLProgram program) native; | |
| 5813 | |
| 5814 void pixelStorei(int pname, int param) native; | |
| 5815 | |
| 5816 void polygonOffset(num factor, num units) native; | |
| 5817 | |
| 5818 void readPixels(int x, int y, int width, int height, int format, int type, Arr
ayBufferView pixels) native; | |
| 5819 | |
| 5820 void releaseShaderCompiler() native; | |
| 5821 | |
| 5822 void renderbufferStorage(int target, int internalformat, int width, int height
) native; | |
| 5823 | |
| 5824 void sampleCoverage(num value, bool invert) native; | |
| 5825 | |
| 5826 void scissor(int x, int y, int width, int height) native; | |
| 5827 | |
| 5828 void shaderSource(WebGLShader shader, String string) native; | |
| 5829 | |
| 5830 void stencilFunc(int func, int ref, int mask) native; | |
| 5831 | |
| 5832 void stencilFuncSeparate(int face, int func, int ref, int mask) native; | |
| 5833 | |
| 5834 void stencilMask(int mask) native; | |
| 5835 | |
| 5836 void stencilMaskSeparate(int face, int mask) native; | |
| 5837 | |
| 5838 void stencilOp(int fail, int zfail, int zpass) native; | |
| 5839 | |
| 5840 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native; | |
| 5841 | |
| 5842 void texImage2D(int target, int level, int internalformat, int format_OR_width
, int height_OR_type, var border_OR_canvas_OR_image_OR_pixels, [int format = nul
l, int type = null, ArrayBufferView pixels = null]) native; | |
| 5843 | |
| 5844 void texParameterf(int target, int pname, num param) native; | |
| 5845 | |
| 5846 void texParameteri(int target, int pname, int param) native; | |
| 5847 | |
| 5848 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format
_OR_width, int height_OR_type, var canvas_OR_format_OR_image_OR_pixels, [int typ
e = null, ArrayBufferView pixels = null]) native; | |
| 5849 | |
| 5850 void uniform1f(WebGLUniformLocation location, num x) native; | |
| 5851 | |
| 5852 void uniform1fv(WebGLUniformLocation location, Float32Array v) native; | |
| 5853 | |
| 5854 void uniform1i(WebGLUniformLocation location, int x) native; | |
| 5855 | |
| 5856 void uniform1iv(WebGLUniformLocation location, Int32Array v) native; | |
| 5857 | |
| 5858 void uniform2f(WebGLUniformLocation location, num x, num y) native; | |
| 5859 | |
| 5860 void uniform2fv(WebGLUniformLocation location, Float32Array v) native; | |
| 5861 | |
| 5862 void uniform2i(WebGLUniformLocation location, int x, int y) native; | |
| 5863 | |
| 5864 void uniform2iv(WebGLUniformLocation location, Int32Array v) native; | |
| 5865 | |
| 5866 void uniform3f(WebGLUniformLocation location, num x, num y, num z) native; | |
| 5867 | |
| 5868 void uniform3fv(WebGLUniformLocation location, Float32Array v) native; | |
| 5869 | |
| 5870 void uniform3i(WebGLUniformLocation location, int x, int y, int z) native; | |
| 5871 | |
| 5872 void uniform3iv(WebGLUniformLocation location, Int32Array v) native; | |
| 5873 | |
| 5874 void uniform4f(WebGLUniformLocation location, num x, num y, num z, num w) nati
ve; | |
| 5875 | |
| 5876 void uniform4fv(WebGLUniformLocation location, Float32Array v) native; | |
| 5877 | |
| 5878 void uniform4i(WebGLUniformLocation location, int x, int y, int z, int w) nati
ve; | |
| 5879 | |
| 5880 void uniform4iv(WebGLUniformLocation location, Int32Array v) native; | |
| 5881 | |
| 5882 void uniformMatrix2fv(WebGLUniformLocation location, bool transpose, Float32Ar
ray array) native; | |
| 5883 | |
| 5884 void uniformMatrix3fv(WebGLUniformLocation location, bool transpose, Float32Ar
ray array) native; | |
| 5885 | |
| 5886 void uniformMatrix4fv(WebGLUniformLocation location, bool transpose, Float32Ar
ray array) native; | |
| 5887 | |
| 5888 void useProgram(WebGLProgram program) native; | |
| 5889 | |
| 5890 void validateProgram(WebGLProgram program) native; | |
| 5891 | |
| 5892 void vertexAttrib1f(int indx, num x) native; | |
| 5893 | |
| 5894 void vertexAttrib1fv(int indx, Float32Array values) native; | |
| 5895 | |
| 5896 void vertexAttrib2f(int indx, num x, num y) native; | |
| 5897 | |
| 5898 void vertexAttrib2fv(int indx, Float32Array values) native; | |
| 5899 | |
| 5900 void vertexAttrib3f(int indx, num x, num y, num z) native; | |
| 5901 | |
| 5902 void vertexAttrib3fv(int indx, Float32Array values) native; | |
| 5903 | |
| 5904 void vertexAttrib4f(int indx, num x, num y, num z, num w) native; | |
| 5905 | |
| 5906 void vertexAttrib4fv(int indx, Float32Array values) native; | |
| 5907 | |
| 5908 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) native; | |
| 5909 | |
| 5910 void viewport(int x, int y, int width, int height) native; | |
| 5911 } | |
| 5912 | |
| 5913 class WebGLShader native "WebGLShader" { | |
| 5914 | |
| 5915 var dartObjectLocalStorage; | |
| 5916 | |
| 5917 String get typeName() native; | |
| 5918 } | |
| 5919 | |
| 5920 class WebGLTexture native "WebGLTexture" { | |
| 5921 | |
| 5922 var dartObjectLocalStorage; | |
| 5923 | |
| 5924 String get typeName() native; | |
| 5925 } | |
| 5926 | |
| 5927 class WebGLUniformLocation native "WebGLUniformLocation" { | |
| 5928 | |
| 5929 var dartObjectLocalStorage; | |
| 5930 | |
| 5931 String get typeName() native; | |
| 5932 } | |
| 5933 | |
| 5934 class WebGLVertexArrayObjectOES native "WebGLVertexArrayObjectOES" { | |
| 5935 | |
| 5936 var dartObjectLocalStorage; | |
| 5937 | |
| 5938 String get typeName() native; | |
| 5939 } | |
| 5940 | |
| 5941 class WebKitAnimation native "WebKitAnimation" { | |
| 5942 | |
| 5943 num delay; | |
| 5944 | |
| 5945 int direction; | |
| 5946 | |
| 5947 num duration; | |
| 5948 | |
| 5949 num elapsedTime; | |
| 5950 | |
| 5951 bool ended; | |
| 5952 | |
| 5953 int fillMode; | |
| 5954 | |
| 5955 int iterationCount; | |
| 5956 | |
| 5957 String name; | |
| 5958 | |
| 5959 bool paused; | |
| 5960 | |
| 5961 void pause() native; | |
| 5962 | |
| 5963 void play() native; | |
| 5964 | |
| 5965 var dartObjectLocalStorage; | |
| 5966 | |
| 5967 String get typeName() native; | |
| 5968 } | |
| 5969 | |
| 5970 class WebKitAnimationEvent extends Event native "WebKitAnimationEvent" { | |
| 5971 | |
| 5972 String animationName; | |
| 5973 | |
| 5974 num elapsedTime; | |
| 5975 | |
| 5976 void initWebKitAnimationEvent(String typeArg, bool canBubbleArg, bool cancelab
leArg, String animationNameArg, num elapsedTimeArg) native; | |
| 5977 } | |
| 5978 | |
| 5979 class WebKitAnimationList native "WebKitAnimationList" { | |
| 5980 | |
| 5981 int length; | |
| 5982 | |
| 5983 WebKitAnimation item(int index) native; | |
| 5984 | |
| 5985 var dartObjectLocalStorage; | |
| 5986 | |
| 5987 String get typeName() native; | |
| 5988 } | |
| 5989 | |
| 5990 class WebKitBlobBuilder native "WebKitBlobBuilder" { | |
| 5991 | |
| 5992 void append(var blob_OR_value, [String endings = null]) native; | |
| 5993 | |
| 5994 Blob getBlob([String contentType = null]) native; | |
| 5995 | |
| 5996 var dartObjectLocalStorage; | |
| 5997 | |
| 5998 String get typeName() native; | |
| 5999 } | |
| 6000 | |
| 6001 class WebKitCSSKeyframeRule extends CSSRule native "WebKitCSSKeyframeRule" { | |
| 6002 | |
| 6003 String keyText; | |
| 6004 | |
| 6005 CSSStyleDeclaration style; | |
| 6006 } | |
| 6007 | |
| 6008 class WebKitCSSKeyframesRule extends CSSRule native "WebKitCSSKeyframesRule" { | |
| 6009 | |
| 6010 CSSRuleList cssRules; | |
| 6011 | |
| 6012 String name; | |
| 6013 | |
| 6014 void deleteRule(String key) native; | |
| 6015 | |
| 6016 WebKitCSSKeyframeRule findRule(String key) native; | |
| 6017 | |
| 6018 void insertRule(String rule) native; | |
| 6019 } | |
| 6020 | |
| 6021 class WebKitCSSMatrix native "WebKitCSSMatrix" { | |
| 6022 | |
| 6023 WebKitCSSMatrix([String spec]); | |
| 6024 | |
| 6025 num a; | |
| 6026 | |
| 6027 num b; | |
| 6028 | |
| 6029 num c; | |
| 6030 | |
| 6031 num d; | |
| 6032 | |
| 6033 num e; | |
| 6034 | |
| 6035 num f; | |
| 6036 | |
| 6037 num m11; | |
| 6038 | |
| 6039 num m12; | |
| 6040 | |
| 6041 num m13; | |
| 6042 | |
| 6043 num m14; | |
| 6044 | |
| 6045 num m21; | |
| 6046 | |
| 6047 num m22; | |
| 6048 | |
| 6049 num m23; | |
| 6050 | |
| 6051 num m24; | |
| 6052 | |
| 6053 num m31; | |
| 6054 | |
| 6055 num m32; | |
| 6056 | |
| 6057 num m33; | |
| 6058 | |
| 6059 num m34; | |
| 6060 | |
| 6061 num m41; | |
| 6062 | |
| 6063 num m42; | |
| 6064 | |
| 6065 num m43; | |
| 6066 | |
| 6067 num m44; | |
| 6068 | |
| 6069 WebKitCSSMatrix inverse() native; | |
| 6070 | |
| 6071 WebKitCSSMatrix multiply(WebKitCSSMatrix secondMatrix) native; | |
| 6072 | |
| 6073 WebKitCSSMatrix rotate(num rotX, num rotY, num rotZ) native; | |
| 6074 | |
| 6075 WebKitCSSMatrix rotateAxisAngle(num x, num y, num z, num angle) native; | |
| 6076 | |
| 6077 WebKitCSSMatrix scale(num scaleX, num scaleY, num scaleZ) native; | |
| 6078 | |
| 6079 void setMatrixValue(String string) native; | |
| 6080 | |
| 6081 WebKitCSSMatrix skewX(num angle) native; | |
| 6082 | |
| 6083 WebKitCSSMatrix skewY(num angle) native; | |
| 6084 | |
| 6085 String toString() native; | |
| 6086 | |
| 6087 WebKitCSSMatrix translate(num x, num y, num z) native; | |
| 6088 | |
| 6089 var dartObjectLocalStorage; | |
| 6090 | |
| 6091 String get typeName() native; | |
| 6092 } | |
| 6093 | |
| 6094 class WebKitCSSTransformValue extends CSSValueList native "WebKitCSSTransformVal
ue" { | |
| 6095 | |
| 6096 int operationType; | |
| 6097 } | |
| 6098 | |
| 6099 class WebKitFlags native "WebKitFlags" { | |
| 6100 | |
| 6101 bool create; | |
| 6102 | |
| 6103 bool exclusive; | |
| 6104 | |
| 6105 var dartObjectLocalStorage; | |
| 6106 | |
| 6107 String get typeName() native; | |
| 6108 } | |
| 6109 | |
| 6110 class WebKitLoseContext native "WebKitLoseContext" { | |
| 6111 | |
| 6112 void loseContext() native; | |
| 6113 | |
| 6114 void restoreContext() native; | |
| 6115 | |
| 6116 var dartObjectLocalStorage; | |
| 6117 | |
| 6118 String get typeName() native; | |
| 6119 } | |
| 6120 | |
| 6121 class WebKitPoint native "WebKitPoint" { | |
| 6122 WebKitPoint(num x, num y) native; | |
| 6123 | |
| 6124 num x; | |
| 6125 | |
| 6126 num y; | |
| 6127 | |
| 6128 var dartObjectLocalStorage; | |
| 6129 | |
| 6130 String get typeName() native; | |
| 6131 } | |
| 6132 | |
| 6133 class WebKitTransitionEvent extends Event native "WebKitTransitionEvent" { | |
| 6134 | |
| 6135 num elapsedTime; | |
| 6136 | |
| 6137 String propertyName; | |
| 6138 | |
| 6139 void initWebKitTransitionEvent(String typeArg, bool canBubbleArg, bool cancela
bleArg, String propertyNameArg, num elapsedTimeArg) native; | |
| 6140 } | |
| 6141 | |
| 6142 class WebSocket native "WebSocket" { | |
| 6143 | |
| 6144 String URL; | |
| 6145 | |
| 6146 String binaryType; | |
| 6147 | |
| 6148 int bufferedAmount; | |
| 6149 | |
| 6150 EventListener onclose; | |
| 6151 | |
| 6152 EventListener onerror; | |
| 6153 | |
| 6154 EventListener onmessage; | |
| 6155 | |
| 6156 EventListener onopen; | |
| 6157 | |
| 6158 String protocol; | |
| 6159 | |
| 6160 int readyState; | |
| 6161 | |
| 6162 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | |
| 6163 | |
| 6164 void close([int code = null, String reason = null]) native; | |
| 6165 | |
| 6166 bool dispatchEvent(Event evt) native; | |
| 6167 | |
| 6168 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | |
| 6169 | |
| 6170 bool send(String data) native; | |
| 6171 | |
| 6172 var dartObjectLocalStorage; | |
| 6173 | |
| 6174 String get typeName() native; | |
| 6175 } | |
| 6176 | |
| 6177 class WheelEvent extends UIEvent native "WheelEvent" { | |
| 6178 | |
| 6179 bool altKey; | |
| 6180 | |
| 6181 int clientX; | |
| 6182 | |
| 6183 int clientY; | |
| 6184 | |
| 6185 bool ctrlKey; | |
| 6186 | |
| 6187 bool metaKey; | |
| 6188 | |
| 6189 int offsetX; | |
| 6190 | |
| 6191 int offsetY; | |
| 6192 | |
| 6193 int screenX; | |
| 6194 | |
| 6195 int screenY; | |
| 6196 | |
| 6197 bool shiftKey; | |
| 6198 | |
| 6199 int wheelDelta; | |
| 6200 | |
| 6201 int wheelDeltaX; | |
| 6202 | |
| 6203 int wheelDeltaY; | |
| 6204 | |
| 6205 int x; | |
| 6206 | |
| 6207 int y; | |
| 6208 | |
| 6209 void initWheelEvent(int wheelDeltaX, int wheelDeltaY, DOMWindow view, int scre
enX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shif
tKey, bool metaKey) native; | |
| 6210 } | |
| 6211 | |
| 6212 class Worker extends AbstractWorker native "Worker" { | |
| 6213 | |
| 6214 EventListener onmessage; | |
| 6215 | |
| 6216 void postMessage(String message, [MessagePort messagePort = null]) native; | |
| 6217 | |
| 6218 void terminate() native; | |
| 6219 } | |
| 6220 | |
| 6221 class WorkerContext native "WorkerContext" { | |
| 6222 | |
| 6223 WorkerLocation location; | |
| 6224 | |
| 6225 WorkerNavigator navigator; | |
| 6226 | |
| 6227 EventListener onerror; | |
| 6228 | |
| 6229 NotificationCenter webkitNotifications; | |
| 6230 | |
| 6231 DOMURL webkitURL; | |
| 6232 | |
| 6233 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | |
| 6234 | |
| 6235 void clearInterval(int handle) native; | |
| 6236 | |
| 6237 void clearTimeout(int handle) native; | |
| 6238 | |
| 6239 void close() native; | |
| 6240 | |
| 6241 bool dispatchEvent(Event evt) native; | |
| 6242 | |
| 6243 void importScripts() native; | |
| 6244 | |
| 6245 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | |
| 6246 | |
| 6247 int setInterval(TimeoutHandler handler, int timeout) native; | |
| 6248 | |
| 6249 int setTimeout(TimeoutHandler handler, int timeout) native; | |
| 6250 | |
| 6251 var dartObjectLocalStorage; | |
| 6252 | |
| 6253 String get typeName() native; | |
| 6254 } | |
| 6255 | |
| 6256 class WorkerLocation native "WorkerLocation" { | |
| 6257 | |
| 6258 String hash; | |
| 6259 | |
| 6260 String host; | |
| 6261 | |
| 6262 String hostname; | |
| 6263 | |
| 6264 String href; | |
| 6265 | |
| 6266 String pathname; | |
| 6267 | |
| 6268 String port; | |
| 6269 | |
| 6270 String protocol; | |
| 6271 | |
| 6272 String search; | |
| 6273 | |
| 6274 String toString() native; | |
| 6275 | |
| 6276 var dartObjectLocalStorage; | |
| 6277 | |
| 6278 String get typeName() native; | |
| 6279 } | |
| 6280 | |
| 6281 class WorkerNavigator native "WorkerNavigator" { | |
| 6282 | |
| 6283 String appName; | |
| 6284 | |
| 6285 String appVersion; | |
| 6286 | |
| 6287 bool onLine; | |
| 6288 | |
| 6289 String platform; | |
| 6290 | |
| 6291 String userAgent; | |
| 6292 | |
| 6293 var dartObjectLocalStorage; | |
| 6294 | |
| 6295 String get typeName() native; | |
| 6296 } | |
| 6297 | |
| 6298 class XMLHttpRequest native "XMLHttpRequest" { | |
| 6299 | |
| 6300 bool asBlob; | |
| 6301 | |
| 6302 EventListener onabort; | |
| 6303 | |
| 6304 EventListener onerror; | |
| 6305 | |
| 6306 EventListener onload; | |
| 6307 | |
| 6308 EventListener onloadstart; | |
| 6309 | |
| 6310 EventListener onprogress; | |
| 6311 | |
| 6312 EventListener onreadystatechange; | |
| 6313 | |
| 6314 int readyState; | |
| 6315 | |
| 6316 Blob responseBlob; | |
| 6317 | |
| 6318 String responseText; | |
| 6319 | |
| 6320 String responseType; | |
| 6321 | |
| 6322 Document responseXML; | |
| 6323 | |
| 6324 int status; | |
| 6325 | |
| 6326 String statusText; | |
| 6327 | |
| 6328 XMLHttpRequestUpload upload; | |
| 6329 | |
| 6330 bool withCredentials; | |
| 6331 | |
| 6332 void abort() native; | |
| 6333 | |
| 6334 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | |
| 6335 | |
| 6336 bool dispatchEvent(Event evt) native; | |
| 6337 | |
| 6338 String getAllResponseHeaders() native; | |
| 6339 | |
| 6340 String getResponseHeader(String header) native; | |
| 6341 | |
| 6342 void open(String method, String url, bool async, [String user = null, String p
assword = null]) native; | |
| 6343 | |
| 6344 void overrideMimeType(String override) native; | |
| 6345 | |
| 6346 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | |
| 6347 | |
| 6348 void send([var data = null]) native; | |
| 6349 | |
| 6350 void setRequestHeader(String header, String value) native; | |
| 6351 | |
| 6352 var dartObjectLocalStorage; | |
| 6353 | |
| 6354 String get typeName() native; | |
| 6355 } | |
| 6356 | |
| 6357 class XMLHttpRequestException native "XMLHttpRequestException" { | |
| 6358 | |
| 6359 int code; | |
| 6360 | |
| 6361 String message; | |
| 6362 | |
| 6363 String name; | |
| 6364 | |
| 6365 var dartObjectLocalStorage; | |
| 6366 | |
| 6367 String get typeName() native; | |
| 6368 } | |
| 6369 | |
| 6370 class XMLHttpRequestProgressEvent extends ProgressEvent native "XMLHttpRequestPr
ogressEvent" { | |
| 6371 | |
| 6372 int position; | |
| 6373 | |
| 6374 int totalSize; | |
| 6375 } | |
| 6376 | |
| 6377 class XMLHttpRequestUpload native "XMLHttpRequestUpload" { | |
| 6378 | |
| 6379 EventListener onabort; | |
| 6380 | |
| 6381 EventListener onerror; | |
| 6382 | |
| 6383 EventListener onload; | |
| 6384 | |
| 6385 EventListener onloadstart; | |
| 6386 | |
| 6387 EventListener onprogress; | |
| 6388 | |
| 6389 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | |
| 6390 | |
| 6391 bool dispatchEvent(Event evt) native; | |
| 6392 | |
| 6393 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | |
| 6394 | |
| 6395 var dartObjectLocalStorage; | |
| 6396 | |
| 6397 String get typeName() native; | |
| 6398 } | |
| 6399 | |
| 6400 class XMLSerializer native "XMLSerializer" { | |
| 6401 | |
| 6402 String serializeToString(Node node) native; | |
| 6403 | |
| 6404 var dartObjectLocalStorage; | |
| 6405 | |
| 6406 String get typeName() native; | |
| 6407 } | |
| 6408 | |
| 6409 class XPathEvaluator native "XPathEvaluator" { | |
| 6410 | |
| 6411 XPathExpression createExpression(String expression, XPathNSResolver resolver)
native; | |
| 6412 | |
| 6413 XPathNSResolver createNSResolver(Node nodeResolver) native; | |
| 6414 | |
| 6415 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso
lver, int type, XPathResult inResult) native; | |
| 6416 | |
| 6417 var dartObjectLocalStorage; | |
| 6418 | |
| 6419 String get typeName() native; | |
| 6420 } | |
| 6421 | |
| 6422 class XPathException native "XPathException" { | |
| 6423 | |
| 6424 int code; | |
| 6425 | |
| 6426 String message; | |
| 6427 | |
| 6428 String name; | |
| 6429 | |
| 6430 var dartObjectLocalStorage; | |
| 6431 | |
| 6432 String get typeName() native; | |
| 6433 } | |
| 6434 | |
| 6435 class XPathExpression native "XPathExpression" { | |
| 6436 | |
| 6437 XPathResult evaluate(Node contextNode, int type, XPathResult inResult) native; | |
| 6438 | |
| 6439 var dartObjectLocalStorage; | |
| 6440 | |
| 6441 String get typeName() native; | |
| 6442 } | |
| 6443 | |
| 6444 class XPathNSResolver native "XPathNSResolver" { | |
| 6445 | |
| 6446 String lookupNamespaceURI(String prefix) native; | |
| 6447 | |
| 6448 var dartObjectLocalStorage; | |
| 6449 | |
| 6450 String get typeName() native; | |
| 6451 } | |
| 6452 | |
| 6453 class XPathResult native "XPathResult" { | |
| 6454 | |
| 6455 bool booleanValue; | |
| 6456 | |
| 6457 bool invalidIteratorState; | |
| 6458 | |
| 6459 num numberValue; | |
| 6460 | |
| 6461 int resultType; | |
| 6462 | |
| 6463 Node singleNodeValue; | |
| 6464 | |
| 6465 int snapshotLength; | |
| 6466 | |
| 6467 String stringValue; | |
| 6468 | |
| 6469 Node iterateNext() native; | |
| 6470 | |
| 6471 Node snapshotItem(int index) native; | |
| 6472 | |
| 6473 var dartObjectLocalStorage; | |
| 6474 | |
| 6475 String get typeName() native; | |
| 6476 } | |
| 6477 | |
| 6478 class XSLTProcessor native "XSLTProcessor" { | |
| 6479 | |
| 6480 void clearParameters() native; | |
| 6481 | |
| 6482 String getParameter(String namespaceURI, String localName) native; | |
| 6483 | |
| 6484 void importStylesheet(Node stylesheet) native; | |
| 6485 | |
| 6486 void removeParameter(String namespaceURI, String localName) native; | |
| 6487 | |
| 6488 void reset() native; | |
| 6489 | |
| 6490 void setParameter(String namespaceURI, String localName, String value) native; | |
| 6491 | |
| 6492 Document transformToDocument(Node source) native; | |
| 6493 | |
| 6494 DocumentFragment transformToFragment(Node source, Document docVal) native; | |
| 6495 | |
| 6496 var dartObjectLocalStorage; | |
| 6497 | |
| 6498 String get typeName() native; | |
| 6499 } | |
| 6500 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 6501 // for details. All rights reserved. Use of this source code is governed by a | |
| 6502 // BSD-style license that can be found in the LICENSE file. | |
| 6503 | |
| 6504 typedef void EventListener(Event event); | |
| 6505 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 6506 // for details. All rights reserved. Use of this source code is governed by a | |
| 6507 // BSD-style license that can be found in the LICENSE file. | |
| 6508 | |
| 6509 typedef bool RequestAnimationFrameCallback(int time); | |
| 6510 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 6511 // for details. All rights reserved. Use of this source code is governed by a | |
| 6512 // BSD-style license that can be found in the LICENSE file. | |
| 6513 | |
| 6514 typedef void TimeoutHandler(); | |
| OLD | NEW |