| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 // WARNING: | |
| 6 // This file contains documentation that is merged into the real source. | |
| 7 // Do not make code changes here. | |
| 8 | |
| 9 /// @domName Location | |
| 10 interface Location { | |
| 11 | |
| 12 /** @domName Location.ancestorOrigins */ | |
| 13 final List<String> ancestorOrigins; | |
| 14 | |
| 15 /** @domName Location.hash */ | |
| 16 String hash; | |
| 17 | |
| 18 /** @domName Location.host */ | |
| 19 String host; | |
| 20 | |
| 21 /** @domName Location.hostname */ | |
| 22 String hostname; | |
| 23 | |
| 24 /** @domName Location.href */ | |
| 25 String href; | |
| 26 | |
| 27 /** @domName Location.origin */ | |
| 28 final String origin; | |
| 29 | |
| 30 /** @domName Location.pathname */ | |
| 31 String pathname; | |
| 32 | |
| 33 /** @domName Location.port */ | |
| 34 String port; | |
| 35 | |
| 36 /** @domName Location.protocol */ | |
| 37 String protocol; | |
| 38 | |
| 39 /** @domName Location.search */ | |
| 40 String search; | |
| 41 | |
| 42 /** @domName Location.assign */ | |
| 43 void assign(String url); | |
| 44 | |
| 45 /** @domName Location.reload */ | |
| 46 void reload(); | |
| 47 | |
| 48 /** @domName Location.replace */ | |
| 49 void replace(String url); | |
| 50 | |
| 51 /** @domName Location.toString */ | |
| 52 String toString(); | |
| 53 } | |
| OLD | NEW |