Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | |
| 2 // for details. All rights reserved. Use of this source code is governed by a | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 part of $LIBRARY; | |
| 6 | |
| 7 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$NATIVESPEC { | |
| 8 void set onAudioProcess(EventListener listener) { | |
|
blois
2013/03/13 00:46:49
should probably be void callback(AudioProcessingEv
podivilov
2013/03/13 07:57:56
AFAIR we deliberately abandoned attribute event li
Emily Fortuna
2013/03/13 23:35:21
The reason this can't fit in like all the other ev
| |
| 9 $if DART2JS | |
| 10 JS('void', '#.onaudioprocess = #', this, | |
| 11 convertDartClosureToJS(listener, 1)); | |
| 12 $else | |
| 13 //TODO(antonm): Get this working on Dartium. | |
| 14 $endif | |
| 15 } | |
| 16 $!MEMBERS | |
|
podivilov
2013/03/13 07:57:56
There's no onAudioProcess getter, right? Is it int
| |
| 17 } | |
| 18 | |
| OLD | NEW |