| 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 class _LocationWrappingImplementation extends DOMWrapperBase implements Location
{ | 7 class _LocationWrappingImplementation extends DOMWrapperBase implements Location
{ |
| 8 _LocationWrappingImplementation() : super() {} | 8 _LocationWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__LocationWrappingImplementation() native { | 10 static create__LocationWrappingImplementation() native { |
| 11 return new _LocationWrappingImplementation(); | 11 return new _LocationWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 String get hash() { return _get__Location_hash(this); } | 14 String get hash() { return _get_hash(this); } |
| 15 static String _get__Location_hash(var _this) native; | 15 static String _get_hash(var _this) native; |
| 16 | 16 |
| 17 void set hash(String value) { _set__Location_hash(this, value); } | 17 void set hash(String value) { _set_hash(this, value); } |
| 18 static void _set__Location_hash(var _this, String value) native; | 18 static void _set_hash(var _this, String value) native; |
| 19 | 19 |
| 20 String get host() { return _get__Location_host(this); } | 20 String get host() { return _get_host(this); } |
| 21 static String _get__Location_host(var _this) native; | 21 static String _get_host(var _this) native; |
| 22 | 22 |
| 23 void set host(String value) { _set__Location_host(this, value); } | 23 void set host(String value) { _set_host(this, value); } |
| 24 static void _set__Location_host(var _this, String value) native; | 24 static void _set_host(var _this, String value) native; |
| 25 | 25 |
| 26 String get hostname() { return _get__Location_hostname(this); } | 26 String get hostname() { return _get_hostname(this); } |
| 27 static String _get__Location_hostname(var _this) native; | 27 static String _get_hostname(var _this) native; |
| 28 | 28 |
| 29 void set hostname(String value) { _set__Location_hostname(this, value); } | 29 void set hostname(String value) { _set_hostname(this, value); } |
| 30 static void _set__Location_hostname(var _this, String value) native; | 30 static void _set_hostname(var _this, String value) native; |
| 31 | 31 |
| 32 String get href() { return _get__Location_href(this); } | 32 String get href() { return _get_href(this); } |
| 33 static String _get__Location_href(var _this) native; | 33 static String _get_href(var _this) native; |
| 34 | 34 |
| 35 void set href(String value) { _set__Location_href(this, value); } | 35 void set href(String value) { _set_href(this, value); } |
| 36 static void _set__Location_href(var _this, String value) native; | 36 static void _set_href(var _this, String value) native; |
| 37 | 37 |
| 38 String get origin() { return _get__Location_origin(this); } | 38 String get origin() { return _get_origin(this); } |
| 39 static String _get__Location_origin(var _this) native; | 39 static String _get_origin(var _this) native; |
| 40 | 40 |
| 41 String get pathname() { return _get__Location_pathname(this); } | 41 String get pathname() { return _get_pathname(this); } |
| 42 static String _get__Location_pathname(var _this) native; | 42 static String _get_pathname(var _this) native; |
| 43 | 43 |
| 44 void set pathname(String value) { _set__Location_pathname(this, value); } | 44 void set pathname(String value) { _set_pathname(this, value); } |
| 45 static void _set__Location_pathname(var _this, String value) native; | 45 static void _set_pathname(var _this, String value) native; |
| 46 | 46 |
| 47 String get port() { return _get__Location_port(this); } | 47 String get port() { return _get_port(this); } |
| 48 static String _get__Location_port(var _this) native; | 48 static String _get_port(var _this) native; |
| 49 | 49 |
| 50 void set port(String value) { _set__Location_port(this, value); } | 50 void set port(String value) { _set_port(this, value); } |
| 51 static void _set__Location_port(var _this, String value) native; | 51 static void _set_port(var _this, String value) native; |
| 52 | 52 |
| 53 String get protocol() { return _get__Location_protocol(this); } | 53 String get protocol() { return _get_protocol(this); } |
| 54 static String _get__Location_protocol(var _this) native; | 54 static String _get_protocol(var _this) native; |
| 55 | 55 |
| 56 void set protocol(String value) { _set__Location_protocol(this, value); } | 56 void set protocol(String value) { _set_protocol(this, value); } |
| 57 static void _set__Location_protocol(var _this, String value) native; | 57 static void _set_protocol(var _this, String value) native; |
| 58 | 58 |
| 59 String get search() { return _get__Location_search(this); } | 59 String get search() { return _get_search(this); } |
| 60 static String _get__Location_search(var _this) native; | 60 static String _get_search(var _this) native; |
| 61 | 61 |
| 62 void set search(String value) { _set__Location_search(this, value); } | 62 void set search(String value) { _set_search(this, value); } |
| 63 static void _set__Location_search(var _this, String value) native; | 63 static void _set_search(var _this, String value) native; |
| 64 | 64 |
| 65 void assign(String url) { | 65 void assign(String url) { |
| 66 _assign(this, url); | 66 _assign(this, url); |
| 67 return; | 67 return; |
| 68 } | 68 } |
| 69 static void _assign(receiver, url) native; | 69 static void _assign(receiver, url) native; |
| 70 | 70 |
| 71 String getParameter(String name) { | 71 String getParameter(String name) { |
| 72 return _getParameter(this, name); | 72 return _getParameter(this, name); |
| 73 } | 73 } |
| (...skipping 11 matching lines...) Expand all Loading... |
| 85 } | 85 } |
| 86 static void _replace(receiver, url) native; | 86 static void _replace(receiver, url) native; |
| 87 | 87 |
| 88 String toString() { | 88 String toString() { |
| 89 return _toString(this); | 89 return _toString(this); |
| 90 } | 90 } |
| 91 static String _toString(receiver) native; | 91 static String _toString(receiver) native; |
| 92 | 92 |
| 93 String get typeName() { return "Location"; } | 93 String get typeName() { return "Location"; } |
| 94 } | 94 } |
| OLD | NEW |