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

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

Powered by Google App Engine
This is Rietveld 408576698