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

Unified Diff: sdk/lib/web_audio/dartium/web_audio_dartium.dart

Issue 12092118: Change the way that events are annotated. (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 side-by-side diff with in-line comments
Download patch
Index: sdk/lib/web_audio/dartium/web_audio_dartium.dart
diff --git a/sdk/lib/web_audio/dartium/web_audio_dartium.dart b/sdk/lib/web_audio/dartium/web_audio_dartium.dart
index ec528984130a534052027afde63927d003ebc7ad..765c957b03f1ecae8a6fc8acd3d99163627b9522 100644
--- a/sdk/lib/web_audio/dartium/web_audio_dartium.dart
+++ b/sdk/lib/web_audio/dartium/web_audio_dartium.dart
@@ -227,7 +227,7 @@ class AudioBufferSourceNode extends AudioSourceNode {
class AudioContext extends EventTarget {
AudioContext.internal() : super.internal();
- @DomName('AudioContext.complete')
+ @DomName('AudioContext.completeEvent')
@DocsEditable
static const EventStreamProvider<Event> completeEvent = const EventStreamProvider<Event>('complete');
factory AudioContext() => _create();
@@ -406,7 +406,7 @@ class AudioContext extends EventTarget {
@DocsEditable
void startRendering() native "AudioContext_startRendering_Callback";
- @DomName('AudioContext.complete')
+ @DomName('AudioContext.oncomplete')
@DocsEditable
Stream<Event> get onComplete => completeEvent.forTarget(this);

Powered by Google App Engine
This is Rietveld 408576698