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

Side by Side Diff: sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart

Issue 12233003: Follow up to IDL roll. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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/indexed_db/dartium/indexed_db_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 dart.dom.indexed_db; 1 library dart.dom.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:_js_helper' show Creates, Returns, JSName, Null; 6 import 'dart:_js_helper' show Creates, Returns, JSName, Null;
7 import 'dart:_foreign_helper' show JS; 7 import 'dart:_foreign_helper' show JS;
8 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 8 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9 // for details. All rights reserved. Use of this source code is governed by a 9 // for details. All rights reserved. Use of this source code is governed by a
10 // BSD-style license that can be found in the LICENSE file. 10 // BSD-style license that can be found in the LICENSE file.
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 @DomName('IDBDatabase.abortEvent') 227 @DomName('IDBDatabase.abortEvent')
228 @DocsEditable 228 @DocsEditable
229 static const EventStreamProvider<Event> abortEvent = const EventStreamProvider <Event>('abort'); 229 static const EventStreamProvider<Event> abortEvent = const EventStreamProvider <Event>('abort');
230 230
231 @DomName('IDBDatabase.errorEvent') 231 @DomName('IDBDatabase.errorEvent')
232 @DocsEditable 232 @DocsEditable
233 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider <Event>('error'); 233 static const EventStreamProvider<Event> errorEvent = const EventStreamProvider <Event>('error');
234 234
235 @DomName('IDBDatabase.versionchangeEvent') 235 @DomName('IDBDatabase.versionchangeEvent')
236 @DocsEditable 236 @DocsEditable
237 static const EventStreamProvider<UpgradeNeededEvent> versionChangeEvent = cons t EventStreamProvider<UpgradeNeededEvent>('versionchange'); 237 static const EventStreamProvider<VersionChangeEvent> versionChangeEvent = cons t EventStreamProvider<VersionChangeEvent>('versionchange');
238 238
239 @DocsEditable 239 @DocsEditable
240 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event Target.dispatchEvent') 240 @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, Event Target.dispatchEvent')
241 @deprecated 241 @deprecated
242 DatabaseEvents get on => 242 DatabaseEvents get on =>
243 new DatabaseEvents(this); 243 new DatabaseEvents(this);
244 244
245 @DomName('IDBDatabase.name') 245 @DomName('IDBDatabase.name')
246 @DocsEditable 246 @DocsEditable
247 final String name; 247 final String name;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 @DomName('IDBDatabase.onabort') 297 @DomName('IDBDatabase.onabort')
298 @DocsEditable 298 @DocsEditable
299 Stream<Event> get onAbort => abortEvent.forTarget(this); 299 Stream<Event> get onAbort => abortEvent.forTarget(this);
300 300
301 @DomName('IDBDatabase.onerror') 301 @DomName('IDBDatabase.onerror')
302 @DocsEditable 302 @DocsEditable
303 Stream<Event> get onError => errorEvent.forTarget(this); 303 Stream<Event> get onError => errorEvent.forTarget(this);
304 304
305 @DomName('IDBDatabase.onversionchange') 305 @DomName('IDBDatabase.onversionchange')
306 @DocsEditable 306 @DocsEditable
307 Stream<UpgradeNeededEvent> get onVersionChange => versionChangeEvent.forTarget (this); 307 Stream<VersionChangeEvent> get onVersionChange => versionChangeEvent.forTarget (this);
308 } 308 }
309 309
310 @DocsEditable 310 @DocsEditable
311 @deprecated 311 @deprecated
312 class DatabaseEvents extends Events { 312 class DatabaseEvents extends Events {
313 @DocsEditable 313 @DocsEditable
314 DatabaseEvents(EventTarget _ptr) : super(_ptr); 314 DatabaseEvents(EventTarget _ptr) : super(_ptr);
315 315
316 @DocsEditable 316 @DocsEditable
317 EventListenerList get abort => this['abort']; 317 EventListenerList get abort => this['abort'];
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 } 879 }
880 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 880 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
881 // for details. All rights reserved. Use of this source code is governed by a 881 // for details. All rights reserved. Use of this source code is governed by a
882 // BSD-style license that can be found in the LICENSE file. 882 // BSD-style license that can be found in the LICENSE file.
883 883
884 884
885 @DocsEditable 885 @DocsEditable
886 @DomName('IDBAny') 886 @DomName('IDBAny')
887 class _IDBAny native "*IDBAny" { 887 class _IDBAny native "*IDBAny" {
888 } 888 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/indexed_db/dartium/indexed_db_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698