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

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

Issue 9317046: Make dart:dom implementation types private so they don't muddle the docs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 CanvasPixelArrayJs extends DOMTypeJs implements CanvasPixelArray native "* CanvasPixelArray" { 2 class _CanvasPixelArrayJs extends _DOMTypeJs implements CanvasPixelArray native "*CanvasPixelArray" {
3 3
4 int get length() native "return this.length;"; 4 int get length() native "return this.length;";
5 5
6 int operator[](int index) native "return this[index];"; 6 int operator[](int index) native "return this[index];";
7 7
8 void operator[]=(int index, int value) native "this[index] = value"; 8 void operator[]=(int index, int value) native "this[index] = value";
9 // -- start List<int> mixins. 9 // -- start List<int> mixins.
10 // int is the element type. 10 // int is the element type.
11 11
12 // From Iterable<int>: 12 // From Iterable<int>:
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis t."); 67 throw new UnsupportedOperationException("Cannot removeRange on immutable Lis t.");
68 } 68 }
69 void insertRange(int start, int length, [int initialValue]) { 69 void insertRange(int start, int length, [int initialValue]) {
70 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis t."); 70 throw new UnsupportedOperationException("Cannot insertRange on immutable Lis t.");
71 } 71 }
72 List<int> getRange(int start, int length) => 72 List<int> getRange(int start, int length) =>
73 _Lists.getRange(this, start, length, <int>[]); 73 _Lists.getRange(this, start, length, <int>[]);
74 74
75 // -- end List<int> mixins. 75 // -- end List<int> mixins.
76 } 76 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/CanvasPattern.dart ('k') | client/dom/generated/src/frog/CanvasRenderingContext.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698