| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 class _NavigatorUserMediaSuccessCallbackWrappingImplementation extends DOMWrappe
rBase implements NavigatorUserMediaSuccessCallback { | 7 class _NavigatorUserMediaSuccessCallbackWrappingImplementation extends DOMWrappe
rBase implements NavigatorUserMediaSuccessCallback { |
| 8 _NavigatorUserMediaSuccessCallbackWrappingImplementation() : super() {} | 8 _NavigatorUserMediaSuccessCallbackWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__NavigatorUserMediaSuccessCallbackWrappingImplementation() nativ
e { | 10 static create__NavigatorUserMediaSuccessCallbackWrappingImplementation() nativ
e { |
| 11 return new _NavigatorUserMediaSuccessCallbackWrappingImplementation(); | 11 return new _NavigatorUserMediaSuccessCallbackWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 bool handleEvent(LocalMediaStream stream) { | |
| 15 return _handleEvent(this, stream); | |
| 16 } | |
| 17 static bool _handleEvent(receiver, stream) native; | |
| 18 | |
| 19 String get typeName() { return "NavigatorUserMediaSuccessCallback"; } | 14 String get typeName() { return "NavigatorUserMediaSuccessCallback"; } |
| 20 } | 15 } |
| OLD | NEW |