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

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

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