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

Side by Side Diff: client/dom/generated/src/frog/History.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 _HistoryJs extends _DOMTypeJs implements History native "*History" { 2 class _HistoryJs extends _DOMTypeJs implements History native "*History" {
3 3
4 int get length() native "return this.length;"; 4 final int length;
5 5
6 void back() native; 6 void back() native;
7 7
8 void forward() native; 8 void forward() native;
9 9
10 void go(int distance) native; 10 void go(int distance) native;
11 11
12 void pushState(Object data, String title, [String url = null]) native; 12 void pushState(Object data, String title, [String url = null]) native;
13 13
14 void replaceState(Object data, String title, [String url = null]) native; 14 void replaceState(Object data, String title, [String url = null]) native;
15 } 15 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698