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

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

Issue 10381128: Roll IDL to multivm@516 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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/html/dartium/html_dartium.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) 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 2079 matching lines...) Expand 10 before | Expand all | Expand 10 after
2090 static final int MOUSEDRAG = 32; 2090 static final int MOUSEDRAG = 32;
2091 2091
2092 static final int MOUSEMOVE = 16; 2092 static final int MOUSEMOVE = 16;
2093 2093
2094 static final int MOUSEOUT = 8; 2094 static final int MOUSEOUT = 8;
2095 2095
2096 static final int MOUSEOVER = 4; 2096 static final int MOUSEOVER = 4;
2097 2097
2098 static final int MOUSEUP = 2; 2098 static final int MOUSEUP = 2;
2099 2099
2100 static final int NONE = 0;
2101
2100 static final int SELECT = 16384; 2102 static final int SELECT = 16384;
2101 2103
2102 final bool bubbles; 2104 final bool bubbles;
2103 2105
2104 bool cancelBubble; 2106 bool cancelBubble;
2105 2107
2106 final bool cancelable; 2108 final bool cancelable;
2107 2109
2108 final _ClipboardJs clipboardData; 2110 final _ClipboardJs clipboardData;
2109 2111
(...skipping 1201 matching lines...) Expand 10 before | Expand all | Expand 10 after
3311 String formAction; 3313 String formAction;
3312 3314
3313 String formEnctype; 3315 String formEnctype;
3314 3316
3315 String formMethod; 3317 String formMethod;
3316 3318
3317 bool formNoValidate; 3319 bool formNoValidate;
3318 3320
3319 String formTarget; 3321 String formTarget;
3320 3322
3323 int height;
3324
3321 bool incremental; 3325 bool incremental;
3322 3326
3323 bool indeterminate; 3327 bool indeterminate;
3324 3328
3325 final _NodeListJs labels; 3329 final _NodeListJs labels;
3326 3330
3327 String max; 3331 String max;
3328 3332
3329 int maxLength; 3333 int maxLength;
3330 3334
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
3367 Date valueAsDate; 3371 Date valueAsDate;
3368 3372
3369 num valueAsNumber; 3373 num valueAsNumber;
3370 3374
3371 bool webkitGrammar; 3375 bool webkitGrammar;
3372 3376
3373 bool webkitSpeech; 3377 bool webkitSpeech;
3374 3378
3375 bool webkitdirectory; 3379 bool webkitdirectory;
3376 3380
3381 int width;
3382
3377 final bool willValidate; 3383 final bool willValidate;
3378 3384
3379 bool checkValidity() native; 3385 bool checkValidity() native;
3380 3386
3381 void select() native; 3387 void select() native;
3382 3388
3383 void setCustomValidity(String error) native; 3389 void setCustomValidity(String error) native;
3384 3390
3385 void setSelectionRange(int start, int end, [String direction = null]) native; 3391 void setSelectionRange(int start, int end, [String direction = null]) native;
3386 3392
(...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after
4227 class _IDBCursorJs extends _DOMTypeJs implements IDBCursor native "*IDBCursor" { 4233 class _IDBCursorJs extends _DOMTypeJs implements IDBCursor native "*IDBCursor" {
4228 4234
4229 static final int NEXT = 0; 4235 static final int NEXT = 0;
4230 4236
4231 static final int NEXT_NO_DUPLICATE = 1; 4237 static final int NEXT_NO_DUPLICATE = 1;
4232 4238
4233 static final int PREV = 2; 4239 static final int PREV = 2;
4234 4240
4235 static final int PREV_NO_DUPLICATE = 3; 4241 static final int PREV_NO_DUPLICATE = 3;
4236 4242
4237 final int direction; 4243 final String direction;
4238 4244
4239 final key; 4245 final key;
4240 4246
4241 final primaryKey; 4247 final primaryKey;
4242 4248
4243 final source; 4249 final source;
4244 4250
4245 void advance(int count) native; 4251 void advance(int count) native;
4246 4252
4247 void continueFunction([key = null]) native ''' 4253 void continueFunction([key = null]) native '''
(...skipping 26 matching lines...) Expand all
4274 _IDBObjectStoreJs createObjectStore(String name, [Map options = null]) native; 4280 _IDBObjectStoreJs createObjectStore(String name, [Map options = null]) native;
4275 4281
4276 void deleteObjectStore(String name) native; 4282 void deleteObjectStore(String name) native;
4277 4283
4278 bool dispatchEvent(_EventJs evt) native; 4284 bool dispatchEvent(_EventJs evt) native;
4279 4285
4280 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4286 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4281 4287
4282 _IDBVersionChangeRequestJs setVersion(String version) native; 4288 _IDBVersionChangeRequestJs setVersion(String version) native;
4283 4289
4284 _IDBTransactionJs transaction(storeName_OR_storeNames, int mode) native; 4290 _IDBTransactionJs transaction(storeName_OR_storeNames, mode) native;
4285 } 4291 }
4286 4292
4287 class _IDBDatabaseExceptionJs extends _DOMTypeJs implements IDBDatabaseException native "*IDBDatabaseException" { 4293 class _IDBDatabaseExceptionJs extends _DOMTypeJs implements IDBDatabaseException native "*IDBDatabaseException" {
4288 4294
4289 static final int ABORT_ERR = 8; 4295 static final int ABORT_ERR = 8;
4290 4296
4291 static final int CONSTRAINT_ERR = 4; 4297 static final int CONSTRAINT_ERR = 4;
4292 4298
4293 static final int DATA_ERR = 5; 4299 static final int DATA_ERR = 5;
4294 4300
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
4343 final _IDBObjectStoreJs objectStore; 4349 final _IDBObjectStoreJs objectStore;
4344 4350
4345 final bool unique; 4351 final bool unique;
4346 4352
4347 _IDBRequestJs count([key_OR_range = null]) native; 4353 _IDBRequestJs count([key_OR_range = null]) native;
4348 4354
4349 _IDBRequestJs get(key) native; 4355 _IDBRequestJs get(key) native;
4350 4356
4351 _IDBRequestJs getKey(key) native; 4357 _IDBRequestJs getKey(key) native;
4352 4358
4353 _IDBRequestJs openCursor([key_OR_range = null, int direction = null]) native; 4359 _IDBRequestJs openCursor([key_OR_range = null, direction = null]) native;
4354 4360
4355 _IDBRequestJs openKeyCursor([key_OR_range = null, int direction = null]) nativ e; 4361 _IDBRequestJs openKeyCursor([key_OR_range = null, direction = null]) native;
4356 } 4362 }
4357 4363
4358 class _IDBKeyJs extends _DOMTypeJs implements IDBKey native "*IDBKey" { 4364 class _IDBKeyJs extends _DOMTypeJs implements IDBKey native "*IDBKey" {
4359 } 4365 }
4360 4366
4361 class _IDBKeyRangeJs extends _DOMTypeJs implements IDBKeyRange native "*IDBKeyRa nge" { 4367 class _IDBKeyRangeJs extends _DOMTypeJs implements IDBKeyRange native "*IDBKeyRa nge" {
4362 4368
4363 final lower; 4369 final lower;
4364 4370
4365 final bool lowerOpen; 4371 final bool lowerOpen;
(...skipping 22 matching lines...) Expand all
4388 _IDBIndexJs createIndex(String name, String keyPath, [Map options = null]) nat ive; 4394 _IDBIndexJs createIndex(String name, String keyPath, [Map options = null]) nat ive;
4389 4395
4390 _IDBRequestJs delete(key_OR_keyRange) native; 4396 _IDBRequestJs delete(key_OR_keyRange) native;
4391 4397
4392 void deleteIndex(String name) native; 4398 void deleteIndex(String name) native;
4393 4399
4394 _IDBRequestJs getObject(key) native 'get'; 4400 _IDBRequestJs getObject(key) native 'get';
4395 4401
4396 _IDBIndexJs index(String name) native; 4402 _IDBIndexJs index(String name) native;
4397 4403
4398 _IDBRequestJs openCursor([key_OR_range = null, int direction = null]) native; 4404 _IDBRequestJs openCursor([key_OR_range = null, direction = null]) native;
4399 4405
4400 _IDBRequestJs put(value, [key = null]) native; 4406 _IDBRequestJs put(value, [key = null]) native;
4401 } 4407 }
4402 4408
4403 class _IDBRequestJs extends _EventTargetJs implements IDBRequest native "*IDBReq uest" { 4409 class _IDBRequestJs extends _EventTargetJs implements IDBRequest native "*IDBReq uest" {
4404 4410
4405 static final int DONE = 2;
4406
4407 static final int LOADING = 1;
4408
4409 final int errorCode; 4411 final int errorCode;
4410 4412
4411 final int readyState; 4413 final String readyState;
4412 4414
4413 final result; 4415 final result;
4414 4416
4415 final source; 4417 final source;
4416 4418
4417 final _IDBTransactionJs transaction; 4419 final _IDBTransactionJs transaction;
4418 4420
4419 final String webkitErrorMessage; 4421 final String webkitErrorMessage;
4420 4422
4421 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4423 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4422 4424
4423 bool dispatchEvent(_EventJs evt) native; 4425 bool dispatchEvent(_EventJs evt) native;
4424 4426
4425 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4427 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4426 } 4428 }
4427 4429
4428 class _IDBTransactionJs extends _EventTargetJs implements IDBTransaction native "*IDBTransaction" { 4430 class _IDBTransactionJs extends _EventTargetJs implements IDBTransaction native "*IDBTransaction" {
4429 4431
4430 static final int READ_ONLY = 0; 4432 static final int READ_ONLY = 0;
4431 4433
4432 static final int READ_WRITE = 1; 4434 static final int READ_WRITE = 1;
4433 4435
4434 static final int VERSION_CHANGE = 2; 4436 static final int VERSION_CHANGE = 2;
4435 4437
4436 final _IDBDatabaseJs db; 4438 final _IDBDatabaseJs db;
4437 4439
4438 final int mode; 4440 final String mode;
4439 4441
4440 void abort() native; 4442 void abort() native;
4441 4443
4442 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4444 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
4443 4445
4444 bool dispatchEvent(_EventJs evt) native; 4446 bool dispatchEvent(_EventJs evt) native;
4445 4447
4446 _IDBObjectStoreJs objectStore(String name) native; 4448 _IDBObjectStoreJs objectStore(String name) native;
4447 4449
4448 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4450 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
(...skipping 1290 matching lines...) Expand 10 before | Expand all | Expand 10 after
5739 5741
5740 final String name; 5742 final String name;
5741 5743
5742 String toString() native; 5744 String toString() native;
5743 } 5745 }
5744 5746
5745 class _OscillatorJs extends _AudioSourceNodeJs implements Oscillator native "*Os cillator" { 5747 class _OscillatorJs extends _AudioSourceNodeJs implements Oscillator native "*Os cillator" {
5746 5748
5747 static final int CUSTOM = 4; 5749 static final int CUSTOM = 4;
5748 5750
5751 static final int FINISHED_STATE = 3;
5752
5753 static final int PLAYING_STATE = 2;
5754
5749 static final int SAWTOOTH = 2; 5755 static final int SAWTOOTH = 2;
5750 5756
5757 static final int SCHEDULED_STATE = 1;
5758
5751 static final int SINE = 0; 5759 static final int SINE = 0;
5752 5760
5753 static final int SQUARE = 1; 5761 static final int SQUARE = 1;
5754 5762
5755 static final int TRIANGLE = 3; 5763 static final int TRIANGLE = 3;
5756 5764
5765 static final int UNSCHEDULED_STATE = 0;
5766
5757 final _AudioParamJs detune; 5767 final _AudioParamJs detune;
5758 5768
5759 final _AudioParamJs frequency; 5769 final _AudioParamJs frequency;
5760 5770
5771 final int playbackState;
5772
5761 int type; 5773 int type;
5762 5774
5775 void noteOff(num when) native;
5776
5777 void noteOn(num when) native;
5778
5763 void setWaveTable(_WaveTableJs waveTable) native; 5779 void setWaveTable(_WaveTableJs waveTable) native;
5764 } 5780 }
5765 5781
5766 class _OverflowEventJs extends _EventJs implements OverflowEvent native "*Overfl owEvent" { 5782 class _OverflowEventJs extends _EventJs implements OverflowEvent native "*Overfl owEvent" {
5767 5783
5768 static final int BOTH = 2; 5784 static final int BOTH = 2;
5769 5785
5770 static final int HORIZONTAL = 0; 5786 static final int HORIZONTAL = 0;
5771 5787
5772 static final int VERTICAL = 1; 5788 static final int VERTICAL = 1;
(...skipping 23 matching lines...) Expand all
5796 static final int ICE_COMPLETED = 0x500; 5812 static final int ICE_COMPLETED = 0x500;
5797 5813
5798 static final int ICE_CONNECTED = 0x400; 5814 static final int ICE_CONNECTED = 0x400;
5799 5815
5800 static final int ICE_FAILED = 0x600; 5816 static final int ICE_FAILED = 0x600;
5801 5817
5802 static final int ICE_GATHERING = 0x100; 5818 static final int ICE_GATHERING = 0x100;
5803 5819
5804 static final int ICE_WAITING = 0x200; 5820 static final int ICE_WAITING = 0x200;
5805 5821
5806 static final int NEGOTIATING = 1; 5822 static final int NEW = 0;
5807 5823
5808 static final int NEW = 0; 5824 static final int OPENING = 1;
5809 5825
5810 static final int SDP_ANSWER = 0x300; 5826 static final int SDP_ANSWER = 0x300;
5811 5827
5812 static final int SDP_OFFER = 0x100; 5828 static final int SDP_OFFER = 0x100;
5813 5829
5814 static final int SDP_PRANSWER = 0x200; 5830 static final int SDP_PRANSWER = 0x200;
5815 5831
5816 final int iceState; 5832 final int iceState;
5817 5833
5818 final _SessionDescriptionJs localDescription; 5834 final _SessionDescriptionJs localDescription;
5819 5835
5820 final _MediaStreamListJs localStreams; 5836 final _MediaStreamListJs localStreams;
5821 5837
5822 final int readyState; 5838 final int readyState;
5823 5839
5824 final _SessionDescriptionJs remoteDescription; 5840 final _SessionDescriptionJs remoteDescription;
5825 5841
5826 final _MediaStreamListJs remoteStreams; 5842 final _MediaStreamListJs remoteStreams;
5827 5843
5828 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 5844 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
5829 5845
5830 void addStream(_MediaStreamJs stream, [String mediaStreamHints = null]) native ; 5846 void addStream(_MediaStreamJs stream, [Map mediaStreamHints = null]) native;
5831 5847
5832 void close() native; 5848 void close() native;
5833 5849
5834 _SessionDescriptionJs createAnswer(String offer, [String mediaHints = null]) n ative; 5850 _SessionDescriptionJs createAnswer(String offer, [Map mediaHints = null]) nati ve;
5835 5851
5836 _SessionDescriptionJs createOffer([String mediaHints = null]) native; 5852 _SessionDescriptionJs createOffer([Map mediaHints = null]) native;
5837 5853
5838 bool dispatchEvent(_EventJs event) native; 5854 bool dispatchEvent(_EventJs event) native;
5839 5855
5840 void processIceMessage(_IceCandidateJs candidate) native; 5856 void processIceMessage(_IceCandidateJs candidate) native;
5841 5857
5842 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 5858 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
5843 5859
5844 void removeStream(_MediaStreamJs stream) native; 5860 void removeStream(_MediaStreamJs stream) native;
5845 5861
5846 void setLocalDescription(int action, _SessionDescriptionJs desc) native; 5862 void setLocalDescription(int action, _SessionDescriptionJs desc) native;
5847 5863
5848 void setRemoteDescription(int action, _SessionDescriptionJs desc) native; 5864 void setRemoteDescription(int action, _SessionDescriptionJs desc) native;
5849 5865
5850 void startIce([String iceOptions = null]) native; 5866 void startIce([Map iceOptions = null]) native;
5851 } 5867 }
5852 5868
5853 class _PerformanceJs extends _DOMTypeJs implements Performance native "*Performa nce" { 5869 class _PerformanceJs extends _DOMTypeJs implements Performance native "*Performa nce" {
5854 5870
5855 final _MemoryInfoJs memory; 5871 final _MemoryInfoJs memory;
5856 5872
5857 final _PerformanceNavigationJs navigation; 5873 final _PerformanceNavigationJs navigation;
5858 5874
5859 final _PerformanceTimingJs timing; 5875 final _PerformanceTimingJs timing;
5860 5876
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
5968 5984
5969 class _RGBColorJs extends _DOMTypeJs implements RGBColor native "*RGBColor" { 5985 class _RGBColorJs extends _DOMTypeJs implements RGBColor native "*RGBColor" {
5970 5986
5971 final _CSSPrimitiveValueJs blue; 5987 final _CSSPrimitiveValueJs blue;
5972 5988
5973 final _CSSPrimitiveValueJs green; 5989 final _CSSPrimitiveValueJs green;
5974 5990
5975 final _CSSPrimitiveValueJs red; 5991 final _CSSPrimitiveValueJs red;
5976 } 5992 }
5977 5993
5994 class _RadioNodeListJs extends _NodeListJs implements RadioNodeList native "*Rad ioNodeList" {
5995
5996 String value;
5997 }
5998
5978 class _RangeJs extends _DOMTypeJs implements Range native "*Range" { 5999 class _RangeJs extends _DOMTypeJs implements Range native "*Range" {
5979 6000
5980 static final int END_TO_END = 2; 6001 static final int END_TO_END = 2;
5981 6002
5982 static final int END_TO_START = 3; 6003 static final int END_TO_START = 3;
5983 6004
5984 static final int NODE_AFTER = 1; 6005 static final int NODE_AFTER = 1;
5985 6006
5986 static final int NODE_BEFORE = 0; 6007 static final int NODE_BEFORE = 0;
5987 6008
(...skipping 3524 matching lines...) Expand 10 before | Expand all | Expand 10 after
9512 9533
9513 void addCandidate(_IceCandidateJs candidate) native; 9534 void addCandidate(_IceCandidateJs candidate) native;
9514 9535
9515 String toSdp() native; 9536 String toSdp() native;
9516 } 9537 }
9517 9538
9518 class _ShadowRootJs extends _DocumentFragmentJs implements ShadowRoot native "*S hadowRoot" { 9539 class _ShadowRootJs extends _DocumentFragmentJs implements ShadowRoot native "*S hadowRoot" {
9519 9540
9520 final _ElementJs activeElement; 9541 final _ElementJs activeElement;
9521 9542
9543 bool applyAuthorStyles;
9544
9522 final _ElementJs host; 9545 final _ElementJs host;
9523 9546
9524 String innerHTML; 9547 String innerHTML;
9525 9548
9526 final _DOMSelectionJs selection; 9549 final _DOMSelectionJs selection;
9527 9550
9528 _ElementJs getElementById(String elementId) native; 9551 _ElementJs getElementById(String elementId) native;
9529 9552
9530 _NodeListJs getElementsByClassName(String className) native; 9553 _NodeListJs getElementsByClassName(String className) native;
9531 9554
(...skipping 5245 matching lines...) Expand 10 before | Expand all | Expand 10 after
14777 static final int MOUSEDRAG = 32; 14800 static final int MOUSEDRAG = 32;
14778 14801
14779 static final int MOUSEMOVE = 16; 14802 static final int MOUSEMOVE = 16;
14780 14803
14781 static final int MOUSEOUT = 8; 14804 static final int MOUSEOUT = 8;
14782 14805
14783 static final int MOUSEOVER = 4; 14806 static final int MOUSEOVER = 4;
14784 14807
14785 static final int MOUSEUP = 2; 14808 static final int MOUSEUP = 2;
14786 14809
14810 static final int NONE = 0;
14811
14787 static final int SELECT = 16384; 14812 static final int SELECT = 16384;
14788 14813
14789 final bool bubbles; 14814 final bool bubbles;
14790 14815
14791 bool cancelBubble; 14816 bool cancelBubble;
14792 14817
14793 final bool cancelable; 14818 final bool cancelable;
14794 14819
14795 final Clipboard clipboardData; 14820 final Clipboard clipboardData;
14796 14821
(...skipping 1155 matching lines...) Expand 10 before | Expand all | Expand 10 after
15952 String formAction; 15977 String formAction;
15953 15978
15954 String formEnctype; 15979 String formEnctype;
15955 15980
15956 String formMethod; 15981 String formMethod;
15957 15982
15958 bool formNoValidate; 15983 bool formNoValidate;
15959 15984
15960 String formTarget; 15985 String formTarget;
15961 15986
15987 int height;
15988
15962 bool incremental; 15989 bool incremental;
15963 15990
15964 bool indeterminate; 15991 bool indeterminate;
15965 15992
15966 final NodeList labels; 15993 final NodeList labels;
15967 15994
15968 String max; 15995 String max;
15969 15996
15970 int maxLength; 15997 int maxLength;
15971 15998
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
16008 Date valueAsDate; 16035 Date valueAsDate;
16009 16036
16010 num valueAsNumber; 16037 num valueAsNumber;
16011 16038
16012 bool webkitGrammar; 16039 bool webkitGrammar;
16013 16040
16014 bool webkitSpeech; 16041 bool webkitSpeech;
16015 16042
16016 bool webkitdirectory; 16043 bool webkitdirectory;
16017 16044
16045 int width;
16046
16018 final bool willValidate; 16047 final bool willValidate;
16019 16048
16020 bool checkValidity(); 16049 bool checkValidity();
16021 16050
16022 void select(); 16051 void select();
16023 16052
16024 void setCustomValidity(String error); 16053 void setCustomValidity(String error);
16025 16054
16026 void setSelectionRange(int start, int end, [String direction]); 16055 void setSelectionRange(int start, int end, [String direction]);
16027 16056
(...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after
17092 interface IDBCursor { 17121 interface IDBCursor {
17093 17122
17094 static final int NEXT = 0; 17123 static final int NEXT = 0;
17095 17124
17096 static final int NEXT_NO_DUPLICATE = 1; 17125 static final int NEXT_NO_DUPLICATE = 1;
17097 17126
17098 static final int PREV = 2; 17127 static final int PREV = 2;
17099 17128
17100 static final int PREV_NO_DUPLICATE = 3; 17129 static final int PREV_NO_DUPLICATE = 3;
17101 17130
17102 final int direction; 17131 final String direction;
17103 17132
17104 final /*IDBKey*/ key; 17133 final /*IDBKey*/ key;
17105 17134
17106 final /*IDBKey*/ primaryKey; 17135 final /*IDBKey*/ primaryKey;
17107 17136
17108 final /*IDBAny*/ source; 17137 final /*IDBAny*/ source;
17109 17138
17110 void advance(int count); 17139 void advance(int count);
17111 17140
17112 void continueFunction([/*IDBKey*/ key]); 17141 void continueFunction([/*IDBKey*/ key]);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
17146 IDBObjectStore createObjectStore(String name, [Map options]); 17175 IDBObjectStore createObjectStore(String name, [Map options]);
17147 17176
17148 void deleteObjectStore(String name); 17177 void deleteObjectStore(String name);
17149 17178
17150 bool dispatchEvent(Event evt); 17179 bool dispatchEvent(Event evt);
17151 17180
17152 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 17181 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
17153 17182
17154 IDBVersionChangeRequest setVersion(String version); 17183 IDBVersionChangeRequest setVersion(String version);
17155 17184
17156 IDBTransaction transaction(storeName_OR_storeNames, int mode); 17185 IDBTransaction transaction(storeName_OR_storeNames, mode);
17157 } 17186 }
17158 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17187 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17159 // for details. All rights reserved. Use of this source code is governed by a 17188 // for details. All rights reserved. Use of this source code is governed by a
17160 // BSD-style license that can be found in the LICENSE file. 17189 // BSD-style license that can be found in the LICENSE file.
17161 17190
17162 // WARNING: Do not edit - generated code. 17191 // WARNING: Do not edit - generated code.
17163 17192
17164 interface IDBDatabaseException { 17193 interface IDBDatabaseException {
17165 17194
17166 static final int ABORT_ERR = 8; 17195 static final int ABORT_ERR = 8;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
17230 final IDBObjectStore objectStore; 17259 final IDBObjectStore objectStore;
17231 17260
17232 final bool unique; 17261 final bool unique;
17233 17262
17234 IDBRequest count([key_OR_range]); 17263 IDBRequest count([key_OR_range]);
17235 17264
17236 IDBRequest get(key); 17265 IDBRequest get(key);
17237 17266
17238 IDBRequest getKey(key); 17267 IDBRequest getKey(key);
17239 17268
17240 IDBRequest openCursor([key_OR_range, int direction]); 17269 IDBRequest openCursor([key_OR_range, direction]);
17241 17270
17242 IDBRequest openKeyCursor([key_OR_range, int direction]); 17271 IDBRequest openKeyCursor([key_OR_range, direction]);
17243 } 17272 }
17244 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17273 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17245 // for details. All rights reserved. Use of this source code is governed by a 17274 // for details. All rights reserved. Use of this source code is governed by a
17246 // BSD-style license that can be found in the LICENSE file. 17275 // BSD-style license that can be found in the LICENSE file.
17247 17276
17248 // WARNING: Do not edit - generated code. 17277 // WARNING: Do not edit - generated code.
17249 17278
17250 interface IDBKey { 17279 interface IDBKey {
17251 } 17280 }
17252 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17281 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
17300 IDBIndex createIndex(String name, String keyPath, [Map options]); 17329 IDBIndex createIndex(String name, String keyPath, [Map options]);
17301 17330
17302 IDBRequest delete(key_OR_keyRange); 17331 IDBRequest delete(key_OR_keyRange);
17303 17332
17304 void deleteIndex(String name); 17333 void deleteIndex(String name);
17305 17334
17306 IDBRequest getObject(key); 17335 IDBRequest getObject(key);
17307 17336
17308 IDBIndex index(String name); 17337 IDBIndex index(String name);
17309 17338
17310 IDBRequest openCursor([key_OR_range, int direction]); 17339 IDBRequest openCursor([key_OR_range, direction]);
17311 17340
17312 IDBRequest put(/*SerializedScriptValue*/ value, [/*IDBKey*/ key]); 17341 IDBRequest put(/*SerializedScriptValue*/ value, [/*IDBKey*/ key]);
17313 } 17342 }
17314 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17343 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17315 // for details. All rights reserved. Use of this source code is governed by a 17344 // for details. All rights reserved. Use of this source code is governed by a
17316 // BSD-style license that can be found in the LICENSE file. 17345 // BSD-style license that can be found in the LICENSE file.
17317 17346
17318 // WARNING: Do not edit - generated code. 17347 // WARNING: Do not edit - generated code.
17319 17348
17320 interface IDBRequest extends EventTarget { 17349 interface IDBRequest extends EventTarget {
17321 17350
17322 static final int DONE = 2;
17323
17324 static final int LOADING = 1;
17325
17326 final int errorCode; 17351 final int errorCode;
17327 17352
17328 final int readyState; 17353 final String readyState;
17329 17354
17330 final /*IDBAny*/ result; 17355 final /*IDBAny*/ result;
17331 17356
17332 final /*IDBAny*/ source; 17357 final /*IDBAny*/ source;
17333 17358
17334 final IDBTransaction transaction; 17359 final IDBTransaction transaction;
17335 17360
17336 final String webkitErrorMessage; 17361 final String webkitErrorMessage;
17337 17362
17338 void addEventListener(String type, EventListener listener, [bool useCapture]); 17363 void addEventListener(String type, EventListener listener, [bool useCapture]);
(...skipping 11 matching lines...) Expand all
17350 interface IDBTransaction extends EventTarget { 17375 interface IDBTransaction extends EventTarget {
17351 17376
17352 static final int READ_ONLY = 0; 17377 static final int READ_ONLY = 0;
17353 17378
17354 static final int READ_WRITE = 1; 17379 static final int READ_WRITE = 1;
17355 17380
17356 static final int VERSION_CHANGE = 2; 17381 static final int VERSION_CHANGE = 2;
17357 17382
17358 final IDBDatabase db; 17383 final IDBDatabase db;
17359 17384
17360 final int mode; 17385 final String mode;
17361 17386
17362 void abort(); 17387 void abort();
17363 17388
17364 void addEventListener(String type, EventListener listener, [bool useCapture]); 17389 void addEventListener(String type, EventListener listener, [bool useCapture]);
17365 17390
17366 bool dispatchEvent(Event evt); 17391 bool dispatchEvent(Event evt);
17367 17392
17368 IDBObjectStore objectStore(String name); 17393 IDBObjectStore objectStore(String name);
17369 17394
17370 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 17395 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
(...skipping 1025 matching lines...) Expand 10 before | Expand all | Expand 10 after
18396 interface NotificationCenter { 18421 interface NotificationCenter {
18397 18422
18398 int checkPermission(); 18423 int checkPermission();
18399 18424
18400 Notification createHTMLNotification(String url); 18425 Notification createHTMLNotification(String url);
18401 18426
18402 Notification createNotification(String iconUrl, String title, String body); 18427 Notification createNotification(String iconUrl, String title, String body);
18403 18428
18404 void requestPermission(VoidCallback callback); 18429 void requestPermission(VoidCallback callback);
18405 } 18430 }
18431 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
18432 // for details. All rights reserved. Use of this source code is governed by a
18433 // BSD-style license that can be found in the LICENSE file.
18434
18435 // WARNING: Do not edit - generated code.
18436
18437 typedef bool NotificationPermissionCallback(String permission);
18406 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 18438 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18407 // for details. All rights reserved. Use of this source code is governed by a 18439 // for details. All rights reserved. Use of this source code is governed by a
18408 // BSD-style license that can be found in the LICENSE file. 18440 // BSD-style license that can be found in the LICENSE file.
18409 18441
18410 // WARNING: Do not edit - generated code. 18442 // WARNING: Do not edit - generated code.
18411 18443
18412 interface OESStandardDerivatives { 18444 interface OESStandardDerivatives {
18413 18445
18414 static final int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; 18446 static final int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B;
18415 } 18447 }
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
18470 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 18502 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18471 // for details. All rights reserved. Use of this source code is governed by a 18503 // for details. All rights reserved. Use of this source code is governed by a
18472 // BSD-style license that can be found in the LICENSE file. 18504 // BSD-style license that can be found in the LICENSE file.
18473 18505
18474 // WARNING: Do not edit - generated code. 18506 // WARNING: Do not edit - generated code.
18475 18507
18476 interface Oscillator extends AudioSourceNode { 18508 interface Oscillator extends AudioSourceNode {
18477 18509
18478 static final int CUSTOM = 4; 18510 static final int CUSTOM = 4;
18479 18511
18512 static final int FINISHED_STATE = 3;
18513
18514 static final int PLAYING_STATE = 2;
18515
18480 static final int SAWTOOTH = 2; 18516 static final int SAWTOOTH = 2;
18481 18517
18518 static final int SCHEDULED_STATE = 1;
18519
18482 static final int SINE = 0; 18520 static final int SINE = 0;
18483 18521
18484 static final int SQUARE = 1; 18522 static final int SQUARE = 1;
18485 18523
18486 static final int TRIANGLE = 3; 18524 static final int TRIANGLE = 3;
18487 18525
18526 static final int UNSCHEDULED_STATE = 0;
18527
18488 final AudioParam detune; 18528 final AudioParam detune;
18489 18529
18490 final AudioParam frequency; 18530 final AudioParam frequency;
18491 18531
18532 final int playbackState;
18533
18492 int type; 18534 int type;
18493 18535
18536 void noteOff(num when);
18537
18538 void noteOn(num when);
18539
18494 void setWaveTable(WaveTable waveTable); 18540 void setWaveTable(WaveTable waveTable);
18495 } 18541 }
18496 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 18542 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18497 // for details. All rights reserved. Use of this source code is governed by a 18543 // for details. All rights reserved. Use of this source code is governed by a
18498 // BSD-style license that can be found in the LICENSE file. 18544 // BSD-style license that can be found in the LICENSE file.
18499 18545
18500 // WARNING: Do not edit - generated code. 18546 // WARNING: Do not edit - generated code.
18501 18547
18502 interface OverflowEvent extends Event { 18548 interface OverflowEvent extends Event {
18503 18549
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
18544 static final int ICE_COMPLETED = 0x500; 18590 static final int ICE_COMPLETED = 0x500;
18545 18591
18546 static final int ICE_CONNECTED = 0x400; 18592 static final int ICE_CONNECTED = 0x400;
18547 18593
18548 static final int ICE_FAILED = 0x600; 18594 static final int ICE_FAILED = 0x600;
18549 18595
18550 static final int ICE_GATHERING = 0x100; 18596 static final int ICE_GATHERING = 0x100;
18551 18597
18552 static final int ICE_WAITING = 0x200; 18598 static final int ICE_WAITING = 0x200;
18553 18599
18554 static final int NEGOTIATING = 1; 18600 static final int NEW = 0;
18555 18601
18556 static final int NEW = 0; 18602 static final int OPENING = 1;
18557 18603
18558 static final int SDP_ANSWER = 0x300; 18604 static final int SDP_ANSWER = 0x300;
18559 18605
18560 static final int SDP_OFFER = 0x100; 18606 static final int SDP_OFFER = 0x100;
18561 18607
18562 static final int SDP_PRANSWER = 0x200; 18608 static final int SDP_PRANSWER = 0x200;
18563 18609
18564 final int iceState; 18610 final int iceState;
18565 18611
18566 final SessionDescription localDescription; 18612 final SessionDescription localDescription;
18567 18613
18568 final MediaStreamList localStreams; 18614 final MediaStreamList localStreams;
18569 18615
18570 final int readyState; 18616 final int readyState;
18571 18617
18572 final SessionDescription remoteDescription; 18618 final SessionDescription remoteDescription;
18573 18619
18574 final MediaStreamList remoteStreams; 18620 final MediaStreamList remoteStreams;
18575 18621
18576 void addEventListener(String type, EventListener listener, [bool useCapture]); 18622 void addEventListener(String type, EventListener listener, [bool useCapture]);
18577 18623
18578 void addStream(MediaStream stream, [String mediaStreamHints]); 18624 void addStream(MediaStream stream, [Map mediaStreamHints]);
18579 18625
18580 void close(); 18626 void close();
18581 18627
18582 SessionDescription createAnswer(String offer, [String mediaHints]); 18628 SessionDescription createAnswer(String offer, [Map mediaHints]);
18583 18629
18584 SessionDescription createOffer([String mediaHints]); 18630 SessionDescription createOffer([Map mediaHints]);
18585 18631
18586 bool dispatchEvent(Event event); 18632 bool dispatchEvent(Event event);
18587 18633
18588 void processIceMessage(IceCandidate candidate); 18634 void processIceMessage(IceCandidate candidate);
18589 18635
18590 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 18636 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
18591 18637
18592 void removeStream(MediaStream stream); 18638 void removeStream(MediaStream stream);
18593 18639
18594 void setLocalDescription(int action, SessionDescription desc); 18640 void setLocalDescription(int action, SessionDescription desc);
18595 18641
18596 void setRemoteDescription(int action, SessionDescription desc); 18642 void setRemoteDescription(int action, SessionDescription desc);
18597 18643
18598 void startIce([String iceOptions]); 18644 void startIce([Map iceOptions]);
18599 } 18645 }
18600 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 18646 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18601 // for details. All rights reserved. Use of this source code is governed by a 18647 // for details. All rights reserved. Use of this source code is governed by a
18602 // BSD-style license that can be found in the LICENSE file. 18648 // BSD-style license that can be found in the LICENSE file.
18603 18649
18604 // WARNING: Do not edit - generated code. 18650 // WARNING: Do not edit - generated code.
18605 18651
18606 interface Performance { 18652 interface Performance {
18607 18653
18608 final MemoryInfo memory; 18654 final MemoryInfo memory;
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
18780 final CSSPrimitiveValue green; 18826 final CSSPrimitiveValue green;
18781 18827
18782 final CSSPrimitiveValue red; 18828 final CSSPrimitiveValue red;
18783 } 18829 }
18784 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 18830 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18785 // for details. All rights reserved. Use of this source code is governed by a 18831 // for details. All rights reserved. Use of this source code is governed by a
18786 // BSD-style license that can be found in the LICENSE file. 18832 // BSD-style license that can be found in the LICENSE file.
18787 18833
18788 // WARNING: Do not edit - generated code. 18834 // WARNING: Do not edit - generated code.
18789 18835
18836 interface RadioNodeList extends NodeList {
18837
18838 String value;
18839 }
18840 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18841 // for details. All rights reserved. Use of this source code is governed by a
18842 // BSD-style license that can be found in the LICENSE file.
18843
18844 // WARNING: Do not edit - generated code.
18845
18790 interface Range { 18846 interface Range {
18791 18847
18792 static final int END_TO_END = 2; 18848 static final int END_TO_END = 2;
18793 18849
18794 static final int END_TO_START = 3; 18850 static final int END_TO_START = 3;
18795 18851
18796 static final int NODE_AFTER = 1; 18852 static final int NODE_AFTER = 1;
18797 18853
18798 static final int NODE_BEFORE = 0; 18854 static final int NODE_BEFORE = 0;
18799 18855
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
18926 final CSSPrimitiveValue right; 18982 final CSSPrimitiveValue right;
18927 18983
18928 final CSSPrimitiveValue top; 18984 final CSSPrimitiveValue top;
18929 } 18985 }
18930 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 18986 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
18931 // for details. All rights reserved. Use of this source code is governed by a 18987 // for details. All rights reserved. Use of this source code is governed by a
18932 // BSD-style license that can be found in the LICENSE file. 18988 // BSD-style license that can be found in the LICENSE file.
18933 18989
18934 // WARNING: Do not edit - generated code. 18990 // WARNING: Do not edit - generated code.
18935 18991
18936 typedef bool RequestAnimationFrameCallback(num highResTime); 18992 typedef bool RequestAnimationFrameCallback(int time);
18937 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 18993 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
18938 // for details. All rights reserved. Use of this source code is governed by a 18994 // for details. All rights reserved. Use of this source code is governed by a
18939 // BSD-style license that can be found in the LICENSE file. 18995 // BSD-style license that can be found in the LICENSE file.
18940 18996
18941 // WARNING: Do not edit - generated code. 18997 // WARNING: Do not edit - generated code.
18942 18998
18943 interface SQLError { 18999 interface SQLError {
18944 19000
18945 static final int CONSTRAINT_ERR = 6; 19001 static final int CONSTRAINT_ERR = 6;
18946 19002
(...skipping 2759 matching lines...) Expand 10 before | Expand all | Expand 10 after
21706 // BSD-style license that can be found in the LICENSE file. 21762 // BSD-style license that can be found in the LICENSE file.
21707 21763
21708 // WARNING: Do not edit - generated code. 21764 // WARNING: Do not edit - generated code.
21709 21765
21710 interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider { 21766 interface ShadowRoot extends DocumentFragment default _ShadowRootFactoryProvider {
21711 21767
21712 ShadowRoot(Element host); 21768 ShadowRoot(Element host);
21713 21769
21714 final Element activeElement; 21770 final Element activeElement;
21715 21771
21772 bool applyAuthorStyles;
21773
21716 final Element host; 21774 final Element host;
21717 21775
21718 String innerHTML; 21776 String innerHTML;
21719 21777
21720 final DOMSelection selection; 21778 final DOMSelection selection;
21721 21779
21722 Element getElementById(String elementId); 21780 Element getElementById(String elementId);
21723 21781
21724 NodeList getElementsByClassName(String className); 21782 NodeList getElementsByClassName(String className);
21725 21783
(...skipping 3559 matching lines...) Expand 10 before | Expand all | Expand 10 after
25285 if (length < 0) throw new IllegalArgumentException('length'); 25343 if (length < 0) throw new IllegalArgumentException('length');
25286 if (start < 0) throw new IndexOutOfRangeException(start); 25344 if (start < 0) throw new IndexOutOfRangeException(start);
25287 int end = start + length; 25345 int end = start + length;
25288 if (end > a.length) throw new IndexOutOfRangeException(end); 25346 if (end > a.length) throw new IndexOutOfRangeException(end);
25289 for (int i = start; i < end; i++) { 25347 for (int i = start; i < end; i++) {
25290 accumulator.add(a[i]); 25348 accumulator.add(a[i]);
25291 } 25349 }
25292 return accumulator; 25350 return accumulator;
25293 } 25351 }
25294 } 25352 }
OLDNEW
« no previous file with comments | « lib/dom/dom.dart ('k') | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698