| 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. | |
| 6 | |
| 7 class OverflowEventWrappingImplementation extends EventWrappingImplementation im
plements OverflowEvent { | 5 class OverflowEventWrappingImplementation extends EventWrappingImplementation im
plements OverflowEvent { |
| 8 OverflowEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 6 OverflowEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9 | 7 |
| 8 factory OverflowEventWrappingImplementation(int orient, |
| 9 bool horizontalOverflow, bool verticalOverflow) { |
| 10 var e = dom.document.createEvent("OverflowEvent"); |
| 11 e.initOverflowEvent(orient, horizontalOverflow, verticalOverflow); |
| 12 return LevelDom.wrapOverflowEvent(e); |
| 13 } |
| 14 |
| 10 bool get horizontalOverflow() { return _ptr.horizontalOverflow; } | 15 bool get horizontalOverflow() { return _ptr.horizontalOverflow; } |
| 11 | 16 |
| 12 int get orient() { return _ptr.orient; } | 17 int get orient() { return _ptr.orient; } |
| 13 | 18 |
| 14 bool get verticalOverflow() { return _ptr.verticalOverflow; } | 19 bool get verticalOverflow() { return _ptr.verticalOverflow; } |
| 15 | |
| 16 void initOverflowEvent(int orient, bool horizontalOverflow, bool verticalOverf
low) { | |
| 17 _ptr.initOverflowEvent(orient, horizontalOverflow, verticalOverflow); | |
| 18 return; | |
| 19 } | |
| 20 } | 20 } |
| OLD | NEW |