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

Side by Side Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 13843029: WebKit IDL roll. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | « no previous file | sdk/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 /// The Dart HTML library. 1 /// The Dart HTML library.
2 library dart.dom.html; 2 library dart.dom.html;
3 3
4 import 'dart:async'; 4 import 'dart:async';
5 import 'dart:collection'; 5 import 'dart:collection';
6 import 'dart:_collection-dev'; 6 import 'dart:_collection-dev';
7 import 'dart:html_common'; 7 import 'dart:html_common';
8 import 'dart:indexed_db'; 8 import 'dart:indexed_db';
9 import 'dart:isolate'; 9 import 'dart:isolate';
10 import 'dart:json' as json; 10 import 'dart:json' as json;
(...skipping 17181 matching lines...) Expand 10 before | Expand all | Expand 10 after
17192 @SupportedBrowser(SupportedBrowser.SAFARI) 17192 @SupportedBrowser(SupportedBrowser.SAFARI)
17193 @Experimental 17193 @Experimental
17194 void clearResourceTimings() native; 17194 void clearResourceTimings() native;
17195 17195
17196 @JSName('webkitGetEntries') 17196 @JSName('webkitGetEntries')
17197 @DomName('Performance.webkitGetEntries') 17197 @DomName('Performance.webkitGetEntries')
17198 @DocsEditable 17198 @DocsEditable
17199 @SupportedBrowser(SupportedBrowser.CHROME) 17199 @SupportedBrowser(SupportedBrowser.CHROME)
17200 @SupportedBrowser(SupportedBrowser.SAFARI) 17200 @SupportedBrowser(SupportedBrowser.SAFARI)
17201 @Experimental 17201 @Experimental
17202 PerformanceEntryList getEntries() native; 17202 List<PerformanceEntry> getEntries() native;
17203 17203
17204 @JSName('webkitGetEntriesByName') 17204 @JSName('webkitGetEntriesByName')
17205 @DomName('Performance.webkitGetEntriesByName') 17205 @DomName('Performance.webkitGetEntriesByName')
17206 @DocsEditable 17206 @DocsEditable
17207 @SupportedBrowser(SupportedBrowser.CHROME) 17207 @SupportedBrowser(SupportedBrowser.CHROME)
17208 @SupportedBrowser(SupportedBrowser.SAFARI) 17208 @SupportedBrowser(SupportedBrowser.SAFARI)
17209 @Experimental 17209 @Experimental
17210 PerformanceEntryList getEntriesByName(String name, String entryType) native; 17210 List<PerformanceEntry> getEntriesByName(String name, String entryType) native;
17211 17211
17212 @JSName('webkitGetEntriesByType') 17212 @JSName('webkitGetEntriesByType')
17213 @DomName('Performance.webkitGetEntriesByType') 17213 @DomName('Performance.webkitGetEntriesByType')
17214 @DocsEditable 17214 @DocsEditable
17215 @SupportedBrowser(SupportedBrowser.CHROME) 17215 @SupportedBrowser(SupportedBrowser.CHROME)
17216 @SupportedBrowser(SupportedBrowser.SAFARI) 17216 @SupportedBrowser(SupportedBrowser.SAFARI)
17217 @Experimental 17217 @Experimental
17218 PerformanceEntryList getEntriesByType(String entryType) native; 17218 List<PerformanceEntry> getEntriesByType(String entryType) native;
17219 17219
17220 @JSName('webkitMark') 17220 @JSName('webkitMark')
17221 @DomName('Performance.webkitMark') 17221 @DomName('Performance.webkitMark')
17222 @DocsEditable 17222 @DocsEditable
17223 @SupportedBrowser(SupportedBrowser.CHROME) 17223 @SupportedBrowser(SupportedBrowser.CHROME)
17224 @SupportedBrowser(SupportedBrowser.SAFARI) 17224 @SupportedBrowser(SupportedBrowser.SAFARI)
17225 @Experimental 17225 @Experimental
17226 void mark(String markName) native; 17226 void mark(String markName) native;
17227 17227
17228 @JSName('webkitMeasure') 17228 @JSName('webkitMeasure')
(...skipping 5375 matching lines...) Expand 10 before | Expand all | Expand 10 after
22604 * Gets an instance of the Indexed DB factory to being using Indexed DB. 22604 * Gets an instance of the Indexed DB factory to being using Indexed DB.
22605 * 22605 *
22606 * Use [IdbFactory.supported] to check if Indexed DB is supported on the 22606 * Use [IdbFactory.supported] to check if Indexed DB is supported on the
22607 * current platform. 22607 * current platform.
22608 */ 22608 */
22609 @SupportedBrowser(SupportedBrowser.CHROME, '23.0') 22609 @SupportedBrowser(SupportedBrowser.CHROME, '23.0')
22610 @SupportedBrowser(SupportedBrowser.FIREFOX, '15.0') 22610 @SupportedBrowser(SupportedBrowser.FIREFOX, '15.0')
22611 @SupportedBrowser(SupportedBrowser.IE, '10.0') 22611 @SupportedBrowser(SupportedBrowser.IE, '10.0')
22612 @Experimental 22612 @Experimental
22613 IdbFactory get indexedDB => 22613 IdbFactory get indexedDB =>
22614 JS('IdbFactory|Null', 22614 JS('IdbFactory|Null', // If not supported, returns `null`.
22615 '#.indexedDB || #.webkitIndexedDB || #.mozIndexedDB', 22615 '#.indexedDB || #.webkitIndexedDB || #.mozIndexedDB',
22616 this, this, this); 22616 this, this, this);
22617 22617
22618 @DomName('Window.console') 22618 @DomName('Window.console')
22619 Console get console => Console.safeConsole; 22619 Console get console => Console.safeConsole;
22620 22620
22621 /// Checks if _setImmediate is supported. 22621 /// Checks if _setImmediate is supported.
22622 static bool get _supportsSetImmediate => 22622 static bool get _supportsSetImmediate =>
22623 JS('bool', '!!(window.setImmediate)'); 22623 JS('bool', '!!(window.setImmediate)');
22624 22624
(...skipping 7284 matching lines...) Expand 10 before | Expand all | Expand 10 after
29909 _position = nextPosition; 29909 _position = nextPosition;
29910 return true; 29910 return true;
29911 } 29911 }
29912 _current = null; 29912 _current = null;
29913 _position = _array.length; 29913 _position = _array.length;
29914 return false; 29914 return false;
29915 } 29915 }
29916 29916
29917 T get current => _current; 29917 T get current => _current;
29918 } 29918 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698