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

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

Issue 10542124: Roll IDL to multivm@603 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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 | « no previous file | lib/dom/frog/dom_frog.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('dom'); 1 #library('dom');
2 2
3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 4 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 5 // BSD-style license that can be found in the LICENSE file.
6 6
7 // DO NOT EDIT 7 // DO NOT EDIT
8 // Auto-generated Dart DOM library with no implementation. 8 // Auto-generated Dart DOM library with no implementation.
9 9
10 10
(...skipping 1807 matching lines...) Expand 10 before | Expand all | Expand 10 after
1818 final StyleMedia styleMedia; 1818 final StyleMedia styleMedia;
1819 1819
1820 final BarInfo toolbar; 1820 final BarInfo toolbar;
1821 1821
1822 final DOMWindow top; 1822 final DOMWindow top;
1823 1823
1824 final IDBFactory webkitIndexedDB; 1824 final IDBFactory webkitIndexedDB;
1825 1825
1826 final NotificationCenter webkitNotifications; 1826 final NotificationCenter webkitNotifications;
1827 1827
1828 final StorageInfo webkitStorageInfo;
1829
1830 final DOMWindow window; 1828 final DOMWindow window;
1831 1829
1832 void addEventListener(String type, EventListener listener, [bool useCapture]); 1830 void addEventListener(String type, EventListener listener, [bool useCapture]);
1833 1831
1834 void alert(String message); 1832 void alert(String message);
1835 1833
1836 String atob(String string); 1834 String atob(String string);
1837 1835
1838 void blur(); 1836 void blur();
1839 1837
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
1930 1928
1931 interface DataTransferItem { 1929 interface DataTransferItem {
1932 1930
1933 final String kind; 1931 final String kind;
1934 1932
1935 final String type; 1933 final String type;
1936 1934
1937 Blob getAsFile(); 1935 Blob getAsFile();
1938 1936
1939 void getAsString([StringCallback callback]); 1937 void getAsString([StringCallback callback]);
1938
1939 Entry webkitGetAsEntry();
1940 } 1940 }
1941 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1941 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1942 // for details. All rights reserved. Use of this source code is governed by a 1942 // for details. All rights reserved. Use of this source code is governed by a
1943 // BSD-style license that can be found in the LICENSE file. 1943 // BSD-style license that can be found in the LICENSE file.
1944 1944
1945 // WARNING: Do not edit - generated code. 1945 // WARNING: Do not edit - generated code.
1946 1946
1947 interface DataTransferItemList { 1947 interface DataTransferItemList {
1948 1948
1949 final int length; 1949 final int length;
(...skipping 3201 matching lines...) Expand 10 before | Expand all | Expand 10 after
5151 static final int NO_ERR = 0; 5151 static final int NO_ERR = 0;
5152 5152
5153 static final int QUOTA_ERR = 22; 5153 static final int QUOTA_ERR = 22;
5154 5154
5155 static final int READ_ONLY_ERR = 9; 5155 static final int READ_ONLY_ERR = 9;
5156 5156
5157 static final int TIMEOUT_ERR = 23; 5157 static final int TIMEOUT_ERR = 23;
5158 5158
5159 static final int TRANSACTION_INACTIVE_ERR = 7; 5159 static final int TRANSACTION_INACTIVE_ERR = 7;
5160 5160
5161 static final int TYPE_ERR = 21;
5162
5161 static final int UNKNOWN_ERR = 1; 5163 static final int UNKNOWN_ERR = 1;
5162 5164
5163 static final int VER_ERR = 12; 5165 static final int VER_ERR = 12;
5164 5166
5165 final int code; 5167 final int code;
5166 5168
5167 final String message; 5169 final String message;
5168 5170
5169 final String name; 5171 final String name;
5170 5172
5171 String toString(); 5173 String toString();
5172 } 5174 }
5173 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5175 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5174 // for details. All rights reserved. Use of this source code is governed by a 5176 // for details. All rights reserved. Use of this source code is governed by a
5175 // BSD-style license that can be found in the LICENSE file. 5177 // BSD-style license that can be found in the LICENSE file.
5176 5178
5177 // WARNING: Do not edit - generated code. 5179 // WARNING: Do not edit - generated code.
5178 5180
5179 interface IDBFactory { 5181 interface IDBFactory {
5180 5182
5181 int cmp(/*IDBKey*/ first, /*IDBKey*/ second); 5183 int cmp(/*IDBKey*/ first, /*IDBKey*/ second);
5182 5184
5183 IDBVersionChangeRequest deleteDatabase(String name); 5185 IDBVersionChangeRequest deleteDatabase(String name);
5184 5186
5185 IDBRequest getDatabaseNames(); 5187 IDBRequest open(String name);
5186 5188
5187 IDBRequest open(String name); 5189 IDBRequest webkitGetDatabaseNames();
5188 } 5190 }
5189 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5191 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5190 // for details. All rights reserved. Use of this source code is governed by a 5192 // for details. All rights reserved. Use of this source code is governed by a
5191 // BSD-style license that can be found in the LICENSE file. 5193 // BSD-style license that can be found in the LICENSE file.
5192 5194
5193 // WARNING: Do not edit - generated code. 5195 // WARNING: Do not edit - generated code.
5194 5196
5195 interface IDBIndex { 5197 interface IDBIndex {
5196 5198
5197 final /*IDBAny*/ keyPath; 5199 final /*IDBAny*/ keyPath;
(...skipping 1220 matching lines...) Expand 10 before | Expand all | Expand 10 after
6418 interface OfflineAudioCompletionEvent extends Event { 6420 interface OfflineAudioCompletionEvent extends Event {
6419 6421
6420 final AudioBuffer renderedBuffer; 6422 final AudioBuffer renderedBuffer;
6421 } 6423 }
6422 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6424 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6423 // for details. All rights reserved. Use of this source code is governed by a 6425 // for details. All rights reserved. Use of this source code is governed by a
6424 // BSD-style license that can be found in the LICENSE file. 6426 // BSD-style license that can be found in the LICENSE file.
6425 6427
6426 // WARNING: Do not edit - generated code. 6428 // WARNING: Do not edit - generated code.
6427 6429
6428 interface OperationNotAllowedException {
6429
6430 static final int NOT_ALLOWED_ERR = 1;
6431
6432 final int code;
6433
6434 final String message;
6435
6436 final String name;
6437
6438 String toString();
6439 }
6440 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6441 // for details. All rights reserved. Use of this source code is governed by a
6442 // BSD-style license that can be found in the LICENSE file.
6443
6444 // WARNING: Do not edit - generated code.
6445
6446 interface Oscillator extends AudioSourceNode { 6430 interface Oscillator extends AudioSourceNode {
6447 6431
6448 static final int CUSTOM = 4; 6432 static final int CUSTOM = 4;
6449 6433
6450 static final int FINISHED_STATE = 3; 6434 static final int FINISHED_STATE = 3;
6451 6435
6452 static final int PLAYING_STATE = 2; 6436 static final int PLAYING_STATE = 2;
6453 6437
6454 static final int SAWTOOTH = 2; 6438 static final int SAWTOOTH = 2;
6455 6439
(...skipping 3268 matching lines...) Expand 10 before | Expand all | Expand 10 after
9724 ShadowRoot(Element host); 9708 ShadowRoot(Element host);
9725 9709
9726 final Element activeElement; 9710 final Element activeElement;
9727 9711
9728 bool applyAuthorStyles; 9712 bool applyAuthorStyles;
9729 9713
9730 final Element host; 9714 final Element host;
9731 9715
9732 String innerHTML; 9716 String innerHTML;
9733 9717
9718 bool resetStyleInheritance;
9719
9734 Element getElementById(String elementId); 9720 Element getElementById(String elementId);
9735 9721
9736 NodeList getElementsByClassName(String className); 9722 NodeList getElementsByClassName(String className);
9737 9723
9738 NodeList getElementsByTagName(String tagName); 9724 NodeList getElementsByTagName(String tagName);
9739 9725
9740 NodeList getElementsByTagNameNS(String namespaceURI, String localName); 9726 NodeList getElementsByTagNameNS(String namespaceURI, String localName);
9741 9727
9742 DOMSelection getSelection(); 9728 DOMSelection getSelection();
9743 } 9729 }
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
9984 final String newValue; 9970 final String newValue;
9985 9971
9986 final String oldValue; 9972 final String oldValue;
9987 9973
9988 final Storage storageArea; 9974 final Storage storageArea;
9989 9975
9990 final String url; 9976 final String url;
9991 9977
9992 void initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, S tring keyArg, String oldValueArg, String newValueArg, String urlArg, Storage sto rageAreaArg); 9978 void initStorageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, S tring keyArg, String oldValueArg, String newValueArg, String urlArg, Storage sto rageAreaArg);
9993 } 9979 }
9994 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9995 // for details. All rights reserved. Use of this source code is governed by a
9996 // BSD-style license that can be found in the LICENSE file.
9997
9998 // WARNING: Do not edit - generated code.
9999
10000 interface StorageInfo {
10001
10002 static final int PERSISTENT = 1;
10003
10004 static final int TEMPORARY = 0;
10005
10006 void queryUsageAndQuota(int storageType, [StorageInfoUsageCallback usageCallba ck, StorageInfoErrorCallback errorCallback]);
10007
10008 void requestQuota(int storageType, int newQuotaInBytes, [StorageInfoQuotaCallb ack quotaCallback, StorageInfoErrorCallback errorCallback]);
10009 }
10010 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 9980 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
10011 // for details. All rights reserved. Use of this source code is governed by a 9981 // for details. All rights reserved. Use of this source code is governed by a
10012 // BSD-style license that can be found in the LICENSE file. 9982 // BSD-style license that can be found in the LICENSE file.
10013
10014 // WARNING: Do not edit - generated code.
10015
10016 typedef bool StorageInfoErrorCallback(DOMException error);
10017 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
10018 // for details. All rights reserved. Use of this source code is governed by a
10019 // BSD-style license that can be found in the LICENSE file.
10020
10021 // WARNING: Do not edit - generated code.
10022
10023 typedef bool StorageInfoQuotaCallback(int grantedQuotaInBytes);
10024 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
10025 // for details. All rights reserved. Use of this source code is governed by a
10026 // BSD-style license that can be found in the LICENSE file.
10027
10028 // WARNING: Do not edit - generated code.
10029
10030 typedef bool StorageInfoUsageCallback(int currentUsageInBytes, int currentQuotaI nBytes);
10031 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
10032 // for details. All rights reserved. Use of this source code is governed by a
10033 // BSD-style license that can be found in the LICENSE file.
10034 9983
10035 // WARNING: Do not edit - generated code. 9984 // WARNING: Do not edit - generated code.
10036 9985
10037 typedef bool StringCallback(String data); 9986 typedef bool StringCallback(String data);
10038 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 9987 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
10039 // for details. All rights reserved. Use of this source code is governed by a 9988 // for details. All rights reserved. Use of this source code is governed by a
10040 // BSD-style license that can be found in the LICENSE file. 9989 // BSD-style license that can be found in the LICENSE file.
10041 9990
10042 // WARNING: Do not edit - generated code. 9991 // WARNING: Do not edit - generated code.
10043 9992
(...skipping 2933 matching lines...) Expand 10 before | Expand all | Expand 10 after
12977 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 12926 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
12978 // for details. All rights reserved. Use of this source code is governed by a 12927 // for details. All rights reserved. Use of this source code is governed by a
12979 // BSD-style license that can be found in the LICENSE file. 12928 // BSD-style license that can be found in the LICENSE file.
12980 12929
12981 Window get window() => _dummy(); 12930 Window get window() => _dummy();
12982 12931
12983 // TODO(vsm): Remove when prefixes are supported. 12932 // TODO(vsm): Remove when prefixes are supported.
12984 Window get dom_window() => _dummy(); 12933 Window get dom_window() => _dummy();
12985 12934
12986 Document get document() => _dummy(); 12935 Document get document() => _dummy();
OLDNEW
« no previous file with comments | « no previous file | lib/dom/frog/dom_frog.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698