| 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 _WebGLContextAttributesWrappingImplementation extends DOMWrapperBase imple
ments WebGLContextAttributes { | 7 class _WebGLContextAttributesWrappingImplementation extends DOMWrapperBase imple
ments WebGLContextAttributes { |
| 8 _WebGLContextAttributesWrappingImplementation() : super() {} | 8 _WebGLContextAttributesWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__WebGLContextAttributesWrappingImplementation() native { | 10 static create__WebGLContextAttributesWrappingImplementation() native { |
| 11 return new _WebGLContextAttributesWrappingImplementation(); | 11 return new _WebGLContextAttributesWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 bool get alpha() { return _get__WebGLContextAttributes_alpha(this); } | 14 bool get alpha() { return _get_alpha(this); } |
| 15 static bool _get__WebGLContextAttributes_alpha(var _this) native; | 15 static bool _get_alpha(var _this) native; |
| 16 | 16 |
| 17 void set alpha(bool value) { _set__WebGLContextAttributes_alpha(this, value);
} | 17 void set alpha(bool value) { _set_alpha(this, value); } |
| 18 static void _set__WebGLContextAttributes_alpha(var _this, bool value) native; | 18 static void _set_alpha(var _this, bool value) native; |
| 19 | 19 |
| 20 bool get antialias() { return _get__WebGLContextAttributes_antialias(this); } | 20 bool get antialias() { return _get_antialias(this); } |
| 21 static bool _get__WebGLContextAttributes_antialias(var _this) native; | 21 static bool _get_antialias(var _this) native; |
| 22 | 22 |
| 23 void set antialias(bool value) { _set__WebGLContextAttributes_antialias(this,
value); } | 23 void set antialias(bool value) { _set_antialias(this, value); } |
| 24 static void _set__WebGLContextAttributes_antialias(var _this, bool value) nati
ve; | 24 static void _set_antialias(var _this, bool value) native; |
| 25 | 25 |
| 26 bool get depth() { return _get__WebGLContextAttributes_depth(this); } | 26 bool get depth() { return _get_depth(this); } |
| 27 static bool _get__WebGLContextAttributes_depth(var _this) native; | 27 static bool _get_depth(var _this) native; |
| 28 | 28 |
| 29 void set depth(bool value) { _set__WebGLContextAttributes_depth(this, value);
} | 29 void set depth(bool value) { _set_depth(this, value); } |
| 30 static void _set__WebGLContextAttributes_depth(var _this, bool value) native; | 30 static void _set_depth(var _this, bool value) native; |
| 31 | 31 |
| 32 bool get premultipliedAlpha() { return _get__WebGLContextAttributes_premultipl
iedAlpha(this); } | 32 bool get premultipliedAlpha() { return _get_premultipliedAlpha(this); } |
| 33 static bool _get__WebGLContextAttributes_premultipliedAlpha(var _this) native; | 33 static bool _get_premultipliedAlpha(var _this) native; |
| 34 | 34 |
| 35 void set premultipliedAlpha(bool value) { _set__WebGLContextAttributes_premult
ipliedAlpha(this, value); } | 35 void set premultipliedAlpha(bool value) { _set_premultipliedAlpha(this, value)
; } |
| 36 static void _set__WebGLContextAttributes_premultipliedAlpha(var _this, bool va
lue) native; | 36 static void _set_premultipliedAlpha(var _this, bool value) native; |
| 37 | 37 |
| 38 bool get preserveDrawingBuffer() { return _get__WebGLContextAttributes_preserv
eDrawingBuffer(this); } | 38 bool get preserveDrawingBuffer() { return _get_preserveDrawingBuffer(this); } |
| 39 static bool _get__WebGLContextAttributes_preserveDrawingBuffer(var _this) nati
ve; | 39 static bool _get_preserveDrawingBuffer(var _this) native; |
| 40 | 40 |
| 41 void set preserveDrawingBuffer(bool value) { _set__WebGLContextAttributes_pres
erveDrawingBuffer(this, value); } | 41 void set preserveDrawingBuffer(bool value) { _set_preserveDrawingBuffer(this,
value); } |
| 42 static void _set__WebGLContextAttributes_preserveDrawingBuffer(var _this, bool
value) native; | 42 static void _set_preserveDrawingBuffer(var _this, bool value) native; |
| 43 | 43 |
| 44 bool get stencil() { return _get__WebGLContextAttributes_stencil(this); } | 44 bool get stencil() { return _get_stencil(this); } |
| 45 static bool _get__WebGLContextAttributes_stencil(var _this) native; | 45 static bool _get_stencil(var _this) native; |
| 46 | 46 |
| 47 void set stencil(bool value) { _set__WebGLContextAttributes_stencil(this, valu
e); } | 47 void set stencil(bool value) { _set_stencil(this, value); } |
| 48 static void _set__WebGLContextAttributes_stencil(var _this, bool value) native
; | 48 static void _set_stencil(var _this, bool value) native; |
| 49 | 49 |
| 50 String get typeName() { return "WebGLContextAttributes"; } | 50 String get typeName() { return "WebGLContextAttributes"; } |
| 51 } | 51 } |
| OLD | NEW |