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 WebKitDOMHTMLElement_h
25#define WebKitDOMHTMLElement_h
26
27#include <glib-object.h>
28#include <webkitdom/WebKitDOMElement.h>
29#include <webkitdom/webkitdomdefines.h>
30
31G_BEGIN_DECLS
32
33#define WEBKIT_DOM_TYPE_HTML_ELEMENT (webkit_dom_html_element_get_type())
34#define WEBKIT_DOM_HTML_ELEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_DOM_TYPE_HTML_ELEMENT, WebKitDOMHTMLElement))
35#define WEBKIT_DOM_HTML_ELEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), WEBKIT_DOM_TYPE_HTML_ELEMENT, WebKitDOMHTMLElementClass)
36#define WEBKIT_DOM_IS_HTML_ELEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_DOM_TYPE_HTML_ELEMENT))
37#define WEBKIT_DOM_IS_HTML_ELEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), WEBKIT_DOM_TYPE_HTML_ELEMENT))
38#define WEBKIT_DOM_HTML_ELEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), WEBKIT_DOM_TYPE_HTML_ELEMENT, WebKitDOMHTMLElementClass))
39
40struct _WebKitDOMHTMLElement {
41 WebKitDOMElement parent_instance;
42};
43
44struct _WebKitDOMHTMLElementClass {
45 WebKitDOMElementClass parent_class;
46};
47
48WEBKIT_DEPRECATED GType
49webkit_dom_html_element_get_type(void);
50
51/**
52 * webkit_dom_html_element_click:
53 * @self: A #WebKitDOMHTMLElement
54 *
55 *
56 * Deprecated: 2.22: Use JavaScriptCore API instead
57**/
58WEBKIT_DEPRECATED void
59webkit_dom_html_element_click(WebKitDOMHTMLElement* self);
60
61/**
62 * webkit_dom_html_element_get_title:
63 * @self: A #WebKitDOMHTMLElement
64 *
65 * Returns: A #gchar
66 *
67 * Deprecated: 2.22: Use JavaScriptCore API instead
68**/
69WEBKIT_DEPRECATED gchar*
70webkit_dom_html_element_get_title(WebKitDOMHTMLElement* self);
71
72/**
73 * webkit_dom_html_element_set_title:
74 * @self: A #WebKitDOMHTMLElement
75 * @value: A #gchar
76 *
77 *
78 * Deprecated: 2.22: Use JavaScriptCore API instead
79**/
80WEBKIT_DEPRECATED void
81webkit_dom_html_element_set_title(WebKitDOMHTMLElement* self, const gchar* value);
82
83/**
84 * webkit_dom_html_element_get_lang:
85 * @self: A #WebKitDOMHTMLElement
86 *
87 * Returns: A #gchar
88 *
89 * Deprecated: 2.22: Use JavaScriptCore API instead
90**/
91WEBKIT_DEPRECATED gchar*
92webkit_dom_html_element_get_lang(WebKitDOMHTMLElement* self);
93
94/**
95 * webkit_dom_html_element_set_lang:
96 * @self: A #WebKitDOMHTMLElement
97 * @value: A #gchar
98 *
99 *
100 * Deprecated: 2.22: Use JavaScriptCore API instead
101**/
102WEBKIT_DEPRECATED void
103webkit_dom_html_element_set_lang(WebKitDOMHTMLElement* self, const gchar* value);
104
105/**
106 * webkit_dom_html_element_get_dir:
107 * @self: A #WebKitDOMHTMLElement
108 *
109 * Returns: A #gchar
110 *
111 * Deprecated: 2.22: Use JavaScriptCore API instead
112**/
113WEBKIT_DEPRECATED gchar*
114webkit_dom_html_element_get_dir(WebKitDOMHTMLElement* self);
115
116/**
117 * webkit_dom_html_element_set_dir:
118 * @self: A #WebKitDOMHTMLElement
119 * @value: A #gchar
120 *
121 *
122 * Deprecated: 2.22: Use JavaScriptCore API instead
123**/
124WEBKIT_DEPRECATED void
125webkit_dom_html_element_set_dir(WebKitDOMHTMLElement* self, const gchar* value);
126
127/**
128 * webkit_dom_html_element_get_tab_index:
129 * @self: A #WebKitDOMHTMLElement
130 *
131 * Returns: A #glong
132 *
133 * Deprecated: 2.22: Use JavaScriptCore API instead
134**/
135WEBKIT_DEPRECATED glong
136webkit_dom_html_element_get_tab_index(WebKitDOMHTMLElement* self);
137
138/**
139 * webkit_dom_html_element_set_tab_index:
140 * @self: A #WebKitDOMHTMLElement
141 * @value: A #glong
142 *
143 *
144 * Deprecated: 2.22: Use JavaScriptCore API instead
145**/
146WEBKIT_DEPRECATED void
147webkit_dom_html_element_set_tab_index(WebKitDOMHTMLElement* self, glong value);
148
149/**
150 * webkit_dom_html_element_get_access_key:
151 * @self: A #WebKitDOMHTMLElement
152 *
153 * Returns: A #gchar
154 *
155 * Deprecated: 2.22: Use JavaScriptCore API instead
156**/
157WEBKIT_DEPRECATED gchar*
158webkit_dom_html_element_get_access_key(WebKitDOMHTMLElement* self);
159
160/**
161 * webkit_dom_html_element_set_access_key:
162 * @self: A #WebKitDOMHTMLElement
163 * @value: A #gchar
164 *
165 *
166 * Deprecated: 2.22: Use JavaScriptCore API instead
167**/
168WEBKIT_DEPRECATED void
169webkit_dom_html_element_set_access_key(WebKitDOMHTMLElement* self, const gchar* value);
170
171/**
172 * webkit_dom_html_element_get_inner_text:
173 * @self: A #WebKitDOMHTMLElement
174 *
175 * Returns: A #gchar
176 *
177 * Deprecated: 2.22: Use JavaScriptCore API instead
178**/
179WEBKIT_DEPRECATED gchar*
180webkit_dom_html_element_get_inner_text(WebKitDOMHTMLElement* self);
181
182/**
183 * webkit_dom_html_element_set_inner_text:
184 * @self: A #WebKitDOMHTMLElement
185 * @value: A #gchar
186 * @error: #GError
187 *
188 *
189 * Deprecated: 2.22: Use JavaScriptCore API instead
190**/
191WEBKIT_DEPRECATED void
192webkit_dom_html_element_set_inner_text(WebKitDOMHTMLElement* self, const gchar* value, GError** error);
193
194/**
195 * webkit_dom_html_element_get_outer_text:
196 * @self: A #WebKitDOMHTMLElement
197 *
198 * Returns: A #gchar
199 *
200 * Deprecated: 2.22: Use JavaScriptCore API instead
201**/
202WEBKIT_DEPRECATED gchar*
203webkit_dom_html_element_get_outer_text(WebKitDOMHTMLElement* self);
204
205/**
206 * webkit_dom_html_element_set_outer_text:
207 * @self: A #WebKitDOMHTMLElement
208 * @value: A #gchar
209 * @error: #GError
210 *
211 *
212 * Deprecated: 2.22: Use JavaScriptCore API instead
213**/
214WEBKIT_DEPRECATED void
215webkit_dom_html_element_set_outer_text(WebKitDOMHTMLElement* self, const gchar* value, GError** error);
216
217/**
218 * webkit_dom_html_element_get_content_editable:
219 * @self: A #WebKitDOMHTMLElement
220 *
221 * Returns: A #gchar
222 *
223 * Deprecated: 2.22: Use JavaScriptCore API instead
224**/
225WEBKIT_DEPRECATED gchar*
226webkit_dom_html_element_get_content_editable(WebKitDOMHTMLElement* self);
227
228/**
229 * webkit_dom_html_element_set_content_editable:
230 * @self: A #WebKitDOMHTMLElement
231 * @value: A #gchar
232 * @error: #GError
233 *
234 *
235 * Deprecated: 2.22: Use JavaScriptCore API instead
236**/
237WEBKIT_DEPRECATED void
238webkit_dom_html_element_set_content_editable(WebKitDOMHTMLElement* self, const gchar* value, GError** error);
239
240/**
241 * webkit_dom_html_element_get_is_content_editable:
242 * @self: A #WebKitDOMHTMLElement
243 *
244 * Returns: A #gboolean
245 *
246 * Deprecated: 2.22: Use JavaScriptCore API instead
247**/
248WEBKIT_DEPRECATED gboolean
249webkit_dom_html_element_get_is_content_editable(WebKitDOMHTMLElement* self);
250
251/**
252 * webkit_dom_html_element_get_translate:
253 * @self: A #WebKitDOMHTMLElement
254 *
255 * Returns: A #gboolean
256 *
257 * Since: 2.16
258 *
259 * Deprecated: 2.22: Use JavaScriptCore API instead
260**/
261WEBKIT_DEPRECATED gboolean
262webkit_dom_html_element_get_translate(WebKitDOMHTMLElement* self);
263
264/**
265 * webkit_dom_html_element_set_translate:
266 * @self: A #WebKitDOMHTMLElement
267 * @value: A #gboolean
268 *
269 * Since: 2.16
270 *
271 * Deprecated: 2.22: Use JavaScriptCore API instead
272**/
273WEBKIT_DEPRECATED void
274webkit_dom_html_element_set_translate(WebKitDOMHTMLElement* self, gboolean value);
275
276/**
277 * webkit_dom_html_element_get_draggable:
278 * @self: A #WebKitDOMHTMLElement
279 *
280 * Returns: A #gboolean
281 *
282 * Since: 2.16
283 *
284 * Deprecated: 2.22: Use JavaScriptCore API instead
285**/
286WEBKIT_DEPRECATED gboolean
287webkit_dom_html_element_get_draggable(WebKitDOMHTMLElement* self);
288
289/**
290 * webkit_dom_html_element_set_draggable:
291 * @self: A #WebKitDOMHTMLElement
292 * @value: A #gboolean
293 *
294 * Since: 2.16
295 *
296 * Deprecated: 2.22: Use JavaScriptCore API instead
297**/
298WEBKIT_DEPRECATED void
299webkit_dom_html_element_set_draggable(WebKitDOMHTMLElement* self, gboolean value);
300
301/**
302 * webkit_dom_html_element_get_webkitdropzone:
303 * @self: A #WebKitDOMHTMLElement
304 *
305 * Returns: A #gchar
306 *
307 * Since: 2.16
308 *
309 * Deprecated: 2.22: Use JavaScriptCore API instead
310**/
311WEBKIT_DEPRECATED gchar*
312webkit_dom_html_element_get_webkitdropzone(WebKitDOMHTMLElement* self);
313
314/**
315 * webkit_dom_html_element_set_webkitdropzone:
316 * @self: A #WebKitDOMHTMLElement
317 * @value: A #gchar
318 *
319 * Since: 2.16
320 *
321 * Deprecated: 2.22: Use JavaScriptCore API instead
322**/
323WEBKIT_DEPRECATED void
324webkit_dom_html_element_set_webkitdropzone(WebKitDOMHTMLElement* self, const gchar* value);
325
326/**
327 * webkit_dom_html_element_get_hidden:
328 * @self: A #WebKitDOMHTMLElement
329 *
330 * Returns: A #gboolean
331 *
332 * Since: 2.16
333 *
334 * Deprecated: 2.22: Use JavaScriptCore API instead
335**/
336WEBKIT_DEPRECATED gboolean
337webkit_dom_html_element_get_hidden(WebKitDOMHTMLElement* self);
338
339/**
340 * webkit_dom_html_element_set_hidden:
341 * @self: A #WebKitDOMHTMLElement
342 * @value: A #gboolean
343 *
344 * Since: 2.16
345 *
346 * Deprecated: 2.22: Use JavaScriptCore API instead
347**/
348WEBKIT_DEPRECATED void
349webkit_dom_html_element_set_hidden(WebKitDOMHTMLElement* self, gboolean value);
350
351/**
352 * webkit_dom_html_element_get_spellcheck:
353 * @self: A #WebKitDOMHTMLElement
354 *
355 * Returns: A #gboolean
356 *
357 * Since: 2.16
358 *
359 * Deprecated: 2.22: Use JavaScriptCore API instead
360**/
361WEBKIT_DEPRECATED gboolean
362webkit_dom_html_element_get_spellcheck(WebKitDOMHTMLElement* self);
363
364/**
365 * webkit_dom_html_element_set_spellcheck:
366 * @self: A #WebKitDOMHTMLElement
367 * @value: A #gboolean
368 *
369 * Since: 2.16
370 *
371 * Deprecated: 2.22: Use JavaScriptCore API instead
372**/
373WEBKIT_DEPRECATED void
374webkit_dom_html_element_set_spellcheck(WebKitDOMHTMLElement* self, gboolean value);
375
376G_END_DECLS
377
378#endif /* WebKitDOMHTMLElement_h */
379