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

Side by Side Diff: client/dom/generated/src/frog/HTMLOptionsCollection.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 _HTMLOptionsCollectionJs extends _HTMLCollectionJs implements HTMLOptionsC ollection native "*HTMLOptionsCollection" { 2 class _HTMLOptionsCollectionJs extends _HTMLCollectionJs implements HTMLOptionsC ollection native "*HTMLOptionsCollection" {
3 3
4 int get length() native "return this.length;"; 4 int length;
5 5
6 void set length(int value) native "this.length = value;"; 6 int selectedIndex;
7
8 int get selectedIndex() native "return this.selectedIndex;";
9
10 void set selectedIndex(int value) native "this.selectedIndex = value;";
11 7
12 void remove(int index) native; 8 void remove(int index) native;
13 } 9 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698