| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 interface History { | 7 interface History { |
| 8 | 8 |
| 9 final int length; | 9 final int length; |
| 10 | 10 |
| 11 final Dynamic state; |
| 12 |
| 11 void back(); | 13 void back(); |
| 12 | 14 |
| 13 void forward(); | 15 void forward(); |
| 14 | 16 |
| 15 void go(int distance); | 17 void go(int distance); |
| 16 | 18 |
| 17 void pushState(Object data, String title, [String url]); | 19 void pushState(Object data, String title, [String url]); |
| 18 | 20 |
| 19 void replaceState(Object data, String title, [String url]); | 21 void replaceState(Object data, String title, [String url]); |
| 20 } | 22 } |
| OLD | NEW |