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

Side by Side Diff: sdk/lib/indexed_db/dartium/indexed_db_dartium.dart

Issue 12041090: Changed how Experimental annotation works. No longer is a constructor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 | « sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart ('k') | tools/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 indexed_db; 1 library indexed_db;
2 2
3 import 'dart:async'; 3 import 'dart:async';
4 import 'dart:html'; 4 import 'dart:html';
5 import 'dart:html_common'; 5 import 'dart:html_common';
6 import 'dart:nativewrappers'; 6 import 'dart:nativewrappers';
7 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 7 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8 // for details. All rights reserved. Use of this source code is governed by a 8 // for details. All rights reserved. Use of this source code is governed by a
9 // BSD-style license that can be found in the LICENSE file. 9 // BSD-style license that can be found in the LICENSE file.
10 10
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 // BSD-style license that can be found in the LICENSE file. 113 // BSD-style license that can be found in the LICENSE file.
114 114
115 // WARNING: Do not edit - generated code. 115 // WARNING: Do not edit - generated code.
116 116
117 117
118 @DocsEditable 118 @DocsEditable
119 @DomName('IDBDatabase') 119 @DomName('IDBDatabase')
120 @SupportedBrowser(SupportedBrowser.CHROME) 120 @SupportedBrowser(SupportedBrowser.CHROME)
121 @SupportedBrowser(SupportedBrowser.FIREFOX, '15') 121 @SupportedBrowser(SupportedBrowser.FIREFOX, '15')
122 @SupportedBrowser(SupportedBrowser.IE, '10') 122 @SupportedBrowser(SupportedBrowser.IE, '10')
123 @Experimental() 123 @Experimental
124 class Database extends EventTarget { 124 class Database extends EventTarget {
125 Database.internal() : super.internal(); 125 Database.internal() : super.internal();
126 126
127 @DomName('IDBDatabase.abort') 127 @DomName('IDBDatabase.abort')
128 @DocsEditable 128 @DocsEditable
129 static const EventStreamProvider<Event> abortEvent = const EventStreamProvider <Event>('abort'); 129 static const EventStreamProvider<Event> abortEvent = const EventStreamProvider <Event>('abort');
130 130
131 @DomName('IDBDatabase.error') 131 @DomName('IDBDatabase.error')
132 @DocsEditable 132 @DocsEditable
133 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider <Event>('error'); 133 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider <Event>('error');
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 } 234 }
235 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 235 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
236 // for details. All rights reserved. Use of this source code is governed by a 236 // for details. All rights reserved. Use of this source code is governed by a
237 // BSD-style license that can be found in the LICENSE file. 237 // BSD-style license that can be found in the LICENSE file.
238 238
239 239
240 @DomName('IDBFactory') 240 @DomName('IDBFactory')
241 @SupportedBrowser(SupportedBrowser.CHROME) 241 @SupportedBrowser(SupportedBrowser.CHROME)
242 @SupportedBrowser(SupportedBrowser.FIREFOX, '15') 242 @SupportedBrowser(SupportedBrowser.FIREFOX, '15')
243 @SupportedBrowser(SupportedBrowser.IE, '10') 243 @SupportedBrowser(SupportedBrowser.IE, '10')
244 @Experimental() 244 @Experimental
245 class IdbFactory extends NativeFieldWrapperClass1 { 245 class IdbFactory extends NativeFieldWrapperClass1 {
246 /** 246 /**
247 * Checks to see if Indexed DB is supported on the current platform. 247 * Checks to see if Indexed DB is supported on the current platform.
248 */ 248 */
249 static bool get supported { 249 static bool get supported {
250 return true; 250 return true;
251 } 251 }
252 252
253 IdbFactory.internal(); 253 IdbFactory.internal();
254 254
(...skipping 811 matching lines...) Expand 10 before | Expand all | Expand 10 after
1066 1066
1067 // WARNING: Do not edit - generated code. 1067 // WARNING: Do not edit - generated code.
1068 1068
1069 1069
1070 @DocsEditable 1070 @DocsEditable
1071 @DomName('IDBAny') 1071 @DomName('IDBAny')
1072 class _Any extends NativeFieldWrapperClass1 { 1072 class _Any extends NativeFieldWrapperClass1 {
1073 _Any.internal(); 1073 _Any.internal();
1074 1074
1075 } 1075 }
OLDNEW
« no previous file with comments | « sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart ('k') | tools/dom/scripts/generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698