1/*
2 * This file is part of the WebKit open source project.
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
13 *
14 * You should have received a copy of the GNU Library General Public License
15 * along with this library; see the file COPYING.LIB. If not, write to
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
18 */
19
20#if !defined(__WEBKITDOM_H_INSIDE__) && !defined(BUILDING_WEBKIT)
21#error "Only <webkitdom/webkitdom.h> can be included directly."
22#endif
23
24#ifndef WebKitDOMHTMLTextAreaElement_h
25#define WebKitDOMHTMLTextAreaElement_h
26
27#include <glib-object.h>
28#include <webkitdom/WebKitDOMHTMLElement.h>
29#include <webkitdom/webkitdomdefines.h>
30
31G_BEGIN_DECLS
32
33#define WEBKIT_DOM_TYPE_HTML_TEXT_AREA_ELEMENT (webkit_dom_html_text_area_element_get_type())
34#define WEBKIT_DOM_HTML_TEXT_AREA_ELEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_DOM_TYPE_HTML_TEXT_AREA_ELEMENT, WebKitDOMHTMLTextAreaElement))
35#define WEBKIT_DOM_HTML_TEXT_AREA_ELEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), WEBKIT_DOM_TYPE_HTML_TEXT_AREA_ELEMENT, WebKitDOMHTMLTextAreaElementClass)
36#define WEBKIT_DOM_IS_HTML_TEXT_AREA_ELEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_DOM_TYPE_HTML_TEXT_AREA_ELEMENT))
37#define WEBKIT_DOM_IS_HTML_TEXT_AREA_ELEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), WEBKIT_DOM_TYPE_HTML_TEXT_AREA_ELEMENT))
38#define WEBKIT_DOM_HTML_TEXT_AREA_ELEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), WEBKIT_DOM_TYPE_HTML_TEXT_AREA_ELEMENT, WebKitDOMHTMLTextAreaElementClass))
39
40struct _WebKitDOMHTMLTextAreaElement {
41 WebKitDOMHTMLElement parent_instance;
42};
43
44struct _WebKitDOMHTMLTextAreaElementClass {
45 WebKitDOMHTMLElementClass parent_class;
46};
47
48WEBKIT_DEPRECATED GType
49webkit_dom_html_text_area_element_get_type(void);
50
51/**
52 * webkit_dom_html_text_area_element_select:
53 * @self: A #WebKitDOMHTMLTextAreaElement
54 *
55 *
56 * Deprecated: 2.22: Use JavaScriptCore API instead
57**/
58WEBKIT_DEPRECATED void
59webkit_dom_html_text_area_element_select(WebKitDOMHTMLTextAreaElement* self);
60
61/**
62 * webkit_dom_html_text_area_element_set_selection_range:
63 * @self: A #WebKitDOMHTMLTextAreaElement
64 * @start: A #glong
65 * @end: A #glong
66 * @direction: A #gchar
67 *
68 *
69 * Deprecated: 2.22: Use JavaScriptCore API instead
70**/
71WEBKIT_DEPRECATED void
72webkit_dom_html_text_area_element_set_selection_range(WebKitDOMHTMLTextAreaElement* self, glong start, glong end, const gchar* direction);
73
74/**
75 * webkit_dom_html_text_area_element_get_autofocus:
76 * @self: A #WebKitDOMHTMLTextAreaElement
77 *
78 * Returns: A #gboolean
79 *
80 * Deprecated: 2.22: Use JavaScriptCore API instead
81**/
82WEBKIT_DEPRECATED gboolean
83webkit_dom_html_text_area_element_get_autofocus(WebKitDOMHTMLTextAreaElement* self);
84
85/**
86 * webkit_dom_html_text_area_element_set_autofocus:
87 * @self: A #WebKitDOMHTMLTextAreaElement
88 * @value: A #gboolean
89 *
90 *
91 * Deprecated: 2.22: Use JavaScriptCore API instead
92**/
93WEBKIT_DEPRECATED void
94webkit_dom_html_text_area_element_set_autofocus(WebKitDOMHTMLTextAreaElement* self, gboolean value);
95
96/**
97 * webkit_dom_html_text_area_element_get_disabled:
98 * @self: A #WebKitDOMHTMLTextAreaElement
99 *
100 * Returns: A #gboolean
101 *
102 * Deprecated: 2.22: Use JavaScriptCore API instead
103**/
104WEBKIT_DEPRECATED gboolean
105webkit_dom_html_text_area_element_get_disabled(WebKitDOMHTMLTextAreaElement* self);
106
107/**
108 * webkit_dom_html_text_area_element_set_disabled:
109 * @self: A #WebKitDOMHTMLTextAreaElement
110 * @value: A #gboolean
111 *
112 *
113 * Deprecated: 2.22: Use JavaScriptCore API instead
114**/
115WEBKIT_DEPRECATED void
116webkit_dom_html_text_area_element_set_disabled(WebKitDOMHTMLTextAreaElement* self, gboolean value);
117
118/**
119 * webkit_dom_html_text_area_element_get_form:
120 * @self: A #WebKitDOMHTMLTextAreaElement
121 *
122 * Returns: (transfer none): A #WebKitDOMHTMLFormElement
123 *
124 * Deprecated: 2.22: Use JavaScriptCore API instead
125**/
126WEBKIT_DEPRECATED WebKitDOMHTMLFormElement*
127webkit_dom_html_text_area_element_get_form(WebKitDOMHTMLTextAreaElement* self);
128
129/**
130 * webkit_dom_html_text_area_element_get_name:
131 * @self: A #WebKitDOMHTMLTextAreaElement
132 *
133 * Returns: A #gchar
134 *
135 * Deprecated: 2.22: Use JavaScriptCore API instead
136**/
137WEBKIT_DEPRECATED gchar*
138webkit_dom_html_text_area_element_get_name(WebKitDOMHTMLTextAreaElement* self);
139
140/**
141 * webkit_dom_html_text_area_element_set_name:
142 * @self: A #WebKitDOMHTMLTextAreaElement
143 * @value: A #gchar
144 *
145 *
146 * Deprecated: 2.22: Use JavaScriptCore API instead
147**/
148WEBKIT_DEPRECATED void
149webkit_dom_html_text_area_element_set_name(WebKitDOMHTMLTextAreaElement* self, const gchar* value);
150
151/**
152 * webkit_dom_html_text_area_element_get_read_only:
153 * @self: A #WebKitDOMHTMLTextAreaElement
154 *
155 * Returns: A #gboolean
156 *
157 * Deprecated: 2.22: Use JavaScriptCore API instead
158**/
159WEBKIT_DEPRECATED gboolean
160webkit_dom_html_text_area_element_get_read_only(WebKitDOMHTMLTextAreaElement* self);
161
162/**
163 * webkit_dom_html_text_area_element_set_read_only:
164 * @self: A #WebKitDOMHTMLTextAreaElement
165 * @value: A #gboolean
166 *
167 *
168 * Deprecated: 2.22: Use JavaScriptCore API instead
169**/
170WEBKIT_DEPRECATED void
171webkit_dom_html_text_area_element_set_read_only(WebKitDOMHTMLTextAreaElement* self, gboolean value);
172
173/**
174 * webkit_dom_html_text_area_element_get_rows:
175 * @self: A #WebKitDOMHTMLTextAreaElement
176 *
177 * Returns: A #glong
178 *
179 * Deprecated: 2.22: Use JavaScriptCore API instead
180**/
181WEBKIT_DEPRECATED glong
182webkit_dom_html_text_area_element_get_rows(WebKitDOMHTMLTextAreaElement* self);
183
184/**
185 * webkit_dom_html_text_area_element_set_rows:
186 * @self: A #WebKitDOMHTMLTextAreaElement
187 * @value: A #glong
188 *
189 *
190 * Deprecated: 2.22: Use JavaScriptCore API instead
191**/
192WEBKIT_DEPRECATED void
193webkit_dom_html_text_area_element_set_rows(WebKitDOMHTMLTextAreaElement* self, glong value);
194
195/**
196 * webkit_dom_html_text_area_element_get_cols:
197 * @self: A #WebKitDOMHTMLTextAreaElement
198 *
199 * Returns: A #glong
200 *
201 * Deprecated: 2.22: Use JavaScriptCore API instead
202**/
203WEBKIT_DEPRECATED glong
204webkit_dom_html_text_area_element_get_cols(WebKitDOMHTMLTextAreaElement* self);
205
206/**
207 * webkit_dom_html_text_area_element_set_cols:
208 * @self: A #WebKitDOMHTMLTextAreaElement
209 * @value: A #glong
210 *
211 *
212 * Deprecated: 2.22: Use JavaScriptCore API instead
213**/
214WEBKIT_DEPRECATED void
215webkit_dom_html_text_area_element_set_cols(WebKitDOMHTMLTextAreaElement* self, glong value);
216
217/**
218 * webkit_dom_html_text_area_element_get_area_type:
219 * @self: A #WebKitDOMHTMLTextAreaElement
220 *
221 * Returns: A #gchar
222 *
223 * Deprecated: 2.22: Use JavaScriptCore API instead
224**/
225WEBKIT_DEPRECATED gchar*
226webkit_dom_html_text_area_element_get_area_type(WebKitDOMHTMLTextAreaElement* self);
227
228/**
229 * webkit_dom_html_text_area_element_get_default_value:
230 * @self: A #WebKitDOMHTMLTextAreaElement
231 *
232 * Returns: A #gchar
233 *
234 * Deprecated: 2.22: Use JavaScriptCore API instead
235**/
236WEBKIT_DEPRECATED gchar*
237webkit_dom_html_text_area_element_get_default_value(WebKitDOMHTMLTextAreaElement* self);
238
239/**
240 * webkit_dom_html_text_area_element_set_default_value:
241 * @self: A #WebKitDOMHTMLTextAreaElement
242 * @value: A #gchar
243 *
244 *
245 * Deprecated: 2.22: Use JavaScriptCore API instead
246**/
247WEBKIT_DEPRECATED void
248webkit_dom_html_text_area_element_set_default_value(WebKitDOMHTMLTextAreaElement* self, const gchar* value);
249
250/**
251 * webkit_dom_html_text_area_element_get_value:
252 * @self: A #WebKitDOMHTMLTextAreaElement
253 *
254 * Returns: A #gchar
255 *
256 * Deprecated: 2.22: Use JavaScriptCore API instead
257**/
258WEBKIT_DEPRECATED gchar*
259webkit_dom_html_text_area_element_get_value(WebKitDOMHTMLTextAreaElement* self);
260
261/**
262 * webkit_dom_html_text_area_element_set_value:
263 * @self: A #WebKitDOMHTMLTextAreaElement
264 * @value: A #gchar
265 *
266 *
267 * Deprecated: 2.22: Use JavaScriptCore API instead
268**/
269WEBKIT_DEPRECATED void
270webkit_dom_html_text_area_element_set_value(WebKitDOMHTMLTextAreaElement* self, const gchar* value);
271
272/**
273 * webkit_dom_html_text_area_element_get_will_validate:
274 * @self: A #WebKitDOMHTMLTextAreaElement
275 *
276 * Returns: A #gboolean
277 *
278 * Deprecated: 2.22: Use JavaScriptCore API instead
279**/
280WEBKIT_DEPRECATED gboolean
281webkit_dom_html_text_area_element_get_will_validate(WebKitDOMHTMLTextAreaElement* self);
282
283/**
284 * webkit_dom_html_text_area_element_get_selection_start:
285 * @self: A #WebKitDOMHTMLTextAreaElement
286 *
287 * Returns: A #glong
288 *
289 * Deprecated: 2.22: Use JavaScriptCore API instead
290**/
291WEBKIT_DEPRECATED glong
292webkit_dom_html_text_area_element_get_selection_start(WebKitDOMHTMLTextAreaElement* self);
293
294/**
295 * webkit_dom_html_text_area_element_set_selection_start:
296 * @self: A #WebKitDOMHTMLTextAreaElement
297 * @value: A #glong
298 *
299 *
300 * Deprecated: 2.22: Use JavaScriptCore API instead
301**/
302WEBKIT_DEPRECATED void
303webkit_dom_html_text_area_element_set_selection_start(WebKitDOMHTMLTextAreaElement* self, glong value);
304
305/**
306 * webkit_dom_html_text_area_element_get_selection_end:
307 * @self: A #WebKitDOMHTMLTextAreaElement
308 *
309 * Returns: A #glong
310 *
311 * Deprecated: 2.22: Use JavaScriptCore API instead
312**/
313WEBKIT_DEPRECATED glong
314webkit_dom_html_text_area_element_get_selection_end(WebKitDOMHTMLTextAreaElement* self);
315
316/**
317 * webkit_dom_html_text_area_element_set_selection_end:
318 * @self: A #WebKitDOMHTMLTextAreaElement
319 * @value: A #glong
320 *
321 *
322 * Deprecated: 2.22: Use JavaScriptCore API instead
323**/
324WEBKIT_DEPRECATED void
325webkit_dom_html_text_area_element_set_selection_end(WebKitDOMHTMLTextAreaElement* self, glong value);
326
327/**
328 * webkit_dom_html_text_area_element_is_edited:
329 * @input: A #WebKitDOMHTMLTextAreaElement
330 *
331 * Returns: A #gboolean
332 *
333 * Deprecated: 2.22: Use JavaScriptCore API instead
334 */
335WEBKIT_DEPRECATED gboolean webkit_dom_html_text_area_element_is_edited(WebKitDOMHTMLTextAreaElement* input);
336
337G_END_DECLS
338
339#endif /* WebKitDOMHTMLTextAreaElement_h */
340