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 _HTMLElementWrappingImplementation extends _ElementWrappingImplementation
implements HTMLElement { | 7 class _HTMLElementWrappingImplementation extends _ElementWrappingImplementation
implements HTMLElement { |
8 _HTMLElementWrappingImplementation() : super() {} | 8 _HTMLElementWrappingImplementation() : super() {} |
9 | 9 |
10 static create__HTMLElementWrappingImplementation() native { | 10 static create__HTMLElementWrappingImplementation() native { |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 | 109 |
110 void set title(String value) { _set_title(this, value); } | 110 void set title(String value) { _set_title(this, value); } |
111 static void _set_title(var _this, String value) native; | 111 static void _set_title(var _this, String value) native; |
112 | 112 |
113 String get webkitdropzone() { return _get_webkitdropzone(this); } | 113 String get webkitdropzone() { return _get_webkitdropzone(this); } |
114 static String _get_webkitdropzone(var _this) native; | 114 static String _get_webkitdropzone(var _this) native; |
115 | 115 |
116 void set webkitdropzone(String value) { _set_webkitdropzone(this, value); } | 116 void set webkitdropzone(String value) { _set_webkitdropzone(this, value); } |
117 static void _set_webkitdropzone(var _this, String value) native; | 117 static void _set_webkitdropzone(var _this, String value) native; |
118 | 118 |
| 119 void click() { |
| 120 _click(this); |
| 121 return; |
| 122 } |
| 123 static void _click(receiver) native; |
| 124 |
119 Element insertAdjacentElement(String where, Element element) { | 125 Element insertAdjacentElement(String where, Element element) { |
120 return _insertAdjacentElement(this, where, element); | 126 return _insertAdjacentElement(this, where, element); |
121 } | 127 } |
122 static Element _insertAdjacentElement(receiver, where, element) native; | 128 static Element _insertAdjacentElement(receiver, where, element) native; |
123 | 129 |
124 void insertAdjacentHTML(String where, String html) { | 130 void insertAdjacentHTML(String where, String html) { |
125 _insertAdjacentHTML(this, where, html); | 131 _insertAdjacentHTML(this, where, html); |
126 return; | 132 return; |
127 } | 133 } |
128 static void _insertAdjacentHTML(receiver, where, html) native; | 134 static void _insertAdjacentHTML(receiver, where, html) native; |
129 | 135 |
130 void insertAdjacentText(String where, String text) { | 136 void insertAdjacentText(String where, String text) { |
131 _insertAdjacentText(this, where, text); | 137 _insertAdjacentText(this, where, text); |
132 return; | 138 return; |
133 } | 139 } |
134 static void _insertAdjacentText(receiver, where, text) native; | 140 static void _insertAdjacentText(receiver, where, text) native; |
135 | 141 |
136 String get typeName() { return "HTMLElement"; } | 142 String get typeName() { return "HTMLElement"; } |
137 } | 143 } |
OLD | NEW |