OLD | NEW |
| (Empty) |
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 | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 // WARNING: Do not edit - generated code. | |
6 | |
7 class _LocationWrappingImplementation extends DOMWrapperBase implements Location
{ | |
8 _LocationWrappingImplementation() : super() {} | |
9 | |
10 static create__LocationWrappingImplementation() native { | |
11 return new _LocationWrappingImplementation(); | |
12 } | |
13 | |
14 String get hash() { return _get_hash(this); } | |
15 static String _get_hash(var _this) native; | |
16 | |
17 void set hash(String value) { _set_hash(this, value); } | |
18 static void _set_hash(var _this, String value) native; | |
19 | |
20 String get host() { return _get_host(this); } | |
21 static String _get_host(var _this) native; | |
22 | |
23 void set host(String value) { _set_host(this, value); } | |
24 static void _set_host(var _this, String value) native; | |
25 | |
26 String get hostname() { return _get_hostname(this); } | |
27 static String _get_hostname(var _this) native; | |
28 | |
29 void set hostname(String value) { _set_hostname(this, value); } | |
30 static void _set_hostname(var _this, String value) native; | |
31 | |
32 String get href() { return _get_href(this); } | |
33 static String _get_href(var _this) native; | |
34 | |
35 void set href(String value) { _set_href(this, value); } | |
36 static void _set_href(var _this, String value) native; | |
37 | |
38 String get origin() { return _get_origin(this); } | |
39 static String _get_origin(var _this) native; | |
40 | |
41 String get pathname() { return _get_pathname(this); } | |
42 static String _get_pathname(var _this) native; | |
43 | |
44 void set pathname(String value) { _set_pathname(this, value); } | |
45 static void _set_pathname(var _this, String value) native; | |
46 | |
47 String get port() { return _get_port(this); } | |
48 static String _get_port(var _this) native; | |
49 | |
50 void set port(String value) { _set_port(this, value); } | |
51 static void _set_port(var _this, String value) native; | |
52 | |
53 String get protocol() { return _get_protocol(this); } | |
54 static String _get_protocol(var _this) native; | |
55 | |
56 void set protocol(String value) { _set_protocol(this, value); } | |
57 static void _set_protocol(var _this, String value) native; | |
58 | |
59 String get search() { return _get_search(this); } | |
60 static String _get_search(var _this) native; | |
61 | |
62 void set search(String value) { _set_search(this, value); } | |
63 static void _set_search(var _this, String value) native; | |
64 | |
65 void assign(String url) { | |
66 _assign(this, url); | |
67 return; | |
68 } | |
69 static void _assign(receiver, url) native; | |
70 | |
71 void reload() { | |
72 _reload(this); | |
73 return; | |
74 } | |
75 static void _reload(receiver) native; | |
76 | |
77 void replace(String url) { | |
78 _replace(this, url); | |
79 return; | |
80 } | |
81 static void _replace(receiver, url) native; | |
82 | |
83 String toString() { | |
84 return _toString(this); | |
85 } | |
86 static String _toString(receiver) native; | |
87 | |
88 String get typeName() { return "Location"; } | |
89 } | |
OLD | NEW |