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

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

Issue 12025035: Adding annotations to event streams. (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
« no previous file with comments | « sdk/lib/web_audio/dart2js/web_audio_dart2js.dart ('k') | tools/dom/scripts/htmleventgenerator.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c37f538cd2475089f10f94cdf35c2438f3167f97..a9eb673c131178d8a546da9a2796b6f8d3715cc4 100644
--- a/sdk/lib/web_audio/dartium/web_audio_dartium.dart
+++ b/sdk/lib/web_audio/dartium/web_audio_dartium.dart
@@ -226,6 +226,8 @@ class AudioBufferSourceNode extends AudioSourceNode {
class AudioContext extends EventTarget {
AudioContext.internal() : super.internal();
+ @DocsEditable
+ @DomName('AudioContext.complete')
static const EventStreamProvider<Event> completeEvent = const EventStreamProvider<Event>('complete');
@DocsEditable
@@ -402,6 +404,8 @@ class AudioContext extends EventTarget {
@DomName('AudioContext.startRendering')
void startRendering() native "AudioContext_startRendering_Callback";
+ @DocsEditable
+ @DomName('AudioContext.complete')
Stream<Event> get onComplete => completeEvent.forTarget(this);
}
« no previous file with comments | « sdk/lib/web_audio/dart2js/web_audio_dart2js.dart ('k') | tools/dom/scripts/htmleventgenerator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698