| OLD | NEW |
| 1 #library('dom'); | 1 #library('dom'); |
| 2 | 2 |
| 3 #native('frog_dom.js'); | 3 #native('frog_dom.js'); |
| 4 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 4 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 5 // for details. All rights reserved. Use of this source code is governed by a | 5 // for details. All rights reserved. Use of this source code is governed by a |
| 6 // BSD-style license that can be found in the LICENSE file. | 6 // BSD-style license that can be found in the LICENSE file. |
| 7 | 7 |
| 8 // DO NOT EDIT | 8 // DO NOT EDIT |
| 9 // Auto-generated Dart DOM library. | 9 // Auto-generated Dart DOM library. |
| 10 | 10 |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 | 332 |
| 333 int type; | 333 int type; |
| 334 } | 334 } |
| 335 | 335 |
| 336 class Blob native "*Blob" { | 336 class Blob native "*Blob" { |
| 337 | 337 |
| 338 int size; | 338 int size; |
| 339 | 339 |
| 340 String type; | 340 String type; |
| 341 | 341 |
| 342 Blob webkitSlice([int start = null, int end = null, String contentType = null]
) native; |
| 343 |
| 342 var dartObjectLocalStorage; | 344 var dartObjectLocalStorage; |
| 343 | 345 |
| 344 String get typeName() native; | 346 String get typeName() native; |
| 345 } | 347 } |
| 346 | 348 |
| 347 class CDATASection extends Text native "*CDATASection" { | 349 class CDATASection extends Text native "*CDATASection" { |
| 348 } | 350 } |
| 349 | 351 |
| 350 class CSSCharsetRule extends CSSRule native "*CSSCharsetRule" { | 352 class CSSCharsetRule extends CSSRule native "*CSSCharsetRule" { |
| 351 | 353 |
| (...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 836 | 838 |
| 837 String data; | 839 String data; |
| 838 | 840 |
| 839 void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableAr
g, DOMWindow viewArg, String dataArg) native; | 841 void initCompositionEvent(String typeArg, bool canBubbleArg, bool cancelableAr
g, DOMWindow viewArg, String dataArg) native; |
| 840 } | 842 } |
| 841 | 843 |
| 842 class Console native "=(typeof console == 'undefined' ? {} : console)" { | 844 class Console native "=(typeof console == 'undefined' ? {} : console)" { |
| 843 | 845 |
| 844 MemoryInfo memory; | 846 MemoryInfo memory; |
| 845 | 847 |
| 848 List profiles; |
| 849 |
| 846 void assert(bool condition) native; | 850 void assert(bool condition) native; |
| 847 | 851 |
| 848 void count() native; | 852 void count() native; |
| 849 | 853 |
| 850 void debug(Object arg) native; | 854 void debug(Object arg) native; |
| 851 | 855 |
| 852 void dir() native; | 856 void dir() native; |
| 853 | 857 |
| 854 void dirxml() native; | 858 void dirxml() native; |
| 855 | 859 |
| 856 void error(Object arg) native; | 860 void error(Object arg) native; |
| 857 | 861 |
| 858 void group() native; | 862 void group() native; |
| 859 | 863 |
| 860 void groupCollapsed() native; | 864 void groupCollapsed() native; |
| 861 | 865 |
| 862 void groupEnd() native; | 866 void groupEnd() native; |
| 863 | 867 |
| 864 void info(Object arg) native; | 868 void info(Object arg) native; |
| 865 | 869 |
| 866 void log(Object arg) native; | 870 void log(Object arg) native; |
| 867 | 871 |
| 868 void markTimeline() native; | 872 void markTimeline() native; |
| 869 | 873 |
| 874 void profile(String title) native; |
| 875 |
| 876 void profileEnd(String title) native; |
| 877 |
| 870 void time(String title) native; | 878 void time(String title) native; |
| 871 | 879 |
| 872 void timeEnd(String title) native; | 880 void timeEnd(String title) native; |
| 873 | 881 |
| 874 void timeStamp() native; | 882 void timeStamp() native; |
| 875 | 883 |
| 876 void trace(Object arg) native; | 884 void trace(Object arg) native; |
| 877 | 885 |
| 878 void warn(Object arg) native; | 886 void warn(Object arg) native; |
| 879 | 887 |
| (...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1339 String status; | 1347 String status; |
| 1340 | 1348 |
| 1341 BarInfo statusbar; | 1349 BarInfo statusbar; |
| 1342 | 1350 |
| 1343 StyleMedia styleMedia; | 1351 StyleMedia styleMedia; |
| 1344 | 1352 |
| 1345 BarInfo toolbar; | 1353 BarInfo toolbar; |
| 1346 | 1354 |
| 1347 DOMWindow top; | 1355 DOMWindow top; |
| 1348 | 1356 |
| 1357 IDBFactory webkitIndexedDB; |
| 1358 |
| 1349 NotificationCenter webkitNotifications; | 1359 NotificationCenter webkitNotifications; |
| 1350 | 1360 |
| 1361 StorageInfo webkitStorageInfo; |
| 1362 |
| 1351 DOMURL webkitURL; | 1363 DOMURL webkitURL; |
| 1352 | 1364 |
| 1353 DOMWindow window; | 1365 DOMWindow window; |
| 1354 | 1366 |
| 1355 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 1367 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
| 1356 | 1368 |
| 1357 void alert(String message) native; | 1369 void alert(String message) native; |
| 1358 | 1370 |
| 1359 String atob(String string) native; | 1371 String atob(String string) native; |
| 1360 | 1372 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 1385 DOMSelection getSelection() native; | 1397 DOMSelection getSelection() native; |
| 1386 | 1398 |
| 1387 MediaQueryList matchMedia(String query) native; | 1399 MediaQueryList matchMedia(String query) native; |
| 1388 | 1400 |
| 1389 void moveBy(num x, num y) native; | 1401 void moveBy(num x, num y) native; |
| 1390 | 1402 |
| 1391 void moveTo(num x, num y) native; | 1403 void moveTo(num x, num y) native; |
| 1392 | 1404 |
| 1393 DOMWindow open(String url, String name, [String options = null]) native; | 1405 DOMWindow open(String url, String name, [String options = null]) native; |
| 1394 | 1406 |
| 1407 Database openDatabase(String name, String version, String displayName, int est
imatedSize, [DatabaseCallback creationCallback = null]) native; |
| 1408 |
| 1395 void postMessage(String message, var messagePorts_OR_targetOrigin, [String tar
getOrigin = null]) native; | 1409 void postMessage(String message, var messagePorts_OR_targetOrigin, [String tar
getOrigin = null]) native; |
| 1396 | 1410 |
| 1397 void print() native; | 1411 void print() native; |
| 1398 | 1412 |
| 1399 String prompt(String message, String defaultValue) native; | 1413 String prompt(String message, String defaultValue) native; |
| 1400 | 1414 |
| 1401 void releaseEvents() native; | 1415 void releaseEvents() native; |
| 1402 | 1416 |
| 1403 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 1417 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 1404 | 1418 |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1703 XPathNSResolver createNSResolver(Node nodeResolver) native; | 1717 XPathNSResolver createNSResolver(Node nodeResolver) native; |
| 1704 | 1718 |
| 1705 NodeIterator createNodeIterator(Node root, int whatToShow, NodeFilter filter,
bool expandEntityReferences) native; | 1719 NodeIterator createNodeIterator(Node root, int whatToShow, NodeFilter filter,
bool expandEntityReferences) native; |
| 1706 | 1720 |
| 1707 ProcessingInstruction createProcessingInstruction(String target, String data)
native; | 1721 ProcessingInstruction createProcessingInstruction(String target, String data)
native; |
| 1708 | 1722 |
| 1709 Range createRange() native; | 1723 Range createRange() native; |
| 1710 | 1724 |
| 1711 Text createTextNode(String data) native; | 1725 Text createTextNode(String data) native; |
| 1712 | 1726 |
| 1727 Touch createTouch(DOMWindow window, EventTarget target, int identifier, int pa
geX, int pageY, int screenX, int screenY, int webkitRadiusX, int webkitRadiusY,
num webkitRotationAngle, num webkitForce) native; |
| 1728 |
| 1729 TouchList createTouchList() native; |
| 1730 |
| 1713 TreeWalker createTreeWalker(Node root, int whatToShow, NodeFilter filter, bool
expandEntityReferences) native; | 1731 TreeWalker createTreeWalker(Node root, int whatToShow, NodeFilter filter, bool
expandEntityReferences) native; |
| 1714 | 1732 |
| 1715 Element elementFromPoint(int x, int y) native; | 1733 Element elementFromPoint(int x, int y) native; |
| 1716 | 1734 |
| 1717 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso
lver, int type, XPathResult inResult) native; | 1735 XPathResult evaluate(String expression, Node contextNode, XPathNSResolver reso
lver, int type, XPathResult inResult) native; |
| 1718 | 1736 |
| 1719 bool execCommand(String command, bool userInterface, String value) native; | 1737 bool execCommand(String command, bool userInterface, String value) native; |
| 1720 | 1738 |
| 1721 Object getCSSCanvasContext(String contextId, String name, int width, int heigh
t) native; | 1739 Object getCSSCanvasContext(String contextId, String name, int width, int heigh
t) native; |
| 1722 | 1740 |
| (...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2150 | 2168 |
| 2151 class File extends Blob native "*File" { | 2169 class File extends Blob native "*File" { |
| 2152 | 2170 |
| 2153 String fileName; | 2171 String fileName; |
| 2154 | 2172 |
| 2155 int fileSize; | 2173 int fileSize; |
| 2156 | 2174 |
| 2157 Date lastModifiedDate; | 2175 Date lastModifiedDate; |
| 2158 | 2176 |
| 2159 String name; | 2177 String name; |
| 2178 |
| 2179 String webkitRelativePath; |
| 2160 } | 2180 } |
| 2161 | 2181 |
| 2162 class FileEntry extends Entry native "*FileEntry" { | 2182 class FileEntry extends Entry native "*FileEntry" { |
| 2163 | 2183 |
| 2164 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall
back = null]) native; | 2184 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall
back = null]) native; |
| 2165 | 2185 |
| 2166 void file(FileCallback successCallback, [ErrorCallback errorCallback = null])
native; | 2186 void file(FileCallback successCallback, [ErrorCallback errorCallback = null])
native; |
| 2167 } | 2187 } |
| 2168 | 2188 |
| 2169 class FileEntrySync extends EntrySync native "*FileEntrySync" { | 2189 class FileEntrySync extends EntrySync native "*FileEntrySync" { |
| (...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2785 | 2805 |
| 2786 String height; | 2806 String height; |
| 2787 | 2807 |
| 2788 String name; | 2808 String name; |
| 2789 | 2809 |
| 2790 String src; | 2810 String src; |
| 2791 | 2811 |
| 2792 String type; | 2812 String type; |
| 2793 | 2813 |
| 2794 String width; | 2814 String width; |
| 2815 |
| 2816 SVGDocument getSVGDocument() native; |
| 2795 } | 2817 } |
| 2796 | 2818 |
| 2797 class HTMLFieldSetElement extends HTMLElement native "*HTMLFieldSetElement" { | 2819 class HTMLFieldSetElement extends HTMLElement native "*HTMLFieldSetElement" { |
| 2798 | 2820 |
| 2799 HTMLFormElement form; | 2821 HTMLFormElement form; |
| 2800 | 2822 |
| 2801 String validationMessage; | 2823 String validationMessage; |
| 2802 | 2824 |
| 2803 ValidityState validity; | 2825 ValidityState validity; |
| 2804 | 2826 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2869 | 2891 |
| 2870 String name; | 2892 String name; |
| 2871 | 2893 |
| 2872 bool noResize; | 2894 bool noResize; |
| 2873 | 2895 |
| 2874 String scrolling; | 2896 String scrolling; |
| 2875 | 2897 |
| 2876 String src; | 2898 String src; |
| 2877 | 2899 |
| 2878 int width; | 2900 int width; |
| 2901 |
| 2902 SVGDocument getSVGDocument() native; |
| 2879 } | 2903 } |
| 2880 | 2904 |
| 2881 class HTMLFrameSetElement extends HTMLElement native "*HTMLFrameSetElement" { | 2905 class HTMLFrameSetElement extends HTMLElement native "*HTMLFrameSetElement" { |
| 2882 | 2906 |
| 2883 String cols; | 2907 String cols; |
| 2884 | 2908 |
| 2885 String rows; | 2909 String rows; |
| 2886 } | 2910 } |
| 2887 | 2911 |
| 2888 class HTMLHRElement extends HTMLElement native "*HTMLHRElement" { | 2912 class HTMLHRElement extends HTMLElement native "*HTMLHRElement" { |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2933 | 2957 |
| 2934 String name; | 2958 String name; |
| 2935 | 2959 |
| 2936 String sandbox; | 2960 String sandbox; |
| 2937 | 2961 |
| 2938 String scrolling; | 2962 String scrolling; |
| 2939 | 2963 |
| 2940 String src; | 2964 String src; |
| 2941 | 2965 |
| 2942 String width; | 2966 String width; |
| 2967 |
| 2968 SVGDocument getSVGDocument() native; |
| 2943 } | 2969 } |
| 2944 | 2970 |
| 2945 class HTMLImageElement extends HTMLElement native "*HTMLImageElement" { | 2971 class HTMLImageElement extends HTMLElement native "*HTMLImageElement" { |
| 2946 | 2972 |
| 2947 String align; | 2973 String align; |
| 2948 | 2974 |
| 2949 String alt; | 2975 String alt; |
| 2950 | 2976 |
| 2951 String border; | 2977 String border; |
| 2952 | 2978 |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3215 | 3241 |
| 3216 String width; | 3242 String width; |
| 3217 | 3243 |
| 3218 void start() native; | 3244 void start() native; |
| 3219 | 3245 |
| 3220 void stop() native; | 3246 void stop() native; |
| 3221 } | 3247 } |
| 3222 | 3248 |
| 3223 class HTMLMediaElement extends HTMLElement native "HTMLMediaElement" { | 3249 class HTMLMediaElement extends HTMLElement native "HTMLMediaElement" { |
| 3224 | 3250 |
| 3251 static final int EOS_DECODE_ERR = 2; |
| 3252 |
| 3253 static final int EOS_NETWORK_ERR = 1; |
| 3254 |
| 3255 static final int EOS_NO_ERROR = 0; |
| 3256 |
| 3225 static final int HAVE_CURRENT_DATA = 2; | 3257 static final int HAVE_CURRENT_DATA = 2; |
| 3226 | 3258 |
| 3227 static final int HAVE_ENOUGH_DATA = 4; | 3259 static final int HAVE_ENOUGH_DATA = 4; |
| 3228 | 3260 |
| 3229 static final int HAVE_FUTURE_DATA = 3; | 3261 static final int HAVE_FUTURE_DATA = 3; |
| 3230 | 3262 |
| 3231 static final int HAVE_METADATA = 1; | 3263 static final int HAVE_METADATA = 1; |
| 3232 | 3264 |
| 3233 static final int HAVE_NOTHING = 0; | 3265 static final int HAVE_NOTHING = 0; |
| 3234 | 3266 |
| 3235 static final int NETWORK_EMPTY = 0; | 3267 static final int NETWORK_EMPTY = 0; |
| 3236 | 3268 |
| 3237 static final int NETWORK_IDLE = 1; | 3269 static final int NETWORK_IDLE = 1; |
| 3238 | 3270 |
| 3239 static final int NETWORK_LOADING = 2; | 3271 static final int NETWORK_LOADING = 2; |
| 3240 | 3272 |
| 3241 static final int NETWORK_NO_SOURCE = 3; | 3273 static final int NETWORK_NO_SOURCE = 3; |
| 3242 | 3274 |
| 3275 static final int SOURCE_CLOSED = 0; |
| 3276 |
| 3277 static final int SOURCE_ENDED = 2; |
| 3278 |
| 3279 static final int SOURCE_OPEN = 1; |
| 3280 |
| 3243 bool autoplay; | 3281 bool autoplay; |
| 3244 | 3282 |
| 3245 TimeRanges buffered; | 3283 TimeRanges buffered; |
| 3246 | 3284 |
| 3247 bool controls; | 3285 bool controls; |
| 3248 | 3286 |
| 3249 String currentSrc; | 3287 String currentSrc; |
| 3250 | 3288 |
| 3251 num currentTime; | 3289 num currentTime; |
| 3252 | 3290 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3287 num startTime; | 3325 num startTime; |
| 3288 | 3326 |
| 3289 num volume; | 3327 num volume; |
| 3290 | 3328 |
| 3291 int webkitAudioDecodedByteCount; | 3329 int webkitAudioDecodedByteCount; |
| 3292 | 3330 |
| 3293 bool webkitClosedCaptionsVisible; | 3331 bool webkitClosedCaptionsVisible; |
| 3294 | 3332 |
| 3295 bool webkitHasClosedCaptions; | 3333 bool webkitHasClosedCaptions; |
| 3296 | 3334 |
| 3335 String webkitMediaSourceURL; |
| 3336 |
| 3297 bool webkitPreservesPitch; | 3337 bool webkitPreservesPitch; |
| 3298 | 3338 |
| 3339 int webkitSourceState; |
| 3340 |
| 3299 int webkitVideoDecodedByteCount; | 3341 int webkitVideoDecodedByteCount; |
| 3300 | 3342 |
| 3343 TextTrack addTrack(String kind, [String label = null, String language = null])
native; |
| 3344 |
| 3301 String canPlayType(String type) native; | 3345 String canPlayType(String type) native; |
| 3302 | 3346 |
| 3303 void load() native; | 3347 void load() native; |
| 3304 | 3348 |
| 3305 void pause() native; | 3349 void pause() native; |
| 3306 | 3350 |
| 3307 void play() native; | 3351 void play() native; |
| 3352 |
| 3353 void webkitSourceAppend(Uint8Array data) native; |
| 3354 |
| 3355 void webkitSourceEndOfStream(int status) native; |
| 3308 } | 3356 } |
| 3309 | 3357 |
| 3310 class HTMLMenuElement extends HTMLElement native "*HTMLMenuElement" { | 3358 class HTMLMenuElement extends HTMLElement native "*HTMLMenuElement" { |
| 3311 | 3359 |
| 3312 bool compact; | 3360 bool compact; |
| 3313 } | 3361 } |
| 3314 | 3362 |
| 3315 class HTMLMetaElement extends HTMLElement native "*HTMLMetaElement" { | 3363 class HTMLMetaElement extends HTMLElement native "*HTMLMetaElement" { |
| 3316 | 3364 |
| 3317 String content; | 3365 String content; |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3397 ValidityState validity; | 3445 ValidityState validity; |
| 3398 | 3446 |
| 3399 int vspace; | 3447 int vspace; |
| 3400 | 3448 |
| 3401 String width; | 3449 String width; |
| 3402 | 3450 |
| 3403 bool willValidate; | 3451 bool willValidate; |
| 3404 | 3452 |
| 3405 bool checkValidity() native; | 3453 bool checkValidity() native; |
| 3406 | 3454 |
| 3455 SVGDocument getSVGDocument() native; |
| 3456 |
| 3407 void setCustomValidity(String error) native; | 3457 void setCustomValidity(String error) native; |
| 3408 } | 3458 } |
| 3409 | 3459 |
| 3410 class HTMLOptGroupElement extends HTMLElement native "*HTMLOptGroupElement" { | 3460 class HTMLOptGroupElement extends HTMLElement native "*HTMLOptGroupElement" { |
| 3411 | 3461 |
| 3412 bool disabled; | 3462 bool disabled; |
| 3413 | 3463 |
| 3414 String label; | 3464 String label; |
| 3415 } | 3465 } |
| 3416 | 3466 |
| (...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4189 } | 4239 } |
| 4190 | 4240 |
| 4191 class InjectedScriptHost native "*InjectedScriptHost" { | 4241 class InjectedScriptHost native "*InjectedScriptHost" { |
| 4192 | 4242 |
| 4193 void clearConsoleMessages() native; | 4243 void clearConsoleMessages() native; |
| 4194 | 4244 |
| 4195 void copyText(String text) native; | 4245 void copyText(String text) native; |
| 4196 | 4246 |
| 4197 int databaseId(Object database) native; | 4247 int databaseId(Object database) native; |
| 4198 | 4248 |
| 4249 void didCreateWorker(int id, String url, bool isFakeWorker) native; |
| 4250 |
| 4251 void didDestroyWorker(int id) native; |
| 4252 |
| 4199 Object evaluate(String text) native; | 4253 Object evaluate(String text) native; |
| 4200 | 4254 |
| 4201 void inspect(Object objectId, Object hints) native; | 4255 void inspect(Object objectId, Object hints) native; |
| 4202 | 4256 |
| 4203 Object inspectedNode(int num) native; | 4257 Object inspectedNode(int num) native; |
| 4204 | 4258 |
| 4205 Object internalConstructorName(Object object) native; | 4259 Object internalConstructorName(Object object) native; |
| 4206 | 4260 |
| 4207 bool isHTMLAllCollection(Object object) native; | 4261 bool isHTMLAllCollection(Object object) native; |
| 4208 | 4262 |
| 4263 int nextWorkerId() native; |
| 4264 |
| 4209 int storageId(Object storage) native; | 4265 int storageId(Object storage) native; |
| 4210 | 4266 |
| 4211 String type(Object object) native; | 4267 String type(Object object) native; |
| 4212 | 4268 |
| 4213 var dartObjectLocalStorage; | 4269 var dartObjectLocalStorage; |
| 4214 | 4270 |
| 4215 String get typeName() native; | 4271 String get typeName() native; |
| 4216 } | 4272 } |
| 4217 | 4273 |
| 4218 class InspectorFrontendHost native "*InspectorFrontendHost" { | 4274 class InspectorFrontendHost native "*InspectorFrontendHost" { |
| (...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4700 class Navigator native "*Navigator" { | 4756 class Navigator native "*Navigator" { |
| 4701 | 4757 |
| 4702 String appCodeName; | 4758 String appCodeName; |
| 4703 | 4759 |
| 4704 String appName; | 4760 String appName; |
| 4705 | 4761 |
| 4706 String appVersion; | 4762 String appVersion; |
| 4707 | 4763 |
| 4708 bool cookieEnabled; | 4764 bool cookieEnabled; |
| 4709 | 4765 |
| 4766 Geolocation geolocation; |
| 4767 |
| 4710 String language; | 4768 String language; |
| 4711 | 4769 |
| 4712 DOMMimeTypeArray mimeTypes; | 4770 DOMMimeTypeArray mimeTypes; |
| 4713 | 4771 |
| 4714 bool onLine; | 4772 bool onLine; |
| 4715 | 4773 |
| 4716 String platform; | 4774 String platform; |
| 4717 | 4775 |
| 4718 DOMPluginArray plugins; | 4776 DOMPluginArray plugins; |
| 4719 | 4777 |
| 4720 String product; | 4778 String product; |
| 4721 | 4779 |
| 4722 String productSub; | 4780 String productSub; |
| 4723 | 4781 |
| 4724 String userAgent; | 4782 String userAgent; |
| 4725 | 4783 |
| 4726 String vendor; | 4784 String vendor; |
| 4727 | 4785 |
| 4728 String vendorSub; | 4786 String vendorSub; |
| 4729 | 4787 |
| 4730 void getStorageUpdates() native; | 4788 void getStorageUpdates() native; |
| 4731 | 4789 |
| 4732 bool javaEnabled() native; | 4790 bool javaEnabled() native; |
| 4733 | 4791 |
| 4792 void registerProtocolHandler(String scheme, String url, String title) native; |
| 4793 |
| 4794 void webkitGetUserMedia(String options, NavigatorUserMediaSuccessCallback succ
essCallback, [NavigatorUserMediaErrorCallback errorCallback = null]) native; |
| 4795 |
| 4734 var dartObjectLocalStorage; | 4796 var dartObjectLocalStorage; |
| 4735 | 4797 |
| 4736 String get typeName() native; | 4798 String get typeName() native; |
| 4737 } | 4799 } |
| 4738 | 4800 |
| 4739 class NavigatorUserMediaError native "*NavigatorUserMediaError" { | 4801 class NavigatorUserMediaError native "*NavigatorUserMediaError" { |
| 4740 | 4802 |
| 4741 static final int PERMISSION_DENIED = 1; | 4803 static final int PERMISSION_DENIED = 1; |
| 4742 | 4804 |
| 4743 int code; | 4805 int code; |
| (...skipping 5691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10435 | 10497 |
| 10436 WebKitAnimation item(int index) native; | 10498 WebKitAnimation item(int index) native; |
| 10437 | 10499 |
| 10438 var dartObjectLocalStorage; | 10500 var dartObjectLocalStorage; |
| 10439 | 10501 |
| 10440 String get typeName() native; | 10502 String get typeName() native; |
| 10441 } | 10503 } |
| 10442 | 10504 |
| 10443 class WebKitBlobBuilder native "*WebKitBlobBuilder" { | 10505 class WebKitBlobBuilder native "*WebKitBlobBuilder" { |
| 10444 | 10506 |
| 10445 void append(var blob_OR_value, [String endings = null]) native; | 10507 void append(var arrayBuffer_OR_blob_OR_value, [String endings = null]) native; |
| 10446 | 10508 |
| 10447 Blob getBlob([String contentType = null]) native; | 10509 Blob getBlob([String contentType = null]) native; |
| 10448 | 10510 |
| 10449 var dartObjectLocalStorage; | 10511 var dartObjectLocalStorage; |
| 10450 | 10512 |
| 10451 String get typeName() native; | 10513 String get typeName() native; |
| 10452 } | 10514 } |
| 10453 | 10515 |
| 10454 class WebKitCSSFilterValue extends CSSValueList native "*WebKitCSSFilterValue" { | 10516 class WebKitCSSFilterValue extends CSSValueList native "*WebKitCSSFilterValue" { |
| 10455 | 10517 |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10777 void clearInterval(int handle) native; | 10839 void clearInterval(int handle) native; |
| 10778 | 10840 |
| 10779 void clearTimeout(int handle) native; | 10841 void clearTimeout(int handle) native; |
| 10780 | 10842 |
| 10781 void close() native; | 10843 void close() native; |
| 10782 | 10844 |
| 10783 bool dispatchEvent(Event evt) native; | 10845 bool dispatchEvent(Event evt) native; |
| 10784 | 10846 |
| 10785 void importScripts() native; | 10847 void importScripts() native; |
| 10786 | 10848 |
| 10849 Database openDatabase(String name, String version, String displayName, int est
imatedSize, [DatabaseCallback creationCallback = null]) native; |
| 10850 |
| 10851 DatabaseSync openDatabaseSync(String name, String version, String displayName,
int estimatedSize, [DatabaseCallback creationCallback = null]) native; |
| 10852 |
| 10787 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 10853 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 10788 | 10854 |
| 10789 int setInterval(TimeoutHandler handler, int timeout) native; | 10855 int setInterval(TimeoutHandler handler, int timeout) native; |
| 10790 | 10856 |
| 10791 int setTimeout(TimeoutHandler handler, int timeout) native; | 10857 int setTimeout(TimeoutHandler handler, int timeout) native; |
| 10792 | 10858 |
| 10793 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback = null, ErrorCallback errorCallback = null]) native; | 10859 void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCa
llback = null, ErrorCallback errorCallback = null]) native; |
| 10794 | 10860 |
| 10795 DOMFileSystemSync webkitRequestFileSystemSync(int type, int size) native; | 10861 DOMFileSystemSync webkitRequestFileSystemSync(int type, int size) native; |
| 10796 | 10862 |
| (...skipping 1090 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11887 startIndex = a.length - 1; | 11953 startIndex = a.length - 1; |
| 11888 } | 11954 } |
| 11889 for (int i = startIndex; i >= 0; i--) { | 11955 for (int i = startIndex; i >= 0; i--) { |
| 11890 if (a[i] == element) { | 11956 if (a[i] == element) { |
| 11891 return i; | 11957 return i; |
| 11892 } | 11958 } |
| 11893 } | 11959 } |
| 11894 return -1; | 11960 return -1; |
| 11895 } | 11961 } |
| 11896 } | 11962 } |
| OLD | NEW |