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

Side by Side Diff: lib/dom/dom.dart

Issue 10107010: Map IDBAny and IDBKey to Dynamic (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « client/tests/client/client.status ('k') | lib/dom/frog/dom_frog.dart » ('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 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 4 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 5 // BSD-style license that can be found in the LICENSE file.
6 6
7 // DO NOT EDIT 7 // DO NOT EDIT
8 // Auto-generated Dart DOM library with no implementation. 8 // Auto-generated Dart DOM library with no implementation.
9 9
10 10
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 final AudioDestinationNode destination; 350 final AudioDestinationNode destination;
351 351
352 final AudioListener listener; 352 final AudioListener listener;
353 353
354 final num sampleRate; 354 final num sampleRate;
355 355
356 RealtimeAnalyserNode createAnalyser(); 356 RealtimeAnalyserNode createAnalyser();
357 357
358 BiquadFilterNode createBiquadFilter(); 358 BiquadFilterNode createBiquadFilter();
359 359
360 AudioBuffer createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_numb erOfFrames, [num sampleRate]); 360 AudioBuffer createBuffer(buffer_OR_numberOfChannels, mixToMono_OR_numberOfFram es, [num sampleRate]);
361 361
362 AudioBufferSourceNode createBufferSource(); 362 AudioBufferSourceNode createBufferSource();
363 363
364 AudioChannelMerger createChannelMerger(); 364 AudioChannelMerger createChannelMerger();
365 365
366 AudioChannelSplitter createChannelSplitter(); 366 AudioChannelSplitter createChannelSplitter();
367 367
368 ConvolverNode createConvolver(); 368 ConvolverNode createConvolver();
369 369
370 DelayNode createDelayNode([num maxDelayTime]); 370 DelayNode createDelayNode([num maxDelayTime]);
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
965 final HTMLCanvasElement canvas; 965 final HTMLCanvasElement canvas;
966 } 966 }
967 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 967 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
968 // for details. All rights reserved. Use of this source code is governed by a 968 // for details. All rights reserved. Use of this source code is governed by a
969 // BSD-style license that can be found in the LICENSE file. 969 // BSD-style license that can be found in the LICENSE file.
970 970
971 // WARNING: Do not edit - generated code. 971 // WARNING: Do not edit - generated code.
972 972
973 interface CanvasRenderingContext2D extends CanvasRenderingContext { 973 interface CanvasRenderingContext2D extends CanvasRenderingContext {
974 974
975 Dynamic fillStyle; 975 var /*custom*/ fillStyle;
976 976
977 String font; 977 String font;
978 978
979 num globalAlpha; 979 num globalAlpha;
980 980
981 String globalCompositeOperation; 981 String globalCompositeOperation;
982 982
983 String lineCap; 983 String lineCap;
984 984
985 String lineJoin; 985 String lineJoin;
986 986
987 num lineWidth; 987 num lineWidth;
988 988
989 num miterLimit; 989 num miterLimit;
990 990
991 num shadowBlur; 991 num shadowBlur;
992 992
993 String shadowColor; 993 String shadowColor;
994 994
995 num shadowOffsetX; 995 num shadowOffsetX;
996 996
997 num shadowOffsetY; 997 num shadowOffsetY;
998 998
999 Dynamic strokeStyle; 999 var /*custom*/ strokeStyle;
1000 1000
1001 String textAlign; 1001 String textAlign;
1002 1002
1003 String textBaseline; 1003 String textBaseline;
1004 1004
1005 List webkitLineDash; 1005 List webkitLineDash;
1006 1006
1007 num webkitLineDashOffset; 1007 num webkitLineDashOffset;
1008 1008
1009 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise); 1009 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise);
1010 1010
1011 void arcTo(num x1, num y1, num x2, num y2, num radius); 1011 void arcTo(num x1, num y1, num x2, num y2, num radius);
1012 1012
1013 void beginPath(); 1013 void beginPath();
1014 1014
1015 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y); 1015 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y);
1016 1016
1017 void clearRect(num x, num y, num width, num height); 1017 void clearRect(num x, num y, num width, num height);
1018 1018
1019 void clearShadow(); 1019 void clearShadow();
1020 1020
1021 void clip(); 1021 void clip();
1022 1022
1023 void closePath(); 1023 void closePath();
1024 1024
1025 ImageData createImageData(var imagedata_OR_sw, [num sh]); 1025 ImageData createImageData(imagedata_OR_sw, [num sh]);
1026 1026
1027 CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1); 1027 CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1);
1028 1028
1029 CanvasPattern createPattern(var canvas_OR_image, String repetitionType); 1029 CanvasPattern createPattern(canvas_OR_image, String repetitionType);
1030 1030
1031 CanvasGradient createRadialGradient(num x0, num y0, num r0, num x1, num y1, nu m r1); 1031 CanvasGradient createRadialGradient(num x0, num y0, num r0, num x1, num y1, nu m r1);
1032 1032
1033 void drawImage(var canvas_OR_image_OR_video, num sx_OR_x, num sy_OR_y, [num sw _OR_width, num height_OR_sh, num dx, num dy, num dw, num dh]); 1033 void drawImage(canvas_OR_image_OR_video, num sx_OR_x, num sy_OR_y, [num sw_OR_ width, num height_OR_sh, num dx, num dy, num dw, num dh]);
1034 1034
1035 void drawImageFromRect(HTMLImageElement image, [num sx, num sy, num sw, num sh , num dx, num dy, num dw, num dh, String compositeOperation]); 1035 void drawImageFromRect(HTMLImageElement image, [num sx, num sy, num sw, num sh , num dx, num dy, num dw, num dh, String compositeOperation]);
1036 1036
1037 void fill(); 1037 void fill();
1038 1038
1039 void fillRect(num x, num y, num width, num height); 1039 void fillRect(num x, num y, num width, num height);
1040 1040
1041 void fillText(String text, num x, num y, [num maxWidth]); 1041 void fillText(String text, num x, num y, [num maxWidth]);
1042 1042
1043 ImageData getImageData(num sx, num sy, num sw, num sh); 1043 ImageData getImageData(num sx, num sy, num sw, num sh);
(...skipping 17 matching lines...) Expand all
1061 void rotate(num angle); 1061 void rotate(num angle);
1062 1062
1063 void save(); 1063 void save();
1064 1064
1065 void scale(num sx, num sy); 1065 void scale(num sx, num sy);
1066 1066
1067 void setAlpha(num alpha); 1067 void setAlpha(num alpha);
1068 1068
1069 void setCompositeOperation(String compositeOperation); 1069 void setCompositeOperation(String compositeOperation);
1070 1070
1071 void setFillColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]); 1071 void setFillColor(c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, num b_OR _y, num a_OR_k, num a]);
1072 1072
1073 void setLineCap(String cap); 1073 void setLineCap(String cap);
1074 1074
1075 void setLineJoin(String join); 1075 void setLineJoin(String join);
1076 1076
1077 void setLineWidth(num width); 1077 void setLineWidth(num width);
1078 1078
1079 void setMiterLimit(num limit); 1079 void setMiterLimit(num limit);
1080 1080
1081 void setShadow(num width, num height, num blur, [var c_OR_color_OR_grayLevel_O R_r, num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]); 1081 void setShadow(num width, num height, num blur, [c_OR_color_OR_grayLevel_OR_r, num alpha_OR_g_OR_m, num b_OR_y, num a_OR_k, num a]);
1082 1082
1083 void setStrokeColor(var c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, nu m b_OR_y, num a_OR_k, num a]); 1083 void setStrokeColor(c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m, num b_ OR_y, num a_OR_k, num a]);
1084 1084
1085 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy); 1085 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy);
1086 1086
1087 void stroke(); 1087 void stroke();
1088 1088
1089 void strokeRect(num x, num y, num width, num height, [num lineWidth]); 1089 void strokeRect(num x, num y, num width, num height, [num lineWidth]);
1090 1090
1091 void strokeText(String text, num x, num y, [num maxWidth]); 1091 void strokeText(String text, num x, num y, [num maxWidth]);
1092 1092
1093 void transform(num m11, num m12, num m21, num m22, num dx, num dy); 1093 void transform(num m11, num m12, num m21, num m22, num dx, num dy);
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
1662 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1662 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1663 // for details. All rights reserved. Use of this source code is governed by a 1663 // for details. All rights reserved. Use of this source code is governed by a
1664 // BSD-style license that can be found in the LICENSE file. 1664 // BSD-style license that can be found in the LICENSE file.
1665 1665
1666 // WARNING: Do not edit - generated code. 1666 // WARNING: Do not edit - generated code.
1667 1667
1668 interface DOMURL default _DOMURLFactoryProvider { 1668 interface DOMURL default _DOMURLFactoryProvider {
1669 1669
1670 DOMURL(); 1670 DOMURL();
1671 1671
1672 String createObjectURL(var blob_OR_stream); 1672 String createObjectURL(blob_OR_stream);
1673 1673
1674 void revokeObjectURL(String url); 1674 void revokeObjectURL(String url);
1675 } 1675 }
1676 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1676 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1677 // for details. All rights reserved. Use of this source code is governed by a 1677 // for details. All rights reserved. Use of this source code is governed by a
1678 // BSD-style license that can be found in the LICENSE file. 1678 // BSD-style license that can be found in the LICENSE file.
1679 1679
1680 // WARNING: Do not edit - generated code. 1680 // WARNING: Do not edit - generated code.
1681 1681
1682 interface Window extends EventTarget { 1682 interface Window extends EventTarget {
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
1816 MediaQueryList matchMedia(String query); 1816 MediaQueryList matchMedia(String query);
1817 1817
1818 void moveBy(num x, num y); 1818 void moveBy(num x, num y);
1819 1819
1820 void moveTo(num x, num y); 1820 void moveTo(num x, num y);
1821 1821
1822 DOMWindow open(String url, String name, [String options]); 1822 DOMWindow open(String url, String name, [String options]);
1823 1823
1824 Database openDatabase(String name, String version, String displayName, int est imatedSize, [DatabaseCallback creationCallback]); 1824 Database openDatabase(String name, String version, String displayName, int est imatedSize, [DatabaseCallback creationCallback]);
1825 1825
1826 void postMessage(Dynamic message, String targetOrigin, [List messagePorts]); 1826 void postMessage(/*SerializedScriptValue*/ message, String targetOrigin, [List messagePorts]);
1827 1827
1828 void print(); 1828 void print();
1829 1829
1830 String prompt(String message, String defaultValue); 1830 String prompt(String message, String defaultValue);
1831 1831
1832 void releaseEvents(); 1832 void releaseEvents();
1833 1833
1834 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 1834 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
1835 1835
1836 void resizeBy(num x, num y); 1836 void resizeBy(num x, num y);
(...skipping 15 matching lines...) Expand all
1852 void stop(); 1852 void stop();
1853 1853
1854 void webkitCancelAnimationFrame(int id); 1854 void webkitCancelAnimationFrame(int id);
1855 1855
1856 void webkitCancelRequestAnimationFrame(int id); 1856 void webkitCancelRequestAnimationFrame(int id);
1857 1857
1858 WebKitPoint webkitConvertPointFromNodeToPage(Node node, WebKitPoint p); 1858 WebKitPoint webkitConvertPointFromNodeToPage(Node node, WebKitPoint p);
1859 1859
1860 WebKitPoint webkitConvertPointFromPageToNode(Node node, WebKitPoint p); 1860 WebKitPoint webkitConvertPointFromPageToNode(Node node, WebKitPoint p);
1861 1861
1862 void webkitPostMessage(Dynamic message, String targetOrigin, [List transferLis t]); 1862 void webkitPostMessage(/*SerializedScriptValue*/ message, String targetOrigin, [List transferList]);
1863 1863
1864 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback); 1864 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback);
1865 1865
1866 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal lback, [ErrorCallback errorCallback]); 1866 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal lback, [ErrorCallback errorCallback]);
1867 1867
1868 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac k, ErrorCallback errorCallback]); 1868 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac k, ErrorCallback errorCallback]);
1869 } 1869 }
1870 1870
1871 interface DOMWindow extends Window { 1871 interface DOMWindow extends Window {
1872 1872
(...skipping 22 matching lines...) Expand all
1895 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1895 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1896 // for details. All rights reserved. Use of this source code is governed by a 1896 // for details. All rights reserved. Use of this source code is governed by a
1897 // BSD-style license that can be found in the LICENSE file. 1897 // BSD-style license that can be found in the LICENSE file.
1898 1898
1899 // WARNING: Do not edit - generated code. 1899 // WARNING: Do not edit - generated code.
1900 1900
1901 interface DataTransferItemList { 1901 interface DataTransferItemList {
1902 1902
1903 final int length; 1903 final int length;
1904 1904
1905 void add(var data_OR_file, [String type]); 1905 void add(data_OR_file, [String type]);
1906 1906
1907 void clear(); 1907 void clear();
1908 1908
1909 DataTransferItem item(int index); 1909 DataTransferItem item(int index);
1910 } 1910 }
1911 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1911 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1912 // for details. All rights reserved. Use of this source code is governed by a 1912 // for details. All rights reserved. Use of this source code is governed by a
1913 // BSD-style license that can be found in the LICENSE file. 1913 // BSD-style license that can be found in the LICENSE file.
1914 1914
1915 // WARNING: Do not edit - generated code. 1915 // WARNING: Do not edit - generated code.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
1963 void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCall back errorCallback, VoidCallback successCallback]); 1963 void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCall back errorCallback, VoidCallback successCallback]);
1964 1964
1965 void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback errorCallback, VoidCallback successCallback]); 1965 void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback errorCallback, VoidCallback successCallback]);
1966 } 1966 }
1967 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1967 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
1968 // for details. All rights reserved. Use of this source code is governed by a 1968 // for details. All rights reserved. Use of this source code is governed by a
1969 // BSD-style license that can be found in the LICENSE file. 1969 // BSD-style license that can be found in the LICENSE file.
1970 1970
1971 // WARNING: Do not edit - generated code. 1971 // WARNING: Do not edit - generated code.
1972 1972
1973 typedef bool DatabaseCallback(var database); 1973 typedef bool DatabaseCallback(database);
1974 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1974 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1975 // for details. All rights reserved. Use of this source code is governed by a 1975 // for details. All rights reserved. Use of this source code is governed by a
1976 // BSD-style license that can be found in the LICENSE file. 1976 // BSD-style license that can be found in the LICENSE file.
1977 1977
1978 // WARNING: Do not edit - generated code. 1978 // WARNING: Do not edit - generated code.
1979 1979
1980 interface DatabaseSync { 1980 interface DatabaseSync {
1981 1981
1982 final String lastErrorMessage; 1982 final String lastErrorMessage;
1983 1983
(...skipping 2565 matching lines...) Expand 10 before | Expand all | Expand 10 after
4549 final bool willValidate; 4549 final bool willValidate;
4550 4550
4551 void add(HTMLElement element, HTMLElement before); 4551 void add(HTMLElement element, HTMLElement before);
4552 4552
4553 bool checkValidity(); 4553 bool checkValidity();
4554 4554
4555 Node item(int index); 4555 Node item(int index);
4556 4556
4557 Node namedItem(String name); 4557 Node namedItem(String name);
4558 4558
4559 void remove(var index_OR_option); 4559 void remove(index_OR_option);
4560 4560
4561 void setCustomValidity(String error); 4561 void setCustomValidity(String error);
4562 } 4562 }
4563 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 4563 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4564 // for details. All rights reserved. Use of this source code is governed by a 4564 // for details. All rights reserved. Use of this source code is governed by a
4565 // BSD-style license that can be found in the LICENSE file. 4565 // BSD-style license that can be found in the LICENSE file.
4566 4566
4567 // WARNING: Do not edit - generated code. 4567 // WARNING: Do not edit - generated code.
4568 4568
4569 interface HTMLShadowElement extends HTMLElement { 4569 interface HTMLShadowElement extends HTMLElement {
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
4951 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 4951 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4952 // for details. All rights reserved. Use of this source code is governed by a 4952 // for details. All rights reserved. Use of this source code is governed by a
4953 // BSD-style license that can be found in the LICENSE file. 4953 // BSD-style license that can be found in the LICENSE file.
4954 4954
4955 // WARNING: Do not edit - generated code. 4955 // WARNING: Do not edit - generated code.
4956 4956
4957 interface History { 4957 interface History {
4958 4958
4959 final int length; 4959 final int length;
4960 4960
4961 final Dynamic state; 4961 final /*SerializedScriptValue*/ state;
4962 4962
4963 void back(); 4963 void back();
4964 4964
4965 void forward(); 4965 void forward();
4966 4966
4967 void go(int distance); 4967 void go(int distance);
4968 4968
4969 void pushState(Object data, String title, [String url]); 4969 void pushState(Object data, String title, [String url]);
4970 4970
4971 void replaceState(Object data, String title, [String url]); 4971 void replaceState(Object data, String title, [String url]);
(...skipping 17 matching lines...) Expand all
4989 static final int NEXT = 0; 4989 static final int NEXT = 0;
4990 4990
4991 static final int NEXT_NO_DUPLICATE = 1; 4991 static final int NEXT_NO_DUPLICATE = 1;
4992 4992
4993 static final int PREV = 2; 4993 static final int PREV = 2;
4994 4994
4995 static final int PREV_NO_DUPLICATE = 3; 4995 static final int PREV_NO_DUPLICATE = 3;
4996 4996
4997 final int direction; 4997 final int direction;
4998 4998
4999 final IDBKey key; 4999 final /*IDBKey*/ key;
5000 5000
5001 final IDBKey primaryKey; 5001 final /*IDBKey*/ primaryKey;
5002 5002
5003 final IDBAny source; 5003 final /*IDBAny*/ source;
5004 5004
5005 void continueFunction([IDBKey key]); 5005 void continueFunction([/*IDBKey*/ key]);
5006 5006
5007 IDBRequest delete(); 5007 IDBRequest delete();
5008 5008
5009 IDBRequest update(Dynamic value); 5009 IDBRequest update(/*SerializedScriptValue*/ value);
5010 } 5010 }
5011 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5011 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5012 // for details. All rights reserved. Use of this source code is governed by a 5012 // for details. All rights reserved. Use of this source code is governed by a
5013 // BSD-style license that can be found in the LICENSE file. 5013 // BSD-style license that can be found in the LICENSE file.
5014 5014
5015 // WARNING: Do not edit - generated code. 5015 // WARNING: Do not edit - generated code.
5016 5016
5017 interface IDBCursorWithValue extends IDBCursor { 5017 interface IDBCursorWithValue extends IDBCursor {
5018 5018
5019 final IDBAny value; 5019 final /*IDBAny*/ value;
5020 } 5020 }
5021 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5021 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5022 // for details. All rights reserved. Use of this source code is governed by a 5022 // for details. All rights reserved. Use of this source code is governed by a
5023 // BSD-style license that can be found in the LICENSE file. 5023 // BSD-style license that can be found in the LICENSE file.
5024 5024
5025 // WARNING: Do not edit - generated code. 5025 // WARNING: Do not edit - generated code.
5026 5026
5027 interface IDBDatabase extends EventTarget { 5027 interface IDBDatabase extends EventTarget {
5028 5028
5029 final String name; 5029 final String name;
5030 5030
5031 final List<String> objectStoreNames; 5031 final List<String> objectStoreNames;
5032 5032
5033 final String version; 5033 final String version;
5034 5034
5035 void addEventListener(String type, EventListener listener, [bool useCapture]); 5035 void addEventListener(String type, EventListener listener, [bool useCapture]);
5036 5036
5037 void close(); 5037 void close();
5038 5038
5039 IDBObjectStore createObjectStore(String name); 5039 IDBObjectStore createObjectStore(String name);
5040 5040
5041 void deleteObjectStore(String name); 5041 void deleteObjectStore(String name);
5042 5042
5043 bool dispatchEvent(Event evt); 5043 bool dispatchEvent(Event evt);
5044 5044
5045 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 5045 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
5046 5046
5047 IDBVersionChangeRequest setVersion(String version); 5047 IDBVersionChangeRequest setVersion(String version);
5048 5048
5049 IDBTransaction transaction(var storeName_OR_storeNames, [int mode]); 5049 IDBTransaction transaction(storeName_OR_storeNames, [int mode]);
5050 } 5050 }
5051 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5051 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5052 // for details. All rights reserved. Use of this source code is governed by a 5052 // for details. All rights reserved. Use of this source code is governed by a
5053 // BSD-style license that can be found in the LICENSE file. 5053 // BSD-style license that can be found in the LICENSE file.
5054 5054
5055 // WARNING: Do not edit - generated code. 5055 // WARNING: Do not edit - generated code.
5056 5056
5057 interface IDBDatabaseException { 5057 interface IDBDatabaseException {
5058 5058
5059 static final int ABORT_ERR = 8; 5059 static final int ABORT_ERR = 8;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
5091 String toString(); 5091 String toString();
5092 } 5092 }
5093 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5093 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5094 // for details. All rights reserved. Use of this source code is governed by a 5094 // for details. All rights reserved. Use of this source code is governed by a
5095 // BSD-style license that can be found in the LICENSE file. 5095 // BSD-style license that can be found in the LICENSE file.
5096 5096
5097 // WARNING: Do not edit - generated code. 5097 // WARNING: Do not edit - generated code.
5098 5098
5099 interface IDBFactory { 5099 interface IDBFactory {
5100 5100
5101 int cmp(IDBKey first, IDBKey second); 5101 int cmp(/*IDBKey*/ first, /*IDBKey*/ second);
5102 5102
5103 IDBVersionChangeRequest deleteDatabase(String name); 5103 IDBVersionChangeRequest deleteDatabase(String name);
5104 5104
5105 IDBRequest getDatabaseNames(); 5105 IDBRequest getDatabaseNames();
5106 5106
5107 IDBRequest open(String name); 5107 IDBRequest open(String name);
5108 } 5108 }
5109 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5109 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5110 // for details. All rights reserved. Use of this source code is governed by a 5110 // for details. All rights reserved. Use of this source code is governed by a
5111 // BSD-style license that can be found in the LICENSE file. 5111 // BSD-style license that can be found in the LICENSE file.
5112 5112
5113 // WARNING: Do not edit - generated code. 5113 // WARNING: Do not edit - generated code.
5114 5114
5115 interface IDBIndex { 5115 interface IDBIndex {
5116 5116
5117 final String keyPath; 5117 final String keyPath;
5118 5118
5119 final bool multiEntry; 5119 final bool multiEntry;
5120 5120
5121 final String name; 5121 final String name;
5122 5122
5123 final IDBObjectStore objectStore; 5123 final IDBObjectStore objectStore;
5124 5124
5125 final bool unique; 5125 final bool unique;
5126 5126
5127 IDBRequest count([var key_OR_range]); 5127 IDBRequest count([key_OR_range]);
5128 5128
5129 IDBRequest getObject(IDBKey key); 5129 IDBRequest getObject(/*IDBKey*/ key);
5130 5130
5131 IDBRequest getKey(IDBKey key); 5131 IDBRequest getKey(/*IDBKey*/ key);
5132 5132
5133 IDBRequest openCursor([IDBKeyRange range, int direction]); 5133 IDBRequest openCursor([IDBKeyRange range, int direction]);
5134 5134
5135 IDBRequest openKeyCursor([IDBKeyRange range, int direction]); 5135 IDBRequest openKeyCursor([IDBKeyRange range, int direction]);
5136 } 5136 }
5137 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5137 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5138 // for details. All rights reserved. Use of this source code is governed by a 5138 // for details. All rights reserved. Use of this source code is governed by a
5139 // BSD-style license that can be found in the LICENSE file. 5139 // BSD-style license that can be found in the LICENSE file.
5140 5140
5141 // WARNING: Do not edit - generated code. 5141 // WARNING: Do not edit - generated code.
5142 5142
5143 interface IDBKey { 5143 interface IDBKey {
5144 } 5144 }
5145 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5145 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5146 // for details. All rights reserved. Use of this source code is governed by a 5146 // for details. All rights reserved. Use of this source code is governed by a
5147 // BSD-style license that can be found in the LICENSE file. 5147 // BSD-style license that can be found in the LICENSE file.
5148 5148
5149 // WARNING: Do not edit - generated code. 5149 // WARNING: Do not edit - generated code.
5150 5150
5151 interface IDBKeyRange { 5151 interface IDBKeyRange {
5152 5152
5153 final IDBKey lower; 5153 final /*IDBKey*/ lower;
5154 5154
5155 final bool lowerOpen; 5155 final bool lowerOpen;
5156 5156
5157 final IDBKey upper; 5157 final /*IDBKey*/ upper;
5158 5158
5159 final bool upperOpen; 5159 final bool upperOpen;
5160 5160
5161 IDBKeyRange bound(IDBKey lower, IDBKey upper, [bool lowerOpen, bool upperOpen] ); 5161 IDBKeyRange bound(/*IDBKey*/ lower, /*IDBKey*/ upper, [bool lowerOpen, bool up perOpen]);
5162 5162
5163 IDBKeyRange lowerBound(IDBKey bound, [bool open]); 5163 IDBKeyRange lowerBound(/*IDBKey*/ bound, [bool open]);
5164 5164
5165 IDBKeyRange only(IDBKey value); 5165 IDBKeyRange only(/*IDBKey*/ value);
5166 5166
5167 IDBKeyRange upperBound(IDBKey bound, [bool open]); 5167 IDBKeyRange upperBound(/*IDBKey*/ bound, [bool open]);
5168 } 5168 }
5169 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5169 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5170 // for details. All rights reserved. Use of this source code is governed by a 5170 // for details. All rights reserved. Use of this source code is governed by a
5171 // BSD-style license that can be found in the LICENSE file. 5171 // BSD-style license that can be found in the LICENSE file.
5172 5172
5173 // WARNING: Do not edit - generated code. 5173 // WARNING: Do not edit - generated code.
5174 5174
5175 interface IDBObjectStore { 5175 interface IDBObjectStore {
5176 5176
5177 final List<String> indexNames; 5177 final List<String> indexNames;
5178 5178
5179 final String keyPath; 5179 final String keyPath;
5180 5180
5181 final String name; 5181 final String name;
5182 5182
5183 final IDBTransaction transaction; 5183 final IDBTransaction transaction;
5184 5184
5185 IDBRequest add(Dynamic value, [IDBKey key]); 5185 IDBRequest add(/*SerializedScriptValue*/ value, [/*IDBKey*/ key]);
5186 5186
5187 IDBRequest clear(); 5187 IDBRequest clear();
5188 5188
5189 IDBRequest count([var key_OR_range]); 5189 IDBRequest count([key_OR_range]);
5190 5190
5191 IDBIndex createIndex(String name, String keyPath); 5191 IDBIndex createIndex(String name, String keyPath);
5192 5192
5193 IDBRequest delete(var key_OR_keyRange); 5193 IDBRequest delete(key_OR_keyRange);
5194 5194
5195 void deleteIndex(String name); 5195 void deleteIndex(String name);
5196 5196
5197 IDBRequest getObject(IDBKey key); 5197 IDBRequest getObject(/*IDBKey*/ key);
5198 5198
5199 IDBIndex index(String name); 5199 IDBIndex index(String name);
5200 5200
5201 IDBRequest openCursor([IDBKeyRange range, int direction]); 5201 IDBRequest openCursor([IDBKeyRange range, int direction]);
5202 5202
5203 IDBRequest put(Dynamic value, [IDBKey key]); 5203 IDBRequest put(/*SerializedScriptValue*/ value, [/*IDBKey*/ key]);
5204 } 5204 }
5205 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5205 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5206 // for details. All rights reserved. Use of this source code is governed by a 5206 // for details. All rights reserved. Use of this source code is governed by a
5207 // BSD-style license that can be found in the LICENSE file. 5207 // BSD-style license that can be found in the LICENSE file.
5208 5208
5209 // WARNING: Do not edit - generated code. 5209 // WARNING: Do not edit - generated code.
5210 5210
5211 interface IDBRequest extends EventTarget { 5211 interface IDBRequest extends EventTarget {
5212 5212
5213 static final int DONE = 2; 5213 static final int DONE = 2;
5214 5214
5215 static final int LOADING = 1; 5215 static final int LOADING = 1;
5216 5216
5217 final int errorCode; 5217 final int errorCode;
5218 5218
5219 final int readyState; 5219 final int readyState;
5220 5220
5221 final IDBAny result; 5221 final /*IDBAny*/ result;
5222 5222
5223 final IDBAny source; 5223 final /*IDBAny*/ source;
5224 5224
5225 final IDBTransaction transaction; 5225 final IDBTransaction transaction;
5226 5226
5227 final String webkitErrorMessage; 5227 final String webkitErrorMessage;
5228 5228
5229 void addEventListener(String type, EventListener listener, [bool useCapture]); 5229 void addEventListener(String type, EventListener listener, [bool useCapture]);
5230 5230
5231 bool dispatchEvent(Event evt); 5231 bool dispatchEvent(Event evt);
5232 5232
5233 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 5233 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
(...skipping 5851 matching lines...) Expand 10 before | Expand all | Expand 10 after
11085 void blendColor(num red, num green, num blue, num alpha); 11085 void blendColor(num red, num green, num blue, num alpha);
11086 11086
11087 void blendEquation(int mode); 11087 void blendEquation(int mode);
11088 11088
11089 void blendEquationSeparate(int modeRGB, int modeAlpha); 11089 void blendEquationSeparate(int modeRGB, int modeAlpha);
11090 11090
11091 void blendFunc(int sfactor, int dfactor); 11091 void blendFunc(int sfactor, int dfactor);
11092 11092
11093 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha); 11093 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha);
11094 11094
11095 void bufferData(int target, var data_OR_size, int usage); 11095 void bufferData(int target, data_OR_size, int usage);
11096 11096
11097 void bufferSubData(int target, int offset, var data); 11097 void bufferSubData(int target, int offset, data);
11098 11098
11099 int checkFramebufferStatus(int target); 11099 int checkFramebufferStatus(int target);
11100 11100
11101 void clear(int mask); 11101 void clear(int mask);
11102 11102
11103 void clearColor(num red, num green, num blue, num alpha); 11103 void clearColor(num red, num green, num blue, num alpha);
11104 11104
11105 void clearDepth(num depth); 11105 void clearDepth(num depth);
11106 11106
11107 void clearStencil(int s); 11107 void clearStencil(int s);
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
11263 void stencilFuncSeparate(int face, int func, int ref, int mask); 11263 void stencilFuncSeparate(int face, int func, int ref, int mask);
11264 11264
11265 void stencilMask(int mask); 11265 void stencilMask(int mask);
11266 11266
11267 void stencilMaskSeparate(int face, int mask); 11267 void stencilMaskSeparate(int face, int mask);
11268 11268
11269 void stencilOp(int fail, int zfail, int zpass); 11269 void stencilOp(int fail, int zfail, int zpass);
11270 11270
11271 void stencilOpSeparate(int face, int fail, int zfail, int zpass); 11271 void stencilOpSeparate(int face, int fail, int zfail, int zpass);
11272 11272
11273 void texImage2D(int target, int level, int internalformat, int format_OR_width , int height_OR_type, var border_OR_canvas_OR_image_OR_pixels_OR_video, [int for mat, int type, ArrayBufferView pixels]); 11273 void texImage2D(int target, int level, int internalformat, int format_OR_width , int height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, [int format, int type, ArrayBufferView pixels]);
11274 11274
11275 void texParameterf(int target, int pname, num param); 11275 void texParameterf(int target, int pname, num param);
11276 11276
11277 void texParameteri(int target, int pname, int param); 11277 void texParameteri(int target, int pname, int param);
11278 11278
11279 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format _OR_width, int height_OR_type, var canvas_OR_format_OR_image_OR_pixels_OR_video, [int type, ArrayBufferView pixels]); 11279 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format _OR_width, int height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [in t type, ArrayBufferView pixels]);
11280 11280
11281 void uniform1f(WebGLUniformLocation location, num x); 11281 void uniform1f(WebGLUniformLocation location, num x);
11282 11282
11283 void uniform1fv(WebGLUniformLocation location, Float32Array v); 11283 void uniform1fv(WebGLUniformLocation location, Float32Array v);
11284 11284
11285 void uniform1i(WebGLUniformLocation location, int x); 11285 void uniform1i(WebGLUniformLocation location, int x);
11286 11286
11287 void uniform1iv(WebGLUniformLocation location, Int32Array v); 11287 void uniform1iv(WebGLUniformLocation location, Int32Array v);
11288 11288
11289 void uniform2f(WebGLUniformLocation location, num x, num y); 11289 void uniform2f(WebGLUniformLocation location, num x, num y);
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
11455 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11455 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11456 // for details. All rights reserved. Use of this source code is governed by a 11456 // for details. All rights reserved. Use of this source code is governed by a
11457 // BSD-style license that can be found in the LICENSE file. 11457 // BSD-style license that can be found in the LICENSE file.
11458 11458
11459 // WARNING: Do not edit - generated code. 11459 // WARNING: Do not edit - generated code.
11460 11460
11461 interface WebKitBlobBuilder default _WebKitBlobBuilderFactoryProvider { 11461 interface WebKitBlobBuilder default _WebKitBlobBuilderFactoryProvider {
11462 11462
11463 WebKitBlobBuilder(); 11463 WebKitBlobBuilder();
11464 11464
11465 void append(var arrayBuffer_OR_blob_OR_value, [String endings]); 11465 void append(arrayBuffer_OR_blob_OR_value, [String endings]);
11466 11466
11467 Blob getBlob([String contentType]); 11467 Blob getBlob([String contentType]);
11468 } 11468 }
11469 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11469 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11470 // for details. All rights reserved. Use of this source code is governed by a 11470 // for details. All rights reserved. Use of this source code is governed by a
11471 // BSD-style license that can be found in the LICENSE file. 11471 // BSD-style license that can be found in the LICENSE file.
11472 11472
11473 // WARNING: Do not edit - generated code. 11473 // WARNING: Do not edit - generated code.
11474 11474
11475 interface WebKitCSSFilterValue extends CSSValueList { 11475 interface WebKitCSSFilterValue extends CSSValueList {
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
11803 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11803 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11804 // for details. All rights reserved. Use of this source code is governed by a 11804 // for details. All rights reserved. Use of this source code is governed by a
11805 // BSD-style license that can be found in the LICENSE file. 11805 // BSD-style license that can be found in the LICENSE file.
11806 11806
11807 // WARNING: Do not edit - generated code. 11807 // WARNING: Do not edit - generated code.
11808 11808
11809 interface Worker extends AbstractWorker default _WorkerFactoryProvider { 11809 interface Worker extends AbstractWorker default _WorkerFactoryProvider {
11810 11810
11811 Worker(String scriptUrl); 11811 Worker(String scriptUrl);
11812 11812
11813 void postMessage(Dynamic message, [List messagePorts]); 11813 void postMessage(/*SerializedScriptValue*/ message, [List messagePorts]);
11814 11814
11815 void terminate(); 11815 void terminate();
11816 11816
11817 void webkitPostMessage(Dynamic message, [List messagePorts]); 11817 void webkitPostMessage(/*SerializedScriptValue*/ message, [List messagePorts]) ;
11818 } 11818 }
11819 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11819 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11820 // for details. All rights reserved. Use of this source code is governed by a 11820 // for details. All rights reserved. Use of this source code is governed by a
11821 // BSD-style license that can be found in the LICENSE file. 11821 // BSD-style license that can be found in the LICENSE file.
11822 11822
11823 // WARNING: Do not edit - generated code. 11823 // WARNING: Do not edit - generated code.
11824 11824
11825 interface WorkerGlobalScope extends EventTarget { 11825 interface WorkerGlobalScope extends EventTarget {
11826 11826
11827 final WorkerLocation location; 11827 final WorkerLocation location;
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
11966 String getAllResponseHeaders(); 11966 String getAllResponseHeaders();
11967 11967
11968 String getResponseHeader(String header); 11968 String getResponseHeader(String header);
11969 11969
11970 void open(String method, String url, [bool async, String user, String password ]); 11970 void open(String method, String url, [bool async, String user, String password ]);
11971 11971
11972 void overrideMimeType(String override); 11972 void overrideMimeType(String override);
11973 11973
11974 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 11974 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
11975 11975
11976 void send([var data]); 11976 void send([data]);
11977 11977
11978 void setRequestHeader(String header, String value); 11978 void setRequestHeader(String header, String value);
11979 } 11979 }
11980 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 11980 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
11981 // for details. All rights reserved. Use of this source code is governed by a 11981 // for details. All rights reserved. Use of this source code is governed by a
11982 // BSD-style license that can be found in the LICENSE file. 11982 // BSD-style license that can be found in the LICENSE file.
11983 11983
11984 // WARNING: Do not edit - generated code. 11984 // WARNING: Do not edit - generated code.
11985 11985
11986 interface XMLHttpRequestException { 11986 interface XMLHttpRequestException {
(...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after
12805 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12805 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12806 // for details. All rights reserved. Use of this source code is governed by a 12806 // for details. All rights reserved. Use of this source code is governed by a
12807 // BSD-style license that can be found in the LICENSE file. 12807 // BSD-style license that can be found in the LICENSE file.
12808 12808
12809 Window get window() => _dummy(); 12809 Window get window() => _dummy();
12810 12810
12811 // TODO(vsm): Remove when prefixes are supported. 12811 // TODO(vsm): Remove when prefixes are supported.
12812 Window get dom_window() => _dummy(); 12812 Window get dom_window() => _dummy();
12813 12813
12814 Document get document() => _dummy(); 12814 Document get document() => _dummy();
OLDNEW
« no previous file with comments | « client/tests/client/client.status ('k') | lib/dom/frog/dom_frog.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698