| 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 /** @domName WebGLLoseContext */ |
| 6 | |
| 7 class LoseContextWrappingImplementation extends DOMWrapperBase implements LoseCo
ntext { | 6 class LoseContextWrappingImplementation extends DOMWrapperBase implements LoseCo
ntext { |
| 8 LoseContextWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | 7 LoseContextWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} |
| 9 | 8 |
| 10 void loseContext() { | 9 void loseContext() { |
| 11 _ptr.loseContext(); | 10 _ptr.loseContext(); |
| 12 return; | 11 return; |
| 13 } | 12 } |
| 14 | 13 |
| 15 void restoreContext() { | 14 void restoreContext() { |
| 16 _ptr.restoreContext(); | 15 _ptr.restoreContext(); |
| 17 return; | 16 return; |
| 18 } | 17 } |
| 19 } | 18 } |
| OLD | NEW |