Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(570)

Side by Side Diff: client/dom/generated/src/frog/WebGLContextAttributes.dart

Issue 9312003: Use fields in hidden native DOM classes instead of getters/setters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Also fix native Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 1
2 class _WebGLContextAttributesJs extends _DOMTypeJs implements WebGLContextAttrib utes native "*WebGLContextAttributes" { 2 class _WebGLContextAttributesJs extends _DOMTypeJs implements WebGLContextAttrib utes native "*WebGLContextAttributes" {
3 3
4 bool get alpha() native "return this.alpha;"; 4 bool alpha;
5 5
6 void set alpha(bool value) native "this.alpha = value;"; 6 bool antialias;
7 7
8 bool get antialias() native "return this.antialias;"; 8 bool depth;
9 9
10 void set antialias(bool value) native "this.antialias = value;"; 10 bool premultipliedAlpha;
11 11
12 bool get depth() native "return this.depth;"; 12 bool preserveDrawingBuffer;
13 13
14 void set depth(bool value) native "this.depth = value;"; 14 bool stencil;
15
16 bool get premultipliedAlpha() native "return this.premultipliedAlpha;";
17
18 void set premultipliedAlpha(bool value) native "this.premultipliedAlpha = valu e;";
19
20 bool get preserveDrawingBuffer() native "return this.preserveDrawingBuffer;";
21
22 void set preserveDrawingBuffer(bool value) native "this.preserveDrawingBuffer = value;";
23
24 bool get stencil() native "return this.stencil;";
25
26 void set stencil(bool value) native "this.stencil = value;";
27 } 15 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698