| 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 PointWrappingImplementation extends DOMWrapperBase implements Point { | 7 class PointWrappingImplementation extends DOMWrapperBase implements Point { |
| 8 PointWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 8 PointWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9 factory PointWrappingImplementation(num x, num y) { |
| 10 return LevelDom.wrapPoint(new dom.WebKitPoint(x, y)); |
| 11 } |
| 9 | 12 |
| 10 num get x() { return _ptr.x; } | 13 num get x() { return _ptr.x; } |
| 11 | 14 |
| 12 void set x(num value) { _ptr.x = value; } | 15 void set x(num value) { _ptr.x = value; } |
| 13 | 16 |
| 14 num get y() { return _ptr.y; } | 17 num get y() { return _ptr.y; } |
| 15 | 18 |
| 16 void set y(num value) { _ptr.y = value; } | 19 void set y(num value) { _ptr.y = value; } |
| 17 } | 20 } |
| OLD | NEW |