| 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 { |
| 11 return new _HTMLElementWrappingImplementation(); | 11 return new _HTMLElementWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 HTMLCollection get children() { return _get__HTMLElement_children(this); } | 14 HTMLCollection get children() { return _get_children(this); } |
| 15 static HTMLCollection _get__HTMLElement_children(var _this) native; | 15 static HTMLCollection _get_children(var _this) native; |
| 16 | 16 |
| 17 DOMTokenList get classList() { return _get__HTMLElement_classList(this); } | 17 DOMTokenList get classList() { return _get_classList(this); } |
| 18 static DOMTokenList _get__HTMLElement_classList(var _this) native; | 18 static DOMTokenList _get_classList(var _this) native; |
| 19 | 19 |
| 20 String get className() { return _get__HTMLElement_className(this); } | 20 String get className() { return _get_className(this); } |
| 21 static String _get__HTMLElement_className(var _this) native; | 21 static String _get_className(var _this) native; |
| 22 | 22 |
| 23 void set className(String value) { _set__HTMLElement_className(this, value); } | 23 void set className(String value) { _set_className(this, value); } |
| 24 static void _set__HTMLElement_className(var _this, String value) native; | 24 static void _set_className(var _this, String value) native; |
| 25 | 25 |
| 26 String get contentEditable() { return _get__HTMLElement_contentEditable(this);
} | 26 String get contentEditable() { return _get_contentEditable(this); } |
| 27 static String _get__HTMLElement_contentEditable(var _this) native; | 27 static String _get_contentEditable(var _this) native; |
| 28 | 28 |
| 29 void set contentEditable(String value) { _set__HTMLElement_contentEditable(thi
s, value); } | 29 void set contentEditable(String value) { _set_contentEditable(this, value); } |
| 30 static void _set__HTMLElement_contentEditable(var _this, String value) native; | 30 static void _set_contentEditable(var _this, String value) native; |
| 31 | 31 |
| 32 String get dir() { return _get__HTMLElement_dir(this); } | 32 String get dir() { return _get_dir(this); } |
| 33 static String _get__HTMLElement_dir(var _this) native; | 33 static String _get_dir(var _this) native; |
| 34 | 34 |
| 35 void set dir(String value) { _set__HTMLElement_dir(this, value); } | 35 void set dir(String value) { _set_dir(this, value); } |
| 36 static void _set__HTMLElement_dir(var _this, String value) native; | 36 static void _set_dir(var _this, String value) native; |
| 37 | 37 |
| 38 bool get draggable() { return _get__HTMLElement_draggable(this); } | 38 bool get draggable() { return _get_draggable(this); } |
| 39 static bool _get__HTMLElement_draggable(var _this) native; | 39 static bool _get_draggable(var _this) native; |
| 40 | 40 |
| 41 void set draggable(bool value) { _set__HTMLElement_draggable(this, value); } | 41 void set draggable(bool value) { _set_draggable(this, value); } |
| 42 static void _set__HTMLElement_draggable(var _this, bool value) native; | 42 static void _set_draggable(var _this, bool value) native; |
| 43 | 43 |
| 44 bool get hidden() { return _get__HTMLElement_hidden(this); } | 44 bool get hidden() { return _get_hidden(this); } |
| 45 static bool _get__HTMLElement_hidden(var _this) native; | 45 static bool _get_hidden(var _this) native; |
| 46 | 46 |
| 47 void set hidden(bool value) { _set__HTMLElement_hidden(this, value); } | 47 void set hidden(bool value) { _set_hidden(this, value); } |
| 48 static void _set__HTMLElement_hidden(var _this, bool value) native; | 48 static void _set_hidden(var _this, bool value) native; |
| 49 | 49 |
| 50 String get id() { return _get__HTMLElement_id(this); } | 50 String get id() { return _get_id(this); } |
| 51 static String _get__HTMLElement_id(var _this) native; | 51 static String _get_id(var _this) native; |
| 52 | 52 |
| 53 void set id(String value) { _set__HTMLElement_id(this, value); } | 53 void set id(String value) { _set_id(this, value); } |
| 54 static void _set__HTMLElement_id(var _this, String value) native; | 54 static void _set_id(var _this, String value) native; |
| 55 | 55 |
| 56 String get innerHTML() { return _get__HTMLElement_innerHTML(this); } | 56 String get innerHTML() { return _get_innerHTML(this); } |
| 57 static String _get__HTMLElement_innerHTML(var _this) native; | 57 static String _get_innerHTML(var _this) native; |
| 58 | 58 |
| 59 void set innerHTML(String value) { _set__HTMLElement_innerHTML(this, value); } | 59 void set innerHTML(String value) { _set_innerHTML(this, value); } |
| 60 static void _set__HTMLElement_innerHTML(var _this, String value) native; | 60 static void _set_innerHTML(var _this, String value) native; |
| 61 | 61 |
| 62 String get innerText() { return _get__HTMLElement_innerText(this); } | 62 String get innerText() { return _get_innerText(this); } |
| 63 static String _get__HTMLElement_innerText(var _this) native; | 63 static String _get_innerText(var _this) native; |
| 64 | 64 |
| 65 void set innerText(String value) { _set__HTMLElement_innerText(this, value); } | 65 void set innerText(String value) { _set_innerText(this, value); } |
| 66 static void _set__HTMLElement_innerText(var _this, String value) native; | 66 static void _set_innerText(var _this, String value) native; |
| 67 | 67 |
| 68 bool get isContentEditable() { return _get__HTMLElement_isContentEditable(this
); } | 68 bool get isContentEditable() { return _get_isContentEditable(this); } |
| 69 static bool _get__HTMLElement_isContentEditable(var _this) native; | 69 static bool _get_isContentEditable(var _this) native; |
| 70 | 70 |
| 71 String get itemId() { return _get__HTMLElement_itemId(this); } | 71 String get itemId() { return _get_itemId(this); } |
| 72 static String _get__HTMLElement_itemId(var _this) native; | 72 static String _get_itemId(var _this) native; |
| 73 | 73 |
| 74 void set itemId(String value) { _set__HTMLElement_itemId(this, value); } | 74 void set itemId(String value) { _set_itemId(this, value); } |
| 75 static void _set__HTMLElement_itemId(var _this, String value) native; | 75 static void _set_itemId(var _this, String value) native; |
| 76 | 76 |
| 77 DOMSettableTokenList get itemProp() { return _get__HTMLElement_itemProp(this);
} | 77 DOMSettableTokenList get itemProp() { return _get_itemProp(this); } |
| 78 static DOMSettableTokenList _get__HTMLElement_itemProp(var _this) native; | 78 static DOMSettableTokenList _get_itemProp(var _this) native; |
| 79 | 79 |
| 80 DOMSettableTokenList get itemRef() { return _get__HTMLElement_itemRef(this); } | 80 DOMSettableTokenList get itemRef() { return _get_itemRef(this); } |
| 81 static DOMSettableTokenList _get__HTMLElement_itemRef(var _this) native; | 81 static DOMSettableTokenList _get_itemRef(var _this) native; |
| 82 | 82 |
| 83 bool get itemScope() { return _get__HTMLElement_itemScope(this); } | 83 bool get itemScope() { return _get_itemScope(this); } |
| 84 static bool _get__HTMLElement_itemScope(var _this) native; | 84 static bool _get_itemScope(var _this) native; |
| 85 | 85 |
| 86 void set itemScope(bool value) { _set__HTMLElement_itemScope(this, value); } | 86 void set itemScope(bool value) { _set_itemScope(this, value); } |
| 87 static void _set__HTMLElement_itemScope(var _this, bool value) native; | 87 static void _set_itemScope(var _this, bool value) native; |
| 88 | 88 |
| 89 DOMSettableTokenList get itemType() { return _get__HTMLElement_itemType(this);
} | 89 DOMSettableTokenList get itemType() { return _get_itemType(this); } |
| 90 static DOMSettableTokenList _get__HTMLElement_itemType(var _this) native; | 90 static DOMSettableTokenList _get_itemType(var _this) native; |
| 91 | 91 |
| 92 Object get itemValue() { return _get__HTMLElement_itemValue(this); } | 92 Object get itemValue() { return _get_itemValue(this); } |
| 93 static Object _get__HTMLElement_itemValue(var _this) native; | 93 static Object _get_itemValue(var _this) native; |
| 94 | 94 |
| 95 void set itemValue(Object value) { _set__HTMLElement_itemValue(this, value); } | 95 void set itemValue(Object value) { _set_itemValue(this, value); } |
| 96 static void _set__HTMLElement_itemValue(var _this, Object value) native; | 96 static void _set_itemValue(var _this, Object value) native; |
| 97 | 97 |
| 98 String get lang() { return _get__HTMLElement_lang(this); } | 98 String get lang() { return _get_lang(this); } |
| 99 static String _get__HTMLElement_lang(var _this) native; | 99 static String _get_lang(var _this) native; |
| 100 | 100 |
| 101 void set lang(String value) { _set__HTMLElement_lang(this, value); } | 101 void set lang(String value) { _set_lang(this, value); } |
| 102 static void _set__HTMLElement_lang(var _this, String value) native; | 102 static void _set_lang(var _this, String value) native; |
| 103 | 103 |
| 104 String get outerHTML() { return _get__HTMLElement_outerHTML(this); } | 104 String get outerHTML() { return _get_outerHTML(this); } |
| 105 static String _get__HTMLElement_outerHTML(var _this) native; | 105 static String _get_outerHTML(var _this) native; |
| 106 | 106 |
| 107 void set outerHTML(String value) { _set__HTMLElement_outerHTML(this, value); } | 107 void set outerHTML(String value) { _set_outerHTML(this, value); } |
| 108 static void _set__HTMLElement_outerHTML(var _this, String value) native; | 108 static void _set_outerHTML(var _this, String value) native; |
| 109 | 109 |
| 110 String get outerText() { return _get__HTMLElement_outerText(this); } | 110 String get outerText() { return _get_outerText(this); } |
| 111 static String _get__HTMLElement_outerText(var _this) native; | 111 static String _get_outerText(var _this) native; |
| 112 | 112 |
| 113 void set outerText(String value) { _set__HTMLElement_outerText(this, value); } | 113 void set outerText(String value) { _set_outerText(this, value); } |
| 114 static void _set__HTMLElement_outerText(var _this, String value) native; | 114 static void _set_outerText(var _this, String value) native; |
| 115 | 115 |
| 116 bool get spellcheck() { return _get__HTMLElement_spellcheck(this); } | 116 bool get spellcheck() { return _get_spellcheck(this); } |
| 117 static bool _get__HTMLElement_spellcheck(var _this) native; | 117 static bool _get_spellcheck(var _this) native; |
| 118 | 118 |
| 119 void set spellcheck(bool value) { _set__HTMLElement_spellcheck(this, value); } | 119 void set spellcheck(bool value) { _set_spellcheck(this, value); } |
| 120 static void _set__HTMLElement_spellcheck(var _this, bool value) native; | 120 static void _set_spellcheck(var _this, bool value) native; |
| 121 | 121 |
| 122 int get tabIndex() { return _get__HTMLElement_tabIndex(this); } | 122 int get tabIndex() { return _get_tabIndex(this); } |
| 123 static int _get__HTMLElement_tabIndex(var _this) native; | 123 static int _get_tabIndex(var _this) native; |
| 124 | 124 |
| 125 void set tabIndex(int value) { _set__HTMLElement_tabIndex(this, value); } | 125 void set tabIndex(int value) { _set_tabIndex(this, value); } |
| 126 static void _set__HTMLElement_tabIndex(var _this, int value) native; | 126 static void _set_tabIndex(var _this, int value) native; |
| 127 | 127 |
| 128 String get title() { return _get__HTMLElement_title(this); } | 128 String get title() { return _get_title(this); } |
| 129 static String _get__HTMLElement_title(var _this) native; | 129 static String _get_title(var _this) native; |
| 130 | 130 |
| 131 void set title(String value) { _set__HTMLElement_title(this, value); } | 131 void set title(String value) { _set_title(this, value); } |
| 132 static void _set__HTMLElement_title(var _this, String value) native; | 132 static void _set_title(var _this, String value) native; |
| 133 | 133 |
| 134 String get webkitdropzone() { return _get__HTMLElement_webkitdropzone(this); } | 134 String get webkitdropzone() { return _get_webkitdropzone(this); } |
| 135 static String _get__HTMLElement_webkitdropzone(var _this) native; | 135 static String _get_webkitdropzone(var _this) native; |
| 136 | 136 |
| 137 void set webkitdropzone(String value) { _set__HTMLElement_webkitdropzone(this,
value); } | 137 void set webkitdropzone(String value) { _set_webkitdropzone(this, value); } |
| 138 static void _set__HTMLElement_webkitdropzone(var _this, String value) native; | 138 static void _set_webkitdropzone(var _this, String value) native; |
| 139 | 139 |
| 140 Element insertAdjacentElement(String where, Element element) { | 140 Element insertAdjacentElement(String where, Element element) { |
| 141 return _insertAdjacentElement(this, where, element); | 141 return _insertAdjacentElement(this, where, element); |
| 142 } | 142 } |
| 143 static Element _insertAdjacentElement(receiver, where, element) native; | 143 static Element _insertAdjacentElement(receiver, where, element) native; |
| 144 | 144 |
| 145 void insertAdjacentHTML(String where, String html) { | 145 void insertAdjacentHTML(String where, String html) { |
| 146 _insertAdjacentHTML(this, where, html); | 146 _insertAdjacentHTML(this, where, html); |
| 147 return; | 147 return; |
| 148 } | 148 } |
| 149 static void _insertAdjacentHTML(receiver, where, html) native; | 149 static void _insertAdjacentHTML(receiver, where, html) native; |
| 150 | 150 |
| 151 void insertAdjacentText(String where, String text) { | 151 void insertAdjacentText(String where, String text) { |
| 152 _insertAdjacentText(this, where, text); | 152 _insertAdjacentText(this, where, text); |
| 153 return; | 153 return; |
| 154 } | 154 } |
| 155 static void _insertAdjacentText(receiver, where, text) native; | 155 static void _insertAdjacentText(receiver, where, text) native; |
| 156 | 156 |
| 157 String get typeName() { return "HTMLElement"; } | 157 String get typeName() { return "HTMLElement"; } |
| 158 } | 158 } |
| OLD | NEW |