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

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

Issue 8591026: Roll DOM APIs forward on IDL & update Frog DOM (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Switch frog to pull dart/client/dom/frog/frog_dom.dart. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | client/dom/frog/frog_dom.js » ('j') | client/dom/frog/frog_dom.js » ('J')
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('frog_dom.js');
3 // 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
4 // 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
5 // BSD-style license that can be found in the LICENSE file. 6 // BSD-style license that can be found in the LICENSE file.
6 7
7 // DO NOT EDIT 8 // DO NOT EDIT
8 // Auto-generated Dart DOM library. 9 // Auto-generated Dart DOM library.
9 10
10 #native("frog_dom.js"); 11
11 12
12 13
13 class Window extends DOMWindow {} 14 class Window extends DOMWindow {}
14 Window window; 15 Window window;
15 Document document; 16 HTMLDocument document;
16 17
17 class AbstractWorker native "AbstractWorker" { 18 class AbstractWorker native "AbstractWorker" {
18 19
19 EventListener onerror; 20 EventListener onerror;
20 21
21 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 22 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
22 23
23 bool dispatchEvent(Event evt) native; 24 bool dispatchEvent(Event evt) native;
24 25
25 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 26 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
26 27
27 var dartObjectLocalStorage; 28 var dartObjectLocalStorage;
28 29
29 String get typeName() native; 30 String get typeName() native;
30 } 31 }
31 32
32 class ArrayBuffer native "ArrayBuffer" { 33 class ArrayBuffer native "ArrayBuffer" {
33 34
34 int byteLength; 35 int byteLength;
35 36
37 ArrayBuffer slice(int begin, [int end = null]) native;
38
36 var dartObjectLocalStorage; 39 var dartObjectLocalStorage;
37 40
38 String get typeName() native; 41 String get typeName() native;
39 } 42 }
40 43
41 class ArrayBufferView native "ArrayBufferView" { 44 class ArrayBufferView native "ArrayBufferView" {
42 45
43 ArrayBuffer buffer; 46 ArrayBuffer buffer;
44 47
45 int byteLength; 48 int byteLength;
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 268
266 String get typeName() native; 269 String get typeName() native;
267 } 270 }
268 271
269 class CanvasPixelArray native "CanvasPixelArray" { 272 class CanvasPixelArray native "CanvasPixelArray" {
270 273
271 int length; 274 int length;
272 275
273 int operator[](int index) native; 276 int operator[](int index) native;
274 277
275 void operator[]=(int index, int value) native;
276
277 int item(int index) native; 278 int item(int index) native;
278 279
279 var dartObjectLocalStorage; 280 var dartObjectLocalStorage;
280 281
281 String get typeName() native; 282 String get typeName() native;
282 } 283 }
283 284
284 class CanvasRenderingContext native "CanvasRenderingContext" { 285 class CanvasRenderingContext native "CanvasRenderingContext" {
285 286
286 HTMLCanvasElement canvas; 287 HTMLCanvasElement canvas;
287 288
288 var dartObjectLocalStorage; 289 var dartObjectLocalStorage;
289 290
290 String get typeName() native; 291 String get typeName() native;
291 } 292 }
292 293
293 class CanvasRenderingContext2D extends CanvasRenderingContext native "CanvasRend eringContext2D" { 294 class CanvasRenderingContext2D extends CanvasRenderingContext native "CanvasRend eringContext2D" {
294 295
295 // TODO(vsm): Auto-generate these two fields.
296 var fillStyle;
297 var strokeStyle;
298
299 String font; 296 String font;
300 297
301 num globalAlpha; 298 num globalAlpha;
302 299
303 String globalCompositeOperation; 300 String globalCompositeOperation;
304 301
305 String lineCap; 302 String lineCap;
306 303
307 String lineJoin; 304 String lineJoin;
308 305
309 num lineWidth; 306 num lineWidth;
310 307
311 num miterLimit; 308 num miterLimit;
312 309
313 num shadowBlur; 310 num shadowBlur;
314 311
315 String shadowColor; 312 String shadowColor;
316 313
317 num shadowOffsetX; 314 num shadowOffsetX;
318 315
319 num shadowOffsetY; 316 num shadowOffsetY;
320 317
321 String textAlign; 318 String textAlign;
322 319
323 String textBaseline; 320 String textBaseline;
324 321
322 List webkitLineDash;
323
324 num webkitLineDashOffset;
325
325 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise) native; 326 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise) native;
326 327
327 void arcTo(num x1, num y1, num x2, num y2, num radius) native; 328 void arcTo(num x1, num y1, num x2, num y2, num radius) native;
328 329
329 void beginPath() native; 330 void beginPath() native;
330 331
331 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) nativ e; 332 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) nativ e;
332 333
333 void clearRect(num x, num y, num width, num height) native; 334 void clearRect(num x, num y, num width, num height) native;
334 335
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 void save() native; 380 void save() native;
380 381
381 void scale(num sx, num sy) native; 382 void scale(num sx, num sy) native;
382 383
383 void setAlpha(num alpha) native; 384 void setAlpha(num alpha) native;
384 385
385 void setCompositeOperation(String compositeOperation) native; 386 void setCompositeOperation(String compositeOperation) native;
386 387
387 void setFillColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m = nul l, num b_OR_y = null, num a_OR_k = null, num a = null]) native; 388 void setFillColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m = nul l, num b_OR_y = null, num a_OR_k = null, num a = null]) native;
388 389
389 // TODO(vsm): Auto-generate this method.
390 void setFillStyle(var color_OR_gradient_OR_pattern) {
391 this.fillStyle = color_OR_gradient_OR_pattern;
392 }
393
394 void setLineCap(String cap) native; 390 void setLineCap(String cap) native;
395 391
396 void setLineJoin(String join) native; 392 void setLineJoin(String join) native;
397 393
398 void setLineWidth(num width) native; 394 void setLineWidth(num width) native;
399 395
400 void setMiterLimit(num limit) native; 396 void setMiterLimit(num limit) native;
401 397
402 void setShadow(num width, num height, num blur, [var c_OR_color_OR_grayLevel_O R_r = null, num alpha_OR_g_OR_m = null, num b_OR_y = null, num a_OR_k = null, nu m a = null]) native; 398 void setShadow(num width, num height, num blur, [var c_OR_color_OR_grayLevel_O R_r = null, num alpha_OR_g_OR_m = null, num b_OR_y = null, num a_OR_k = null, nu m a = null]) native;
403 399
404 void setStrokeColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m = n ull, num b_OR_y = null, num a_OR_k = null, num a = null]) native; 400 void setStrokeColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m = n ull, num b_OR_y = null, num a_OR_k = null, num a = null]) native;
405 401
406 // TODO(vsm): Auto-generate this method.
407 void setStrokeStyle(var color_OR_gradient_OR_pattern) {
408 this.strokeStyle = color_OR_gradient_OR_pattern;
409 }
410
411 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy) native; 402 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy) native;
412 403
413 void stroke() native; 404 void stroke() native;
414 405
415 void strokeRect(num x, num y, num width, num height, [num lineWidth = null]) n ative; 406 void strokeRect(num x, num y, num width, num height, [num lineWidth = null]) n ative;
416 407
417 void strokeText(String text, num x, num y, [num maxWidth = null]) native; 408 void strokeText(String text, num x, num y, [num maxWidth = null]) native;
418 409
419 void transform(num m11, num m12, num m21, num m22, num dx, num dy) native; 410 void transform(num m11, num m12, num m21, num m22, num dx, num dy) native;
420 411
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 } 460 }
470 461
471 class Clipboard native "Clipboard" { 462 class Clipboard native "Clipboard" {
472 463
473 String dropEffect; 464 String dropEffect;
474 465
475 String effectAllowed; 466 String effectAllowed;
476 467
477 FileList files; 468 FileList files;
478 469
479 DataTransferItems items; 470 DataTransferItemList items;
471
472 List types;
480 473
481 void clearData([String type = null]) native; 474 void clearData([String type = null]) native;
482 475
483 void getData(String type) native; 476 void getData(String type) native;
484 477
485 bool setData(String type, String data) native; 478 bool setData(String type, String data) native;
486 479
487 void setDragImage(HTMLImageElement image, int x, int y) native; 480 void setDragImage(HTMLImageElement image, int x, int y) native;
488 481
489 var dartObjectLocalStorage; 482 var dartObjectLocalStorage;
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 String get typeName() native; 591 String get typeName() native;
599 } 592 }
600 593
601 class CustomEvent extends Event native "CustomEvent" { 594 class CustomEvent extends Event native "CustomEvent" {
602 595
603 Object detail; 596 Object detail;
604 597
605 void initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Ob ject detailArg) native; 598 void initCustomEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Ob ject detailArg) native;
606 } 599 }
607 600
608 // This type name can't be refered to, so we signal that with an empty string. 601 class DOMApplicationCache native "DOMApplicationCache" {
609 class DOMApplicationCache native "" {
610 602
611 EventListener oncached; 603 EventListener oncached;
612 604
613 EventListener onchecking; 605 EventListener onchecking;
614 606
615 EventListener ondownloading; 607 EventListener ondownloading;
616 608
617 EventListener onerror; 609 EventListener onerror;
618 610
619 EventListener onnoupdate; 611 EventListener onnoupdate;
(...skipping 22 matching lines...) Expand all
642 } 634 }
643 635
644 class DOMException native "DOMException" { 636 class DOMException native "DOMException" {
645 637
646 int code; 638 int code;
647 639
648 String message; 640 String message;
649 641
650 String name; 642 String name;
651 643
644 String toString() native;
645
652 var dartObjectLocalStorage; 646 var dartObjectLocalStorage;
653 647
654 String get typeName() native; 648 String get typeName() native;
655 } 649 }
656 650
657 class DOMFileSystem native "DOMFileSystem" { 651 class DOMFileSystem native "DOMFileSystem" {
658 652
659 String name; 653 String name;
660 654
661 DirectoryEntry root; 655 DirectoryEntry root;
662 656
663 var dartObjectLocalStorage; 657 var dartObjectLocalStorage;
664 658
665 String get typeName() native; 659 String get typeName() native;
666 } 660 }
667 661
668 class DOMFileSystemSync native "DOMFileSystemSync" { 662 class DOMFileSystemSync native "DOMFileSystemSync" {
669 663
670 String name; 664 String name;
671 665
672 DirectoryEntrySync root; 666 DirectoryEntrySync root;
673 667
674 var dartObjectLocalStorage; 668 var dartObjectLocalStorage;
675 669
676 String get typeName() native; 670 String get typeName() native;
677 } 671 }
678 672
679 class DOMFormData native "DOMFormData" { 673 class DOMFormData native "DOMFormData" {
680 674
681 void append(String name, String value) native; 675 void append(String name, String value, String filename) native;
682 676
683 var dartObjectLocalStorage; 677 var dartObjectLocalStorage;
684 678
685 String get typeName() native; 679 String get typeName() native;
686 } 680 }
687 681
688 class DOMImplementation native "DOMImplementation" { 682 class DOMImplementation native "DOMImplementation" {
689 683
690 CSSStyleSheet createCSSStyleSheet(String title, String media) native; 684 CSSStyleSheet createCSSStyleSheet(String title, String media) native;
691 685
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
818 void modify(String alter, String direction, String granularity) native; 812 void modify(String alter, String direction, String granularity) native;
819 813
820 void removeAllRanges() native; 814 void removeAllRanges() native;
821 815
822 void selectAllChildren(Node node) native; 816 void selectAllChildren(Node node) native;
823 817
824 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte ntOffset) native; 818 void setBaseAndExtent(Node baseNode, int baseOffset, Node extentNode, int exte ntOffset) native;
825 819
826 void setPosition(Node node, int offset) native; 820 void setPosition(Node node, int offset) native;
827 821
822 String toString() native;
823
828 var dartObjectLocalStorage; 824 var dartObjectLocalStorage;
829 825
830 String get typeName() native; 826 String get typeName() native;
831 } 827 }
832 828
833 class DOMSettableTokenList extends DOMTokenList native "DOMSettableTokenList" { 829 class DOMSettableTokenList extends DOMTokenList native "DOMSettableTokenList" {
834 830
835 String value; 831 String value;
836 } 832 }
837 833
838 class DOMTokenList native "DOMTokenList" { 834 class DOMTokenList native "DOMTokenList" {
839 835
840 int length; 836 int length;
841 837
842 void add(String token) native; 838 void add(String token) native;
843 839
844 bool contains(String token) native; 840 bool contains(String token) native;
845 841
846 String item(int index) native; 842 String item(int index) native;
847 843
848 void remove(String token) native; 844 void remove(String token) native;
849 845
846 String toString() native;
847
850 bool toggle(String token) native; 848 bool toggle(String token) native;
851 849
852 var dartObjectLocalStorage; 850 var dartObjectLocalStorage;
853 851
854 String get typeName() native; 852 String get typeName() native;
855 } 853 }
856 854
857 class DOMURL native "DOMURL" { 855 class DOMURL native "DOMURL" {
858 856
859 String createObjectURL(Blob blob) native; 857 String createObjectURL(Blob blob) native;
(...skipping 12 matching lines...) Expand all
872 Navigator clientInformation; 870 Navigator clientInformation;
873 871
874 bool closed; 872 bool closed;
875 873
876 Console console; 874 Console console;
877 875
878 Crypto crypto; 876 Crypto crypto;
879 877
880 String defaultStatus; 878 String defaultStatus;
881 879
880 String defaultstatus;
881
882 num devicePixelRatio; 882 num devicePixelRatio;
883 883
884 Document document; 884 Document document;
885 885
886 Event event; 886 Event event;
887 887
888 Element frameElement; 888 Element frameElement;
889 889
890 DOMWindow frames; 890 DOMWindow frames;
891 891
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
1098 BarInfo statusbar; 1098 BarInfo statusbar;
1099 1099
1100 StyleMedia styleMedia; 1100 StyleMedia styleMedia;
1101 1101
1102 BarInfo toolbar; 1102 BarInfo toolbar;
1103 1103
1104 DOMWindow top; 1104 DOMWindow top;
1105 1105
1106 NotificationCenter webkitNotifications; 1106 NotificationCenter webkitNotifications;
1107 1107
1108 DOMURL webkitURL;
1109
1108 DOMWindow window; 1110 DOMWindow window;
1109 1111
1110 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 1112 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
1111 1113
1112 void alert(String message) native; 1114 void alert(String message) native;
1113 1115
1114 String atob(String string) native; 1116 String atob(String string) native;
1115 1117
1116 void blur() native; 1118 void blur() native;
1117 1119
1118 String btoa(String string) native; 1120 String btoa(String string) native;
1119 1121
1120 void captureEvents() native; 1122 void captureEvents() native;
1121 1123
1122 void clearInterval(int handle) native; 1124 void clearInterval(int handle) native;
1123 1125
1124 void clearTimeout(int handle) native; 1126 void clearTimeout(int handle) native;
1125 1127
1126 void close() native; 1128 void close() native;
1127 1129
1128 bool confirm(String message) native; 1130 bool confirm(String message) native;
1129 1131
1130 FileReader createFileReader() native;
1131
1132 WebKitCSSMatrix createWebKitCSSMatrix([String cssValue = null]) native;
1133
1134 WebKitPoint createWebKitPoint(num x, num y) native;
1135
1136 XMLHttpRequest createXMLHttpRequest() native;
1137
1138 bool dispatchEvent(Event evt) native; 1132 bool dispatchEvent(Event evt) native;
1139 1133
1140 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w holeWord, bool searchInFrames, bool showDialog) native; 1134 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w holeWord, bool searchInFrames, bool showDialog) native;
1141 1135
1142 void focus() native; 1136 void focus() native;
1143 1137
1144 CSSStyleDeclaration getComputedStyle(Element element, String pseudoElement) na tive; 1138 CSSStyleDeclaration getComputedStyle(Element element, String pseudoElement) na tive;
1145 1139
1140 CSSRuleList getMatchedCSSRules(Element element, String pseudoElement) native;
1141
1146 DOMSelection getSelection() native; 1142 DOMSelection getSelection() native;
1147 1143
1148 MediaQueryList matchMedia(String query) native; 1144 MediaQueryList matchMedia(String query) native;
1149 1145
1150 void moveBy(num x, num y) native; 1146 void moveBy(num x, num y) native;
1151 1147
1152 void moveTo(num x, num y) native; 1148 void moveTo(num x, num y) native;
1153 1149
1154 DOMWindow open(String url, String name, [String options = null]) native; 1150 DOMWindow open(String url, String name, [String options = null]) native;
1155 1151
1156 void postMessage(String message, var messagePort_OR_targetOrigin, [String targ etOrigin = null]) native; 1152 void postMessage(String message, var messagePorts_OR_targetOrigin, [String tar getOrigin = null]) native;
1157 1153
1158 void print() native; 1154 void print() native;
1159 1155
1160 String prompt(String message, String defaultValue) native; 1156 String prompt(String message, String defaultValue) native;
1161 1157
1162 void releaseEvents() native; 1158 void releaseEvents() native;
1163 1159
1164 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 1160 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
1165 1161
1166 void resizeBy(num x, num y) native; 1162 void resizeBy(num x, num y) native;
(...skipping 13 matching lines...) Expand all
1180 Object showModalDialog(String url, [Object dialogArgs = null, String featureAr gs = null]) native; 1176 Object showModalDialog(String url, [Object dialogArgs = null, String featureAr gs = null]) native;
1181 1177
1182 void stop() native; 1178 void stop() native;
1183 1179
1184 void webkitCancelRequestAnimationFrame(int id) native; 1180 void webkitCancelRequestAnimationFrame(int id) native;
1185 1181
1186 WebKitPoint webkitConvertPointFromNodeToPage(Node node, WebKitPoint p) native; 1182 WebKitPoint webkitConvertPointFromNodeToPage(Node node, WebKitPoint p) native;
1187 1183
1188 WebKitPoint webkitConvertPointFromPageToNode(Node node, WebKitPoint p) native; 1184 WebKitPoint webkitConvertPointFromPageToNode(Node node, WebKitPoint p) native;
1189 1185
1186 void webkitPostMessage(String message, var targetOrigin_OR_transferList, [Stri ng targetOrigin = null]) native;
1187
1190 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Elemen t element) native; 1188 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Elemen t element) native;
1191 1189
1192 var dartObjectLocalStorage; 1190 var dartObjectLocalStorage;
1193 1191
1194 String get typeName() native; 1192 String get typeName() native;
1195 } 1193 }
1196 1194
1197 class DataTransferItem native "DataTransferItem" { 1195 class DataTransferItem native "DataTransferItem" {
1198 1196
1199 String kind; 1197 String kind;
1200 1198
1201 String type; 1199 String type;
1202 1200
1203 Blob getAsFile() native; 1201 Blob getAsFile() native;
1204 1202
1205 void getAsString(StringCallback callback) native; 1203 void getAsString(StringCallback callback) native;
1206 1204
1207 var dartObjectLocalStorage; 1205 var dartObjectLocalStorage;
1208 1206
1209 String get typeName() native; 1207 String get typeName() native;
1210 } 1208 }
1211 1209
1212 class DataTransferItems native "DataTransferItems" { 1210 class DataTransferItemList native "DataTransferItemList" {
1213 1211
1214 int length; 1212 int length;
1215 1213
1216 void add(String data, String type) native; 1214 void add(String data, String type) native;
1217 1215
1218 void clear() native; 1216 void clear() native;
1219 1217
1220 DataTransferItem item(int index) native; 1218 DataTransferItem item(int index) native;
1221 1219
1222 var dartObjectLocalStorage; 1220 var dartObjectLocalStorage;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
1295 1293
1296 var dartObjectLocalStorage; 1294 var dartObjectLocalStorage;
1297 1295
1298 String get typeName() native; 1296 String get typeName() native;
1299 } 1297 }
1300 1298
1301 class DedicatedWorkerContext extends WorkerContext native "DedicatedWorkerContex t" { 1299 class DedicatedWorkerContext extends WorkerContext native "DedicatedWorkerContex t" {
1302 1300
1303 EventListener onmessage; 1301 EventListener onmessage;
1304 1302
1305 void postMessage(Object message) native; 1303 void postMessage(Object message, [List messagePorts = null]) native;
1306 1304
1307 void webkitPostMessage(Object message) native; 1305 void webkitPostMessage(Object message, [List transferList = null]) native;
1308 } 1306 }
1309 1307
1310 class DeviceMotionEvent extends Event native "DeviceMotionEvent" { 1308 class DeviceMotionEvent extends Event native "DeviceMotionEvent" {
1311 1309
1312 num interval; 1310 num interval;
1313 } 1311 }
1314 1312
1315 class DeviceOrientationEvent extends Event native "DeviceOrientationEvent" { 1313 class DeviceOrientationEvent extends Event native "DeviceOrientationEvent" {
1316 1314
1317 num alpha; 1315 num alpha;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
1400 HTMLCollection images; 1398 HTMLCollection images;
1401 1399
1402 DOMImplementation implementation; 1400 DOMImplementation implementation;
1403 1401
1404 String inputEncoding; 1402 String inputEncoding;
1405 1403
1406 String lastModified; 1404 String lastModified;
1407 1405
1408 HTMLCollection links; 1406 HTMLCollection links;
1409 1407
1408 Location location;
1409
1410 EventListener onabort; 1410 EventListener onabort;
1411 1411
1412 EventListener onbeforecopy; 1412 EventListener onbeforecopy;
1413 1413
1414 EventListener onbeforecut; 1414 EventListener onbeforecut;
1415 1415
1416 EventListener onbeforepaste; 1416 EventListener onbeforepaste;
1417 1417
1418 EventListener onblur; 1418 EventListener onblur;
1419 1419
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
1524 Node adoptNode(Node source) native; 1524 Node adoptNode(Node source) native;
1525 1525
1526 Range caretRangeFromPoint(int x, int y) native; 1526 Range caretRangeFromPoint(int x, int y) native;
1527 1527
1528 Attr createAttribute(String name) native; 1528 Attr createAttribute(String name) native;
1529 1529
1530 Attr createAttributeNS(String namespaceURI, String qualifiedName) native; 1530 Attr createAttributeNS(String namespaceURI, String qualifiedName) native;
1531 1531
1532 CDATASection createCDATASection(String data) native; 1532 CDATASection createCDATASection(String data) native;
1533 1533
1534 CSSStyleDeclaration createCSSStyleDeclaration() native;
1535
1536 Comment createComment(String data) native; 1534 Comment createComment(String data) native;
1537 1535
1538 DocumentFragment createDocumentFragment() native; 1536 DocumentFragment createDocumentFragment() native;
1539 1537
1540 Element createElement(String tagName) native; 1538 Element createElement(String tagName) native;
1541 1539
1542 Element createElementNS(String namespaceURI, String qualifiedName) native; 1540 Element createElementNS(String namespaceURI, String qualifiedName) native;
1543 1541
1544 EntityReference createEntityReference(String name) native; 1542 EntityReference createEntityReference(String name) native;
1545 1543
1546 Event createEvent(String eventType) native; 1544 Event createEvent(String eventType) native;
1547 1545
1546 XPathExpression createExpression(String expression, XPathNSResolver resolver) native;
1547
1548 XPathNSResolver createNSResolver(Node nodeResolver) native;
1549
1548 NodeIterator createNodeIterator(Node root, int whatToShow, NodeFilter filter, bool expandEntityReferences) native; 1550 NodeIterator createNodeIterator(Node root, int whatToShow, NodeFilter filter, bool expandEntityReferences) native;
1549 1551
1550 ProcessingInstruction createProcessingInstruction(String target, String data) native; 1552 ProcessingInstruction createProcessingInstruction(String target, String data) native;
1551 1553
1552 Range createRange() native; 1554 Range createRange() native;
1553 1555
1554 Text createTextNode(String data) native; 1556 Text createTextNode(String data) native;
1555 1557
1556 TreeWalker createTreeWalker(Node root, int whatToShow, NodeFilter filter, bool expandEntityReferences) native; 1558 TreeWalker createTreeWalker(Node root, int whatToShow, NodeFilter filter, bool expandEntityReferences) native;
1557 1559
1558 Element elementFromPoint(int x, int y) native; 1560 Element elementFromPoint(int x, int y) native;
1559 1561
1562 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso lver, int type, XPathResult inResult) native;
1563
1560 bool execCommand(String command, bool userInterface, String value) native; 1564 bool execCommand(String command, bool userInterface, String value) native;
1561 1565
1562 Object getCSSCanvasContext(String contextId, String name, int width, int heigh t) native; 1566 Object getCSSCanvasContext(String contextId, String name, int width, int heigh t) native;
1563 1567
1564 Element getElementById(String elementId) native; 1568 Element getElementById(String elementId) native;
1565 1569
1566 NodeList getElementsByClassName(String tagname) native; 1570 NodeList getElementsByClassName(String tagname) native;
1567 1571
1568 NodeList getElementsByName(String elementName) native; 1572 NodeList getElementsByName(String elementName) native;
1569 1573
1570 NodeList getElementsByTagName(String tagname) native; 1574 NodeList getElementsByTagName(String tagname) native;
1571 1575
1572 NodeList getElementsByTagNameNS(String namespaceURI, String localName) native; 1576 NodeList getElementsByTagNameNS(String namespaceURI, String localName) native;
1573 1577
1574 CSSStyleDeclaration getOverrideStyle(Element element, String pseudoElement) na tive; 1578 CSSStyleDeclaration getOverrideStyle(Element element, String pseudoElement) na tive;
1575 1579
1580 DOMSelection getSelection() native;
1581
1576 Node importNode(Node importedNode, bool deep) native; 1582 Node importNode(Node importedNode, bool deep) native;
1577 1583
1578 bool queryCommandEnabled(String command) native; 1584 bool queryCommandEnabled(String command) native;
1579 1585
1580 bool queryCommandIndeterm(String command) native; 1586 bool queryCommandIndeterm(String command) native;
1581 1587
1582 bool queryCommandState(String command) native; 1588 bool queryCommandState(String command) native;
1583 1589
1584 bool queryCommandSupported(String command) native; 1590 bool queryCommandSupported(String command) native;
1585 1591
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
1945 } 1951 }
1946 1952
1947 class Event native "Event" { 1953 class Event native "Event" {
1948 1954
1949 bool bubbles; 1955 bool bubbles;
1950 1956
1951 bool cancelBubble; 1957 bool cancelBubble;
1952 1958
1953 bool cancelable; 1959 bool cancelable;
1954 1960
1961 Clipboard clipboardData;
1962
1955 EventTarget currentTarget; 1963 EventTarget currentTarget;
1956 1964
1957 bool defaultPrevented; 1965 bool defaultPrevented;
1958 1966
1959 int eventPhase; 1967 int eventPhase;
1960 1968
1961 bool returnValue; 1969 bool returnValue;
1962 1970
1963 EventTarget srcElement; 1971 EventTarget srcElement;
1964 1972
(...skipping 17 matching lines...) Expand all
1982 } 1990 }
1983 1991
1984 class EventException native "EventException" { 1992 class EventException native "EventException" {
1985 1993
1986 int code; 1994 int code;
1987 1995
1988 String message; 1996 String message;
1989 1997
1990 String name; 1998 String name;
1991 1999
2000 String toString() native;
2001
1992 var dartObjectLocalStorage; 2002 var dartObjectLocalStorage;
1993 2003
1994 String get typeName() native; 2004 String get typeName() native;
1995 } 2005 }
1996 2006
1997 class EventSource native "EventSource" { 2007 class EventSource native "EventSource" {
1998 2008
1999 String URL; 2009 String URL;
2000 2010
2001 EventListener onerror; 2011 EventListener onerror;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
2076 } 2086 }
2077 2087
2078 class FileException native "FileException" { 2088 class FileException native "FileException" {
2079 2089
2080 int code; 2090 int code;
2081 2091
2082 String message; 2092 String message;
2083 2093
2084 String name; 2094 String name;
2085 2095
2096 String toString() native;
2097
2086 var dartObjectLocalStorage; 2098 var dartObjectLocalStorage;
2087 2099
2088 String get typeName() native; 2100 String get typeName() native;
2089 } 2101 }
2090 2102
2091 class FileList native "FileList" { 2103 class FileList native "FileList" {
2092 2104
2093 int length; 2105 int length;
2094 2106
2095 File item(int index) native; 2107 File item(int index) native;
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
2312 2324
2313 String shape; 2325 String shape;
2314 2326
2315 String target; 2327 String target;
2316 2328
2317 String text; 2329 String text;
2318 2330
2319 String type; 2331 String type;
2320 2332
2321 String getParameter(String name) native; 2333 String getParameter(String name) native;
2334
2335 String toString() native;
2322 } 2336 }
2323 2337
2324 class HTMLAppletElement extends HTMLElement native "HTMLAppletElement" { 2338 class HTMLAppletElement extends HTMLElement native "HTMLAppletElement" {
2325 2339
2326 String align; 2340 String align;
2327 2341
2328 String alt; 2342 String alt;
2329 2343
2330 String archive; 2344 String archive;
2331 2345
2332 String code; 2346 String code;
2333 2347
2334 String codeBase; 2348 String codeBase;
2335 2349
2336 String height; 2350 String height;
2337 2351
2338 int hspace; 2352 String hspace;
2339 2353
2340 String name; 2354 String name;
2341 2355
2342 String object; 2356 String object;
2343 2357
2344 int vspace; 2358 String vspace;
2345 2359
2346 String width; 2360 String width;
2347 } 2361 }
2348 2362
2349 class HTMLAreaElement extends HTMLElement native "HTMLAreaElement" { 2363 class HTMLAreaElement extends HTMLElement native "HTMLAreaElement" {
2350 2364
2351 String accessKey; 2365 String accessKey;
2352 2366
2353 String alt; 2367 String alt;
2354 2368
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
2537 2551
2538 String align; 2552 String align;
2539 } 2553 }
2540 2554
2541 class HTMLDocument extends Document native "HTMLDocument" { 2555 class HTMLDocument extends Document native "HTMLDocument" {
2542 2556
2543 Element activeElement; 2557 Element activeElement;
2544 2558
2545 String alinkColor; 2559 String alinkColor;
2546 2560
2561 HTMLAllCollection all;
2562
2547 String bgColor; 2563 String bgColor;
2548 2564
2549 String compatMode; 2565 String compatMode;
2550 2566
2551 String designMode; 2567 String designMode;
2552 2568
2553 String dir; 2569 String dir;
2554 2570
2555 HTMLCollection embeds; 2571 HTMLCollection embeds;
2556 2572
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
2602 bool hidden; 2618 bool hidden;
2603 2619
2604 String id; 2620 String id;
2605 2621
2606 String innerHTML; 2622 String innerHTML;
2607 2623
2608 String innerText; 2624 String innerText;
2609 2625
2610 bool isContentEditable; 2626 bool isContentEditable;
2611 2627
2628 String itemId;
2629
2630 DOMSettableTokenList itemProp;
2631
2632 DOMSettableTokenList itemRef;
2633
2634 bool itemScope;
2635
2636 DOMSettableTokenList itemType;
2637
2638 Object itemValue;
2639
2612 String lang; 2640 String lang;
2613 2641
2614 String outerHTML; 2642 String outerHTML;
2615 2643
2616 String outerText; 2644 String outerText;
2617 2645
2618 bool spellcheck; 2646 bool spellcheck;
2619 2647
2620 int tabIndex; 2648 int tabIndex;
2621 2649
2622 String title; 2650 String title;
2623 2651
2624 String webkitdropzone; 2652 String webkitdropzone;
2625 2653
2626 Element insertAdjacentElement(String where, Element element) native; 2654 Element insertAdjacentElement(String where, Element element) native;
2627 2655
2628 void insertAdjacentHTML(String where, String html) native; 2656 void insertAdjacentHTML(String where, String html) native;
2629 2657
2630 void insertAdjacentText(String where, String text) native; 2658 void insertAdjacentText(String where, String text) native;
2631 } 2659 }
2632 2660
2633 class HTMLEmbedElement extends HTMLElement native "HTMLEmbedElement" { 2661 class HTMLEmbedElement extends HTMLElement native "HTMLEmbedElement" {
2634 2662
2635 String align; 2663 String align;
2636 2664
2637 int height; 2665 String height;
2638 2666
2639 String name; 2667 String name;
2640 2668
2641 String src; 2669 String src;
2642 2670
2643 String type; 2671 String type;
2644 2672
2645 int width; 2673 String width;
2646 } 2674 }
2647 2675
2648 class HTMLFieldSetElement extends HTMLElement native "HTMLFieldSetElement" { 2676 class HTMLFieldSetElement extends HTMLElement native "HTMLFieldSetElement" {
2649 2677
2650 HTMLFormElement form; 2678 HTMLFormElement form;
2651 2679
2652 String validationMessage; 2680 String validationMessage;
2653 2681
2654 ValidityState validity; 2682 ValidityState validity;
2655 2683
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
2965 bool checkValidity() native; 2993 bool checkValidity() native;
2966 2994
2967 void click() native; 2995 void click() native;
2968 2996
2969 void select() native; 2997 void select() native;
2970 2998
2971 void setCustomValidity(String error) native; 2999 void setCustomValidity(String error) native;
2972 3000
2973 void setSelectionRange(int start, int end, [String direction = null]) native; 3001 void setSelectionRange(int start, int end, [String direction = null]) native;
2974 3002
2975 void setValueForUser(String value) native;
2976
2977 void stepDown([int n = null]) native; 3003 void stepDown([int n = null]) native;
2978 3004
2979 void stepUp([int n = null]) native; 3005 void stepUp([int n = null]) native;
2980 } 3006 }
2981 3007
2982 class HTMLIsIndexElement extends HTMLInputElement native "HTMLIsIndexElement" { 3008 class HTMLIsIndexElement extends HTMLInputElement native "HTMLIsIndexElement" {
2983 3009
2984 HTMLFormElement form; 3010 HTMLFormElement form;
2985 3011
2986 String prompt; 3012 String prompt;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
3053 String hreflang; 3079 String hreflang;
3054 3080
3055 String media; 3081 String media;
3056 3082
3057 String rel; 3083 String rel;
3058 3084
3059 String rev; 3085 String rev;
3060 3086
3061 StyleSheet sheet; 3087 StyleSheet sheet;
3062 3088
3089 DOMSettableTokenList sizes;
3090
3063 String target; 3091 String target;
3064 3092
3065 String type; 3093 String type;
3066 } 3094 }
3067 3095
3068 class HTMLMapElement extends HTMLElement native "HTMLMapElement" { 3096 class HTMLMapElement extends HTMLElement native "HTMLMapElement" {
3069 3097
3070 HTMLCollection areas; 3098 HTMLCollection areas;
3071 3099
3072 String name; 3100 String name;
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
3427 bool willValidate; 3455 bool willValidate;
3428 3456
3429 void add(HTMLElement element, HTMLElement before) native; 3457 void add(HTMLElement element, HTMLElement before) native;
3430 3458
3431 bool checkValidity() native; 3459 bool checkValidity() native;
3432 3460
3433 Node item(int index) native; 3461 Node item(int index) native;
3434 3462
3435 Node namedItem(String name) native; 3463 Node namedItem(String name) native;
3436 3464
3437 void remove(int index) native; 3465 void remove(var index_OR_option) native;
3438 3466
3439 void setCustomValidity(String error) native; 3467 void setCustomValidity(String error) native;
3440 } 3468 }
3441 3469
3442 class HTMLSourceElement extends HTMLElement native "HTMLSourceElement" { 3470 class HTMLSourceElement extends HTMLElement native "HTMLSourceElement" {
3443 3471
3444 String media; 3472 String media;
3445 3473
3446 String src; 3474 String src;
3447 3475
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
3668 3696
3669 bool isDefault; 3697 bool isDefault;
3670 3698
3671 String kind; 3699 String kind;
3672 3700
3673 String label; 3701 String label;
3674 3702
3675 String src; 3703 String src;
3676 3704
3677 String srclang; 3705 String srclang;
3706
3707 TextTrack track;
3678 } 3708 }
3679 3709
3680 class HTMLUListElement extends HTMLElement native "HTMLUListElement" { 3710 class HTMLUListElement extends HTMLElement native "HTMLUListElement" {
3681 3711
3682 bool compact; 3712 bool compact;
3683 3713
3684 String type; 3714 String type;
3685 } 3715 }
3686 3716
3687 class HTMLUnknownElement extends HTMLElement native "HTMLUnknownElement" { 3717 class HTMLUnknownElement extends HTMLElement native "HTMLUnknownElement" {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
3767 3797
3768 IDBRequest update(String value) native; 3798 IDBRequest update(String value) native;
3769 3799
3770 var dartObjectLocalStorage; 3800 var dartObjectLocalStorage;
3771 3801
3772 String get typeName() native; 3802 String get typeName() native;
3773 } 3803 }
3774 3804
3775 class IDBCursorWithValue extends IDBCursor native "IDBCursorWithValue" { 3805 class IDBCursorWithValue extends IDBCursor native "IDBCursorWithValue" {
3776 3806
3777 String value; 3807 IDBAny value;
3778 } 3808 }
3779 3809
3780 class IDBDatabase native "IDBDatabase" { 3810 class IDBDatabase native "IDBDatabase" {
3781 3811
3782 String name; 3812 String name;
3783 3813
3784 EventListener onabort; 3814 EventListener onabort;
3785 3815
3786 EventListener onerror; 3816 EventListener onerror;
3787 3817
3788 EventListener onversionchange; 3818 EventListener onversionchange;
3789 3819
3790 String version; 3820 String version;
3791 3821
3792 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 3822 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
3793 3823
3794 void close() native; 3824 void close() native;
3795 3825
3796 IDBObjectStore createObjectStore(String name) native; 3826 IDBObjectStore createObjectStore(String name) native;
3797 3827
3798 void deleteObjectStore(String name) native; 3828 void deleteObjectStore(String name) native;
3799 3829
3800 bool dispatchEvent(Event evt) native; 3830 bool dispatchEvent(Event evt) native;
3801 3831
3802 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 3832 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
3803 3833
3804 IDBVersionChangeRequest setVersion(String version) native; 3834 IDBVersionChangeRequest setVersion(String version) native;
3805 3835
3836 IDBTransaction transaction(String storeName, int mode) native;
3837
3806 var dartObjectLocalStorage; 3838 var dartObjectLocalStorage;
3807 3839
3808 String get typeName() native; 3840 String get typeName() native;
3809 } 3841 }
3810 3842
3811 class IDBDatabaseError native "IDBDatabaseError" { 3843 class IDBDatabaseError native "IDBDatabaseError" {
3812 3844
3813 int code; 3845 int code;
3814 3846
3815 String message; 3847 String message;
3816 3848
3817 var dartObjectLocalStorage; 3849 var dartObjectLocalStorage;
3818 3850
3819 String get typeName() native; 3851 String get typeName() native;
3820 } 3852 }
3821 3853
3822 class IDBDatabaseException native "IDBDatabaseException" { 3854 class IDBDatabaseException native "IDBDatabaseException" {
3823 3855
3824 int code; 3856 int code;
3825 3857
3826 String message; 3858 String message;
3827 3859
3828 String name; 3860 String name;
3829 3861
3862 String toString() native;
3863
3830 var dartObjectLocalStorage; 3864 var dartObjectLocalStorage;
3831 3865
3832 String get typeName() native; 3866 String get typeName() native;
3833 } 3867 }
3834 3868
3835 class IDBFactory native "IDBFactory" { 3869 class IDBFactory native "IDBFactory" {
3836 3870
3871 int cmp(IDBKey first, IDBKey second) native;
3872
3873 IDBVersionChangeRequest deleteDatabase(String name) native;
3874
3837 IDBRequest getDatabaseNames() native; 3875 IDBRequest getDatabaseNames() native;
3838 3876
3839 IDBRequest open(String name) native; 3877 IDBRequest open(String name) native;
3840 3878
3841 var dartObjectLocalStorage; 3879 var dartObjectLocalStorage;
3842 3880
3843 String get typeName() native; 3881 String get typeName() native;
3844 } 3882 }
3845 3883
3846 class IDBIndex native "IDBIndex" { 3884 class IDBIndex native "IDBIndex" {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
3895 3933
3896 String get typeName() native; 3934 String get typeName() native;
3897 } 3935 }
3898 3936
3899 class IDBObjectStore native "IDBObjectStore" { 3937 class IDBObjectStore native "IDBObjectStore" {
3900 3938
3901 String keyPath; 3939 String keyPath;
3902 3940
3903 String name; 3941 String name;
3904 3942
3905 // TODO(vsm): Disabling this by hand. For the playground app, the 3943 IDBTransaction transaction;
3906 // generated code is trying to modify the prototype of this type 3944
3907 // even though it is not available. This needs to be handled by 3945 IDBRequest add(String value, [IDBKey key = null]) native;
3908 // some combination of lazy patching, Object/base type patching,
3909 // and/or caller side dispatch
3910 // IDBRequest add(String value, [IDBKey key = null]) native;
3911 3946
3912 IDBRequest clear() native; 3947 IDBRequest clear() native;
3913 3948
3914 IDBIndex createIndex(String name, String keyPath) native; 3949 IDBIndex createIndex(String name, String keyPath) native;
3915 3950
3916 IDBRequest delete(IDBKey key) native; 3951 IDBRequest delete(IDBKey key) native;
3917 3952
3918 void deleteIndex(String name) native; 3953 void deleteIndex(String name) native;
3919 3954
3920 IDBRequest getObject(IDBKey key) native; 3955 IDBRequest getObject(IDBKey key) native;
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
4109 class JavaScriptCallFrame native "JavaScriptCallFrame" { 4144 class JavaScriptCallFrame native "JavaScriptCallFrame" {
4110 4145
4111 JavaScriptCallFrame caller; 4146 JavaScriptCallFrame caller;
4112 4147
4113 int column; 4148 int column;
4114 4149
4115 String functionName; 4150 String functionName;
4116 4151
4117 int line; 4152 int line;
4118 4153
4154 List scopeChain;
4155
4119 int sourceID; 4156 int sourceID;
4120 4157
4121 String type; 4158 String type;
4122 4159
4123 void evaluate(String script) native; 4160 void evaluate(String script) native;
4124 4161
4125 int scopeType(int scopeIndex) native; 4162 int scopeType(int scopeIndex) native;
4126 4163
4127 var dartObjectLocalStorage; 4164 var dartObjectLocalStorage;
4128 4165
4129 String get typeName() native; 4166 String get typeName() native;
4130 } 4167 }
4131 4168
4132 class KeyboardEvent extends UIEvent native "KeyboardEvent" { 4169 class KeyboardEvent extends UIEvent native "KeyboardEvent" {
4133 4170
4134 bool altGraphKey; 4171 bool altGraphKey;
4135 4172
4136 bool altKey; 4173 bool altKey;
4137 4174
4138 bool ctrlKey; 4175 bool ctrlKey;
4139 4176
4140 String keyIdentifier; 4177 String keyIdentifier;
4141 4178
4142 int keyLocation; 4179 int keyLocation;
4143 4180
4144 bool metaKey; 4181 bool metaKey;
4145 4182
4146 bool shiftKey; 4183 bool shiftKey;
4147 4184
4148 bool getModifierState(String keyIdentifierArg) native;
4149
4150 void initKeyboardEvent(String type, bool canBubble, bool cancelable, DOMWindow view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool sh iftKey, bool metaKey, bool altGraphKey) native; 4185 void initKeyboardEvent(String type, bool canBubble, bool cancelable, DOMWindow view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool sh iftKey, bool metaKey, bool altGraphKey) native;
4151 } 4186 }
4152 4187
4153 class LocalMediaStream extends MediaStream native "LocalMediaStream" {
4154
4155 void stop() native;
4156 }
4157
4158 class Location native "Location" { 4188 class Location native "Location" {
4159 4189
4160 String hash; 4190 String hash;
4161 4191
4162 String host; 4192 String host;
4163 4193
4164 String hostname; 4194 String hostname;
4165 4195
4166 String href; 4196 String href;
4167 4197
4168 String origin; 4198 String origin;
4169 4199
4170 String pathname; 4200 String pathname;
4171 4201
4172 String port; 4202 String port;
4173 4203
4174 String protocol; 4204 String protocol;
4175 4205
4176 String search; 4206 String search;
4177 4207
4178 void assign(String url) native; 4208 void assign(String url) native;
4179 4209
4180 String getParameter(String name) native; 4210 String getParameter(String name) native;
4181 4211
4182 void reload() native; 4212 void reload() native;
4183 4213
4184 void replace(String url) native; 4214 void replace(String url) native;
4185 4215
4216 String toString() native;
4217
4186 var dartObjectLocalStorage; 4218 var dartObjectLocalStorage;
4187 4219
4188 String get typeName() native; 4220 String get typeName() native;
4189 } 4221 }
4190 4222
4191 class MediaError native "MediaError" { 4223 class MediaError native "MediaError" {
4192 4224
4193 int code; 4225 int code;
4194 4226
4195 var dartObjectLocalStorage; 4227 var dartObjectLocalStorage;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
4233 4265
4234 class MediaQueryListListener native "MediaQueryListListener" { 4266 class MediaQueryListListener native "MediaQueryListListener" {
4235 4267
4236 void queryChanged(MediaQueryList list) native; 4268 void queryChanged(MediaQueryList list) native;
4237 4269
4238 var dartObjectLocalStorage; 4270 var dartObjectLocalStorage;
4239 4271
4240 String get typeName() native; 4272 String get typeName() native;
4241 } 4273 }
4242 4274
4243 class MediaStream native "MediaStream" {
4244
4245 String label;
4246
4247 EventListener onended;
4248
4249 int readyState;
4250
4251 MediaStreamTrackList tracks;
4252
4253 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4254
4255 bool dispatchEvent(Event event) native;
4256
4257 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4258
4259 var dartObjectLocalStorage;
4260
4261 String get typeName() native;
4262 }
4263
4264 class MediaStreamList native "MediaStreamList" {
4265
4266 int length;
4267
4268 MediaStream item(int index) native;
4269
4270 var dartObjectLocalStorage;
4271
4272 String get typeName() native;
4273 }
4274
4275 class MediaStreamTrack native "MediaStreamTrack" {
4276
4277 bool enabled;
4278
4279 String kind;
4280
4281 String label;
4282
4283 var dartObjectLocalStorage;
4284
4285 String get typeName() native;
4286 }
4287
4288 class MediaStreamTrackList native "MediaStreamTrackList" {
4289
4290 int length;
4291
4292 MediaStreamTrack item(int index) native;
4293
4294 var dartObjectLocalStorage;
4295
4296 String get typeName() native;
4297 }
4298
4299 class MemoryInfo native "MemoryInfo" { 4275 class MemoryInfo native "MemoryInfo" {
4300 4276
4301 int jsHeapSizeLimit; 4277 int jsHeapSizeLimit;
4302 4278
4303 int totalJSHeapSize; 4279 int totalJSHeapSize;
4304 4280
4305 int usedJSHeapSize; 4281 int usedJSHeapSize;
4306 4282
4307 var dartObjectLocalStorage; 4283 var dartObjectLocalStorage;
4308 4284
4309 String get typeName() native; 4285 String get typeName() native;
4310 } 4286 }
4311 4287
4312 class MessageChannel native "MessageChannel" { 4288 class MessageChannel native "MessageChannel" {
4313 4289
4314 MessagePort port1; 4290 MessagePort port1;
4315 4291
4316 MessagePort port2; 4292 MessagePort port2;
4317 4293
4318 var dartObjectLocalStorage; 4294 var dartObjectLocalStorage;
4319 4295
4320 String get typeName() native; 4296 String get typeName() native;
4321 } 4297 }
4322 4298
4323 class MessageEvent extends Event native "MessageEvent" { 4299 class MessageEvent extends Event native "MessageEvent" {
4324 4300
4325 String data; 4301 Object data;
4326 4302
4327 String lastEventId; 4303 String lastEventId;
4328 4304
4329 MessagePort messagePort; 4305 String origin;
4330 4306
4331 String origin; 4307 List ports;
4332 4308
4333 DOMWindow source; 4309 DOMWindow source;
4334 4310
4335 void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, S tring dataArg, String originArg, String lastEventIdArg, DOMWindow sourceArg, Mes sagePort messagePort) native; 4311 void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, O bject dataArg, String originArg, String lastEventIdArg, DOMWindow sourceArg, Lis t messagePorts) native;
4312
4313 void webkitInitMessageEvent(String typeArg, bool canBubbleArg, bool cancelable Arg, Object dataArg, String originArg, String lastEventIdArg, DOMWindow sourceAr g, List transferables) native;
4336 } 4314 }
4337 4315
4338 class MessagePort native "MessagePort" { 4316 class MessagePort native "MessagePort" {
4339 4317
4340 EventListener onmessage; 4318 EventListener onmessage;
4341 4319
4342 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4320 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4343 4321
4344 void close() native; 4322 void close() native;
4345 4323
4346 bool dispatchEvent(Event evt) native; 4324 bool dispatchEvent(Event evt) native;
4347 4325
4348 void postMessage(String message) native; 4326 void postMessage(String message, [List messagePorts = null]) native;
4349 4327
4350 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4328 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4351 4329
4352 void start() native; 4330 void start() native;
4353 4331
4354 void webkitPostMessage(String message) native; 4332 void webkitPostMessage(String message, [List transfer = null]) native;
4355 4333
4356 var dartObjectLocalStorage; 4334 var dartObjectLocalStorage;
4357 4335
4358 String get typeName() native; 4336 String get typeName() native;
4359 } 4337 }
4360 4338
4361 class Metadata native "Metadata" { 4339 class Metadata native "Metadata" {
4362 4340
4363 Date modificationTime; 4341 Date modificationTime;
4364 4342
(...skipping 16 matching lines...) Expand all
4381 bool altKey; 4359 bool altKey;
4382 4360
4383 int button; 4361 int button;
4384 4362
4385 int clientX; 4363 int clientX;
4386 4364
4387 int clientY; 4365 int clientY;
4388 4366
4389 bool ctrlKey; 4367 bool ctrlKey;
4390 4368
4369 Clipboard dataTransfer;
4370
4391 Node fromElement; 4371 Node fromElement;
4392 4372
4393 bool metaKey; 4373 bool metaKey;
4394 4374
4395 int offsetX; 4375 int offsetX;
4396 4376
4397 int offsetY; 4377 int offsetY;
4398 4378
4399 EventTarget relatedTarget; 4379 EventTarget relatedTarget;
4400 4380
4401 int screenX; 4381 int screenX;
4402 4382
4403 int screenY; 4383 int screenY;
4404 4384
4405 bool shiftKey; 4385 bool shiftKey;
4406 4386
4407 Node toElement; 4387 Node toElement;
4408 4388
4409 int x; 4389 int x;
4410 4390
4411 int y; 4391 int y;
4412 4392
4413 void initMouseEvent(String type, bool canBubble, bool cancelable, DOMWindow vi ew, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey , bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarge t) native; 4393 void initMouseEvent(String type, bool canBubble, bool cancelable, DOMWindow vi ew, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey , bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarge t) native;
4414 } 4394 }
4415 4395
4396 class MutationCallback native "MutationCallback" {
4397
4398 var dartObjectLocalStorage;
4399
4400 String get typeName() native;
4401 }
4402
4416 class MutationEvent extends Event native "MutationEvent" { 4403 class MutationEvent extends Event native "MutationEvent" {
4417 4404
4418 int attrChange; 4405 int attrChange;
4419 4406
4420 String attrName; 4407 String attrName;
4421 4408
4422 String newValue; 4409 String newValue;
4423 4410
4424 String prevValue; 4411 String prevValue;
4425 4412
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
4530 4517
4531 bool handleEvent(NavigatorUserMediaError error) native; 4518 bool handleEvent(NavigatorUserMediaError error) native;
4532 4519
4533 var dartObjectLocalStorage; 4520 var dartObjectLocalStorage;
4534 4521
4535 String get typeName() native; 4522 String get typeName() native;
4536 } 4523 }
4537 4524
4538 class NavigatorUserMediaSuccessCallback native "NavigatorUserMediaSuccessCallbac k" { 4525 class NavigatorUserMediaSuccessCallback native "NavigatorUserMediaSuccessCallbac k" {
4539 4526
4540 bool handleEvent(LocalMediaStream stream) native;
4541
4542 var dartObjectLocalStorage; 4527 var dartObjectLocalStorage;
4543 4528
4544 String get typeName() native; 4529 String get typeName() native;
4545 } 4530 }
4546 4531
4547 class Node native "Node" { 4532 class Node native "Node" {
4548 4533
4549 NamedNodeMap attributes; 4534 NamedNodeMap attributes;
4550 4535
4551 String baseURI; 4536 String baseURI;
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
4762 } 4747 }
4763 4748
4764 class OperationNotAllowedException native "OperationNotAllowedException" { 4749 class OperationNotAllowedException native "OperationNotAllowedException" {
4765 4750
4766 int code; 4751 int code;
4767 4752
4768 String message; 4753 String message;
4769 4754
4770 String name; 4755 String name;
4771 4756
4757 String toString() native;
4758
4772 var dartObjectLocalStorage; 4759 var dartObjectLocalStorage;
4773 4760
4774 String get typeName() native; 4761 String get typeName() native;
4775 } 4762 }
4776 4763
4777 class OverflowEvent extends Event native "OverflowEvent" { 4764 class OverflowEvent extends Event native "OverflowEvent" {
4778 4765
4779 bool horizontalOverflow; 4766 bool horizontalOverflow;
4780 4767
4781 int orient; 4768 int orient;
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
4916 4903
4917 int loaded; 4904 int loaded;
4918 4905
4919 int total; 4906 int total;
4920 4907
4921 void initProgressEvent(String typeArg, bool canBubbleArg, bool cancelableArg, bool lengthComputableArg, int loadedArg, int totalArg) native; 4908 void initProgressEvent(String typeArg, bool canBubbleArg, bool cancelableArg, bool lengthComputableArg, int loadedArg, int totalArg) native;
4922 } 4909 }
4923 4910
4924 class RGBColor native "RGBColor" { 4911 class RGBColor native "RGBColor" {
4925 4912
4926 CSSPrimitiveValue alpha;
4927
4928 CSSPrimitiveValue blue; 4913 CSSPrimitiveValue blue;
4929 4914
4930 CSSPrimitiveValue green; 4915 CSSPrimitiveValue green;
4931 4916
4932 CSSPrimitiveValue red; 4917 CSSPrimitiveValue red;
4933 4918
4934 var dartObjectLocalStorage; 4919 var dartObjectLocalStorage;
4935 4920
4936 String get typeName() native; 4921 String get typeName() native;
4937 } 4922 }
4938 4923
4939 class Range native "Range" { 4924 class Range native "Range" {
4940 4925
4941 bool collapsed; 4926 bool collapsed;
4942 4927
4943 Node commonAncestorContainer; 4928 Node commonAncestorContainer;
4944 4929
4945 Node endContainer; 4930 Node endContainer;
4946 4931
4947 int endOffset; 4932 int endOffset;
4948 4933
4949 Node startContainer; 4934 Node startContainer;
4950 4935
4951 int startOffset; 4936 int startOffset;
4952 4937
4953 String text;
4954
4955 DocumentFragment cloneContents() native; 4938 DocumentFragment cloneContents() native;
4956 4939
4957 Range cloneRange() native; 4940 Range cloneRange() native;
4958 4941
4959 void collapse(bool toStart) native; 4942 void collapse(bool toStart) native;
4960 4943
4961 int compareNode(Node refNode) native; 4944 int compareNode(Node refNode) native;
4962 4945
4963 int comparePoint(Node refNode, int offset) native; 4946 int comparePoint(Node refNode, int offset) native;
4964 4947
4965 DocumentFragment createContextualFragment(String html) native; 4948 DocumentFragment createContextualFragment(String html) native;
4966 4949
4967 void deleteContents() native; 4950 void deleteContents() native;
4968 4951
4969 void detach() native; 4952 void detach() native;
4970 4953
4971 void expand(String unit) native; 4954 void expand(String unit) native;
4972 4955
4973 DocumentFragment extractContents() native; 4956 DocumentFragment extractContents() native;
4974 4957
4958 ClientRect getBoundingClientRect() native;
4959
4960 ClientRectList getClientRects() native;
4961
4975 void insertNode(Node newNode) native; 4962 void insertNode(Node newNode) native;
4976 4963
4977 bool intersectsNode(Node refNode) native; 4964 bool intersectsNode(Node refNode) native;
4978 4965
4979 bool isPointInRange(Node refNode, int offset) native; 4966 bool isPointInRange(Node refNode, int offset) native;
4980 4967
4981 void selectNode(Node refNode) native; 4968 void selectNode(Node refNode) native;
4982 4969
4983 void selectNodeContents(Node refNode) native; 4970 void selectNodeContents(Node refNode) native;
4984 4971
(...skipping 19 matching lines...) Expand all
5004 } 4991 }
5005 4992
5006 class RangeException native "RangeException" { 4993 class RangeException native "RangeException" {
5007 4994
5008 int code; 4995 int code;
5009 4996
5010 String message; 4997 String message;
5011 4998
5012 String name; 4999 String name;
5013 5000
5001 String toString() native;
5002
5014 var dartObjectLocalStorage; 5003 var dartObjectLocalStorage;
5015 5004
5016 String get typeName() native; 5005 String get typeName() native;
5017 } 5006 }
5018 5007
5019 class Rect native "Rect" { 5008 class Rect native "Rect" {
5020 5009
5021 CSSPrimitiveValue bottom; 5010 CSSPrimitiveValue bottom;
5022 5011
5023 CSSPrimitiveValue left; 5012 CSSPrimitiveValue left;
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
5169 5158
5170 var dartObjectLocalStorage; 5159 var dartObjectLocalStorage;
5171 5160
5172 String get typeName() native; 5161 String get typeName() native;
5173 } 5162 }
5174 5163
5175 class ScriptProfileNode native "ScriptProfileNode" { 5164 class ScriptProfileNode native "ScriptProfileNode" {
5176 5165
5177 int callUID; 5166 int callUID;
5178 5167
5168 List children;
5169
5179 String functionName; 5170 String functionName;
5180 5171
5181 int lineNumber; 5172 int lineNumber;
5182 5173
5183 int numberOfCalls; 5174 int numberOfCalls;
5184 5175
5185 num selfTime; 5176 num selfTime;
5186 5177
5187 num totalTime; 5178 num totalTime;
5188 5179
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
5378 5369
5379 class TextMetrics native "TextMetrics" { 5370 class TextMetrics native "TextMetrics" {
5380 5371
5381 num width; 5372 num width;
5382 5373
5383 var dartObjectLocalStorage; 5374 var dartObjectLocalStorage;
5384 5375
5385 String get typeName() native; 5376 String get typeName() native;
5386 } 5377 }
5387 5378
5379 class TextTrack native "TextTrack" {
5380
5381 TextTrackCueList activeCues;
5382
5383 TextTrackCueList cues;
5384
5385 String kind;
5386
5387 String label;
5388
5389 String language;
5390
5391 int mode;
5392
5393 int readyState;
5394
5395 void addCue(TextTrackCue cue) native;
5396
5397 void removeCue(TextTrackCue cue) native;
5398
5399 var dartObjectLocalStorage;
5400
5401 String get typeName() native;
5402 }
5403
5404 class TextTrackCue native "TextTrackCue" {
5405
5406 String alignment;
5407
5408 String direction;
5409
5410 num endTime;
5411
5412 String id;
5413
5414 int linePosition;
5415
5416 bool pauseOnExit;
5417
5418 int size;
5419
5420 bool snapToLines;
5421
5422 num startTime;
5423
5424 int textPosition;
5425
5426 TextTrack track;
5427
5428 DocumentFragment getCueAsHTML() native;
5429
5430 String getCueAsSource() native;
5431
5432 var dartObjectLocalStorage;
5433
5434 String get typeName() native;
5435 }
5436
5437 class TextTrackCueList native "TextTrackCueList" {
5438
5439 int length;
5440
5441 TextTrackCue getCueById(String id) native;
5442
5443 TextTrackCue item(int index) native;
5444
5445 var dartObjectLocalStorage;
5446
5447 String get typeName() native;
5448 }
5449
5388 class TimeRanges native "TimeRanges" { 5450 class TimeRanges native "TimeRanges" {
5389 5451
5390 int length; 5452 int length;
5391 5453
5392 num end(int index) native; 5454 num end(int index) native;
5393 5455
5394 num start(int index) native; 5456 num start(int index) native;
5395 5457
5396 var dartObjectLocalStorage; 5458 var dartObjectLocalStorage;
5397 5459
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
5607 var dartObjectLocalStorage; 5669 var dartObjectLocalStorage;
5608 5670
5609 String get typeName() native; 5671 String get typeName() native;
5610 } 5672 }
5611 5673
5612 class WebGLContextEvent extends Event native "WebGLContextEvent" { 5674 class WebGLContextEvent extends Event native "WebGLContextEvent" {
5613 5675
5614 String statusMessage; 5676 String statusMessage;
5615 } 5677 }
5616 5678
5679 class WebGLDebugRendererInfo native "WebGLDebugRendererInfo" {
5680
5681 var dartObjectLocalStorage;
5682
5683 String get typeName() native;
5684 }
5685
5686 class WebGLDebugShaders native "WebGLDebugShaders" {
5687
5688 String getTranslatedShaderSource(WebGLShader shader) native;
5689
5690 var dartObjectLocalStorage;
5691
5692 String get typeName() native;
5693 }
5694
5617 class WebGLFramebuffer native "WebGLFramebuffer" { 5695 class WebGLFramebuffer native "WebGLFramebuffer" {
5618 5696
5619 var dartObjectLocalStorage; 5697 var dartObjectLocalStorage;
5620 5698
5621 String get typeName() native; 5699 String get typeName() native;
5622 } 5700 }
5623 5701
5624 class WebGLProgram native "WebGLProgram" { 5702 class WebGLProgram native "WebGLProgram" {
5625 5703
5626 var dartObjectLocalStorage; 5704 var dartObjectLocalStorage;
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
5991 6069
5992 void append(var blob_OR_value, [String endings = null]) native; 6070 void append(var blob_OR_value, [String endings = null]) native;
5993 6071
5994 Blob getBlob([String contentType = null]) native; 6072 Blob getBlob([String contentType = null]) native;
5995 6073
5996 var dartObjectLocalStorage; 6074 var dartObjectLocalStorage;
5997 6075
5998 String get typeName() native; 6076 String get typeName() native;
5999 } 6077 }
6000 6078
6079 class WebKitCSSFilterValue extends CSSValueList native "WebKitCSSFilterValue" {
6080
6081 int operationType;
6082 }
6083
6001 class WebKitCSSKeyframeRule extends CSSRule native "WebKitCSSKeyframeRule" { 6084 class WebKitCSSKeyframeRule extends CSSRule native "WebKitCSSKeyframeRule" {
6002 6085
6003 String keyText; 6086 String keyText;
6004 6087
6005 CSSStyleDeclaration style; 6088 CSSStyleDeclaration style;
6006 } 6089 }
6007 6090
6008 class WebKitCSSKeyframesRule extends CSSRule native "WebKitCSSKeyframesRule" { 6091 class WebKitCSSKeyframesRule extends CSSRule native "WebKitCSSKeyframesRule" {
6009 6092
6010 CSSRuleList cssRules; 6093 CSSRuleList cssRules;
6011 6094
6012 String name; 6095 String name;
6013 6096
6014 void deleteRule(String key) native; 6097 void deleteRule(String key) native;
6015 6098
6016 WebKitCSSKeyframeRule findRule(String key) native; 6099 WebKitCSSKeyframeRule findRule(String key) native;
6017 6100
6018 void insertRule(String rule) native; 6101 void insertRule(String rule) native;
6019 } 6102 }
6020 6103
6021 class WebKitCSSMatrix native "WebKitCSSMatrix" { 6104 class WebKitCSSMatrix native "WebKitCSSMatrix" {
6022 6105
6023 WebKitCSSMatrix([String spec]);
6024
6025 num a; 6106 num a;
6026 6107
6027 num b; 6108 num b;
6028 6109
6029 num c; 6110 num c;
6030 6111
6031 num d; 6112 num d;
6032 6113
6033 num e; 6114 num e;
6034 6115
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
6111 6192
6112 void loseContext() native; 6193 void loseContext() native;
6113 6194
6114 void restoreContext() native; 6195 void restoreContext() native;
6115 6196
6116 var dartObjectLocalStorage; 6197 var dartObjectLocalStorage;
6117 6198
6118 String get typeName() native; 6199 String get typeName() native;
6119 } 6200 }
6120 6201
6202 class WebKitMutationObserver native "WebKitMutationObserver" {
6203
6204 void disconnect() native;
6205
6206 var dartObjectLocalStorage;
6207
6208 String get typeName() native;
6209 }
6210
6121 class WebKitPoint native "WebKitPoint" { 6211 class WebKitPoint native "WebKitPoint" {
6122 WebKitPoint(num x, num y) native;
6123 6212
6124 num x; 6213 num x;
6125 6214
6126 num y; 6215 num y;
6127 6216
6128 var dartObjectLocalStorage; 6217 var dartObjectLocalStorage;
6129 6218
6130 String get typeName() native; 6219 String get typeName() native;
6131 } 6220 }
6132 6221
6133 class WebKitTransitionEvent extends Event native "WebKitTransitionEvent" { 6222 class WebKitTransitionEvent extends Event native "WebKitTransitionEvent" {
6134 6223
6135 num elapsedTime; 6224 num elapsedTime;
6136 6225
6137 String propertyName; 6226 String propertyName;
6138 6227
6139 void initWebKitTransitionEvent(String typeArg, bool canBubbleArg, bool cancela bleArg, String propertyNameArg, num elapsedTimeArg) native; 6228 void initWebKitTransitionEvent(String typeArg, bool canBubbleArg, bool cancela bleArg, String propertyNameArg, num elapsedTimeArg) native;
6140 } 6229 }
6141 6230
6142 class WebSocket native "WebSocket" { 6231 class WebSocket native "WebSocket" {
6143 6232
6144 String URL; 6233 String URL;
6145 6234
6146 String binaryType; 6235 String binaryType;
6147 6236
6148 int bufferedAmount; 6237 int bufferedAmount;
6149 6238
6239 String extensions;
6240
6150 EventListener onclose; 6241 EventListener onclose;
6151 6242
6152 EventListener onerror; 6243 EventListener onerror;
6153 6244
6154 EventListener onmessage; 6245 EventListener onmessage;
6155 6246
6156 EventListener onopen; 6247 EventListener onopen;
6157 6248
6158 String protocol; 6249 String protocol;
6159 6250
(...skipping 29 matching lines...) Expand all
6189 int offsetX; 6280 int offsetX;
6190 6281
6191 int offsetY; 6282 int offsetY;
6192 6283
6193 int screenX; 6284 int screenX;
6194 6285
6195 int screenY; 6286 int screenY;
6196 6287
6197 bool shiftKey; 6288 bool shiftKey;
6198 6289
6290 bool webkitDirectionInvertedFromDevice;
6291
6199 int wheelDelta; 6292 int wheelDelta;
6200 6293
6201 int wheelDeltaX; 6294 int wheelDeltaX;
6202 6295
6203 int wheelDeltaY; 6296 int wheelDeltaY;
6204 6297
6205 int x; 6298 int x;
6206 6299
6207 int y; 6300 int y;
6208 6301
6209 void initWheelEvent(int wheelDeltaX, int wheelDeltaY, DOMWindow view, int scre enX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shif tKey, bool metaKey) native; 6302 void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, DOMWindow view, in t screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, boo l shiftKey, bool metaKey) native;
6210 } 6303 }
6211 6304
6212 class Worker extends AbstractWorker native "Worker" { 6305 class Worker extends AbstractWorker native "Worker" {
6213 6306
6214 EventListener onmessage; 6307 EventListener onmessage;
6215 6308
6216 void postMessage(String message, [MessagePort messagePort = null]) native; 6309 void postMessage(String message, [List messagePorts = null]) native;
6217 6310
6218 void terminate() native; 6311 void terminate() native;
6312
6313 void webkitPostMessage(String message, [List messagePorts = null]) native;
6219 } 6314 }
6220 6315
6221 class WorkerContext native "WorkerContext" { 6316 class WorkerContext native "WorkerContext" {
6222 6317
6223 WorkerLocation location; 6318 WorkerLocation location;
6224 6319
6225 WorkerNavigator navigator; 6320 WorkerNavigator navigator;
6226 6321
6227 EventListener onerror; 6322 EventListener onerror;
6228 6323
6324 WorkerContext self;
6325
6229 NotificationCenter webkitNotifications; 6326 NotificationCenter webkitNotifications;
6230 6327
6231 DOMURL webkitURL; 6328 DOMURL webkitURL;
6232 6329
6233 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 6330 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
6234 6331
6235 void clearInterval(int handle) native; 6332 void clearInterval(int handle) native;
6236 6333
6237 void clearTimeout(int handle) native; 6334 void clearTimeout(int handle) native;
6238 6335
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
6332 void abort() native; 6429 void abort() native;
6333 6430
6334 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 6431 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
6335 6432
6336 bool dispatchEvent(Event evt) native; 6433 bool dispatchEvent(Event evt) native;
6337 6434
6338 String getAllResponseHeaders() native; 6435 String getAllResponseHeaders() native;
6339 6436
6340 String getResponseHeader(String header) native; 6437 String getResponseHeader(String header) native;
6341 6438
6342 void open(String method, String url, bool async, [String user = null, String p assword = null]) native; 6439 void open(String method, String url, [bool async = null, String user = null, S tring password = null]) native;
6343 6440
6344 void overrideMimeType(String override) native; 6441 void overrideMimeType(String override) native;
6345 6442
6346 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 6443 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
6347 6444
6348 void send([var data = null]) native; 6445 void send([var data = null]) native;
6349 6446
6350 void setRequestHeader(String header, String value) native; 6447 void setRequestHeader(String header, String value) native;
6351 6448
6352 var dartObjectLocalStorage; 6449 var dartObjectLocalStorage;
6353 6450
6354 String get typeName() native; 6451 String get typeName() native;
6355 } 6452 }
6356 6453
6357 class XMLHttpRequestException native "XMLHttpRequestException" { 6454 class XMLHttpRequestException native "XMLHttpRequestException" {
6358 6455
6359 int code; 6456 int code;
6360 6457
6361 String message; 6458 String message;
6362 6459
6363 String name; 6460 String name;
6364 6461
6462 String toString() native;
6463
6365 var dartObjectLocalStorage; 6464 var dartObjectLocalStorage;
6366 6465
6367 String get typeName() native; 6466 String get typeName() native;
6368 } 6467 }
6369 6468
6370 class XMLHttpRequestProgressEvent extends ProgressEvent native "XMLHttpRequestPr ogressEvent" { 6469 class XMLHttpRequestProgressEvent extends ProgressEvent native "XMLHttpRequestPr ogressEvent" {
6371 6470
6372 int position; 6471 int position;
6373 6472
6374 int totalSize; 6473 int totalSize;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
6420 } 6519 }
6421 6520
6422 class XPathException native "XPathException" { 6521 class XPathException native "XPathException" {
6423 6522
6424 int code; 6523 int code;
6425 6524
6426 String message; 6525 String message;
6427 6526
6428 String name; 6527 String name;
6429 6528
6529 String toString() native;
6530
6430 var dartObjectLocalStorage; 6531 var dartObjectLocalStorage;
6431 6532
6432 String get typeName() native; 6533 String get typeName() native;
6433 } 6534 }
6434 6535
6435 class XPathExpression native "XPathExpression" { 6536 class XPathExpression native "XPathExpression" {
6436 6537
6437 XPathResult evaluate(Node contextNode, int type, XPathResult inResult) native; 6538 XPathResult evaluate(Node contextNode, int type, XPathResult inResult) native;
6438 6539
6439 var dartObjectLocalStorage; 6540 var dartObjectLocalStorage;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
6505 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 6606 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6506 // for details. All rights reserved. Use of this source code is governed by a 6607 // for details. All rights reserved. Use of this source code is governed by a
6507 // BSD-style license that can be found in the LICENSE file. 6608 // BSD-style license that can be found in the LICENSE file.
6508 6609
6509 typedef bool RequestAnimationFrameCallback(int time); 6610 typedef bool RequestAnimationFrameCallback(int time);
6510 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 6611 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6511 // for details. All rights reserved. Use of this source code is governed by a 6612 // for details. All rights reserved. Use of this source code is governed by a
6512 // BSD-style license that can be found in the LICENSE file. 6613 // BSD-style license that can be found in the LICENSE file.
6513 6614
6514 typedef void TimeoutHandler(); 6615 typedef void TimeoutHandler();
OLDNEW
« no previous file with comments | « no previous file | client/dom/frog/frog_dom.js » ('j') | client/dom/frog/frog_dom.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698