| 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 _WebGLLoseContextWrappingImplementation extends DOMWrapperBase implements
WebGLLoseContext { | 7 class _WebKitLoseContextWrappingImplementation extends DOMWrapperBase implements
WebKitLoseContext { |
| 8 _WebGLLoseContextWrappingImplementation() : super() {} | 8 _WebKitLoseContextWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__WebGLLoseContextWrappingImplementation() native { | 10 static create__WebKitLoseContextWrappingImplementation() native { |
| 11 return new _WebGLLoseContextWrappingImplementation(); | 11 return new _WebKitLoseContextWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 void loseContext() { | 14 void loseContext() { |
| 15 _loseContext(this); | 15 _loseContext(this); |
| 16 return; | 16 return; |
| 17 } | 17 } |
| 18 static void _loseContext(receiver) native; | 18 static void _loseContext(receiver) native; |
| 19 | 19 |
| 20 void restoreContext() { | 20 void restoreContext() { |
| 21 _restoreContext(this); | 21 _restoreContext(this); |
| 22 return; | 22 return; |
| 23 } | 23 } |
| 24 static void _restoreContext(receiver) native; | 24 static void _restoreContext(receiver) native; |
| 25 | 25 |
| 26 String get typeName() { return "WebGLLoseContext"; } | 26 String get typeName() { return "WebKitLoseContext"; } |
| 27 } | 27 } |
| OLD | NEW |