| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 // WARNING: Do not edit - generated code. | |
| 6 | |
| 7 class MediaQueryListWrappingImplementation extends DOMWrapperBase implements Med
iaQueryList { | |
| 8 MediaQueryListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | |
| 9 | |
| 10 bool get matches() { return _ptr.matches; } | |
| 11 | |
| 12 String get media() { return _ptr.media; } | |
| 13 | |
| 14 void addListener(MediaQueryListListener listener) { | |
| 15 _ptr.addListener(LevelDom.unwrap(listener)); | |
| 16 return; | |
| 17 } | |
| 18 | |
| 19 void removeListener(MediaQueryListListener listener) { | |
| 20 _ptr.removeListener(LevelDom.unwrap(listener)); | |
| 21 return; | |
| 22 } | |
| 23 } | |
| OLD | NEW |