| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 Location { | 7 interface Location { |
| 8 | 8 |
| 9 String get hash(); | 9 String hash; |
| 10 | 10 |
| 11 void set hash(String value); | 11 String host; |
| 12 | 12 |
| 13 String get host(); | 13 String hostname; |
| 14 | 14 |
| 15 void set host(String value); | 15 String href; |
| 16 | 16 |
| 17 String get hostname(); | 17 final String origin; |
| 18 | 18 |
| 19 void set hostname(String value); | 19 String pathname; |
| 20 | 20 |
| 21 String get href(); | 21 String port; |
| 22 | 22 |
| 23 void set href(String value); | 23 String protocol; |
| 24 | 24 |
| 25 String get origin(); | 25 String search; |
| 26 | |
| 27 String get pathname(); | |
| 28 | |
| 29 void set pathname(String value); | |
| 30 | |
| 31 String get port(); | |
| 32 | |
| 33 void set port(String value); | |
| 34 | |
| 35 String get protocol(); | |
| 36 | |
| 37 void set protocol(String value); | |
| 38 | |
| 39 String get search(); | |
| 40 | |
| 41 void set search(String value); | |
| 42 | 26 |
| 43 void assign(String url); | 27 void assign(String url); |
| 44 | 28 |
| 45 void reload(); | 29 void reload(); |
| 46 | 30 |
| 47 void replace(String url); | 31 void replace(String url); |
| 48 | 32 |
| 49 String toString(); | 33 String toString(); |
| 50 } | 34 } |
| OLD | NEW |