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

Side by Side Diff: lib/dom/frog/dom_frog.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 | « lib/dom/dom.dart ('k') | lib/dom/scripts/generator.py » ('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) 2011, the Dart project authors. Please see the AUTHORS file 3 // 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 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. 8 // Auto-generated Dart DOM library.
9 9
10 10
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 final _AudioDestinationNodeJs destination; 113 final _AudioDestinationNodeJs destination;
114 114
115 final _AudioListenerJs listener; 115 final _AudioListenerJs listener;
116 116
117 final num sampleRate; 117 final num sampleRate;
118 118
119 _RealtimeAnalyserNodeJs createAnalyser() native; 119 _RealtimeAnalyserNodeJs createAnalyser() native;
120 120
121 _BiquadFilterNodeJs createBiquadFilter() native; 121 _BiquadFilterNodeJs createBiquadFilter() native;
122 122
123 _AudioBufferJs createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_n umberOfFrames, [num sampleRate = null]) native; 123 _AudioBufferJs createBuffer(buffer_OR_numberOfChannels, mixToMono_OR_numberOfF rames, [num sampleRate = null]) native;
124 124
125 _AudioBufferSourceNodeJs createBufferSource() native; 125 _AudioBufferSourceNodeJs createBufferSource() native;
126 126
127 _AudioChannelMergerJs createChannelMerger() native; 127 _AudioChannelMergerJs createChannelMerger() native;
128 128
129 _AudioChannelSplitterJs createChannelSplitter() native; 129 _AudioChannelSplitterJs createChannelSplitter() native;
130 130
131 _ConvolverNodeJs createConvolver() native; 131 _ConvolverNodeJs createConvolver() native;
132 132
133 _DelayNodeJs createDelayNode([num maxDelayTime = null]) native; 133 _DelayNodeJs createDelayNode([num maxDelayTime = null]) native;
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 // -- end List<int> mixins. 640 // -- end List<int> mixins.
641 } 641 }
642 642
643 class _CanvasRenderingContextJs extends _DOMTypeJs implements CanvasRenderingCon text native "*CanvasRenderingContext" { 643 class _CanvasRenderingContextJs extends _DOMTypeJs implements CanvasRenderingCon text native "*CanvasRenderingContext" {
644 644
645 final _HTMLCanvasElementJs canvas; 645 final _HTMLCanvasElementJs canvas;
646 } 646 }
647 647
648 class _CanvasRenderingContext2DJs extends _CanvasRenderingContextJs implements C anvasRenderingContext2D native "*CanvasRenderingContext2D" { 648 class _CanvasRenderingContext2DJs extends _CanvasRenderingContextJs implements C anvasRenderingContext2D native "*CanvasRenderingContext2D" {
649 649
650 Dynamic fillStyle; 650 var fillStyle;
651 651
652 String font; 652 String font;
653 653
654 num globalAlpha; 654 num globalAlpha;
655 655
656 String globalCompositeOperation; 656 String globalCompositeOperation;
657 657
658 String lineCap; 658 String lineCap;
659 659
660 String lineJoin; 660 String lineJoin;
661 661
662 num lineWidth; 662 num lineWidth;
663 663
664 num miterLimit; 664 num miterLimit;
665 665
666 num shadowBlur; 666 num shadowBlur;
667 667
668 String shadowColor; 668 String shadowColor;
669 669
670 num shadowOffsetX; 670 num shadowOffsetX;
671 671
672 num shadowOffsetY; 672 num shadowOffsetY;
673 673
674 Dynamic strokeStyle; 674 var strokeStyle;
675 675
676 String textAlign; 676 String textAlign;
677 677
678 String textBaseline; 678 String textBaseline;
679 679
680 List webkitLineDash; 680 List webkitLineDash;
681 681
682 num webkitLineDashOffset; 682 num webkitLineDashOffset;
683 683
684 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise) native; 684 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise) native;
685 685
686 void arcTo(num x1, num y1, num x2, num y2, num radius) native; 686 void arcTo(num x1, num y1, num x2, num y2, num radius) native;
687 687
688 void beginPath() native; 688 void beginPath() native;
689 689
690 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) nativ e; 690 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y) nativ e;
691 691
692 void clearRect(num x, num y, num width, num height) native; 692 void clearRect(num x, num y, num width, num height) native;
693 693
694 void clearShadow() native; 694 void clearShadow() native;
695 695
696 void clip() native; 696 void clip() native;
697 697
698 void closePath() native; 698 void closePath() native;
699 699
700 _ImageDataJs createImageData(var imagedata_OR_sw, [num sh = null]) native; 700 _ImageDataJs createImageData(imagedata_OR_sw, [num sh = null]) native;
701 701
702 _CanvasGradientJs createLinearGradient(num x0, num y0, num x1, num y1) native; 702 _CanvasGradientJs createLinearGradient(num x0, num y0, num x1, num y1) native;
703 703
704 _CanvasPatternJs createPattern(var canvas_OR_image, String repetitionType) nat ive; 704 _CanvasPatternJs createPattern(canvas_OR_image, String repetitionType) native;
705 705
706 _CanvasGradientJs createRadialGradient(num x0, num y0, num r0, num x1, num y1, num r1) native; 706 _CanvasGradientJs createRadialGradient(num x0, num y0, num r0, num x1, num y1, num r1) native;
707 707
708 void drawImage(var canvas_OR_image_OR_video, num sx_OR_x, num sy_OR_y, [num sw _OR_width = null, num height_OR_sh = null, num dx = null, num dy = null, num dw = null, num dh = null]) native; 708 void drawImage(canvas_OR_image_OR_video, num sx_OR_x, num sy_OR_y, [num sw_OR_ width = null, num height_OR_sh = null, num dx = null, num dy = null, num dw = nu ll, num dh = null]) native;
709 709
710 void drawImageFromRect(_HTMLImageElementJs image, [num sx = null, num sy = nul l, num sw = null, num sh = null, num dx = null, num dy = null, num dw = null, nu m dh = null, String compositeOperation = null]) native; 710 void drawImageFromRect(_HTMLImageElementJs image, [num sx = null, num sy = nul l, num sw = null, num sh = null, num dx = null, num dy = null, num dw = null, nu m dh = null, String compositeOperation = null]) native;
711 711
712 void fill() native; 712 void fill() native;
713 713
714 void fillRect(num x, num y, num width, num height) native; 714 void fillRect(num x, num y, num width, num height) native;
715 715
716 void fillText(String text, num x, num y, [num maxWidth = null]) native; 716 void fillText(String text, num x, num y, [num maxWidth = null]) native;
717 717
718 _ImageDataJs getImageData(num sx, num sy, num sw, num sh) native; 718 _ImageDataJs getImageData(num sx, num sy, num sw, num sh) native;
(...skipping 17 matching lines...) Expand all
736 void rotate(num angle) native; 736 void rotate(num angle) native;
737 737
738 void save() native; 738 void save() native;
739 739
740 void scale(num sx, num sy) native; 740 void scale(num sx, num sy) native;
741 741
742 void setAlpha(num alpha) native; 742 void setAlpha(num alpha) native;
743 743
744 void setCompositeOperation(String compositeOperation) native; 744 void setCompositeOperation(String compositeOperation) native;
745 745
746 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; 746 void setFillColor(c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m = null, n um b_OR_y = null, num a_OR_k = null, num a = null]) native;
747 747
748 void setLineCap(String cap) native; 748 void setLineCap(String cap) native;
749 749
750 void setLineJoin(String join) native; 750 void setLineJoin(String join) native;
751 751
752 void setLineWidth(num width) native; 752 void setLineWidth(num width) native;
753 753
754 void setMiterLimit(num limit) native; 754 void setMiterLimit(num limit) native;
755 755
756 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; 756 void setShadow(num width, num height, num blur, [c_OR_color_OR_grayLevel_OR_r = null, num alpha_OR_g_OR_m = null, num b_OR_y = null, num a_OR_k = null, num a = null]) native;
757 757
758 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; 758 void setStrokeColor(c_OR_color_OR_grayLevel_OR_r, [num alpha_OR_g_OR_m = null, num b_OR_y = null, num a_OR_k = null, num a = null]) native;
759 759
760 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy) native; 760 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy) native;
761 761
762 void stroke() native; 762 void stroke() native;
763 763
764 void strokeRect(num x, num y, num width, num height, [num lineWidth = null]) n ative; 764 void strokeRect(num x, num y, num width, num height, [num lineWidth = null]) n ative;
765 765
766 void strokeText(String text, num x, num y, [num maxWidth = null]) native; 766 void strokeText(String text, num x, num y, [num maxWidth = null]) native;
767 767
768 void transform(num m11, num m12, num m21, num m22, num dx, num dy) native; 768 void transform(num m11, num m12, num m21, num m22, num dx, num dy) native;
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
1197 1197
1198 void remove(String token) native; 1198 void remove(String token) native;
1199 1199
1200 String toString() native; 1200 String toString() native;
1201 1201
1202 bool toggle(String token) native; 1202 bool toggle(String token) native;
1203 } 1203 }
1204 1204
1205 class _DOMURLJs extends _DOMTypeJs implements DOMURL native "*DOMURL" { 1205 class _DOMURLJs extends _DOMTypeJs implements DOMURL native "*DOMURL" {
1206 1206
1207 String createObjectURL(var blob_OR_stream) native; 1207 String createObjectURL(blob_OR_stream) native;
1208 1208
1209 void revokeObjectURL(String url) native; 1209 void revokeObjectURL(String url) native;
1210 } 1210 }
1211 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1211 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1212 // for details. All rights reserved. Use of this source code is governed by a 1212 // for details. All rights reserved. Use of this source code is governed by a
1213 // BSD-style license that can be found in the LICENSE file. 1213 // BSD-style license that can be found in the LICENSE file.
1214 1214
1215 class _DOMWindowJs extends _EventTargetJs implements DOMWindow native "@*DOMWind ow" { 1215 class _DOMWindowJs extends _EventTargetJs implements DOMWindow native "@*DOMWind ow" {
1216 1216
1217 static final int PERSISTENT = 1; 1217 static final int PERSISTENT = 1;
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
1349 _MediaQueryListJs matchMedia(String query) native; 1349 _MediaQueryListJs matchMedia(String query) native;
1350 1350
1351 void moveBy(num x, num y) native; 1351 void moveBy(num x, num y) native;
1352 1352
1353 void moveTo(num x, num y) native; 1353 void moveTo(num x, num y) native;
1354 1354
1355 _DOMWindowJs open(String url, String name, [String options = null]) native; 1355 _DOMWindowJs open(String url, String name, [String options = null]) native;
1356 1356
1357 _DatabaseJs openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback = null]) native; 1357 _DatabaseJs openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback = null]) native;
1358 1358
1359 void postMessage(Dynamic message, String targetOrigin, [List messagePorts = nu ll]) native; 1359 void postMessage(message, String targetOrigin, [List messagePorts = null]) nat ive;
1360 1360
1361 void print() native; 1361 void print() native;
1362 1362
1363 String prompt(String message, String defaultValue) native; 1363 String prompt(String message, String defaultValue) native;
1364 1364
1365 void releaseEvents() native; 1365 void releaseEvents() native;
1366 1366
1367 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 1367 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
1368 1368
1369 void resizeBy(num x, num y) native; 1369 void resizeBy(num x, num y) native;
(...skipping 15 matching lines...) Expand all
1385 void stop() native; 1385 void stop() native;
1386 1386
1387 void webkitCancelAnimationFrame(int id) native; 1387 void webkitCancelAnimationFrame(int id) native;
1388 1388
1389 void webkitCancelRequestAnimationFrame(int id) native; 1389 void webkitCancelRequestAnimationFrame(int id) native;
1390 1390
1391 _WebKitPointJs webkitConvertPointFromNodeToPage(_NodeJs node, _WebKitPointJs p ) native; 1391 _WebKitPointJs webkitConvertPointFromNodeToPage(_NodeJs node, _WebKitPointJs p ) native;
1392 1392
1393 _WebKitPointJs webkitConvertPointFromPageToNode(_NodeJs node, _WebKitPointJs p ) native; 1393 _WebKitPointJs webkitConvertPointFromPageToNode(_NodeJs node, _WebKitPointJs p ) native;
1394 1394
1395 void webkitPostMessage(Dynamic message, String targetOrigin, [List transferLis t = null]) native; 1395 void webkitPostMessage(message, String targetOrigin, [List transferList = null ]) native;
1396 1396
1397 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback) native ; 1397 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback) native ;
1398 1398
1399 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal lback, [ErrorCallback errorCallback = null]) native; 1399 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal lback, [ErrorCallback errorCallback = null]) native;
1400 1400
1401 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac k = null, ErrorCallback errorCallback = null]) native; 1401 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac k = null, ErrorCallback errorCallback = null]) native;
1402 1402
1403 1403
1404 Window get _top() native "return this.top;"; 1404 Window get _top() native "return this.top;";
1405 1405
(...skipping 11 matching lines...) Expand all
1417 1417
1418 void getAsString([StringCallback callback = null]) native; 1418 void getAsString([StringCallback callback = null]) native;
1419 1419
1420 void webkitGetAsEntry([EntryCallback callback = null]) native; 1420 void webkitGetAsEntry([EntryCallback callback = null]) native;
1421 } 1421 }
1422 1422
1423 class _DataTransferItemListJs extends _DOMTypeJs implements DataTransferItemList native "*DataTransferItemList" { 1423 class _DataTransferItemListJs extends _DOMTypeJs implements DataTransferItemList native "*DataTransferItemList" {
1424 1424
1425 final int length; 1425 final int length;
1426 1426
1427 void add(var data_OR_file, [String type = null]) native; 1427 void add(data_OR_file, [String type = null]) native;
1428 1428
1429 void clear() native; 1429 void clear() native;
1430 1430
1431 _DataTransferItemJs item(int index) native; 1431 _DataTransferItemJs item(int index) native;
1432 } 1432 }
1433 1433
1434 class _DataViewJs extends _ArrayBufferViewJs implements DataView native "*DataVi ew" { 1434 class _DataViewJs extends _ArrayBufferViewJs implements DataView native "*DataVi ew" {
1435 1435
1436 num getFloat32(int byteOffset, [bool littleEndian = null]) native; 1436 num getFloat32(int byteOffset, [bool littleEndian = null]) native;
1437 1437
(...skipping 2299 matching lines...) Expand 10 before | Expand all | Expand 10 after
3737 final bool willValidate; 3737 final bool willValidate;
3738 3738
3739 void add(_HTMLElementJs element, _HTMLElementJs before) native; 3739 void add(_HTMLElementJs element, _HTMLElementJs before) native;
3740 3740
3741 bool checkValidity() native; 3741 bool checkValidity() native;
3742 3742
3743 _NodeJs item(int index) native; 3743 _NodeJs item(int index) native;
3744 3744
3745 _NodeJs namedItem(String name) native; 3745 _NodeJs namedItem(String name) native;
3746 3746
3747 void remove(var index_OR_option) native; 3747 void remove(index_OR_option) native;
3748 3748
3749 void setCustomValidity(String error) native; 3749 void setCustomValidity(String error) native;
3750 } 3750 }
3751 3751
3752 class _HTMLShadowElementJs extends _HTMLElementJs implements HTMLShadowElement n ative "*HTMLShadowElement" { 3752 class _HTMLShadowElementJs extends _HTMLElementJs implements HTMLShadowElement n ative "*HTMLShadowElement" {
3753 } 3753 }
3754 3754
3755 class _HTMLSourceElementJs extends _HTMLElementJs implements HTMLSourceElement n ative "*HTMLSourceElement" { 3755 class _HTMLSourceElementJs extends _HTMLElementJs implements HTMLSourceElement n ative "*HTMLSourceElement" {
3756 3756
3757 String media; 3757 String media;
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
4050 4050
4051 final String oldURL; 4051 final String oldURL;
4052 4052
4053 void initHashChangeEvent(String type, bool canBubble, bool cancelable, String oldURL, String newURL) native; 4053 void initHashChangeEvent(String type, bool canBubble, bool cancelable, String oldURL, String newURL) native;
4054 } 4054 }
4055 4055
4056 class _HistoryJs extends _DOMTypeJs implements History native "*History" { 4056 class _HistoryJs extends _DOMTypeJs implements History native "*History" {
4057 4057
4058 final int length; 4058 final int length;
4059 4059
4060 final Dynamic state; 4060 final state;
4061 4061
4062 void back() native; 4062 void back() native;
4063 4063
4064 void forward() native; 4064 void forward() native;
4065 4065
4066 void go(int distance) native; 4066 void go(int distance) native;
4067 4067
4068 void pushState(Object data, String title, [String url = null]) native; 4068 void pushState(Object data, String title, [String url = null]) native;
4069 4069
4070 void replaceState(Object data, String title, [String url = null]) native; 4070 void replaceState(Object data, String title, [String url = null]) native;
4071 } 4071 }
4072 4072
4073 class _IDBAnyJs extends _DOMTypeJs implements IDBAny native "*IDBAny" { 4073 class _IDBAnyJs extends _DOMTypeJs implements IDBAny native "*IDBAny" {
4074 } 4074 }
4075 4075
4076 class _IDBCursorJs extends _DOMTypeJs implements IDBCursor native "*IDBCursor" { 4076 class _IDBCursorJs extends _DOMTypeJs implements IDBCursor native "*IDBCursor" {
4077 4077
4078 static final int NEXT = 0; 4078 static final int NEXT = 0;
4079 4079
4080 static final int NEXT_NO_DUPLICATE = 1; 4080 static final int NEXT_NO_DUPLICATE = 1;
4081 4081
4082 static final int PREV = 2; 4082 static final int PREV = 2;
4083 4083
4084 static final int PREV_NO_DUPLICATE = 3; 4084 static final int PREV_NO_DUPLICATE = 3;
4085 4085
4086 final int direction; 4086 final int direction;
4087 4087
4088 final _IDBKeyJs key; 4088 final key;
4089 4089
4090 final _IDBKeyJs primaryKey; 4090 final primaryKey;
4091 4091
4092 final _IDBAnyJs source; 4092 final source;
4093 4093
4094 void continueFunction([_IDBKeyJs key = null]) native ''' 4094 void continueFunction([key = null]) native '''
4095 if (key == null) return this['continue'](); 4095 if (key == null) return this['continue']();
4096 return this['continue'](key); 4096 return this['continue'](key);
4097 '''; 4097 ''';
4098 4098
4099 _IDBRequestJs delete() native; 4099 _IDBRequestJs delete() native;
4100 4100
4101 _IDBRequestJs update(Dynamic value) native; 4101 _IDBRequestJs update(value) native;
4102 } 4102 }
4103 4103
4104 class _IDBCursorWithValueJs extends _IDBCursorJs implements IDBCursorWithValue n ative "*IDBCursorWithValue" { 4104 class _IDBCursorWithValueJs extends _IDBCursorJs implements IDBCursorWithValue n ative "*IDBCursorWithValue" {
4105 4105
4106 final _IDBAnyJs value; 4106 final value;
4107 } 4107 }
4108 4108
4109 class _IDBDatabaseJs extends _EventTargetJs implements IDBDatabase native "*IDBD atabase" { 4109 class _IDBDatabaseJs extends _EventTargetJs implements IDBDatabase native "*IDBD atabase" {
4110 4110
4111 final String name; 4111 final String name;
4112 4112
4113 final List<String> objectStoreNames; 4113 final List<String> objectStoreNames;
4114 4114
4115 final String version; 4115 final String version;
4116 4116
4117 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4117 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4118 4118
4119 void close() native; 4119 void close() native;
4120 4120
4121 _IDBObjectStoreJs createObjectStore(String name) native; 4121 _IDBObjectStoreJs createObjectStore(String name) native;
4122 4122
4123 void deleteObjectStore(String name) native; 4123 void deleteObjectStore(String name) native;
4124 4124
4125 bool dispatchEvent(_EventJs evt) native; 4125 bool dispatchEvent(_EventJs evt) native;
4126 4126
4127 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4127 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4128 4128
4129 _IDBVersionChangeRequestJs setVersion(String version) native; 4129 _IDBVersionChangeRequestJs setVersion(String version) native;
4130 4130
4131 _IDBTransactionJs transaction(var storeName_OR_storeNames, [int mode = null]) native; 4131 _IDBTransactionJs transaction(storeName_OR_storeNames, [int mode = null]) nati ve;
4132 } 4132 }
4133 4133
4134 class _IDBDatabaseExceptionJs extends _DOMTypeJs implements IDBDatabaseException native "*IDBDatabaseException" { 4134 class _IDBDatabaseExceptionJs extends _DOMTypeJs implements IDBDatabaseException native "*IDBDatabaseException" {
4135 4135
4136 static final int ABORT_ERR = 8; 4136 static final int ABORT_ERR = 8;
4137 4137
4138 static final int CONSTRAINT_ERR = 4; 4138 static final int CONSTRAINT_ERR = 4;
4139 4139
4140 static final int DATA_ERR = 5; 4140 static final int DATA_ERR = 5;
4141 4141
(...skipping 21 matching lines...) Expand all
4163 4163
4164 final String message; 4164 final String message;
4165 4165
4166 final String name; 4166 final String name;
4167 4167
4168 String toString() native; 4168 String toString() native;
4169 } 4169 }
4170 4170
4171 class _IDBFactoryJs extends _DOMTypeJs implements IDBFactory native "*IDBFactory " { 4171 class _IDBFactoryJs extends _DOMTypeJs implements IDBFactory native "*IDBFactory " {
4172 4172
4173 int cmp(_IDBKeyJs first, _IDBKeyJs second) native; 4173 int cmp(first, second) native;
4174 4174
4175 _IDBVersionChangeRequestJs deleteDatabase(String name) native; 4175 _IDBVersionChangeRequestJs deleteDatabase(String name) native;
4176 4176
4177 _IDBRequestJs getDatabaseNames() native; 4177 _IDBRequestJs getDatabaseNames() native;
4178 4178
4179 _IDBRequestJs open(String name) native; 4179 _IDBRequestJs open(String name) native;
4180 } 4180 }
4181 4181
4182 class _IDBIndexJs extends _DOMTypeJs implements IDBIndex native "*IDBIndex" { 4182 class _IDBIndexJs extends _DOMTypeJs implements IDBIndex native "*IDBIndex" {
4183 4183
4184 final String keyPath; 4184 final String keyPath;
4185 4185
4186 final bool multiEntry; 4186 final bool multiEntry;
4187 4187
4188 final String name; 4188 final String name;
4189 4189
4190 final _IDBObjectStoreJs objectStore; 4190 final _IDBObjectStoreJs objectStore;
4191 4191
4192 final bool unique; 4192 final bool unique;
4193 4193
4194 _IDBRequestJs count([var key_OR_range = null]) native; 4194 _IDBRequestJs count([key_OR_range = null]) native;
4195 4195
4196 _IDBRequestJs getObject(_IDBKeyJs key) native 'get'; 4196 _IDBRequestJs getObject(key) native 'get';
4197 4197
4198 _IDBRequestJs getKey(_IDBKeyJs key) native; 4198 _IDBRequestJs getKey(key) native;
4199 4199
4200 _IDBRequestJs openCursor([_IDBKeyRangeJs range = null, int direction = null]) native; 4200 _IDBRequestJs openCursor([_IDBKeyRangeJs range = null, int direction = null]) native;
4201 4201
4202 _IDBRequestJs openKeyCursor([_IDBKeyRangeJs range = null, int direction = null ]) native; 4202 _IDBRequestJs openKeyCursor([_IDBKeyRangeJs range = null, int direction = null ]) native;
4203 } 4203 }
4204 4204
4205 class _IDBKeyJs extends _DOMTypeJs implements IDBKey native "*IDBKey" { 4205 class _IDBKeyJs extends _DOMTypeJs implements IDBKey native "*IDBKey" {
4206 } 4206 }
4207 4207
4208 class _IDBKeyRangeJs extends _DOMTypeJs implements IDBKeyRange native "*IDBKeyRa nge" { 4208 class _IDBKeyRangeJs extends _DOMTypeJs implements IDBKeyRange native "*IDBKeyRa nge" {
4209 4209
4210 final _IDBKeyJs lower; 4210 final lower;
4211 4211
4212 final bool lowerOpen; 4212 final bool lowerOpen;
4213 4213
4214 final _IDBKeyJs upper; 4214 final upper;
4215 4215
4216 final bool upperOpen; 4216 final bool upperOpen;
4217 4217
4218 _IDBKeyRangeJs bound(_IDBKeyJs lower, _IDBKeyJs upper, [bool lowerOpen = null, bool upperOpen = null]) native; 4218 _IDBKeyRangeJs bound(lower, upper, [bool lowerOpen = null, bool upperOpen = nu ll]) native;
4219 4219
4220 _IDBKeyRangeJs lowerBound(_IDBKeyJs bound, [bool open = null]) native; 4220 _IDBKeyRangeJs lowerBound(bound, [bool open = null]) native;
4221 4221
4222 _IDBKeyRangeJs only(_IDBKeyJs value) native; 4222 _IDBKeyRangeJs only(value) native;
4223 4223
4224 _IDBKeyRangeJs upperBound(_IDBKeyJs bound, [bool open = null]) native; 4224 _IDBKeyRangeJs upperBound(bound, [bool open = null]) native;
4225 } 4225 }
4226 4226
4227 class _IDBObjectStoreJs extends _DOMTypeJs implements IDBObjectStore native "*ID BObjectStore" { 4227 class _IDBObjectStoreJs extends _DOMTypeJs implements IDBObjectStore native "*ID BObjectStore" {
4228 4228
4229 final List<String> indexNames; 4229 final List<String> indexNames;
4230 4230
4231 final String keyPath; 4231 final String keyPath;
4232 4232
4233 final String name; 4233 final String name;
4234 4234
4235 final _IDBTransactionJs transaction; 4235 final _IDBTransactionJs transaction;
4236 4236
4237 _IDBRequestJs add(Dynamic value, [_IDBKeyJs key = null]) native; 4237 _IDBRequestJs add(value, [key = null]) native;
4238 4238
4239 _IDBRequestJs clear() native; 4239 _IDBRequestJs clear() native;
4240 4240
4241 _IDBRequestJs count([var key_OR_range = null]) native; 4241 _IDBRequestJs count([key_OR_range = null]) native;
4242 4242
4243 _IDBIndexJs createIndex(String name, String keyPath) native; 4243 _IDBIndexJs createIndex(String name, String keyPath) native;
4244 4244
4245 _IDBRequestJs delete(var key_OR_keyRange) native; 4245 _IDBRequestJs delete(key_OR_keyRange) native;
4246 4246
4247 void deleteIndex(String name) native; 4247 void deleteIndex(String name) native;
4248 4248
4249 _IDBRequestJs getObject(_IDBKeyJs key) native 'get'; 4249 _IDBRequestJs getObject(key) native 'get';
4250 4250
4251 _IDBIndexJs index(String name) native; 4251 _IDBIndexJs index(String name) native;
4252 4252
4253 _IDBRequestJs openCursor([_IDBKeyRangeJs range = null, int direction = null]) native; 4253 _IDBRequestJs openCursor([_IDBKeyRangeJs range = null, int direction = null]) native;
4254 4254
4255 _IDBRequestJs put(Dynamic value, [_IDBKeyJs key = null]) native; 4255 _IDBRequestJs put(value, [key = null]) native;
4256 } 4256 }
4257 4257
4258 class _IDBRequestJs extends _EventTargetJs implements IDBRequest native "*IDBReq uest" { 4258 class _IDBRequestJs extends _EventTargetJs implements IDBRequest native "*IDBReq uest" {
4259 4259
4260 static final int DONE = 2; 4260 static final int DONE = 2;
4261 4261
4262 static final int LOADING = 1; 4262 static final int LOADING = 1;
4263 4263
4264 final int errorCode; 4264 final int errorCode;
4265 4265
4266 final int readyState; 4266 final int readyState;
4267 4267
4268 final _IDBAnyJs result; 4268 final result;
4269 4269
4270 final _IDBAnyJs source; 4270 final source;
4271 4271
4272 final _IDBTransactionJs transaction; 4272 final _IDBTransactionJs transaction;
4273 4273
4274 final String webkitErrorMessage; 4274 final String webkitErrorMessage;
4275 4275
4276 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4276 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4277 4277
4278 bool dispatchEvent(_EventJs evt) native; 4278 bool dispatchEvent(_EventJs evt) native;
4279 4279
4280 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4280 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
(...skipping 6679 matching lines...) Expand 10 before | Expand all | Expand 10 after
10960 void blendColor(num red, num green, num blue, num alpha) native; 10960 void blendColor(num red, num green, num blue, num alpha) native;
10961 10961
10962 void blendEquation(int mode) native; 10962 void blendEquation(int mode) native;
10963 10963
10964 void blendEquationSeparate(int modeRGB, int modeAlpha) native; 10964 void blendEquationSeparate(int modeRGB, int modeAlpha) native;
10965 10965
10966 void blendFunc(int sfactor, int dfactor) native; 10966 void blendFunc(int sfactor, int dfactor) native;
10967 10967
10968 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) nat ive; 10968 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) nat ive;
10969 10969
10970 void bufferData(int target, var data_OR_size, int usage) native; 10970 void bufferData(int target, data_OR_size, int usage) native;
10971 10971
10972 void bufferSubData(int target, int offset, var data) native; 10972 void bufferSubData(int target, int offset, data) native;
10973 10973
10974 int checkFramebufferStatus(int target) native; 10974 int checkFramebufferStatus(int target) native;
10975 10975
10976 void clear(int mask) native; 10976 void clear(int mask) native;
10977 10977
10978 void clearColor(num red, num green, num blue, num alpha) native; 10978 void clearColor(num red, num green, num blue, num alpha) native;
10979 10979
10980 void clearDepth(num depth) native; 10980 void clearDepth(num depth) native;
10981 10981
10982 void clearStencil(int s) native; 10982 void clearStencil(int s) native;
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
11138 void stencilFuncSeparate(int face, int func, int ref, int mask) native; 11138 void stencilFuncSeparate(int face, int func, int ref, int mask) native;
11139 11139
11140 void stencilMask(int mask) native; 11140 void stencilMask(int mask) native;
11141 11141
11142 void stencilMaskSeparate(int face, int mask) native; 11142 void stencilMaskSeparate(int face, int mask) native;
11143 11143
11144 void stencilOp(int fail, int zfail, int zpass) native; 11144 void stencilOp(int fail, int zfail, int zpass) native;
11145 11145
11146 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native; 11146 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native;
11147 11147
11148 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 = null, int type = null, _ArrayBufferViewJs pixels = null]) native; 11148 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 = null, int type = null, _ArrayBufferViewJs pixels = null]) native;
11149 11149
11150 void texParameterf(int target, int pname, num param) native; 11150 void texParameterf(int target, int pname, num param) native;
11151 11151
11152 void texParameteri(int target, int pname, int param) native; 11152 void texParameteri(int target, int pname, int param) native;
11153 11153
11154 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 = null, _ArrayBufferViewJs pixels = null]) native; 11154 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 = null, _ArrayBufferViewJs pixels = null]) native;
11155 11155
11156 void uniform1f(_WebGLUniformLocationJs location, num x) native; 11156 void uniform1f(_WebGLUniformLocationJs location, num x) native;
11157 11157
11158 void uniform1fv(_WebGLUniformLocationJs location, _Float32ArrayJs v) native; 11158 void uniform1fv(_WebGLUniformLocationJs location, _Float32ArrayJs v) native;
11159 11159
11160 void uniform1i(_WebGLUniformLocationJs location, int x) native; 11160 void uniform1i(_WebGLUniformLocationJs location, int x) native;
11161 11161
11162 void uniform1iv(_WebGLUniformLocationJs location, _Int32ArrayJs v) native; 11162 void uniform1iv(_WebGLUniformLocationJs location, _Int32ArrayJs v) native;
11163 11163
11164 void uniform2f(_WebGLUniformLocationJs location, num x, num y) native; 11164 void uniform2f(_WebGLUniformLocationJs location, num x, num y) native;
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
11283 11283
11284 class _WebKitAnimationListJs extends _DOMTypeJs implements WebKitAnimationList n ative "*WebKitAnimationList" { 11284 class _WebKitAnimationListJs extends _DOMTypeJs implements WebKitAnimationList n ative "*WebKitAnimationList" {
11285 11285
11286 final int length; 11286 final int length;
11287 11287
11288 _WebKitAnimationJs item(int index) native; 11288 _WebKitAnimationJs item(int index) native;
11289 } 11289 }
11290 11290
11291 class _WebKitBlobBuilderJs extends _DOMTypeJs implements WebKitBlobBuilder nativ e "*WebKitBlobBuilder" { 11291 class _WebKitBlobBuilderJs extends _DOMTypeJs implements WebKitBlobBuilder nativ e "*WebKitBlobBuilder" {
11292 11292
11293 void append(var arrayBuffer_OR_blob_OR_value, [String endings = null]) native; 11293 void append(arrayBuffer_OR_blob_OR_value, [String endings = null]) native;
11294 11294
11295 _BlobJs getBlob([String contentType = null]) native; 11295 _BlobJs getBlob([String contentType = null]) native;
11296 } 11296 }
11297 11297
11298 class _WebKitCSSFilterValueJs extends _CSSValueListJs implements WebKitCSSFilter Value native "*WebKitCSSFilterValue" { 11298 class _WebKitCSSFilterValueJs extends _CSSValueListJs implements WebKitCSSFilter Value native "*WebKitCSSFilterValue" {
11299 11299
11300 static final int CSS_FILTER_BLUR = 10; 11300 static final int CSS_FILTER_BLUR = 10;
11301 11301
11302 static final int CSS_FILTER_BRIGHTNESS = 8; 11302 static final int CSS_FILTER_BRIGHTNESS = 8;
11303 11303
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
11558 11558
11559 final int x; 11559 final int x;
11560 11560
11561 final int y; 11561 final int y;
11562 11562
11563 void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, _DOMWindowJs view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) native; 11563 void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, _DOMWindowJs view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) native;
11564 } 11564 }
11565 11565
11566 class _WorkerJs extends _AbstractWorkerJs implements Worker native "*Worker" { 11566 class _WorkerJs extends _AbstractWorkerJs implements Worker native "*Worker" {
11567 11567
11568 void postMessage(Dynamic message, [List messagePorts = null]) native; 11568 void postMessage(message, [List messagePorts = null]) native;
11569 11569
11570 void terminate() native; 11570 void terminate() native;
11571 11571
11572 void webkitPostMessage(Dynamic message, [List messagePorts = null]) native; 11572 void webkitPostMessage(message, [List messagePorts = null]) native;
11573 } 11573 }
11574 11574
11575 class _WorkerContextJs extends _EventTargetJs implements WorkerContext native "* WorkerContext" { 11575 class _WorkerContextJs extends _EventTargetJs implements WorkerContext native "* WorkerContext" {
11576 11576
11577 static final int PERSISTENT = 1; 11577 static final int PERSISTENT = 1;
11578 11578
11579 static final int TEMPORARY = 0; 11579 static final int TEMPORARY = 0;
11580 11580
11581 final _WorkerLocationJs location; 11581 final _WorkerLocationJs location;
11582 11582
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
11696 String getAllResponseHeaders() native; 11696 String getAllResponseHeaders() native;
11697 11697
11698 String getResponseHeader(String header) native; 11698 String getResponseHeader(String header) native;
11699 11699
11700 void open(String method, String url, [bool async = null, String user = null, S tring password = null]) native; 11700 void open(String method, String url, [bool async = null, String user = null, S tring password = null]) native;
11701 11701
11702 void overrideMimeType(String override) native; 11702 void overrideMimeType(String override) native;
11703 11703
11704 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 11704 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
11705 11705
11706 void send([var data = null]) native; 11706 void send([data = null]) native;
11707 11707
11708 void setRequestHeader(String header, String value) native; 11708 void setRequestHeader(String header, String value) native;
11709 } 11709 }
11710 11710
11711 class _XMLHttpRequestExceptionJs extends _DOMTypeJs implements XMLHttpRequestExc eption native "*XMLHttpRequestException" { 11711 class _XMLHttpRequestExceptionJs extends _DOMTypeJs implements XMLHttpRequestExc eption native "*XMLHttpRequestException" {
11712 11712
11713 static final int ABORT_ERR = 102; 11713 static final int ABORT_ERR = 102;
11714 11714
11715 static final int NETWORK_ERR = 101; 11715 static final int NETWORK_ERR = 101;
11716 11716
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
12229 final AudioDestinationNode destination; 12229 final AudioDestinationNode destination;
12230 12230
12231 final AudioListener listener; 12231 final AudioListener listener;
12232 12232
12233 final num sampleRate; 12233 final num sampleRate;
12234 12234
12235 RealtimeAnalyserNode createAnalyser(); 12235 RealtimeAnalyserNode createAnalyser();
12236 12236
12237 BiquadFilterNode createBiquadFilter(); 12237 BiquadFilterNode createBiquadFilter();
12238 12238
12239 AudioBuffer createBuffer(var buffer_OR_numberOfChannels, var mixToMono_OR_numb erOfFrames, [num sampleRate]); 12239 AudioBuffer createBuffer(buffer_OR_numberOfChannels, mixToMono_OR_numberOfFram es, [num sampleRate]);
12240 12240
12241 AudioBufferSourceNode createBufferSource(); 12241 AudioBufferSourceNode createBufferSource();
12242 12242
12243 AudioChannelMerger createChannelMerger(); 12243 AudioChannelMerger createChannelMerger();
12244 12244
12245 AudioChannelSplitter createChannelSplitter(); 12245 AudioChannelSplitter createChannelSplitter();
12246 12246
12247 ConvolverNode createConvolver(); 12247 ConvolverNode createConvolver();
12248 12248
12249 DelayNode createDelayNode([num maxDelayTime]); 12249 DelayNode createDelayNode([num maxDelayTime]);
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
12844 final HTMLCanvasElement canvas; 12844 final HTMLCanvasElement canvas;
12845 } 12845 }
12846 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12846 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12847 // for details. All rights reserved. Use of this source code is governed by a 12847 // for details. All rights reserved. Use of this source code is governed by a
12848 // BSD-style license that can be found in the LICENSE file. 12848 // BSD-style license that can be found in the LICENSE file.
12849 12849
12850 // WARNING: Do not edit - generated code. 12850 // WARNING: Do not edit - generated code.
12851 12851
12852 interface CanvasRenderingContext2D extends CanvasRenderingContext { 12852 interface CanvasRenderingContext2D extends CanvasRenderingContext {
12853 12853
12854 Dynamic fillStyle; 12854 var /*custom*/ fillStyle;
12855 12855
12856 String font; 12856 String font;
12857 12857
12858 num globalAlpha; 12858 num globalAlpha;
12859 12859
12860 String globalCompositeOperation; 12860 String globalCompositeOperation;
12861 12861
12862 String lineCap; 12862 String lineCap;
12863 12863
12864 String lineJoin; 12864 String lineJoin;
12865 12865
12866 num lineWidth; 12866 num lineWidth;
12867 12867
12868 num miterLimit; 12868 num miterLimit;
12869 12869
12870 num shadowBlur; 12870 num shadowBlur;
12871 12871
12872 String shadowColor; 12872 String shadowColor;
12873 12873
12874 num shadowOffsetX; 12874 num shadowOffsetX;
12875 12875
12876 num shadowOffsetY; 12876 num shadowOffsetY;
12877 12877
12878 Dynamic strokeStyle; 12878 var /*custom*/ strokeStyle;
12879 12879
12880 String textAlign; 12880 String textAlign;
12881 12881
12882 String textBaseline; 12882 String textBaseline;
12883 12883
12884 List webkitLineDash; 12884 List webkitLineDash;
12885 12885
12886 num webkitLineDashOffset; 12886 num webkitLineDashOffset;
12887 12887
12888 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise); 12888 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc kwise);
12889 12889
12890 void arcTo(num x1, num y1, num x2, num y2, num radius); 12890 void arcTo(num x1, num y1, num x2, num y2, num radius);
12891 12891
12892 void beginPath(); 12892 void beginPath();
12893 12893
12894 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y); 12894 void bezierCurveTo(num cp1x, num cp1y, num cp2x, num cp2y, num x, num y);
12895 12895
12896 void clearRect(num x, num y, num width, num height); 12896 void clearRect(num x, num y, num width, num height);
12897 12897
12898 void clearShadow(); 12898 void clearShadow();
12899 12899
12900 void clip(); 12900 void clip();
12901 12901
12902 void closePath(); 12902 void closePath();
12903 12903
12904 ImageData createImageData(var imagedata_OR_sw, [num sh]); 12904 ImageData createImageData(imagedata_OR_sw, [num sh]);
12905 12905
12906 CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1); 12906 CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1);
12907 12907
12908 CanvasPattern createPattern(var canvas_OR_image, String repetitionType); 12908 CanvasPattern createPattern(canvas_OR_image, String repetitionType);
12909 12909
12910 CanvasGradient createRadialGradient(num x0, num y0, num r0, num x1, num y1, nu m r1); 12910 CanvasGradient createRadialGradient(num x0, num y0, num r0, num x1, num y1, nu m r1);
12911 12911
12912 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]); 12912 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]);
12913 12913
12914 void drawImageFromRect(HTMLImageElement image, [num sx, num sy, num sw, num sh , num dx, num dy, num dw, num dh, String compositeOperation]); 12914 void drawImageFromRect(HTMLImageElement image, [num sx, num sy, num sw, num sh , num dx, num dy, num dw, num dh, String compositeOperation]);
12915 12915
12916 void fill(); 12916 void fill();
12917 12917
12918 void fillRect(num x, num y, num width, num height); 12918 void fillRect(num x, num y, num width, num height);
12919 12919
12920 void fillText(String text, num x, num y, [num maxWidth]); 12920 void fillText(String text, num x, num y, [num maxWidth]);
12921 12921
12922 ImageData getImageData(num sx, num sy, num sw, num sh); 12922 ImageData getImageData(num sx, num sy, num sw, num sh);
(...skipping 17 matching lines...) Expand all
12940 void rotate(num angle); 12940 void rotate(num angle);
12941 12941
12942 void save(); 12942 void save();
12943 12943
12944 void scale(num sx, num sy); 12944 void scale(num sx, num sy);
12945 12945
12946 void setAlpha(num alpha); 12946 void setAlpha(num alpha);
12947 12947
12948 void setCompositeOperation(String compositeOperation); 12948 void setCompositeOperation(String compositeOperation);
12949 12949
12950 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]); 12950 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]);
12951 12951
12952 void setLineCap(String cap); 12952 void setLineCap(String cap);
12953 12953
12954 void setLineJoin(String join); 12954 void setLineJoin(String join);
12955 12955
12956 void setLineWidth(num width); 12956 void setLineWidth(num width);
12957 12957
12958 void setMiterLimit(num limit); 12958 void setMiterLimit(num limit);
12959 12959
12960 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]); 12960 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]);
12961 12961
12962 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]); 12962 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]);
12963 12963
12964 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy); 12964 void setTransform(num m11, num m12, num m21, num m22, num dx, num dy);
12965 12965
12966 void stroke(); 12966 void stroke();
12967 12967
12968 void strokeRect(num x, num y, num width, num height, [num lineWidth]); 12968 void strokeRect(num x, num y, num width, num height, [num lineWidth]);
12969 12969
12970 void strokeText(String text, num x, num y, [num maxWidth]); 12970 void strokeText(String text, num x, num y, [num maxWidth]);
12971 12971
12972 void transform(num m11, num m12, num m21, num m22, num dx, num dy); 12972 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
13541 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13541 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13542 // for details. All rights reserved. Use of this source code is governed by a 13542 // for details. All rights reserved. Use of this source code is governed by a
13543 // BSD-style license that can be found in the LICENSE file. 13543 // BSD-style license that can be found in the LICENSE file.
13544 13544
13545 // WARNING: Do not edit - generated code. 13545 // WARNING: Do not edit - generated code.
13546 13546
13547 interface DOMURL default _DOMURLFactoryProvider { 13547 interface DOMURL default _DOMURLFactoryProvider {
13548 13548
13549 DOMURL(); 13549 DOMURL();
13550 13550
13551 String createObjectURL(var blob_OR_stream); 13551 String createObjectURL(blob_OR_stream);
13552 13552
13553 void revokeObjectURL(String url); 13553 void revokeObjectURL(String url);
13554 } 13554 }
13555 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13555 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13556 // for details. All rights reserved. Use of this source code is governed by a 13556 // for details. All rights reserved. Use of this source code is governed by a
13557 // BSD-style license that can be found in the LICENSE file. 13557 // BSD-style license that can be found in the LICENSE file.
13558 13558
13559 // WARNING: Do not edit - generated code. 13559 // WARNING: Do not edit - generated code.
13560 13560
13561 interface Window extends EventTarget { 13561 interface Window extends EventTarget {
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
13695 MediaQueryList matchMedia(String query); 13695 MediaQueryList matchMedia(String query);
13696 13696
13697 void moveBy(num x, num y); 13697 void moveBy(num x, num y);
13698 13698
13699 void moveTo(num x, num y); 13699 void moveTo(num x, num y);
13700 13700
13701 DOMWindow open(String url, String name, [String options]); 13701 DOMWindow open(String url, String name, [String options]);
13702 13702
13703 Database openDatabase(String name, String version, String displayName, int est imatedSize, [DatabaseCallback creationCallback]); 13703 Database openDatabase(String name, String version, String displayName, int est imatedSize, [DatabaseCallback creationCallback]);
13704 13704
13705 void postMessage(Dynamic message, String targetOrigin, [List messagePorts]); 13705 void postMessage(/*SerializedScriptValue*/ message, String targetOrigin, [List messagePorts]);
13706 13706
13707 void print(); 13707 void print();
13708 13708
13709 String prompt(String message, String defaultValue); 13709 String prompt(String message, String defaultValue);
13710 13710
13711 void releaseEvents(); 13711 void releaseEvents();
13712 13712
13713 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 13713 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
13714 13714
13715 void resizeBy(num x, num y); 13715 void resizeBy(num x, num y);
(...skipping 15 matching lines...) Expand all
13731 void stop(); 13731 void stop();
13732 13732
13733 void webkitCancelAnimationFrame(int id); 13733 void webkitCancelAnimationFrame(int id);
13734 13734
13735 void webkitCancelRequestAnimationFrame(int id); 13735 void webkitCancelRequestAnimationFrame(int id);
13736 13736
13737 WebKitPoint webkitConvertPointFromNodeToPage(Node node, WebKitPoint p); 13737 WebKitPoint webkitConvertPointFromNodeToPage(Node node, WebKitPoint p);
13738 13738
13739 WebKitPoint webkitConvertPointFromPageToNode(Node node, WebKitPoint p); 13739 WebKitPoint webkitConvertPointFromPageToNode(Node node, WebKitPoint p);
13740 13740
13741 void webkitPostMessage(Dynamic message, String targetOrigin, [List transferLis t]); 13741 void webkitPostMessage(/*SerializedScriptValue*/ message, String targetOrigin, [List transferList]);
13742 13742
13743 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback); 13743 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback);
13744 13744
13745 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal lback, [ErrorCallback errorCallback]); 13745 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal lback, [ErrorCallback errorCallback]);
13746 13746
13747 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac k, ErrorCallback errorCallback]); 13747 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac k, ErrorCallback errorCallback]);
13748 } 13748 }
13749 13749
13750 interface DOMWindow extends Window { 13750 interface DOMWindow extends Window {
13751 13751
(...skipping 22 matching lines...) Expand all
13774 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13774 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13775 // for details. All rights reserved. Use of this source code is governed by a 13775 // for details. All rights reserved. Use of this source code is governed by a
13776 // BSD-style license that can be found in the LICENSE file. 13776 // BSD-style license that can be found in the LICENSE file.
13777 13777
13778 // WARNING: Do not edit - generated code. 13778 // WARNING: Do not edit - generated code.
13779 13779
13780 interface DataTransferItemList { 13780 interface DataTransferItemList {
13781 13781
13782 final int length; 13782 final int length;
13783 13783
13784 void add(var data_OR_file, [String type]); 13784 void add(data_OR_file, [String type]);
13785 13785
13786 void clear(); 13786 void clear();
13787 13787
13788 DataTransferItem item(int index); 13788 DataTransferItem item(int index);
13789 } 13789 }
13790 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13790 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13791 // for details. All rights reserved. Use of this source code is governed by a 13791 // for details. All rights reserved. Use of this source code is governed by a
13792 // BSD-style license that can be found in the LICENSE file. 13792 // BSD-style license that can be found in the LICENSE file.
13793 13793
13794 // WARNING: Do not edit - generated code. 13794 // WARNING: Do not edit - generated code.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
13842 void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCall back errorCallback, VoidCallback successCallback]); 13842 void readTransaction(SQLTransactionCallback callback, [SQLTransactionErrorCall back errorCallback, VoidCallback successCallback]);
13843 13843
13844 void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback errorCallback, VoidCallback successCallback]); 13844 void transaction(SQLTransactionCallback callback, [SQLTransactionErrorCallback errorCallback, VoidCallback successCallback]);
13845 } 13845 }
13846 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 13846 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
13847 // for details. All rights reserved. Use of this source code is governed by a 13847 // for details. All rights reserved. Use of this source code is governed by a
13848 // BSD-style license that can be found in the LICENSE file. 13848 // BSD-style license that can be found in the LICENSE file.
13849 13849
13850 // WARNING: Do not edit - generated code. 13850 // WARNING: Do not edit - generated code.
13851 13851
13852 typedef bool DatabaseCallback(var database); 13852 typedef bool DatabaseCallback(database);
13853 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13853 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13854 // for details. All rights reserved. Use of this source code is governed by a 13854 // for details. All rights reserved. Use of this source code is governed by a
13855 // BSD-style license that can be found in the LICENSE file. 13855 // BSD-style license that can be found in the LICENSE file.
13856 13856
13857 // WARNING: Do not edit - generated code. 13857 // WARNING: Do not edit - generated code.
13858 13858
13859 interface DatabaseSync { 13859 interface DatabaseSync {
13860 13860
13861 final String lastErrorMessage; 13861 final String lastErrorMessage;
13862 13862
(...skipping 2565 matching lines...) Expand 10 before | Expand all | Expand 10 after
16428 final bool willValidate; 16428 final bool willValidate;
16429 16429
16430 void add(HTMLElement element, HTMLElement before); 16430 void add(HTMLElement element, HTMLElement before);
16431 16431
16432 bool checkValidity(); 16432 bool checkValidity();
16433 16433
16434 Node item(int index); 16434 Node item(int index);
16435 16435
16436 Node namedItem(String name); 16436 Node namedItem(String name);
16437 16437
16438 void remove(var index_OR_option); 16438 void remove(index_OR_option);
16439 16439
16440 void setCustomValidity(String error); 16440 void setCustomValidity(String error);
16441 } 16441 }
16442 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16442 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16443 // for details. All rights reserved. Use of this source code is governed by a 16443 // for details. All rights reserved. Use of this source code is governed by a
16444 // BSD-style license that can be found in the LICENSE file. 16444 // BSD-style license that can be found in the LICENSE file.
16445 16445
16446 // WARNING: Do not edit - generated code. 16446 // WARNING: Do not edit - generated code.
16447 16447
16448 interface HTMLShadowElement extends HTMLElement { 16448 interface HTMLShadowElement extends HTMLElement {
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
16830 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16830 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16831 // for details. All rights reserved. Use of this source code is governed by a 16831 // for details. All rights reserved. Use of this source code is governed by a
16832 // BSD-style license that can be found in the LICENSE file. 16832 // BSD-style license that can be found in the LICENSE file.
16833 16833
16834 // WARNING: Do not edit - generated code. 16834 // WARNING: Do not edit - generated code.
16835 16835
16836 interface History { 16836 interface History {
16837 16837
16838 final int length; 16838 final int length;
16839 16839
16840 final Dynamic state; 16840 final /*SerializedScriptValue*/ state;
16841 16841
16842 void back(); 16842 void back();
16843 16843
16844 void forward(); 16844 void forward();
16845 16845
16846 void go(int distance); 16846 void go(int distance);
16847 16847
16848 void pushState(Object data, String title, [String url]); 16848 void pushState(Object data, String title, [String url]);
16849 16849
16850 void replaceState(Object data, String title, [String url]); 16850 void replaceState(Object data, String title, [String url]);
(...skipping 17 matching lines...) Expand all
16868 static final int NEXT = 0; 16868 static final int NEXT = 0;
16869 16869
16870 static final int NEXT_NO_DUPLICATE = 1; 16870 static final int NEXT_NO_DUPLICATE = 1;
16871 16871
16872 static final int PREV = 2; 16872 static final int PREV = 2;
16873 16873
16874 static final int PREV_NO_DUPLICATE = 3; 16874 static final int PREV_NO_DUPLICATE = 3;
16875 16875
16876 final int direction; 16876 final int direction;
16877 16877
16878 final IDBKey key; 16878 final /*IDBKey*/ key;
16879 16879
16880 final IDBKey primaryKey; 16880 final /*IDBKey*/ primaryKey;
16881 16881
16882 final IDBAny source; 16882 final /*IDBAny*/ source;
16883 16883
16884 void continueFunction([IDBKey key]); 16884 void continueFunction([/*IDBKey*/ key]);
16885 16885
16886 IDBRequest delete(); 16886 IDBRequest delete();
16887 16887
16888 IDBRequest update(Dynamic value); 16888 IDBRequest update(/*SerializedScriptValue*/ value);
16889 } 16889 }
16890 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16890 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16891 // for details. All rights reserved. Use of this source code is governed by a 16891 // for details. All rights reserved. Use of this source code is governed by a
16892 // BSD-style license that can be found in the LICENSE file. 16892 // BSD-style license that can be found in the LICENSE file.
16893 16893
16894 // WARNING: Do not edit - generated code. 16894 // WARNING: Do not edit - generated code.
16895 16895
16896 interface IDBCursorWithValue extends IDBCursor { 16896 interface IDBCursorWithValue extends IDBCursor {
16897 16897
16898 final IDBAny value; 16898 final /*IDBAny*/ value;
16899 } 16899 }
16900 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16900 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16901 // for details. All rights reserved. Use of this source code is governed by a 16901 // for details. All rights reserved. Use of this source code is governed by a
16902 // BSD-style license that can be found in the LICENSE file. 16902 // BSD-style license that can be found in the LICENSE file.
16903 16903
16904 // WARNING: Do not edit - generated code. 16904 // WARNING: Do not edit - generated code.
16905 16905
16906 interface IDBDatabase extends EventTarget { 16906 interface IDBDatabase extends EventTarget {
16907 16907
16908 final String name; 16908 final String name;
16909 16909
16910 final List<String> objectStoreNames; 16910 final List<String> objectStoreNames;
16911 16911
16912 final String version; 16912 final String version;
16913 16913
16914 void addEventListener(String type, EventListener listener, [bool useCapture]); 16914 void addEventListener(String type, EventListener listener, [bool useCapture]);
16915 16915
16916 void close(); 16916 void close();
16917 16917
16918 IDBObjectStore createObjectStore(String name); 16918 IDBObjectStore createObjectStore(String name);
16919 16919
16920 void deleteObjectStore(String name); 16920 void deleteObjectStore(String name);
16921 16921
16922 bool dispatchEvent(Event evt); 16922 bool dispatchEvent(Event evt);
16923 16923
16924 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 16924 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
16925 16925
16926 IDBVersionChangeRequest setVersion(String version); 16926 IDBVersionChangeRequest setVersion(String version);
16927 16927
16928 IDBTransaction transaction(var storeName_OR_storeNames, [int mode]); 16928 IDBTransaction transaction(storeName_OR_storeNames, [int mode]);
16929 } 16929 }
16930 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16930 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16931 // for details. All rights reserved. Use of this source code is governed by a 16931 // for details. All rights reserved. Use of this source code is governed by a
16932 // BSD-style license that can be found in the LICENSE file. 16932 // BSD-style license that can be found in the LICENSE file.
16933 16933
16934 // WARNING: Do not edit - generated code. 16934 // WARNING: Do not edit - generated code.
16935 16935
16936 interface IDBDatabaseException { 16936 interface IDBDatabaseException {
16937 16937
16938 static final int ABORT_ERR = 8; 16938 static final int ABORT_ERR = 8;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
16970 String toString(); 16970 String toString();
16971 } 16971 }
16972 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16972 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16973 // for details. All rights reserved. Use of this source code is governed by a 16973 // for details. All rights reserved. Use of this source code is governed by a
16974 // BSD-style license that can be found in the LICENSE file. 16974 // BSD-style license that can be found in the LICENSE file.
16975 16975
16976 // WARNING: Do not edit - generated code. 16976 // WARNING: Do not edit - generated code.
16977 16977
16978 interface IDBFactory { 16978 interface IDBFactory {
16979 16979
16980 int cmp(IDBKey first, IDBKey second); 16980 int cmp(/*IDBKey*/ first, /*IDBKey*/ second);
16981 16981
16982 IDBVersionChangeRequest deleteDatabase(String name); 16982 IDBVersionChangeRequest deleteDatabase(String name);
16983 16983
16984 IDBRequest getDatabaseNames(); 16984 IDBRequest getDatabaseNames();
16985 16985
16986 IDBRequest open(String name); 16986 IDBRequest open(String name);
16987 } 16987 }
16988 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 16988 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
16989 // for details. All rights reserved. Use of this source code is governed by a 16989 // for details. All rights reserved. Use of this source code is governed by a
16990 // BSD-style license that can be found in the LICENSE file. 16990 // BSD-style license that can be found in the LICENSE file.
16991 16991
16992 // WARNING: Do not edit - generated code. 16992 // WARNING: Do not edit - generated code.
16993 16993
16994 interface IDBIndex { 16994 interface IDBIndex {
16995 16995
16996 final String keyPath; 16996 final String keyPath;
16997 16997
16998 final bool multiEntry; 16998 final bool multiEntry;
16999 16999
17000 final String name; 17000 final String name;
17001 17001
17002 final IDBObjectStore objectStore; 17002 final IDBObjectStore objectStore;
17003 17003
17004 final bool unique; 17004 final bool unique;
17005 17005
17006 IDBRequest count([var key_OR_range]); 17006 IDBRequest count([key_OR_range]);
17007 17007
17008 IDBRequest getObject(IDBKey key); 17008 IDBRequest getObject(/*IDBKey*/ key);
17009 17009
17010 IDBRequest getKey(IDBKey key); 17010 IDBRequest getKey(/*IDBKey*/ key);
17011 17011
17012 IDBRequest openCursor([IDBKeyRange range, int direction]); 17012 IDBRequest openCursor([IDBKeyRange range, int direction]);
17013 17013
17014 IDBRequest openKeyCursor([IDBKeyRange range, int direction]); 17014 IDBRequest openKeyCursor([IDBKeyRange range, int direction]);
17015 } 17015 }
17016 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17016 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17017 // for details. All rights reserved. Use of this source code is governed by a 17017 // for details. All rights reserved. Use of this source code is governed by a
17018 // BSD-style license that can be found in the LICENSE file. 17018 // BSD-style license that can be found in the LICENSE file.
17019 17019
17020 // WARNING: Do not edit - generated code. 17020 // WARNING: Do not edit - generated code.
17021 17021
17022 interface IDBKey { 17022 interface IDBKey {
17023 } 17023 }
17024 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17024 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17025 // for details. All rights reserved. Use of this source code is governed by a 17025 // for details. All rights reserved. Use of this source code is governed by a
17026 // BSD-style license that can be found in the LICENSE file. 17026 // BSD-style license that can be found in the LICENSE file.
17027 17027
17028 // WARNING: Do not edit - generated code. 17028 // WARNING: Do not edit - generated code.
17029 17029
17030 interface IDBKeyRange { 17030 interface IDBKeyRange {
17031 17031
17032 final IDBKey lower; 17032 final /*IDBKey*/ lower;
17033 17033
17034 final bool lowerOpen; 17034 final bool lowerOpen;
17035 17035
17036 final IDBKey upper; 17036 final /*IDBKey*/ upper;
17037 17037
17038 final bool upperOpen; 17038 final bool upperOpen;
17039 17039
17040 IDBKeyRange bound(IDBKey lower, IDBKey upper, [bool lowerOpen, bool upperOpen] ); 17040 IDBKeyRange bound(/*IDBKey*/ lower, /*IDBKey*/ upper, [bool lowerOpen, bool up perOpen]);
17041 17041
17042 IDBKeyRange lowerBound(IDBKey bound, [bool open]); 17042 IDBKeyRange lowerBound(/*IDBKey*/ bound, [bool open]);
17043 17043
17044 IDBKeyRange only(IDBKey value); 17044 IDBKeyRange only(/*IDBKey*/ value);
17045 17045
17046 IDBKeyRange upperBound(IDBKey bound, [bool open]); 17046 IDBKeyRange upperBound(/*IDBKey*/ bound, [bool open]);
17047 } 17047 }
17048 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17048 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17049 // for details. All rights reserved. Use of this source code is governed by a 17049 // for details. All rights reserved. Use of this source code is governed by a
17050 // BSD-style license that can be found in the LICENSE file. 17050 // BSD-style license that can be found in the LICENSE file.
17051 17051
17052 // WARNING: Do not edit - generated code. 17052 // WARNING: Do not edit - generated code.
17053 17053
17054 interface IDBObjectStore { 17054 interface IDBObjectStore {
17055 17055
17056 final List<String> indexNames; 17056 final List<String> indexNames;
17057 17057
17058 final String keyPath; 17058 final String keyPath;
17059 17059
17060 final String name; 17060 final String name;
17061 17061
17062 final IDBTransaction transaction; 17062 final IDBTransaction transaction;
17063 17063
17064 IDBRequest add(Dynamic value, [IDBKey key]); 17064 IDBRequest add(/*SerializedScriptValue*/ value, [/*IDBKey*/ key]);
17065 17065
17066 IDBRequest clear(); 17066 IDBRequest clear();
17067 17067
17068 IDBRequest count([var key_OR_range]); 17068 IDBRequest count([key_OR_range]);
17069 17069
17070 IDBIndex createIndex(String name, String keyPath); 17070 IDBIndex createIndex(String name, String keyPath);
17071 17071
17072 IDBRequest delete(var key_OR_keyRange); 17072 IDBRequest delete(key_OR_keyRange);
17073 17073
17074 void deleteIndex(String name); 17074 void deleteIndex(String name);
17075 17075
17076 IDBRequest getObject(IDBKey key); 17076 IDBRequest getObject(/*IDBKey*/ key);
17077 17077
17078 IDBIndex index(String name); 17078 IDBIndex index(String name);
17079 17079
17080 IDBRequest openCursor([IDBKeyRange range, int direction]); 17080 IDBRequest openCursor([IDBKeyRange range, int direction]);
17081 17081
17082 IDBRequest put(Dynamic value, [IDBKey key]); 17082 IDBRequest put(/*SerializedScriptValue*/ value, [/*IDBKey*/ key]);
17083 } 17083 }
17084 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17084 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17085 // for details. All rights reserved. Use of this source code is governed by a 17085 // for details. All rights reserved. Use of this source code is governed by a
17086 // BSD-style license that can be found in the LICENSE file. 17086 // BSD-style license that can be found in the LICENSE file.
17087 17087
17088 // WARNING: Do not edit - generated code. 17088 // WARNING: Do not edit - generated code.
17089 17089
17090 interface IDBRequest extends EventTarget { 17090 interface IDBRequest extends EventTarget {
17091 17091
17092 static final int DONE = 2; 17092 static final int DONE = 2;
17093 17093
17094 static final int LOADING = 1; 17094 static final int LOADING = 1;
17095 17095
17096 final int errorCode; 17096 final int errorCode;
17097 17097
17098 final int readyState; 17098 final int readyState;
17099 17099
17100 final IDBAny result; 17100 final /*IDBAny*/ result;
17101 17101
17102 final IDBAny source; 17102 final /*IDBAny*/ source;
17103 17103
17104 final IDBTransaction transaction; 17104 final IDBTransaction transaction;
17105 17105
17106 final String webkitErrorMessage; 17106 final String webkitErrorMessage;
17107 17107
17108 void addEventListener(String type, EventListener listener, [bool useCapture]); 17108 void addEventListener(String type, EventListener listener, [bool useCapture]);
17109 17109
17110 bool dispatchEvent(Event evt); 17110 bool dispatchEvent(Event evt);
17111 17111
17112 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 17112 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
(...skipping 5851 matching lines...) Expand 10 before | Expand all | Expand 10 after
22964 void blendColor(num red, num green, num blue, num alpha); 22964 void blendColor(num red, num green, num blue, num alpha);
22965 22965
22966 void blendEquation(int mode); 22966 void blendEquation(int mode);
22967 22967
22968 void blendEquationSeparate(int modeRGB, int modeAlpha); 22968 void blendEquationSeparate(int modeRGB, int modeAlpha);
22969 22969
22970 void blendFunc(int sfactor, int dfactor); 22970 void blendFunc(int sfactor, int dfactor);
22971 22971
22972 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha); 22972 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha);
22973 22973
22974 void bufferData(int target, var data_OR_size, int usage); 22974 void bufferData(int target, data_OR_size, int usage);
22975 22975
22976 void bufferSubData(int target, int offset, var data); 22976 void bufferSubData(int target, int offset, data);
22977 22977
22978 int checkFramebufferStatus(int target); 22978 int checkFramebufferStatus(int target);
22979 22979
22980 void clear(int mask); 22980 void clear(int mask);
22981 22981
22982 void clearColor(num red, num green, num blue, num alpha); 22982 void clearColor(num red, num green, num blue, num alpha);
22983 22983
22984 void clearDepth(num depth); 22984 void clearDepth(num depth);
22985 22985
22986 void clearStencil(int s); 22986 void clearStencil(int s);
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
23142 void stencilFuncSeparate(int face, int func, int ref, int mask); 23142 void stencilFuncSeparate(int face, int func, int ref, int mask);
23143 23143
23144 void stencilMask(int mask); 23144 void stencilMask(int mask);
23145 23145
23146 void stencilMaskSeparate(int face, int mask); 23146 void stencilMaskSeparate(int face, int mask);
23147 23147
23148 void stencilOp(int fail, int zfail, int zpass); 23148 void stencilOp(int fail, int zfail, int zpass);
23149 23149
23150 void stencilOpSeparate(int face, int fail, int zfail, int zpass); 23150 void stencilOpSeparate(int face, int fail, int zfail, int zpass);
23151 23151
23152 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]); 23152 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]);
23153 23153
23154 void texParameterf(int target, int pname, num param); 23154 void texParameterf(int target, int pname, num param);
23155 23155
23156 void texParameteri(int target, int pname, int param); 23156 void texParameteri(int target, int pname, int param);
23157 23157
23158 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]); 23158 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]);
23159 23159
23160 void uniform1f(WebGLUniformLocation location, num x); 23160 void uniform1f(WebGLUniformLocation location, num x);
23161 23161
23162 void uniform1fv(WebGLUniformLocation location, Float32Array v); 23162 void uniform1fv(WebGLUniformLocation location, Float32Array v);
23163 23163
23164 void uniform1i(WebGLUniformLocation location, int x); 23164 void uniform1i(WebGLUniformLocation location, int x);
23165 23165
23166 void uniform1iv(WebGLUniformLocation location, Int32Array v); 23166 void uniform1iv(WebGLUniformLocation location, Int32Array v);
23167 23167
23168 void uniform2f(WebGLUniformLocation location, num x, num y); 23168 void uniform2f(WebGLUniformLocation location, num x, num y);
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
23334 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 23334 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23335 // for details. All rights reserved. Use of this source code is governed by a 23335 // for details. All rights reserved. Use of this source code is governed by a
23336 // BSD-style license that can be found in the LICENSE file. 23336 // BSD-style license that can be found in the LICENSE file.
23337 23337
23338 // WARNING: Do not edit - generated code. 23338 // WARNING: Do not edit - generated code.
23339 23339
23340 interface WebKitBlobBuilder default _WebKitBlobBuilderFactoryProvider { 23340 interface WebKitBlobBuilder default _WebKitBlobBuilderFactoryProvider {
23341 23341
23342 WebKitBlobBuilder(); 23342 WebKitBlobBuilder();
23343 23343
23344 void append(var arrayBuffer_OR_blob_OR_value, [String endings]); 23344 void append(arrayBuffer_OR_blob_OR_value, [String endings]);
23345 23345
23346 Blob getBlob([String contentType]); 23346 Blob getBlob([String contentType]);
23347 } 23347 }
23348 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 23348 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23349 // for details. All rights reserved. Use of this source code is governed by a 23349 // for details. All rights reserved. Use of this source code is governed by a
23350 // BSD-style license that can be found in the LICENSE file. 23350 // BSD-style license that can be found in the LICENSE file.
23351 23351
23352 // WARNING: Do not edit - generated code. 23352 // WARNING: Do not edit - generated code.
23353 23353
23354 interface WebKitCSSFilterValue extends CSSValueList { 23354 interface WebKitCSSFilterValue extends CSSValueList {
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
23682 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 23682 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23683 // for details. All rights reserved. Use of this source code is governed by a 23683 // for details. All rights reserved. Use of this source code is governed by a
23684 // BSD-style license that can be found in the LICENSE file. 23684 // BSD-style license that can be found in the LICENSE file.
23685 23685
23686 // WARNING: Do not edit - generated code. 23686 // WARNING: Do not edit - generated code.
23687 23687
23688 interface Worker extends AbstractWorker default _WorkerFactoryProvider { 23688 interface Worker extends AbstractWorker default _WorkerFactoryProvider {
23689 23689
23690 Worker(String scriptUrl); 23690 Worker(String scriptUrl);
23691 23691
23692 void postMessage(Dynamic message, [List messagePorts]); 23692 void postMessage(/*SerializedScriptValue*/ message, [List messagePorts]);
23693 23693
23694 void terminate(); 23694 void terminate();
23695 23695
23696 void webkitPostMessage(Dynamic message, [List messagePorts]); 23696 void webkitPostMessage(/*SerializedScriptValue*/ message, [List messagePorts]) ;
23697 } 23697 }
23698 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 23698 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23699 // for details. All rights reserved. Use of this source code is governed by a 23699 // for details. All rights reserved. Use of this source code is governed by a
23700 // BSD-style license that can be found in the LICENSE file. 23700 // BSD-style license that can be found in the LICENSE file.
23701 23701
23702 // WARNING: Do not edit - generated code. 23702 // WARNING: Do not edit - generated code.
23703 23703
23704 interface WorkerGlobalScope extends EventTarget { 23704 interface WorkerGlobalScope extends EventTarget {
23705 23705
23706 final WorkerLocation location; 23706 final WorkerLocation location;
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
23845 String getAllResponseHeaders(); 23845 String getAllResponseHeaders();
23846 23846
23847 String getResponseHeader(String header); 23847 String getResponseHeader(String header);
23848 23848
23849 void open(String method, String url, [bool async, String user, String password ]); 23849 void open(String method, String url, [bool async, String user, String password ]);
23850 23850
23851 void overrideMimeType(String override); 23851 void overrideMimeType(String override);
23852 23852
23853 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 23853 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
23854 23854
23855 void send([var data]); 23855 void send([data]);
23856 23856
23857 void setRequestHeader(String header, String value); 23857 void setRequestHeader(String header, String value);
23858 } 23858 }
23859 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 23859 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
23860 // for details. All rights reserved. Use of this source code is governed by a 23860 // for details. All rights reserved. Use of this source code is governed by a
23861 // BSD-style license that can be found in the LICENSE file. 23861 // BSD-style license that can be found in the LICENSE file.
23862 23862
23863 // WARNING: Do not edit - generated code. 23863 // WARNING: Do not edit - generated code.
23864 23864
23865 interface XMLHttpRequestException { 23865 interface XMLHttpRequestException {
(...skipping 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after
24960 if (length < 0) throw new IllegalArgumentException('length'); 24960 if (length < 0) throw new IllegalArgumentException('length');
24961 if (start < 0) throw new IndexOutOfRangeException(start); 24961 if (start < 0) throw new IndexOutOfRangeException(start);
24962 int end = start + length; 24962 int end = start + length;
24963 if (end > a.length) throw new IndexOutOfRangeException(end); 24963 if (end > a.length) throw new IndexOutOfRangeException(end);
24964 for (int i = start; i < end; i++) { 24964 for (int i = start; i < end; i++) {
24965 accumulator.add(a[i]); 24965 accumulator.add(a[i]);
24966 } 24966 }
24967 return accumulator; 24967 return accumulator;
24968 } 24968 }
24969 } 24969 }
OLDNEW
« no previous file with comments | « lib/dom/dom.dart ('k') | lib/dom/scripts/generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698