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

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

Issue 9084005: Refresh dart:dom (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « client/dom/dom_frog.dart ('k') | client/dom/generated/monkey_dom.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('dom'); 1 #library('dom');
2 2
3 #native('dom_frog.js'); 3 #native('dom_frog.js');
4 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 4 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
5 // for details. All rights reserved. Use of this source code is governed by a 5 // for details. All rights reserved. Use of this source code is governed by a
6 // BSD-style license that can be found in the LICENSE file. 6 // BSD-style license that can be found in the LICENSE file.
7 7
8 // DO NOT EDIT 8 // DO NOT EDIT
9 // Auto-generated Dart DOM library. 9 // Auto-generated Dart DOM library.
10 10
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 bool visible; 297 bool visible;
298 298
299 var dartObjectLocalStorage; 299 var dartObjectLocalStorage;
300 300
301 String get typeName() native; 301 String get typeName() native;
302 } 302 }
303 303
304 class BeforeLoadEvent extends Event native "*BeforeLoadEvent" { 304 class BeforeLoadEvent extends Event native "*BeforeLoadEvent" {
305 305
306 String url; 306 String url;
307
308 void initBeforeLoadEvent(String type, bool canBubble, bool cancelable, String url) native;
309 } 307 }
310 308
311 class BiquadFilterNode extends AudioNode native "*BiquadFilterNode" { 309 class BiquadFilterNode extends AudioNode native "*BiquadFilterNode" {
312 310
313 static final int ALLPASS = 7; 311 static final int ALLPASS = 7;
314 312
315 static final int BANDPASS = 2; 313 static final int BANDPASS = 2;
316 314
317 static final int HIGHPASS = 1; 315 static final int HIGHPASS = 1;
318 316
319 static final int HIGHSHELF = 4; 317 static final int HIGHSHELF = 4;
320 318
321 static final int LOWPASS = 0; 319 static final int LOWPASS = 0;
322 320
323 static final int LOWSHELF = 3; 321 static final int LOWSHELF = 3;
324 322
325 static final int NOTCH = 6; 323 static final int NOTCH = 6;
326 324
327 static final int PEAKING = 5; 325 static final int PEAKING = 5;
328 326
329 AudioParam Q; 327 AudioParam Q;
330 328
331 AudioParam frequency; 329 AudioParam frequency;
332 330
333 AudioParam gain; 331 AudioParam gain;
334 332
335 int type; 333 int type;
334
335 void getFrequencyResponse(Float32Array frequencyHz, Float32Array magResponse, Float32Array phaseResponse) native;
336 } 336 }
337 337
338 class Blob native "*Blob" { 338 class Blob native "*Blob" {
339 339
340 int size; 340 int size;
341 341
342 String type; 342 String type;
343 343
344 Blob webkitSlice([int start = null, int end = null, String contentType = null] ) native; 344 Blob webkitSlice([int start = null, int end = null, String contentType = null] ) native;
345 345
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 static final int PAGE_RULE = 6; 472 static final int PAGE_RULE = 6;
473 473
474 static final int STYLE_RULE = 1; 474 static final int STYLE_RULE = 1;
475 475
476 static final int UNKNOWN_RULE = 0; 476 static final int UNKNOWN_RULE = 0;
477 477
478 static final int WEBKIT_KEYFRAMES_RULE = 8; 478 static final int WEBKIT_KEYFRAMES_RULE = 8;
479 479
480 static final int WEBKIT_KEYFRAME_RULE = 9; 480 static final int WEBKIT_KEYFRAME_RULE = 9;
481 481
482 static final int WEBKIT_REGION_STYLE_RULE = 10; 482 static final int WEBKIT_REGION_RULE = 10;
483 483
484 String cssText; 484 String cssText;
485 485
486 CSSRule parentRule; 486 CSSRule parentRule;
487 487
488 CSSStyleSheet parentStyleSheet; 488 CSSStyleSheet parentStyleSheet;
489 489
490 int type; 490 int type;
491 491
492 var dartObjectLocalStorage; 492 var dartObjectLocalStorage;
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 620
621 HTMLCanvasElement canvas; 621 HTMLCanvasElement canvas;
622 622
623 var dartObjectLocalStorage; 623 var dartObjectLocalStorage;
624 624
625 String get typeName() native; 625 String get typeName() native;
626 } 626 }
627 627
628 class CanvasRenderingContext2D extends CanvasRenderingContext native "*CanvasRen deringContext2D" { 628 class CanvasRenderingContext2D extends CanvasRenderingContext native "*CanvasRen deringContext2D" {
629 629
630 Object fillStyle; 630 Dynamic fillStyle;
631 631
632 String font; 632 String font;
633 633
634 num globalAlpha; 634 num globalAlpha;
635 635
636 String globalCompositeOperation; 636 String globalCompositeOperation;
637 637
638 String lineCap; 638 String lineCap;
639 639
640 String lineJoin; 640 String lineJoin;
641 641
642 num lineWidth; 642 num lineWidth;
643 643
644 num miterLimit; 644 num miterLimit;
645 645
646 num shadowBlur; 646 num shadowBlur;
647 647
648 String shadowColor; 648 String shadowColor;
649 649
650 num shadowOffsetX; 650 num shadowOffsetX;
651 651
652 num shadowOffsetY; 652 num shadowOffsetY;
653 653
654 Object strokeStyle; 654 Dynamic strokeStyle;
655 655
656 String textAlign; 656 String textAlign;
657 657
658 String textBaseline; 658 String textBaseline;
659 659
660 List webkitLineDash; 660 List webkitLineDash;
661 661
662 num webkitLineDashOffset; 662 num webkitLineDashOffset;
663 663
664 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise) native; 664 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise) native;
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 String get typeName() native; 822 String get typeName() native;
823 } 823 }
824 824
825 class CloseEvent extends Event native "*CloseEvent" { 825 class CloseEvent extends Event native "*CloseEvent" {
826 826
827 int code; 827 int code;
828 828
829 String reason; 829 String reason;
830 830
831 bool wasClean; 831 bool wasClean;
832
833 void initCloseEvent(String typeArg, bool canBubbleArg, bool cancelableArg, boo l wasCleanArg, int codeArg, String reasonArg) native;
834 } 832 }
835 833
836 class Comment extends CharacterData native "*Comment" { 834 class Comment extends CharacterData native "*Comment" {
837 } 835 }
838 836
839 class CompositionEvent extends UIEvent native "*CompositionEvent" { 837 class CompositionEvent extends UIEvent native "*CompositionEvent" {
840 838
841 String data; 839 String data;
842 840
843 void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableAr g, DOMWindow viewArg, String dataArg) native; 841 void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableAr g, DOMWindow viewArg, String dataArg) native;
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
1401 MediaQueryList matchMedia(String query) native; 1399 MediaQueryList matchMedia(String query) native;
1402 1400
1403 void moveBy(num x, num y) native; 1401 void moveBy(num x, num y) native;
1404 1402
1405 void moveTo(num x, num y) native; 1403 void moveTo(num x, num y) native;
1406 1404
1407 DOMWindow open(String url, String name, [String options = null]) native; 1405 DOMWindow open(String url, String name, [String options = null]) native;
1408 1406
1409 Database openDatabase(String name, String version, String displayName, int est imatedSize, [DatabaseCallback creationCallback = null]) native; 1407 Database openDatabase(String name, String version, String displayName, int est imatedSize, [DatabaseCallback creationCallback = null]) native;
1410 1408
1411 void postMessage(String message, var messagePorts_OR_targetOrigin, [String tar getOrigin = null]) native; 1409 void postMessage(String message, String targetOrigin, [List messagePorts = nul l]) native;
1412 1410
1413 void print() native; 1411 void print() native;
1414 1412
1415 String prompt(String message, String defaultValue) native; 1413 String prompt(String message, String defaultValue) native;
1416 1414
1417 void releaseEvents() native; 1415 void releaseEvents() native;
1418 1416
1419 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 1417 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
1420 1418
1421 void resizeBy(num x, num y) native; 1419 void resizeBy(num x, num y) native;
1422 1420
1423 void resizeTo(num width, num height) native; 1421 void resizeTo(num width, num height) native;
1424 1422
1425 void scroll(int x, int y) native; 1423 void scroll(int x, int y) native;
1426 1424
1427 void scrollBy(int x, int y) native; 1425 void scrollBy(int x, int y) native;
1428 1426
1429 void scrollTo(int x, int y) native; 1427 void scrollTo(int x, int y) native;
1430 1428
1431 int setInterval(TimeoutHandler handler, int timeout) native; 1429 int setInterval(TimeoutHandler handler, int timeout) native;
1432 1430
1433 int setTimeout(TimeoutHandler handler, int timeout) native; 1431 int setTimeout(TimeoutHandler handler, int timeout) native;
1434 1432
1435 Object showModalDialog(String url, [Object dialogArgs = null, String featureAr gs = null]) native; 1433 Object showModalDialog(String url, [Object dialogArgs = null, String featureAr gs = null]) native;
1436 1434
1437 void stop() native; 1435 void stop() native;
1438 1436
1437 void webkitCancelAnimationFrame(int id) native;
1438
1439 void webkitCancelRequestAnimationFrame(int id) native; 1439 void webkitCancelRequestAnimationFrame(int id) native;
1440 1440
1441 WebKitPoint webkitConvertPointFromNodeToPage(Node node, WebKitPoint p) native; 1441 WebKitPoint webkitConvertPointFromNodeToPage(Node node, WebKitPoint p) native;
1442 1442
1443 WebKitPoint webkitConvertPointFromPageToNode(Node node, WebKitPoint p) native; 1443 WebKitPoint webkitConvertPointFromPageToNode(Node node, WebKitPoint p) native;
1444 1444
1445 void webkitPostMessage(String message, var targetOrigin_OR_transferList, [Stri ng targetOrigin = null]) native; 1445 void webkitPostMessage(String message, String targetOrigin, [List transferList = null]) native;
1446 1446
1447 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Elemen t element) native; 1447 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Elemen t element) native;
1448 1448
1449 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa llback = null, ErrorCallback errorCallback = null]) native; 1449 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal lback, [ErrorCallback errorCallback = null]) native;
1450 1450
1451 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac k = null, ErrorCallback errorCallback = null]) native; 1451 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac k = null, ErrorCallback errorCallback = null]) native;
1452 1452
1453 var dartObjectLocalStorage; 1453 var dartObjectLocalStorage;
1454 1454
1455 String get typeName() native; 1455 String get typeName() native;
1456 } 1456 }
1457 1457
1458 class DataTransferItem native "*DataTransferItem" { 1458 class DataTransferItem native "*DataTransferItem" {
1459 1459
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
1530 1530
1531 void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback errorCallback = null, VoidCallback successCallback = null]) native; 1531 void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback errorCallback = null, VoidCallback successCallback = null]) native;
1532 1532
1533 var dartObjectLocalStorage; 1533 var dartObjectLocalStorage;
1534 1534
1535 String get typeName() native; 1535 String get typeName() native;
1536 } 1536 }
1537 1537
1538 class DatabaseSync native "*DatabaseSync" { 1538 class DatabaseSync native "*DatabaseSync" {
1539 1539
1540 String lastErrorMessage;
1541
1540 String version; 1542 String version;
1541 1543
1542 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa llback callback = null]) native; 1544 void changeVersion(String oldVersion, String newVersion, [SQLTransactionSyncCa llback callback = null]) native;
1543 1545
1544 void readTransaction(SQLTransactionSyncCallback callback) native; 1546 void readTransaction(SQLTransactionSyncCallback callback) native;
1545 1547
1546 void transaction(SQLTransactionSyncCallback callback) native; 1548 void transaction(SQLTransactionSyncCallback callback) native;
1547 1549
1548 var dartObjectLocalStorage; 1550 var dartObjectLocalStorage;
1549 1551
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
1581 } 1583 }
1582 1584
1583 class DirectoryEntry extends Entry native "*DirectoryEntry" { 1585 class DirectoryEntry extends Entry native "*DirectoryEntry" {
1584 1586
1585 DirectoryReader createReader() native; 1587 DirectoryReader createReader() native;
1586 1588
1587 void getDirectory(String path, [WebKitFlags flags = null, EntryCallback succes sCallback = null, ErrorCallback errorCallback = null]) native; 1589 void getDirectory(String path, [WebKitFlags flags = null, EntryCallback succes sCallback = null, ErrorCallback errorCallback = null]) native;
1588 1590
1589 void getFile(String path, [WebKitFlags flags = null, EntryCallback successCall back = null, ErrorCallback errorCallback = null]) native; 1591 void getFile(String path, [WebKitFlags flags = null, EntryCallback successCall back = null, ErrorCallback errorCallback = null]) native;
1590 1592
1591 void removeRecursively([VoidCallback successCallback = null, ErrorCallback err orCallback = null]) native; 1593 void removeRecursively(VoidCallback successCallback, [ErrorCallback errorCallb ack = null]) native;
1592 } 1594 }
1593 1595
1594 class DirectoryEntrySync extends EntrySync native "*DirectoryEntrySync" { 1596 class DirectoryEntrySync extends EntrySync native "*DirectoryEntrySync" {
1595 1597
1596 DirectoryReaderSync createReader() native; 1598 DirectoryReaderSync createReader() native;
1597 1599
1598 DirectoryEntrySync getDirectory(String path, WebKitFlags flags) native; 1600 DirectoryEntrySync getDirectory(String path, WebKitFlags flags) native;
1599 1601
1600 FileEntrySync getFile(String path, WebKitFlags flags) native; 1602 FileEntrySync getFile(String path, WebKitFlags flags) native;
1601 1603
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
1749 NodeList getElementsByName(String elementName) native; 1751 NodeList getElementsByName(String elementName) native;
1750 1752
1751 NodeList getElementsByTagName(String tagname) native; 1753 NodeList getElementsByTagName(String tagname) native;
1752 1754
1753 NodeList getElementsByTagNameNS(String namespaceURI, String localName) native; 1755 NodeList getElementsByTagNameNS(String namespaceURI, String localName) native;
1754 1756
1755 CSSStyleDeclaration getOverrideStyle(Element element, String pseudoElement) na tive; 1757 CSSStyleDeclaration getOverrideStyle(Element element, String pseudoElement) na tive;
1756 1758
1757 DOMSelection getSelection() native; 1759 DOMSelection getSelection() native;
1758 1760
1759 Node importNode(Node importedNode, bool deep) native; 1761 Node importNode(Node importedNode, [bool deep = null]) native;
1760 1762
1761 bool queryCommandEnabled(String command) native; 1763 bool queryCommandEnabled(String command) native;
1762 1764
1763 bool queryCommandIndeterm(String command) native; 1765 bool queryCommandIndeterm(String command) native;
1764 1766
1765 bool queryCommandState(String command) native; 1767 bool queryCommandState(String command) native;
1766 1768
1767 bool queryCommandSupported(String command) native; 1769 bool queryCommandSupported(String command) native;
1768 1770
1769 String queryCommandValue(String command) native; 1771 String queryCommandValue(String command) native;
1770 1772
1771 Element querySelector(String selectors) native; 1773 Element querySelector(String selectors) native;
1772 1774
1773 NodeList querySelectorAll(String selectors) native; 1775 NodeList querySelectorAll(String selectors) native;
1774 1776
1775 void webkitCancelFullScreen() native; 1777 void webkitCancelFullScreen() native;
1778
1779 WebKitNamedFlow webkitGetFlowByName(String name) native;
1776 } 1780 }
1777 1781
1778 class DocumentFragment extends Node native "*DocumentFragment" { 1782 class DocumentFragment extends Node native "*DocumentFragment" {
1779 1783
1780 Element querySelector(String selectors) native; 1784 Element querySelector(String selectors) native;
1781 1785
1782 NodeList querySelectorAll(String selectors) native; 1786 NodeList querySelectorAll(String selectors) native;
1783 } 1787 }
1784 1788
1785 class DocumentType extends Node native "*DocumentType" { 1789 class DocumentType extends Node native "*DocumentType" {
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
1952 String fullPath; 1956 String fullPath;
1953 1957
1954 bool isDirectory; 1958 bool isDirectory;
1955 1959
1956 bool isFile; 1960 bool isFile;
1957 1961
1958 String name; 1962 String name;
1959 1963
1960 void copyTo(DirectoryEntry parent, [String name = null, EntryCallback successC allback = null, ErrorCallback errorCallback = null]) native; 1964 void copyTo(DirectoryEntry parent, [String name = null, EntryCallback successC allback = null, ErrorCallback errorCallback = null]) native;
1961 1965
1962 void getMetadata([MetadataCallback successCallback = null, ErrorCallback error Callback = null]) native; 1966 void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallbac k = null]) native;
1963 1967
1964 void getParent([EntryCallback successCallback = null, ErrorCallback errorCallb ack = null]) native; 1968 void getParent([EntryCallback successCallback = null, ErrorCallback errorCallb ack = null]) native;
1965 1969
1966 void moveTo(DirectoryEntry parent, [String name = null, EntryCallback successC allback = null, ErrorCallback errorCallback = null]) native; 1970 void moveTo(DirectoryEntry parent, [String name = null, EntryCallback successC allback = null, ErrorCallback errorCallback = null]) native;
1967 1971
1968 void remove([VoidCallback successCallback = null, ErrorCallback errorCallback = null]) native; 1972 void remove(VoidCallback successCallback, [ErrorCallback errorCallback = null] ) native;
1969 1973
1970 String toURL() native; 1974 String toURL() native;
1971 1975
1972 var dartObjectLocalStorage; 1976 var dartObjectLocalStorage;
1973 1977
1974 String get typeName() native; 1978 String get typeName() native;
1975 } 1979 }
1976 1980
1977 class EntryArray native "*EntryArray" { 1981 class EntryArray native "*EntryArray" {
1978 1982
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
2025 String get typeName() native; 2029 String get typeName() native;
2026 } 2030 }
2027 2031
2028 class ErrorEvent extends Event native "*ErrorEvent" { 2032 class ErrorEvent extends Event native "*ErrorEvent" {
2029 2033
2030 String filename; 2034 String filename;
2031 2035
2032 int lineno; 2036 int lineno;
2033 2037
2034 String message; 2038 String message;
2035
2036 void initErrorEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Str ing messageArg, String filenameArg, int linenoArg) native;
2037 } 2039 }
2038 2040
2039 class Event native "Event" { 2041 class Event native "Event" {
2040 2042
2041 static final int AT_TARGET = 2; 2043 static final int AT_TARGET = 2;
2042 2044
2043 static final int BLUR = 8192; 2045 static final int BLUR = 8192;
2044 2046
2045 static final int BUBBLING_PHASE = 3; 2047 static final int BUBBLING_PHASE = 3;
2046 2048
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
2472 2474
2473 NodeList tags(String name) native; 2475 NodeList tags(String name) native;
2474 2476
2475 var dartObjectLocalStorage; 2477 var dartObjectLocalStorage;
2476 2478
2477 String get typeName() native; 2479 String get typeName() native;
2478 } 2480 }
2479 2481
2480 class HTMLAnchorElement extends HTMLElement native "*HTMLAnchorElement" { 2482 class HTMLAnchorElement extends HTMLElement native "*HTMLAnchorElement" {
2481 2483
2482 String accessKey;
2483
2484 String charset; 2484 String charset;
2485 2485
2486 String coords; 2486 String coords;
2487 2487
2488 String download; 2488 String download;
2489 2489
2490 String hash; 2490 String hash;
2491 2491
2492 String host; 2492 String host;
2493 2493
(...skipping 22 matching lines...) Expand all
2516 String search; 2516 String search;
2517 2517
2518 String shape; 2518 String shape;
2519 2519
2520 String target; 2520 String target;
2521 2521
2522 String text; 2522 String text;
2523 2523
2524 String type; 2524 String type;
2525 2525
2526 String getParameter(String name) native;
2527
2528 String toString() native; 2526 String toString() native;
2529 } 2527 }
2530 2528
2531 class HTMLAppletElement extends HTMLElement native "*HTMLAppletElement" { 2529 class HTMLAppletElement extends HTMLElement native "*HTMLAppletElement" {
2532 2530
2533 String align; 2531 String align;
2534 2532
2535 String alt; 2533 String alt;
2536 2534
2537 String archive; 2535 String archive;
(...skipping 10 matching lines...) Expand all
2548 2546
2549 String object; 2547 String object;
2550 2548
2551 String vspace; 2549 String vspace;
2552 2550
2553 String width; 2551 String width;
2554 } 2552 }
2555 2553
2556 class HTMLAreaElement extends HTMLElement native "*HTMLAreaElement" { 2554 class HTMLAreaElement extends HTMLElement native "*HTMLAreaElement" {
2557 2555
2558 String accessKey;
2559
2560 String alt; 2556 String alt;
2561 2557
2562 String coords; 2558 String coords;
2563 2559
2564 String hash; 2560 String hash;
2565 2561
2566 String host; 2562 String host;
2567 2563
2568 String hostname; 2564 String hostname;
2569 2565
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
2620 2616
2621 String link; 2617 String link;
2622 2618
2623 String text; 2619 String text;
2624 2620
2625 String vLink; 2621 String vLink;
2626 } 2622 }
2627 2623
2628 class HTMLButtonElement extends HTMLElement native "*HTMLButtonElement" { 2624 class HTMLButtonElement extends HTMLElement native "*HTMLButtonElement" {
2629 2625
2630 String accessKey;
2631
2632 bool autofocus; 2626 bool autofocus;
2633 2627
2634 bool disabled; 2628 bool disabled;
2635 2629
2636 HTMLFormElement form; 2630 HTMLFormElement form;
2637 2631
2638 String formAction; 2632 String formAction;
2639 2633
2640 String formEnctype; 2634 String formEnctype;
2641 2635
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
2734 String compatMode; 2728 String compatMode;
2735 2729
2736 String designMode; 2730 String designMode;
2737 2731
2738 String dir; 2732 String dir;
2739 2733
2740 HTMLCollection embeds; 2734 HTMLCollection embeds;
2741 2735
2742 String fgColor; 2736 String fgColor;
2743 2737
2744 int height;
2745
2746 String linkColor; 2738 String linkColor;
2747 2739
2748 HTMLCollection plugins; 2740 HTMLCollection plugins;
2749 2741
2750 HTMLCollection scripts; 2742 HTMLCollection scripts;
2751 2743
2752 String vlinkColor; 2744 String vlinkColor;
2753 2745
2754 int width;
2755
2756 void captureEvents() native; 2746 void captureEvents() native;
2757 2747
2758 void clear() native; 2748 void clear() native;
2759 2749
2760 void close() native; 2750 void close() native;
2761 2751
2762 bool hasFocus() native; 2752 bool hasFocus() native;
2763 2753
2764 void open() native; 2754 void open() native;
2765 2755
2766 void releaseEvents() native; 2756 void releaseEvents() native;
2767 2757
2768 void write(String text) native; 2758 void write(String text) native;
2769 2759
2770 void writeln(String text) native; 2760 void writeln(String text) native;
2771 } 2761 }
2772 2762
2773 class HTMLElement extends Element native "HTMLElement" { 2763 class HTMLElement extends Element native "HTMLElement" {
2774 2764
2765 String accessKey;
2766
2775 HTMLCollection children; 2767 HTMLCollection children;
2776 2768
2777 DOMTokenList classList; 2769 DOMTokenList classList;
2778 2770
2779 String className; 2771 String className;
2780 2772
2781 String contentEditable; 2773 String contentEditable;
2782 2774
2783 String dir; 2775 String dir;
2784 2776
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
3034 3026
3035 int x; 3027 int x;
3036 3028
3037 int y; 3029 int y;
3038 } 3030 }
3039 3031
3040 class HTMLInputElement extends HTMLElement native "HTMLInputElement" { 3032 class HTMLInputElement extends HTMLElement native "HTMLInputElement" {
3041 3033
3042 String accept; 3034 String accept;
3043 3035
3044 String accessKey;
3045
3046 String align; 3036 String align;
3047 3037
3048 String alt; 3038 String alt;
3049 3039
3050 String autocomplete; 3040 String autocomplete;
3051 3041
3052 bool autofocus; 3042 bool autofocus;
3053 3043
3054 bool checked; 3044 bool checked;
3055 3045
3056 bool defaultChecked; 3046 bool defaultChecked;
3057 3047
3058 String defaultValue; 3048 String defaultValue;
3059 3049
3050 String dirName;
3051
3060 bool disabled; 3052 bool disabled;
3061 3053
3062 FileList files; 3054 FileList files;
3063 3055
3064 HTMLFormElement form; 3056 HTMLFormElement form;
3065 3057
3066 String formAction; 3058 String formAction;
3067 3059
3068 String formEnctype; 3060 String formEnctype;
3069 3061
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
3188 3180
3189 class HTMLLIElement extends HTMLElement native "*HTMLLIElement" { 3181 class HTMLLIElement extends HTMLElement native "*HTMLLIElement" {
3190 3182
3191 String type; 3183 String type;
3192 3184
3193 int value; 3185 int value;
3194 } 3186 }
3195 3187
3196 class HTMLLabelElement extends HTMLElement native "*HTMLLabelElement" { 3188 class HTMLLabelElement extends HTMLElement native "*HTMLLabelElement" {
3197 3189
3198 String accessKey;
3199
3200 HTMLElement control; 3190 HTMLElement control;
3201 3191
3202 HTMLFormElement form; 3192 HTMLFormElement form;
3203 3193
3204 String htmlFor; 3194 String htmlFor;
3205 } 3195 }
3206 3196
3207 class HTMLLegendElement extends HTMLElement native "*HTMLLegendElement" { 3197 class HTMLLegendElement extends HTMLElement native "*HTMLLegendElement" {
3208 3198
3209 String accessKey;
3210
3211 String align; 3199 String align;
3212 3200
3213 HTMLFormElement form; 3201 HTMLFormElement form;
3214 } 3202 }
3215 3203
3216 class HTMLLinkElement extends HTMLElement native "*HTMLLinkElement" { 3204 class HTMLLinkElement extends HTMLElement native "*HTMLLinkElement" {
3217 3205
3218 String charset; 3206 String charset;
3219 3207
3220 bool disabled; 3208 bool disabled;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
3303 static final int SOURCE_CLOSED = 0; 3291 static final int SOURCE_CLOSED = 0;
3304 3292
3305 static final int SOURCE_ENDED = 2; 3293 static final int SOURCE_ENDED = 2;
3306 3294
3307 static final int SOURCE_OPEN = 1; 3295 static final int SOURCE_OPEN = 1;
3308 3296
3309 bool autoplay; 3297 bool autoplay;
3310 3298
3311 TimeRanges buffered; 3299 TimeRanges buffered;
3312 3300
3301 MediaController controller;
3302
3313 bool controls; 3303 bool controls;
3314 3304
3315 String currentSrc; 3305 String currentSrc;
3316 3306
3317 num currentTime; 3307 num currentTime;
3318 3308
3319 bool defaultMuted; 3309 bool defaultMuted;
3320 3310
3321 num defaultPlaybackRate; 3311 num defaultPlaybackRate;
3322 3312
3323 num duration; 3313 num duration;
3324 3314
3325 bool ended; 3315 bool ended;
3326 3316
3327 MediaError error; 3317 MediaError error;
3328 3318
3329 num initialTime; 3319 num initialTime;
3330 3320
3331 bool loop; 3321 bool loop;
3332 3322
3323 String mediaGroup;
3324
3333 bool muted; 3325 bool muted;
3334 3326
3335 int networkState; 3327 int networkState;
3336 3328
3337 bool paused; 3329 bool paused;
3338 3330
3339 num playbackRate; 3331 num playbackRate;
3340 3332
3341 TimeRanges played; 3333 TimeRanges played;
3342 3334
3343 String preload; 3335 String preload;
3344 3336
3345 int readyState; 3337 int readyState;
3346 3338
3347 TimeRanges seekable; 3339 TimeRanges seekable;
3348 3340
3349 bool seeking; 3341 bool seeking;
3350 3342
3351 String src; 3343 String src;
3352 3344
3353 num startTime; 3345 num startTime;
3354 3346
3347 TextTrackList textTracks;
3348
3355 num volume; 3349 num volume;
3356 3350
3357 int webkitAudioDecodedByteCount; 3351 int webkitAudioDecodedByteCount;
3358 3352
3359 bool webkitClosedCaptionsVisible; 3353 bool webkitClosedCaptionsVisible;
3360 3354
3361 bool webkitHasClosedCaptions; 3355 bool webkitHasClosedCaptions;
3362 3356
3363 String webkitMediaSourceURL; 3357 String webkitMediaSourceURL;
3364 3358
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
3422 3416
3423 String cite; 3417 String cite;
3424 3418
3425 String dateTime; 3419 String dateTime;
3426 } 3420 }
3427 3421
3428 class HTMLOListElement extends HTMLElement native "*HTMLOListElement" { 3422 class HTMLOListElement extends HTMLElement native "*HTMLOListElement" {
3429 3423
3430 bool compact; 3424 bool compact;
3431 3425
3426 bool reversed;
3427
3432 int start; 3428 int start;
3433 3429
3434 String type; 3430 String type;
3435 } 3431 }
3436 3432
3437 class HTMLObjectElement extends HTMLElement native "*HTMLObjectElement" { 3433 class HTMLObjectElement extends HTMLElement native "*HTMLObjectElement" {
3438 3434
3439 String align; 3435 String align;
3440 3436
3441 String archive; 3437 String archive;
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
3576 3572
3577 NodeList labels; 3573 NodeList labels;
3578 3574
3579 num max; 3575 num max;
3580 3576
3581 num position; 3577 num position;
3582 3578
3583 num value; 3579 num value;
3584 } 3580 }
3585 3581
3582 class HTMLPropertiesCollection extends HTMLCollection native "*HTMLPropertiesCol lection" {
3583
3584 int length;
3585
3586 Node item(int index) native;
3587 }
3588
3586 class HTMLQuoteElement extends HTMLElement native "*HTMLQuoteElement" { 3589 class HTMLQuoteElement extends HTMLElement native "*HTMLQuoteElement" {
3587 3590
3588 String cite; 3591 String cite;
3589 } 3592 }
3590 3593
3591 class HTMLScriptElement extends HTMLElement native "*HTMLScriptElement" { 3594 class HTMLScriptElement extends HTMLElement native "*HTMLScriptElement" {
3592 3595
3593 bool async; 3596 bool async;
3594 3597
3595 String charset; 3598 String charset;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
3665 3668
3666 class HTMLSpanElement extends HTMLElement native "*HTMLSpanElement" { 3669 class HTMLSpanElement extends HTMLElement native "*HTMLSpanElement" {
3667 } 3670 }
3668 3671
3669 class HTMLStyleElement extends HTMLElement native "*HTMLStyleElement" { 3672 class HTMLStyleElement extends HTMLElement native "*HTMLStyleElement" {
3670 3673
3671 bool disabled; 3674 bool disabled;
3672 3675
3673 String media; 3676 String media;
3674 3677
3678 bool scoped;
3679
3675 StyleSheet sheet; 3680 StyleSheet sheet;
3676 3681
3677 String type; 3682 String type;
3678 } 3683 }
3679 3684
3680 class HTMLTableCaptionElement extends HTMLElement native "*HTMLTableCaptionEleme nt" { 3685 class HTMLTableCaptionElement extends HTMLElement native "*HTMLTableCaptionEleme nt" {
3681 3686
3682 String align; 3687 String align;
3683 } 3688 }
3684 3689
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
3812 3817
3813 String vAlign; 3818 String vAlign;
3814 3819
3815 void deleteRow(int index) native; 3820 void deleteRow(int index) native;
3816 3821
3817 HTMLElement insertRow(int index) native; 3822 HTMLElement insertRow(int index) native;
3818 } 3823 }
3819 3824
3820 class HTMLTextAreaElement extends HTMLElement native "*HTMLTextAreaElement" { 3825 class HTMLTextAreaElement extends HTMLElement native "*HTMLTextAreaElement" {
3821 3826
3822 String accessKey;
3823
3824 bool autofocus; 3827 bool autofocus;
3825 3828
3826 int cols; 3829 int cols;
3827 3830
3828 String defaultValue; 3831 String defaultValue;
3829 3832
3833 String dirName;
3834
3830 bool disabled; 3835 bool disabled;
3831 3836
3832 HTMLFormElement form; 3837 HTMLFormElement form;
3833 3838
3834 NodeList labels; 3839 NodeList labels;
3835 3840
3836 int maxLength; 3841 int maxLength;
3837 3842
3838 String name; 3843 String name;
3839 3844
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
3874 void setSelectionRange(int start, int end, [String direction = null]) native; 3879 void setSelectionRange(int start, int end, [String direction = null]) native;
3875 } 3880 }
3876 3881
3877 class HTMLTitleElement extends HTMLElement native "*HTMLTitleElement" { 3882 class HTMLTitleElement extends HTMLElement native "*HTMLTitleElement" {
3878 3883
3879 String text; 3884 String text;
3880 } 3885 }
3881 3886
3882 class HTMLTrackElement extends HTMLElement native "*HTMLTrackElement" { 3887 class HTMLTrackElement extends HTMLElement native "*HTMLTrackElement" {
3883 3888
3889 static final int ERROR = 3;
3890
3891 static final int LOADED = 2;
3892
3893 static final int LOADING = 1;
3894
3895 static final int NONE = 0;
3896
3884 bool isDefault; 3897 bool isDefault;
3885 3898
3886 String kind; 3899 String kind;
3887 3900
3888 String label; 3901 String label;
3889 3902
3903 int readyState;
3904
3890 String src; 3905 String src;
3891 3906
3892 String srclang; 3907 String srclang;
3893 3908
3894 TextTrack track; 3909 TextTrack track;
3895 } 3910 }
3896 3911
3897 class HTMLUListElement extends HTMLElement native "*HTMLUListElement" { 3912 class HTMLUListElement extends HTMLElement native "*HTMLUListElement" {
3898 3913
3899 bool compact; 3914 bool compact;
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
4108 4123
4109 var dartObjectLocalStorage; 4124 var dartObjectLocalStorage;
4110 4125
4111 String get typeName() native; 4126 String get typeName() native;
4112 } 4127 }
4113 4128
4114 class IDBIndex native "*IDBIndex" { 4129 class IDBIndex native "*IDBIndex" {
4115 4130
4116 String keyPath; 4131 String keyPath;
4117 4132
4133 bool multiEntry;
4134
4118 String name; 4135 String name;
4119 4136
4120 IDBObjectStore objectStore; 4137 IDBObjectStore objectStore;
4121 4138
4122 bool unique; 4139 bool unique;
4123 4140
4141 IDBRequest count([IDBKeyRange range = null]) native;
4142
4124 IDBRequest getObject(IDBKey key) native; 4143 IDBRequest getObject(IDBKey key) native;
4125 4144
4126 IDBRequest getKey(IDBKey key) native; 4145 IDBRequest getKey(IDBKey key) native;
4127 4146
4128 IDBRequest openCursor([IDBKeyRange range = null, int direction = null]) native ; 4147 IDBRequest openCursor([IDBKeyRange range = null, int direction = null]) native ;
4129 4148
4130 IDBRequest openKeyCursor([IDBKeyRange range = null, int direction = null]) nat ive; 4149 IDBRequest openKeyCursor([IDBKeyRange range = null, int direction = null]) nat ive;
4131 4150
4132 var dartObjectLocalStorage; 4151 var dartObjectLocalStorage;
4133 4152
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
4169 String keyPath; 4188 String keyPath;
4170 4189
4171 String name; 4190 String name;
4172 4191
4173 IDBTransaction transaction; 4192 IDBTransaction transaction;
4174 4193
4175 IDBRequest add(String value, [IDBKey key = null]) native; 4194 IDBRequest add(String value, [IDBKey key = null]) native;
4176 4195
4177 IDBRequest clear() native; 4196 IDBRequest clear() native;
4178 4197
4198 IDBRequest count([IDBKeyRange range = null]) native;
4199
4179 IDBIndex createIndex(String name, String keyPath) native; 4200 IDBIndex createIndex(String name, String keyPath) native;
4180 4201
4181 IDBRequest delete(IDBKey key) native; 4202 IDBRequest delete(IDBKey key) native;
4182 4203
4183 void deleteIndex(String name) native; 4204 void deleteIndex(String name) native;
4184 4205
4185 IDBRequest getObject(IDBKey key) native; 4206 IDBRequest getObject(IDBKey key) native;
4186 4207
4187 IDBIndex index(String name) native; 4208 IDBIndex index(String name) native;
4188 4209
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
4291 void copyText(String text) native; 4312 void copyText(String text) native;
4292 4313
4293 int databaseId(Object database) native; 4314 int databaseId(Object database) native;
4294 4315
4295 void didCreateWorker(int id, String url, bool isFakeWorker) native; 4316 void didCreateWorker(int id, String url, bool isFakeWorker) native;
4296 4317
4297 void didDestroyWorker(int id) native; 4318 void didDestroyWorker(int id) native;
4298 4319
4299 Object evaluate(String text) native; 4320 Object evaluate(String text) native;
4300 4321
4322 Object functionLocation(Object object) native;
4323
4301 void inspect(Object objectId, Object hints) native; 4324 void inspect(Object objectId, Object hints) native;
4302 4325
4303 Object inspectedNode(int num) native; 4326 Object inspectedNode(int num) native;
4304 4327
4305 Object internalConstructorName(Object object) native; 4328 Object internalConstructorName(Object object) native;
4306 4329
4307 bool isHTMLAllCollection(Object object) native; 4330 bool isHTMLAllCollection(Object object) native;
4308 4331
4309 int nextWorkerId() native; 4332 int nextWorkerId() native;
4310 4333
4311 int storageId(Object storage) native; 4334 int storageId(Object storage) native;
4312 4335
4313 String type(Object object) native; 4336 String type(Object object) native;
4314 4337
4315 var dartObjectLocalStorage; 4338 var dartObjectLocalStorage;
4316 4339
4317 String get typeName() native; 4340 String get typeName() native;
4318 } 4341 }
4319 4342
4320 class InspectorFrontendHost native "*InspectorFrontendHost" { 4343 class InspectorFrontendHost native "*InspectorFrontendHost" {
4321 4344
4322 void bringToFront() native; 4345 void bringToFront() native;
4323 4346
4347 bool canSaveAs() native;
4348
4324 void closeWindow() native; 4349 void closeWindow() native;
4325 4350
4326 void copyText(String text) native; 4351 void copyText(String text) native;
4327 4352
4328 void disconnectFromBackend() native;
4329
4330 String hiddenPanels() native; 4353 String hiddenPanels() native;
4331 4354
4332 void inspectedURLChanged(String newURL) native; 4355 void inspectedURLChanged(String newURL) native;
4333 4356
4357 String loadResourceSynchronously(String url) native;
4358
4334 void loaded() native; 4359 void loaded() native;
4335 4360
4336 String localizedStringsURL() native; 4361 String localizedStringsURL() native;
4337 4362
4338 void moveWindowBy(num x, num y) native; 4363 void moveWindowBy(num x, num y) native;
4339 4364
4340 String platform() native; 4365 String platform() native;
4341 4366
4342 String port() native; 4367 String port() native;
4343 4368
4344 void recordActionTaken(int actionCode) native; 4369 void recordActionTaken(int actionCode) native;
4345 4370
4346 void recordPanelShown(int panelCode) native; 4371 void recordPanelShown(int panelCode) native;
4347 4372
4348 void recordSettingChanged(int settingChanged) native; 4373 void recordSettingChanged(int settingChanged) native;
4349 4374
4350 void requestAttachWindow() native; 4375 void requestAttachWindow() native;
4351 4376
4352 void requestDetachWindow() native; 4377 void requestDetachWindow() native;
4353 4378
4354 void saveAs(String fileName, String content) native; 4379 void saveAs(String fileName, String content) native;
4355 4380
4356 void sendMessageToBackend(String message) native; 4381 void sendMessageToBackend(String message) native;
4357 4382
4358 void setAttachedWindowHeight(int height) native; 4383 void setAttachedWindowHeight(int height) native;
4359 4384
4360 void setExtensionAPI(String script) native; 4385 void setInjectedScriptForOrigin(String origin, String script) native;
4361 4386
4362 void showContextMenu(MouseEvent event, Object items) native; 4387 void showContextMenu(MouseEvent event, Object items) native;
4363 4388
4364 var dartObjectLocalStorage; 4389 var dartObjectLocalStorage;
4365 4390
4366 String get typeName() native; 4391 String get typeName() native;
4367 } 4392 }
4368 4393
4369 class Int16Array extends ArrayBufferView implements List<int> native "*Int16Arra y" { 4394 class Int16Array extends ArrayBufferView implements List<int> native "*Int16Arra y" {
4370 4395
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
4505 String pathname; 4530 String pathname;
4506 4531
4507 String port; 4532 String port;
4508 4533
4509 String protocol; 4534 String protocol;
4510 4535
4511 String search; 4536 String search;
4512 4537
4513 void assign(String url) native; 4538 void assign(String url) native;
4514 4539
4515 String getParameter(String name) native;
4516
4517 void reload() native; 4540 void reload() native;
4518 4541
4519 void replace(String url) native; 4542 void replace(String url) native;
4520 4543
4521 String toString() native; 4544 String toString() native;
4522 4545
4523 var dartObjectLocalStorage; 4546 var dartObjectLocalStorage;
4524 4547
4525 String get typeName() native; 4548 String get typeName() native;
4526 } 4549 }
4527 4550
4528 class LowPass2FilterNode extends AudioNode native "*LowPass2FilterNode" { 4551 class LowPass2FilterNode extends AudioNode native "*LowPass2FilterNode" {
4529 4552
4530 AudioParam cutoff; 4553 AudioParam cutoff;
4531 4554
4532 AudioParam resonance; 4555 AudioParam resonance;
4533 } 4556 }
4534 4557
4558 class MediaController native "*MediaController" {
4559
4560 TimeRanges buffered;
4561
4562 num currentTime;
4563
4564 num defaultPlaybackRate;
4565
4566 num duration;
4567
4568 bool muted;
4569
4570 bool paused;
4571
4572 num playbackRate;
4573
4574 TimeRanges played;
4575
4576 TimeRanges seekable;
4577
4578 num volume;
4579
4580 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4581
4582 bool dispatchEvent(Event evt) native;
4583
4584 void pause() native;
4585
4586 void play() native;
4587
4588 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4589
4590 var dartObjectLocalStorage;
4591
4592 String get typeName() native;
4593 }
4594
4535 class MediaElementAudioSourceNode extends AudioSourceNode native "*MediaElementA udioSourceNode" { 4595 class MediaElementAudioSourceNode extends AudioSourceNode native "*MediaElementA udioSourceNode" {
4536 4596
4537 HTMLMediaElement mediaElement; 4597 HTMLMediaElement mediaElement;
4538 } 4598 }
4539 4599
4540 class MediaError native "*MediaError" { 4600 class MediaError native "*MediaError" {
4541 4601
4542 static final int MEDIA_ERR_ABORTED = 1; 4602 static final int MEDIA_ERR_ABORTED = 1;
4543 4603
4544 static final int MEDIA_ERR_DECODE = 3; 4604 static final int MEDIA_ERR_DECODE = 3;
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
4697 EventTarget relatedTarget; 4757 EventTarget relatedTarget;
4698 4758
4699 int screenX; 4759 int screenX;
4700 4760
4701 int screenY; 4761 int screenY;
4702 4762
4703 bool shiftKey; 4763 bool shiftKey;
4704 4764
4705 Node toElement; 4765 Node toElement;
4706 4766
4767 int webkitMovementX;
4768
4769 int webkitMovementY;
4770
4707 int x; 4771 int x;
4708 4772
4709 int y; 4773 int y;
4710 4774
4711 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; 4775 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;
4712 } 4776 }
4713 4777
4714 class MutationCallback native "*MutationCallback" { 4778 class MutationCallback native "*MutationCallback" {
4715 4779
4716 var dartObjectLocalStorage; 4780 var dartObjectLocalStorage;
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
4824 String vendor; 4888 String vendor;
4825 4889
4826 String vendorSub; 4890 String vendorSub;
4827 4891
4828 void getStorageUpdates() native; 4892 void getStorageUpdates() native;
4829 4893
4830 bool javaEnabled() native; 4894 bool javaEnabled() native;
4831 4895
4832 void registerProtocolHandler(String scheme, String url, String title) native; 4896 void registerProtocolHandler(String scheme, String url, String title) native;
4833 4897
4834 void webkitGetUserMedia(String options, NavigatorUserMediaSuccessCallback succ essCallback, [NavigatorUserMediaErrorCallback errorCallback = null]) native;
4835
4836 var dartObjectLocalStorage; 4898 var dartObjectLocalStorage;
4837 4899
4838 String get typeName() native; 4900 String get typeName() native;
4839 }
4840
4841 class NavigatorUserMediaError native "*NavigatorUserMediaError" {
4842
4843 static final int PERMISSION_DENIED = 1;
4844
4845 int code;
4846
4847 var dartObjectLocalStorage;
4848
4849 String get typeName() native;
4850 }
4851
4852 class NavigatorUserMediaSuccessCallback native "*NavigatorUserMediaSuccessCallba ck" {
4853
4854 var dartObjectLocalStorage;
4855
4856 String get typeName() native;
4857 } 4901 }
4858 4902
4859 class Node native "Node" { 4903 class Node native "Node" {
4860 4904
4861 static final int ATTRIBUTE_NODE = 2; 4905 static final int ATTRIBUTE_NODE = 2;
4862 4906
4863 static final int CDATA_SECTION_NODE = 4; 4907 static final int CDATA_SECTION_NODE = 4;
4864 4908
4865 static final int COMMENT_NODE = 8; 4909 static final int COMMENT_NODE = 8;
4866 4910
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
5169 5213
5170 static final int HORIZONTAL = 0; 5214 static final int HORIZONTAL = 0;
5171 5215
5172 static final int VERTICAL = 1; 5216 static final int VERTICAL = 1;
5173 5217
5174 bool horizontalOverflow; 5218 bool horizontalOverflow;
5175 5219
5176 int orient; 5220 int orient;
5177 5221
5178 bool verticalOverflow; 5222 bool verticalOverflow;
5179
5180 void initOverflowEvent(int orient, bool horizontalOverflow, bool verticalOverf low) native;
5181 } 5223 }
5182 5224
5183 class PageTransitionEvent extends Event native "*PageTransitionEvent" { 5225 class PageTransitionEvent extends Event native "*PageTransitionEvent" {
5184 5226
5185 bool persisted; 5227 bool persisted;
5186
5187 void initPageTransitionEvent(String typeArg, bool canBubbleArg, bool cancelabl eArg, bool persisted) native;
5188 } 5228 }
5189 5229
5190 class Performance native "*Performance" { 5230 class Performance native "*Performance" {
5191 5231
5192 MemoryInfo memory; 5232 MemoryInfo memory;
5193 5233
5194 PerformanceNavigation navigation; 5234 PerformanceNavigation navigation;
5195 5235
5196 PerformanceTiming timing; 5236 PerformanceTiming timing;
5197 5237
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
5261 5301
5262 int unloadEventEnd; 5302 int unloadEventEnd;
5263 5303
5264 int unloadEventStart; 5304 int unloadEventStart;
5265 5305
5266 var dartObjectLocalStorage; 5306 var dartObjectLocalStorage;
5267 5307
5268 String get typeName() native; 5308 String get typeName() native;
5269 } 5309 }
5270 5310
5311 class PointerLock native "*PointerLock" {
5312
5313 bool isLocked() native;
5314
5315 void lock(Element target, [VoidCallback successCallback = null, VoidCallback f ailureCallback = null]) native;
5316
5317 void unlock() native;
5318
5319 var dartObjectLocalStorage;
5320
5321 String get typeName() native;
5322 }
5323
5271 class PopStateEvent extends Event native "*PopStateEvent" { 5324 class PopStateEvent extends Event native "*PopStateEvent" {
5272 5325
5273 Object state; 5326 Object state;
5274
5275 void initPopStateEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Object stateArg) native;
5276 } 5327 }
5277 5328
5278 class PositionError native "*PositionError" { 5329 class PositionError native "*PositionError" {
5279 5330
5280 static final int PERMISSION_DENIED = 1; 5331 static final int PERMISSION_DENIED = 1;
5281 5332
5282 static final int POSITION_UNAVAILABLE = 2; 5333 static final int POSITION_UNAVAILABLE = 2;
5283 5334
5284 static final int TIMEOUT = 3; 5335 static final int TIMEOUT = 3;
5285 5336
(...skipping 15 matching lines...) Expand all
5301 String target; 5352 String target;
5302 } 5353 }
5303 5354
5304 class ProgressEvent extends Event native "*ProgressEvent" { 5355 class ProgressEvent extends Event native "*ProgressEvent" {
5305 5356
5306 bool lengthComputable; 5357 bool lengthComputable;
5307 5358
5308 int loaded; 5359 int loaded;
5309 5360
5310 int total; 5361 int total;
5311
5312 void initProgressEvent(String typeArg, bool canBubbleArg, bool cancelableArg, bool lengthComputableArg, int loadedArg, int totalArg) native;
5313 } 5362 }
5314 5363
5315 class RGBColor native "*RGBColor" { 5364 class RGBColor native "*RGBColor" {
5316 5365
5317 CSSPrimitiveValue blue; 5366 CSSPrimitiveValue blue;
5318 5367
5319 CSSPrimitiveValue green; 5368 CSSPrimitiveValue green;
5320 5369
5321 CSSPrimitiveValue red; 5370 CSSPrimitiveValue red;
5322 5371
(...skipping 3854 matching lines...) Expand 10 before | Expand all | Expand 10 after
9177 9226
9178 num width; 9227 num width;
9179 9228
9180 var dartObjectLocalStorage; 9229 var dartObjectLocalStorage;
9181 9230
9182 String get typeName() native; 9231 String get typeName() native;
9183 } 9232 }
9184 9233
9185 class TextTrack native "*TextTrack" { 9234 class TextTrack native "*TextTrack" {
9186 9235
9187 static final int Disabled = 0; 9236 static final int DISABLED = 0;
9188 9237
9189 static final int Error = 3; 9238 static final int HIDDEN = 1;
9190 9239
9191 static final int Hidden = 1; 9240 static final int SHOWING = 2;
9192
9193 static final int Loaded = 2;
9194
9195 static final int Loading = 1;
9196
9197 static final int None = 0;
9198
9199 static final int Showing = 2;
9200 9241
9201 TextTrackCueList activeCues; 9242 TextTrackCueList activeCues;
9202 9243
9203 TextTrackCueList cues; 9244 TextTrackCueList cues;
9204 9245
9205 String kind; 9246 String kind;
9206 9247
9207 String label; 9248 String label;
9208 9249
9209 String language; 9250 String language;
9210 9251
9211 int mode; 9252 int mode;
9212 9253
9213 int readyState; 9254 EventListener oncuechange;
9214 9255
9215 void addCue(TextTrackCue cue) native; 9256 void addCue(TextTrackCue cue) native;
9216 9257
9258 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
9259
9260 bool dispatchEvent(Event evt) native;
9261
9217 void removeCue(TextTrackCue cue) native; 9262 void removeCue(TextTrackCue cue) native;
9218 9263
9264 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
9265
9219 var dartObjectLocalStorage; 9266 var dartObjectLocalStorage;
9220 9267
9221 String get typeName() native; 9268 String get typeName() native;
9222 } 9269 }
9223 9270
9224 class TextTrackCue native "*TextTrackCue" { 9271 class TextTrackCue native "*TextTrackCue" {
9225 9272
9226 String alignment; 9273 String alignment;
9227 9274
9228 String direction; 9275 String direction;
9229 9276
9230 num endTime; 9277 num endTime;
9231 9278
9232 String id; 9279 String id;
9233 9280
9234 int linePosition; 9281 int linePosition;
9235 9282
9283 EventListener onenter;
9284
9285 EventListener onexit;
9286
9236 bool pauseOnExit; 9287 bool pauseOnExit;
9237 9288
9238 int size; 9289 int size;
9239 9290
9240 bool snapToLines; 9291 bool snapToLines;
9241 9292
9242 num startTime; 9293 num startTime;
9243 9294
9244 int textPosition; 9295 int textPosition;
9245 9296
9246 TextTrack track; 9297 TextTrack track;
9247 9298
9299 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
9300
9301 bool dispatchEvent(Event evt) native;
9302
9248 DocumentFragment getCueAsHTML() native; 9303 DocumentFragment getCueAsHTML() native;
9249 9304
9250 String getCueAsSource() native; 9305 String getCueAsSource() native;
9251 9306
9307 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
9308
9252 var dartObjectLocalStorage; 9309 var dartObjectLocalStorage;
9253 9310
9254 String get typeName() native; 9311 String get typeName() native;
9255 } 9312 }
9256 9313
9257 class TextTrackCueList native "*TextTrackCueList" { 9314 class TextTrackCueList native "*TextTrackCueList" {
9258 9315
9259 int length; 9316 int length;
9260 9317
9261 TextTrackCue getCueById(String id) native; 9318 TextTrackCue getCueById(String id) native;
9262 9319
9263 TextTrackCue item(int index) native; 9320 TextTrackCue item(int index) native;
9264 9321
9265 var dartObjectLocalStorage; 9322 var dartObjectLocalStorage;
9266 9323
9267 String get typeName() native; 9324 String get typeName() native;
9268 } 9325 }
9269 9326
9327 class TextTrackList native "*TextTrackList" {
9328
9329 int length;
9330
9331 EventListener onaddtrack;
9332
9333 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
9334
9335 bool dispatchEvent(Event evt) native;
9336
9337 TextTrack item(int index) native;
9338
9339 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
9340
9341 var dartObjectLocalStorage;
9342
9343 String get typeName() native;
9344 }
9345
9270 class TimeRanges native "*TimeRanges" { 9346 class TimeRanges native "*TimeRanges" {
9271 9347
9272 int length; 9348 int length;
9273 9349
9274 num end(int index) native; 9350 num end(int index) native;
9275 9351
9276 num start(int index) native; 9352 num start(int index) native;
9277 9353
9278 var dartObjectLocalStorage; 9354 var dartObjectLocalStorage;
9279 9355
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
9340 throw new UnsupportedOperationException("Cannot assign element of immutable List."); 9416 throw new UnsupportedOperationException("Cannot assign element of immutable List.");
9341 } 9417 }
9342 9418
9343 Touch item(int index) native; 9419 Touch item(int index) native;
9344 9420
9345 var dartObjectLocalStorage; 9421 var dartObjectLocalStorage;
9346 9422
9347 String get typeName() native; 9423 String get typeName() native;
9348 } 9424 }
9349 9425
9426 class TrackEvent extends Event native "*TrackEvent" {
9427
9428 Object track;
9429 }
9430
9350 class TreeWalker native "*TreeWalker" { 9431 class TreeWalker native "*TreeWalker" {
9351 9432
9352 Node currentNode; 9433 Node currentNode;
9353 9434
9354 bool expandEntityReferences; 9435 bool expandEntityReferences;
9355 9436
9356 NodeFilter filter; 9437 NodeFilter filter;
9357 9438
9358 Node root; 9439 Node root;
9359 9440
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
9507 String get typeName() native; 9588 String get typeName() native;
9508 } 9589 }
9509 9590
9510 class WebGLBuffer native "*WebGLBuffer" { 9591 class WebGLBuffer native "*WebGLBuffer" {
9511 9592
9512 var dartObjectLocalStorage; 9593 var dartObjectLocalStorage;
9513 9594
9514 String get typeName() native; 9595 String get typeName() native;
9515 } 9596 }
9516 9597
9598 class WebGLCompressedTextures native "*WebGLCompressedTextures" {
9599
9600 static final int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02;
9601
9602 static final int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
9603
9604 static final int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3;
9605
9606 static final int COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00;
9607
9608 static final int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0;
9609
9610 static final int ETC1_RGB8_OES = 0x8D64;
9611
9612 void compressedTexImage2D(int target, int level, int internalformat, int width , int height, int border, ArrayBufferView data) native;
9613
9614 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, ArrayBufferView data) native;
9615
9616 var dartObjectLocalStorage;
9617
9618 String get typeName() native;
9619 }
9620
9517 class WebGLContextAttributes native "*WebGLContextAttributes" { 9621 class WebGLContextAttributes native "*WebGLContextAttributes" {
9518 9622
9519 bool alpha; 9623 bool alpha;
9520 9624
9521 bool antialias; 9625 bool antialias;
9522 9626
9523 bool depth; 9627 bool depth;
9524 9628
9525 bool premultipliedAlpha; 9629 bool premultipliedAlpha;
9526 9630
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
9558 String get typeName() native; 9662 String get typeName() native;
9559 } 9663 }
9560 9664
9561 class WebGLFramebuffer native "*WebGLFramebuffer" { 9665 class WebGLFramebuffer native "*WebGLFramebuffer" {
9562 9666
9563 var dartObjectLocalStorage; 9667 var dartObjectLocalStorage;
9564 9668
9565 String get typeName() native; 9669 String get typeName() native;
9566 } 9670 }
9567 9671
9672 class WebGLLoseContext native "*WebGLLoseContext" {
9673
9674 void loseContext() native;
9675
9676 void restoreContext() native;
9677
9678 var dartObjectLocalStorage;
9679
9680 String get typeName() native;
9681 }
9682
9568 class WebGLProgram native "*WebGLProgram" { 9683 class WebGLProgram native "*WebGLProgram" {
9569 9684
9570 var dartObjectLocalStorage; 9685 var dartObjectLocalStorage;
9571 9686
9572 String get typeName() native; 9687 String get typeName() native;
9573 } 9688 }
9574 9689
9575 class WebGLRenderbuffer native "*WebGLRenderbuffer" { 9690 class WebGLRenderbuffer native "*WebGLRenderbuffer" {
9576 9691
9577 var dartObjectLocalStorage; 9692 var dartObjectLocalStorage;
(...skipping 963 matching lines...) Expand 10 before | Expand all | Expand 10 after
10541 10656
10542 Blob getBlob([String contentType = null]) native; 10657 Blob getBlob([String contentType = null]) native;
10543 10658
10544 var dartObjectLocalStorage; 10659 var dartObjectLocalStorage;
10545 10660
10546 String get typeName() native; 10661 String get typeName() native;
10547 } 10662 }
10548 10663
10549 class WebKitCSSFilterValue extends CSSValueList native "*WebKitCSSFilterValue" { 10664 class WebKitCSSFilterValue extends CSSValueList native "*WebKitCSSFilterValue" {
10550 10665
10551 static final int CSS_FILTER_BLUR = 9; 10666 static final int CSS_FILTER_BLUR = 10;
10667
10668 static final int CSS_FILTER_BRIGHTNESS = 8;
10669
10670 static final int CSS_FILTER_CONTRAST = 9;
10552 10671
10553 static final int CSS_FILTER_DROP_SHADOW = 11; 10672 static final int CSS_FILTER_DROP_SHADOW = 11;
10554 10673
10555 static final int CSS_FILTER_GAMMA = 8;
10556
10557 static final int CSS_FILTER_GRAYSCALE = 2; 10674 static final int CSS_FILTER_GRAYSCALE = 2;
10558 10675
10559 static final int CSS_FILTER_HUE_ROTATE = 5; 10676 static final int CSS_FILTER_HUE_ROTATE = 5;
10560 10677
10561 static final int CSS_FILTER_INVERT = 6; 10678 static final int CSS_FILTER_INVERT = 6;
10562 10679
10563 static final int CSS_FILTER_OPACITY = 7; 10680 static final int CSS_FILTER_OPACITY = 7;
10564 10681
10565 static final int CSS_FILTER_REFERENCE = 1; 10682 static final int CSS_FILTER_REFERENCE = 1;
10566 10683
10567 static final int CSS_FILTER_SATURATE = 4; 10684 static final int CSS_FILTER_SATURATE = 4;
10568 10685
10569 static final int CSS_FILTER_SEPIA = 3; 10686 static final int CSS_FILTER_SEPIA = 3;
10570 10687
10571 static final int CSS_FILTER_SHARPEN = 10;
10572
10573 int operationType; 10688 int operationType;
10574 } 10689 }
10575 10690
10576 class WebKitCSSKeyframeRule extends CSSRule native "*WebKitCSSKeyframeRule" { 10691 class WebKitCSSKeyframeRule extends CSSRule native "*WebKitCSSKeyframeRule" {
10577 10692
10578 String keyText; 10693 String keyText;
10579 10694
10580 CSSStyleDeclaration style; 10695 CSSStyleDeclaration style;
10581 } 10696 }
10582 10697
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
10717 10832
10718 bool create; 10833 bool create;
10719 10834
10720 bool exclusive; 10835 bool exclusive;
10721 10836
10722 var dartObjectLocalStorage; 10837 var dartObjectLocalStorage;
10723 10838
10724 String get typeName() native; 10839 String get typeName() native;
10725 } 10840 }
10726 10841
10727 class WebKitLoseContext native "*WebKitLoseContext" {
10728
10729 void loseContext() native;
10730
10731 void restoreContext() native;
10732
10733 var dartObjectLocalStorage;
10734
10735 String get typeName() native;
10736 }
10737
10738 class WebKitMutationObserver native "*WebKitMutationObserver" { 10842 class WebKitMutationObserver native "*WebKitMutationObserver" {
10739 10843
10740 void disconnect() native; 10844 void disconnect() native;
10741 10845
10742 var dartObjectLocalStorage; 10846 var dartObjectLocalStorage;
10743 10847
10848 String get typeName() native;
10849 }
10850
10851 class WebKitNamedFlow native "*WebKitNamedFlow" {
10852
10853 var dartObjectLocalStorage;
10854
10744 String get typeName() native; 10855 String get typeName() native;
10745 } 10856 }
10746 10857
10747 class WebKitPoint native "*WebKitPoint" { 10858 class WebKitPoint native "*WebKitPoint" {
10748 WebKitPoint(num x, num y) native; 10859 WebKitPoint(num x, num y) native;
10749 10860
10750 10861
10751 num x; 10862 num x;
10752 10863
10753 num y; 10864 num y;
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
10858 static final int TEMPORARY = 0; 10969 static final int TEMPORARY = 0;
10859 10970
10860 WorkerLocation location; 10971 WorkerLocation location;
10861 10972
10862 WorkerNavigator navigator; 10973 WorkerNavigator navigator;
10863 10974
10864 EventListener onerror; 10975 EventListener onerror;
10865 10976
10866 WorkerContext self; 10977 WorkerContext self;
10867 10978
10979 IDBFactory webkitIndexedDB;
10980
10868 NotificationCenter webkitNotifications; 10981 NotificationCenter webkitNotifications;
10869 10982
10870 DOMURL webkitURL; 10983 DOMURL webkitURL;
10871 10984
10872 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 10985 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
10873 10986
10874 void clearInterval(int handle) native; 10987 void clearInterval(int handle) native;
10875 10988
10876 void clearTimeout(int handle) native; 10989 void clearTimeout(int handle) native;
10877 10990
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
11232 11345
11233 // WARNING: Do not edit - generated code. 11346 // WARNING: Do not edit - generated code.
11234 11347
11235 typedef bool MetadataCallback(Metadata metadata); 11348 typedef bool MetadataCallback(Metadata metadata);
11236 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 11349 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11237 // for details. All rights reserved. Use of this source code is governed by a 11350 // for details. All rights reserved. Use of this source code is governed by a
11238 // BSD-style license that can be found in the LICENSE file. 11351 // BSD-style license that can be found in the LICENSE file.
11239 11352
11240 // WARNING: Do not edit - generated code. 11353 // WARNING: Do not edit - generated code.
11241 11354
11242 typedef bool NavigatorUserMediaErrorCallback(NavigatorUserMediaError error);
11243 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11244 // for details. All rights reserved. Use of this source code is governed by a
11245 // BSD-style license that can be found in the LICENSE file.
11246
11247 // WARNING: Do not edit - generated code.
11248
11249 typedef bool PositionCallback(Geoposition position); 11355 typedef bool PositionCallback(Geoposition position);
11250 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 11356 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11251 // for details. All rights reserved. Use of this source code is governed by a 11357 // for details. All rights reserved. Use of this source code is governed by a
11252 // BSD-style license that can be found in the LICENSE file. 11358 // BSD-style license that can be found in the LICENSE file.
11253 11359
11254 // WARNING: Do not edit - generated code. 11360 // WARNING: Do not edit - generated code.
11255 11361
11256 typedef bool PositionErrorCallback(PositionError error); 11362 typedef bool PositionErrorCallback(PositionError error);
11257 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 11363 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11258 // for details. All rights reserved. Use of this source code is governed by a 11364 // for details. All rights reserved. Use of this source code is governed by a
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after
11995 startIndex = a.length - 1; 12101 startIndex = a.length - 1;
11996 } 12102 }
11997 for (int i = startIndex; i >= 0; i--) { 12103 for (int i = startIndex; i >= 0; i--) {
11998 if (a[i] == element) { 12104 if (a[i] == element) {
11999 return i; 12105 return i;
12000 } 12106 }
12001 } 12107 }
12002 return -1; 12108 return -1;
12003 } 12109 }
12004 } 12110 }
OLDNEW
« no previous file with comments | « client/dom/dom_frog.dart ('k') | client/dom/generated/monkey_dom.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698