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

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

Issue 12217124: Removing deprecated events syntax. (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 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 765c957b03f1ecae8a6fc8acd3d99163627b9522..23ad0a3923d14d4d1bef9218d8e689ce0b7050f6 100644
--- a/sdk/lib/web_audio/dartium/web_audio_dartium.dart
+++ b/sdk/lib/web_audio/dartium/web_audio_dartium.dart
@@ -235,12 +235,6 @@ class AudioContext extends EventTarget {
@DocsEditable
static AudioContext _create() native "AudioContext_constructorCallback";
- @DocsEditable
- @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
- @deprecated
- AudioContextEvents get on =>
- new AudioContextEvents(this);
-
@DomName('AudioContext.activeSourceCount')
@DocsEditable
int get activeSourceCount native "AudioContext_activeSourceCount_Getter";
@@ -411,16 +405,6 @@ class AudioContext extends EventTarget {
Stream<Event> get onComplete => completeEvent.forTarget(this);
}
-
-@DocsEditable
-@deprecated
-class AudioContextEvents extends Events {
- @DocsEditable
- AudioContextEvents(EventTarget _ptr) : super(_ptr);
-
- @DocsEditable
- EventListenerList get complete => this['complete'];
-}
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
« 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