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 WebKitDOMElement_h
25#define WebKitDOMElement_h
26
27#include <glib-object.h>
28#include <webkitdom/WebKitDOMNode.h>
29#include <webkitdom/webkitdomdefines.h>
30
31G_BEGIN_DECLS
32
33#define WEBKIT_DOM_TYPE_ELEMENT (webkit_dom_element_get_type())
34#define WEBKIT_DOM_ELEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_DOM_TYPE_ELEMENT, WebKitDOMElement))
35#define WEBKIT_DOM_ELEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), WEBKIT_DOM_TYPE_ELEMENT, WebKitDOMElementClass)
36#define WEBKIT_DOM_IS_ELEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_DOM_TYPE_ELEMENT))
37#define WEBKIT_DOM_IS_ELEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), WEBKIT_DOM_TYPE_ELEMENT))
38#define WEBKIT_DOM_ELEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), WEBKIT_DOM_TYPE_ELEMENT, WebKitDOMElementClass))
39
40struct _WebKitDOMElement {
41 WebKitDOMNode parent_instance;
42};
43
44struct _WebKitDOMElementClass {
45 WebKitDOMNodeClass parent_class;
46};
47
48WEBKIT_API GType
49webkit_dom_element_get_type (void);
50
51WEBKIT_API gboolean
52webkit_dom_element_html_input_element_is_user_edited (WebKitDOMElement *element);
53
54WEBKIT_API gboolean
55webkit_dom_element_html_input_element_get_auto_filled (WebKitDOMElement *element);
56
57WEBKIT_API void
58webkit_dom_element_html_input_element_set_auto_filled (WebKitDOMElement *element,
59 gboolean auto_filled);
60WEBKIT_API void
61webkit_dom_element_html_input_element_set_editing_value (WebKitDOMElement *element,
62 const char *value);
63
64#ifndef WEBKIT_DISABLE_DEPRECATED
65
66/**
67 * WEBKIT_DOM_ELEMENT_ALLOW_KEYBOARD_INPUT:
68 *
69 * Deprecated: 2.22: Use JavaScriptCore API instead
70 */
71#define WEBKIT_DOM_ELEMENT_ALLOW_KEYBOARD_INPUT 1
72
73#endif
74
75/**
76 * webkit_dom_element_get_attribute:
77 * @self: A #WebKitDOMElement
78 * @name: A #gchar
79 *
80 * Returns: A #gchar
81 *
82 * Deprecated: 2.22: Use JavaScriptCore API instead
83**/
84WEBKIT_DEPRECATED gchar*
85webkit_dom_element_get_attribute(WebKitDOMElement* self, const gchar* name);
86
87/**
88 * webkit_dom_element_set_attribute:
89 * @self: A #WebKitDOMElement
90 * @name: A #gchar
91 * @value: A #gchar
92 * @error: #GError
93 *
94 *
95 * Deprecated: 2.22: Use JavaScriptCore API instead
96**/
97WEBKIT_DEPRECATED void
98webkit_dom_element_set_attribute(WebKitDOMElement* self, const gchar* name, const gchar* value, GError** error);
99
100/**
101 * webkit_dom_element_remove_attribute:
102 * @self: A #WebKitDOMElement
103 * @name: A #gchar
104 *
105 *
106 * Deprecated: 2.22: Use JavaScriptCore API instead
107**/
108WEBKIT_DEPRECATED void
109webkit_dom_element_remove_attribute(WebKitDOMElement* self, const gchar* name);
110
111/**
112 * webkit_dom_element_get_attribute_node:
113 * @self: A #WebKitDOMElement
114 * @name: A #gchar
115 *
116 * Returns: (transfer none): A #WebKitDOMAttr
117 *
118 * Deprecated: 2.22: Use JavaScriptCore API instead
119**/
120WEBKIT_DEPRECATED WebKitDOMAttr*
121webkit_dom_element_get_attribute_node(WebKitDOMElement* self, const gchar* name);
122
123/**
124 * webkit_dom_element_set_attribute_node:
125 * @self: A #WebKitDOMElement
126 * @newAttr: A #WebKitDOMAttr
127 * @error: #GError
128 *
129 * Returns: (transfer none): A #WebKitDOMAttr
130 *
131 * Deprecated: 2.22: Use JavaScriptCore API instead
132**/
133WEBKIT_DEPRECATED WebKitDOMAttr*
134webkit_dom_element_set_attribute_node(WebKitDOMElement* self, WebKitDOMAttr* newAttr, GError** error);
135
136/**
137 * webkit_dom_element_remove_attribute_node:
138 * @self: A #WebKitDOMElement
139 * @oldAttr: A #WebKitDOMAttr
140 * @error: #GError
141 *
142 * Returns: (transfer none): A #WebKitDOMAttr
143 *
144 * Deprecated: 2.22: Use JavaScriptCore API instead
145**/
146WEBKIT_DEPRECATED WebKitDOMAttr*
147webkit_dom_element_remove_attribute_node(WebKitDOMElement* self, WebKitDOMAttr* oldAttr, GError** error);
148
149/**
150 * webkit_dom_element_get_elements_by_tag_name_as_html_collection:
151 * @self: A #WebKitDOMElement
152 * @name: A #gchar
153 *
154 * Returns: (transfer full): A #WebKitDOMHTMLCollection
155 *
156 * Since: 2.12
157 *
158 * Deprecated: 2.22: Use JavaScriptCore API instead
159**/
160WEBKIT_DEPRECATED WebKitDOMHTMLCollection*
161webkit_dom_element_get_elements_by_tag_name_as_html_collection(WebKitDOMElement* self, const gchar* name);
162
163/**
164 * webkit_dom_element_has_attributes:
165 * @self: A #WebKitDOMElement
166 *
167 * Returns: A #gboolean
168 *
169 * Deprecated: 2.22: Use JavaScriptCore API instead
170**/
171WEBKIT_DEPRECATED gboolean
172webkit_dom_element_has_attributes(WebKitDOMElement* self);
173
174/**
175 * webkit_dom_element_get_attribute_ns:
176 * @self: A #WebKitDOMElement
177 * @namespaceURI: A #gchar
178 * @localName: A #gchar
179 *
180 * Returns: A #gchar
181 *
182 * Deprecated: 2.22: Use JavaScriptCore API instead
183**/
184WEBKIT_DEPRECATED gchar*
185webkit_dom_element_get_attribute_ns(WebKitDOMElement* self, const gchar* namespaceURI, const gchar* localName);
186
187/**
188 * webkit_dom_element_set_attribute_ns:
189 * @self: A #WebKitDOMElement
190 * @namespaceURI: (allow-none): A #gchar
191 * @qualifiedName: A #gchar
192 * @value: A #gchar
193 * @error: #GError
194 *
195 *
196 * Deprecated: 2.22: Use JavaScriptCore API instead
197**/
198WEBKIT_DEPRECATED void
199webkit_dom_element_set_attribute_ns(WebKitDOMElement* self, const gchar* namespaceURI, const gchar* qualifiedName, const gchar* value, GError** error);
200
201/**
202 * webkit_dom_element_remove_attribute_ns:
203 * @self: A #WebKitDOMElement
204 * @namespaceURI: A #gchar
205 * @localName: A #gchar
206 *
207 *
208 * Deprecated: 2.22: Use JavaScriptCore API instead
209**/
210WEBKIT_DEPRECATED void
211webkit_dom_element_remove_attribute_ns(WebKitDOMElement* self, const gchar* namespaceURI, const gchar* localName);
212
213/**
214 * webkit_dom_element_get_elements_by_tag_name_ns_as_html_collection:
215 * @self: A #WebKitDOMElement
216 * @namespaceURI: A #gchar
217 * @localName: A #gchar
218 *
219 * Returns: (transfer full): A #WebKitDOMHTMLCollection
220 *
221 * Since: 2.12
222 *
223 * Deprecated: 2.22: Use JavaScriptCore API instead
224**/
225WEBKIT_DEPRECATED WebKitDOMHTMLCollection*
226webkit_dom_element_get_elements_by_tag_name_ns_as_html_collection(WebKitDOMElement* self, const gchar* namespaceURI, const gchar* localName);
227
228/**
229 * webkit_dom_element_get_attribute_node_ns:
230 * @self: A #WebKitDOMElement
231 * @namespaceURI: A #gchar
232 * @localName: A #gchar
233 *
234 * Returns: (transfer none): A #WebKitDOMAttr
235 *
236 * Deprecated: 2.22: Use JavaScriptCore API instead
237**/
238WEBKIT_DEPRECATED WebKitDOMAttr*
239webkit_dom_element_get_attribute_node_ns(WebKitDOMElement* self, const gchar* namespaceURI, const gchar* localName);
240
241/**
242 * webkit_dom_element_set_attribute_node_ns:
243 * @self: A #WebKitDOMElement
244 * @newAttr: A #WebKitDOMAttr
245 * @error: #GError
246 *
247 * Returns: (transfer none): A #WebKitDOMAttr
248 *
249 * Deprecated: 2.22: Use JavaScriptCore API instead
250**/
251WEBKIT_DEPRECATED WebKitDOMAttr*
252webkit_dom_element_set_attribute_node_ns(WebKitDOMElement* self, WebKitDOMAttr* newAttr, GError** error);
253
254/**
255 * webkit_dom_element_has_attribute:
256 * @self: A #WebKitDOMElement
257 * @name: A #gchar
258 *
259 * Returns: A #gboolean
260 *
261 * Deprecated: 2.22: Use JavaScriptCore API instead
262**/
263WEBKIT_DEPRECATED gboolean
264webkit_dom_element_has_attribute(WebKitDOMElement* self, const gchar* name);
265
266/**
267 * webkit_dom_element_has_attribute_ns:
268 * @self: A #WebKitDOMElement
269 * @namespaceURI: A #gchar
270 * @localName: A #gchar
271 *
272 * Returns: A #gboolean
273 *
274 * Deprecated: 2.22: Use JavaScriptCore API instead
275**/
276WEBKIT_DEPRECATED gboolean
277webkit_dom_element_has_attribute_ns(WebKitDOMElement* self, const gchar* namespaceURI, const gchar* localName);
278
279/**
280 * webkit_dom_element_focus:
281 * @self: A #WebKitDOMElement
282 *
283 *
284 * Deprecated: 2.22: Use JavaScriptCore API instead
285**/
286WEBKIT_DEPRECATED void
287webkit_dom_element_focus(WebKitDOMElement* self);
288
289/**
290 * webkit_dom_element_blur:
291 * @self: A #WebKitDOMElement
292 *
293 *
294 * Deprecated: 2.22: Use JavaScriptCore API instead
295**/
296WEBKIT_DEPRECATED void
297webkit_dom_element_blur(WebKitDOMElement* self);
298
299/**
300 * webkit_dom_element_scroll_into_view:
301 * @self: A #WebKitDOMElement
302 * @alignWithTop: A #gboolean
303 *
304 *
305 * Deprecated: 2.22: Use JavaScriptCore API instead
306**/
307WEBKIT_DEPRECATED void
308webkit_dom_element_scroll_into_view(WebKitDOMElement* self, gboolean alignWithTop);
309
310/**
311 * webkit_dom_element_scroll_into_view_if_needed:
312 * @self: A #WebKitDOMElement
313 * @centerIfNeeded: A #gboolean
314 *
315 *
316 * Deprecated: 2.22: Use JavaScriptCore API instead
317**/
318WEBKIT_DEPRECATED void
319webkit_dom_element_scroll_into_view_if_needed(WebKitDOMElement* self, gboolean centerIfNeeded);
320
321/**
322 * webkit_dom_element_scroll_by_lines:
323 * @self: A #WebKitDOMElement
324 * @lines: A #glong
325 *
326 *
327 * Deprecated: 2.22: Use JavaScriptCore API instead
328**/
329WEBKIT_DEPRECATED void
330webkit_dom_element_scroll_by_lines(WebKitDOMElement* self, glong lines);
331
332/**
333 * webkit_dom_element_scroll_by_pages:
334 * @self: A #WebKitDOMElement
335 * @pages: A #glong
336 *
337 *
338 * Deprecated: 2.22: Use JavaScriptCore API instead
339**/
340WEBKIT_DEPRECATED void
341webkit_dom_element_scroll_by_pages(WebKitDOMElement* self, glong pages);
342
343/**
344 * webkit_dom_element_get_elements_by_class_name_as_html_collection:
345 * @self: A #WebKitDOMElement
346 * @name: A #gchar
347 *
348 * Returns: (transfer full): A #WebKitDOMHTMLCollection
349 *
350 * Since: 2.12
351 *
352 * Deprecated: 2.22: Use JavaScriptCore API instead
353**/
354WEBKIT_DEPRECATED WebKitDOMHTMLCollection*
355webkit_dom_element_get_elements_by_class_name_as_html_collection(WebKitDOMElement* self, const gchar* name);
356
357/**
358 * webkit_dom_element_query_selector:
359 * @self: A #WebKitDOMElement
360 * @selectors: A #gchar
361 * @error: #GError
362 *
363 * Returns: (transfer none): A #WebKitDOMElement
364 *
365 * Deprecated: 2.22: Use JavaScriptCore API instead
366**/
367WEBKIT_DEPRECATED WebKitDOMElement*
368webkit_dom_element_query_selector(WebKitDOMElement* self, const gchar* selectors, GError** error);
369
370/**
371 * webkit_dom_element_query_selector_all:
372 * @self: A #WebKitDOMElement
373 * @selectors: A #gchar
374 * @error: #GError
375 *
376 * Returns: (transfer full): A #WebKitDOMNodeList
377 *
378 * Deprecated: 2.22: Use JavaScriptCore API instead
379**/
380WEBKIT_DEPRECATED WebKitDOMNodeList*
381webkit_dom_element_query_selector_all(WebKitDOMElement* self, const gchar* selectors, GError** error);
382
383/**
384 * webkit_dom_element_get_tag_name:
385 * @self: A #WebKitDOMElement
386 *
387 * Returns: A #gchar
388 *
389 * Deprecated: 2.22: Use JavaScriptCore API instead
390**/
391WEBKIT_DEPRECATED gchar*
392webkit_dom_element_get_tag_name(WebKitDOMElement* self);
393
394/**
395 * webkit_dom_element_get_attributes:
396 * @self: A #WebKitDOMElement
397 *
398 * Returns: (transfer full): A #WebKitDOMNamedNodeMap
399 *
400 * Deprecated: 2.22: Use JavaScriptCore API instead
401**/
402WEBKIT_DEPRECATED WebKitDOMNamedNodeMap*
403webkit_dom_element_get_attributes(WebKitDOMElement* self);
404
405/**
406 * webkit_dom_element_get_style:
407 * @self: A #WebKitDOMElement
408 *
409 * Returns: (transfer full): A #WebKitDOMCSSStyleDeclaration
410 *
411 * Deprecated: 2.22: Use JavaScriptCore API instead
412**/
413WEBKIT_DEPRECATED WebKitDOMCSSStyleDeclaration*
414webkit_dom_element_get_style(WebKitDOMElement* self);
415
416/**
417 * webkit_dom_element_get_id:
418 * @self: A #WebKitDOMElement
419 *
420 * Returns: A #gchar
421 *
422 * Deprecated: 2.22: Use JavaScriptCore API instead
423**/
424WEBKIT_DEPRECATED gchar*
425webkit_dom_element_get_id(WebKitDOMElement* self);
426
427/**
428 * webkit_dom_element_set_id:
429 * @self: A #WebKitDOMElement
430 * @value: A #gchar
431 *
432 *
433 * Deprecated: 2.22: Use JavaScriptCore API instead
434**/
435WEBKIT_DEPRECATED void
436webkit_dom_element_set_id(WebKitDOMElement* self, const gchar* value);
437
438/**
439 * webkit_dom_element_get_namespace_uri:
440 * @self: A #WebKitDOMElement
441 *
442 * Returns: A #gchar
443 *
444 * Since: 2.14
445 *
446 * Deprecated: 2.22: Use JavaScriptCore API instead
447**/
448WEBKIT_DEPRECATED gchar*
449webkit_dom_element_get_namespace_uri(WebKitDOMElement* self);
450
451/**
452 * webkit_dom_element_get_prefix:
453 * @self: A #WebKitDOMElement
454 *
455 * Returns: A #gchar
456 *
457 * Since: 2.14
458 *
459 * Deprecated: 2.22: Use JavaScriptCore API instead
460**/
461WEBKIT_DEPRECATED gchar*
462webkit_dom_element_get_prefix(WebKitDOMElement* self);
463
464/**
465 * webkit_dom_element_get_local_name:
466 * @self: A #WebKitDOMElement
467 *
468 * Returns: A #gchar
469 *
470 * Since: 2.14
471 *
472 * Deprecated: 2.22: Use JavaScriptCore API instead
473**/
474WEBKIT_DEPRECATED gchar*
475webkit_dom_element_get_local_name(WebKitDOMElement* self);
476
477/**
478 * webkit_dom_element_get_offset_left:
479 * @self: A #WebKitDOMElement
480 *
481 * Returns: A #gdouble
482 *
483 * Deprecated: 2.22: Use JavaScriptCore API instead
484**/
485WEBKIT_DEPRECATED gdouble
486webkit_dom_element_get_offset_left(WebKitDOMElement* self);
487
488/**
489 * webkit_dom_element_get_offset_top:
490 * @self: A #WebKitDOMElement
491 *
492 * Returns: A #gdouble
493 *
494 * Deprecated: 2.22: Use JavaScriptCore API instead
495**/
496WEBKIT_DEPRECATED gdouble
497webkit_dom_element_get_offset_top(WebKitDOMElement* self);
498
499/**
500 * webkit_dom_element_get_offset_width:
501 * @self: A #WebKitDOMElement
502 *
503 * Returns: A #gdouble
504 *
505 * Deprecated: 2.22: Use JavaScriptCore API instead
506**/
507WEBKIT_DEPRECATED gdouble
508webkit_dom_element_get_offset_width(WebKitDOMElement* self);
509
510/**
511 * webkit_dom_element_get_offset_height:
512 * @self: A #WebKitDOMElement
513 *
514 * Returns: A #gdouble
515 *
516 * Deprecated: 2.22: Use JavaScriptCore API instead
517**/
518WEBKIT_DEPRECATED gdouble
519webkit_dom_element_get_offset_height(WebKitDOMElement* self);
520
521/**
522 * webkit_dom_element_get_client_left:
523 * @self: A #WebKitDOMElement
524 *
525 * Returns: A #gdouble
526 *
527 * Deprecated: 2.22: Use JavaScriptCore API instead
528**/
529WEBKIT_DEPRECATED gdouble
530webkit_dom_element_get_client_left(WebKitDOMElement* self);
531
532/**
533 * webkit_dom_element_get_client_top:
534 * @self: A #WebKitDOMElement
535 *
536 * Returns: A #gdouble
537 *
538 * Deprecated: 2.22: Use JavaScriptCore API instead
539**/
540WEBKIT_DEPRECATED gdouble
541webkit_dom_element_get_client_top(WebKitDOMElement* self);
542
543/**
544 * webkit_dom_element_get_client_width:
545 * @self: A #WebKitDOMElement
546 *
547 * Returns: A #gdouble
548 *
549 * Deprecated: 2.22: Use JavaScriptCore API instead
550**/
551WEBKIT_DEPRECATED gdouble
552webkit_dom_element_get_client_width(WebKitDOMElement* self);
553
554/**
555 * webkit_dom_element_get_client_height:
556 * @self: A #WebKitDOMElement
557 *
558 * Returns: A #gdouble
559 *
560 * Deprecated: 2.22: Use JavaScriptCore API instead
561**/
562WEBKIT_DEPRECATED gdouble
563webkit_dom_element_get_client_height(WebKitDOMElement* self);
564
565/**
566 * webkit_dom_element_get_scroll_left:
567 * @self: A #WebKitDOMElement
568 *
569 * Returns: A #glong
570 *
571 * Deprecated: 2.22: Use JavaScriptCore API instead
572**/
573WEBKIT_DEPRECATED glong
574webkit_dom_element_get_scroll_left(WebKitDOMElement* self);
575
576/**
577 * webkit_dom_element_set_scroll_left:
578 * @self: A #WebKitDOMElement
579 * @value: A #glong
580 *
581 *
582 * Deprecated: 2.22: Use JavaScriptCore API instead
583**/
584WEBKIT_DEPRECATED void
585webkit_dom_element_set_scroll_left(WebKitDOMElement* self, glong value);
586
587/**
588 * webkit_dom_element_get_scroll_top:
589 * @self: A #WebKitDOMElement
590 *
591 * Returns: A #glong
592 *
593 * Deprecated: 2.22: Use JavaScriptCore API instead
594**/
595WEBKIT_DEPRECATED glong
596webkit_dom_element_get_scroll_top(WebKitDOMElement* self);
597
598/**
599 * webkit_dom_element_set_scroll_top:
600 * @self: A #WebKitDOMElement
601 * @value: A #glong
602 *
603 *
604 * Deprecated: 2.22: Use JavaScriptCore API instead
605**/
606WEBKIT_DEPRECATED void
607webkit_dom_element_set_scroll_top(WebKitDOMElement* self, glong value);
608
609/**
610 * webkit_dom_element_get_scroll_width:
611 * @self: A #WebKitDOMElement
612 *
613 * Returns: A #glong
614 *
615 * Deprecated: 2.22: Use JavaScriptCore API instead
616**/
617WEBKIT_DEPRECATED glong
618webkit_dom_element_get_scroll_width(WebKitDOMElement* self);
619
620/**
621 * webkit_dom_element_get_scroll_height:
622 * @self: A #WebKitDOMElement
623 *
624 * Returns: A #glong
625 *
626 * Deprecated: 2.22: Use JavaScriptCore API instead
627**/
628WEBKIT_DEPRECATED glong
629webkit_dom_element_get_scroll_height(WebKitDOMElement* self);
630
631/**
632 * webkit_dom_element_get_bounding_client_rect:
633 * @self: A #WebKitDOMElement
634 *
635 * Returns a #WebKitDOMClientRect representing the size and position of @self
636 * relative to the viewport.
637 *
638 * Returns: (transfer full): A #WebKitDOMClientRect
639 *
640 * Since: 2.18
641 *
642 * Deprecated: 2.22: Use JavaScriptCore API instead
643**/
644WEBKIT_DEPRECATED WebKitDOMClientRect*
645webkit_dom_element_get_bounding_client_rect(WebKitDOMElement* self);
646
647/**
648 * webkit_dom_element_get_client_rects:
649 * @self: A #WebKitDOMElement
650 *
651 * Returns a collection of #WebKitDOMClientRect objects, each of which describe
652 * the size and position of a CSS border box relative to the viewport.
653 *
654 * Returns: (transfer full): A #WebKitDOMClientRectList
655 *
656 * Since: 2.18
657 *
658 * Deprecated: 2.22: Use JavaScriptCore API instead
659**/
660WEBKIT_DEPRECATED WebKitDOMClientRectList*
661webkit_dom_element_get_client_rects(WebKitDOMElement* self);
662
663/**
664 * webkit_dom_element_get_offset_parent:
665 * @self: A #WebKitDOMElement
666 *
667 * Returns: (transfer none): A #WebKitDOMElement
668 *
669 * Deprecated: 2.22: Use JavaScriptCore API instead
670**/
671WEBKIT_DEPRECATED WebKitDOMElement*
672webkit_dom_element_get_offset_parent(WebKitDOMElement* self);
673
674/**
675 * webkit_dom_element_get_inner_html:
676 * @self: A #WebKitDOMElement
677 *
678 * Returns: A #gchar
679 *
680 * Since: 2.8
681 *
682 * Deprecated: 2.22: Use JavaScriptCore API instead
683**/
684WEBKIT_DEPRECATED gchar*
685webkit_dom_element_get_inner_html(WebKitDOMElement* self);
686
687/**
688 * webkit_dom_element_set_inner_html:
689 * @self: A #WebKitDOMElement
690 * @value: A #gchar
691 * @error: #GError
692 *
693 * Since: 2.8
694 *
695 * Deprecated: 2.22: Use JavaScriptCore API instead
696**/
697WEBKIT_DEPRECATED void
698webkit_dom_element_set_inner_html(WebKitDOMElement* self, const gchar* value, GError** error);
699
700/**
701 * webkit_dom_element_get_outer_html:
702 * @self: A #WebKitDOMElement
703 *
704 * Returns: A #gchar
705 *
706 * Since: 2.8
707 *
708 * Deprecated: 2.22: Use JavaScriptCore API instead
709**/
710WEBKIT_DEPRECATED gchar*
711webkit_dom_element_get_outer_html(WebKitDOMElement* self);
712
713/**
714 * webkit_dom_element_set_outer_html:
715 * @self: A #WebKitDOMElement
716 * @value: A #gchar
717 * @error: #GError
718 *
719 * Since: 2.8
720 *
721 * Deprecated: 2.22: Use JavaScriptCore API instead
722**/
723WEBKIT_DEPRECATED void
724webkit_dom_element_set_outer_html(WebKitDOMElement* self, const gchar* value, GError** error);
725
726/**
727 * webkit_dom_element_get_class_name:
728 * @self: A #WebKitDOMElement
729 *
730 * Returns: A #gchar
731 *
732 * Deprecated: 2.22: Use JavaScriptCore API instead
733**/
734WEBKIT_DEPRECATED gchar*
735webkit_dom_element_get_class_name(WebKitDOMElement* self);
736
737/**
738 * webkit_dom_element_set_class_name:
739 * @self: A #WebKitDOMElement
740 * @value: A #gchar
741 *
742 *
743 * Deprecated: 2.22: Use JavaScriptCore API instead
744**/
745WEBKIT_DEPRECATED void
746webkit_dom_element_set_class_name(WebKitDOMElement* self, const gchar* value);
747
748/**
749 * webkit_dom_element_get_previous_element_sibling:
750 * @self: A #WebKitDOMElement
751 *
752 * Returns: (transfer none): A #WebKitDOMElement
753 *
754 * Deprecated: 2.22: Use JavaScriptCore API instead
755**/
756WEBKIT_DEPRECATED WebKitDOMElement*
757webkit_dom_element_get_previous_element_sibling(WebKitDOMElement* self);
758
759/**
760 * webkit_dom_element_get_next_element_sibling:
761 * @self: A #WebKitDOMElement
762 *
763 * Returns: (transfer none): A #WebKitDOMElement
764 *
765 * Deprecated: 2.22: Use JavaScriptCore API instead
766**/
767WEBKIT_DEPRECATED WebKitDOMElement*
768webkit_dom_element_get_next_element_sibling(WebKitDOMElement* self);
769
770/**
771 * webkit_dom_element_get_children:
772 * @self: A #WebKitDOMElement
773 *
774 * Returns: (transfer full): A #WebKitDOMHTMLCollection
775 *
776 * Since: 2.10
777 *
778 * Deprecated: 2.22: Use JavaScriptCore API instead
779**/
780WEBKIT_DEPRECATED WebKitDOMHTMLCollection*
781webkit_dom_element_get_children(WebKitDOMElement* self);
782
783/**
784 * webkit_dom_element_get_first_element_child:
785 * @self: A #WebKitDOMElement
786 *
787 * Returns: (transfer none): A #WebKitDOMElement
788 *
789 * Deprecated: 2.22: Use JavaScriptCore API instead
790**/
791WEBKIT_DEPRECATED WebKitDOMElement*
792webkit_dom_element_get_first_element_child(WebKitDOMElement* self);
793
794/**
795 * webkit_dom_element_get_last_element_child:
796 * @self: A #WebKitDOMElement
797 *
798 * Returns: (transfer none): A #WebKitDOMElement
799 *
800 * Deprecated: 2.22: Use JavaScriptCore API instead
801**/
802WEBKIT_DEPRECATED WebKitDOMElement*
803webkit_dom_element_get_last_element_child(WebKitDOMElement* self);
804
805/**
806 * webkit_dom_element_get_child_element_count:
807 * @self: A #WebKitDOMElement
808 *
809 * Returns: A #gulong
810 *
811 * Deprecated: 2.22: Use JavaScriptCore API instead
812**/
813WEBKIT_DEPRECATED gulong
814webkit_dom_element_get_child_element_count(WebKitDOMElement* self);
815
816/**
817 * webkit_dom_element_matches:
818 * @self: A #WebKitDOMElement
819 * @selectors: A #gchar
820 * @error: #GError
821 *
822 * Returns: A #gboolean
823 *
824 * Since: 2.16
825 *
826 * Deprecated: 2.22: Use JavaScriptCore API instead
827**/
828WEBKIT_DEPRECATED gboolean
829webkit_dom_element_matches(WebKitDOMElement* self, const gchar* selectors, GError** error);
830
831/**
832 * webkit_dom_element_closest:
833 * @self: A #WebKitDOMElement
834 * @selectors: A #gchar
835 * @error: #GError
836 *
837 * Returns: (transfer none): A #WebKitDOMElement
838 *
839 * Since: 2.16
840 *
841 * Deprecated: 2.22: Use JavaScriptCore API instead
842**/
843WEBKIT_DEPRECATED WebKitDOMElement*
844webkit_dom_element_closest(WebKitDOMElement* self, const gchar* selectors, GError** error);
845
846/**
847 * webkit_dom_element_webkit_matches_selector:
848 * @self: A #WebKitDOMElement
849 * @selectors: A #gchar
850 * @error: #GError
851 *
852 * Returns: A #gboolean
853 *
854 * Since: 2.16
855 *
856 * Deprecated: 2.22: Use JavaScriptCore API instead
857**/
858WEBKIT_DEPRECATED gboolean
859webkit_dom_element_webkit_matches_selector(WebKitDOMElement* self, const gchar* selectors, GError** error);
860
861/**
862 * webkit_dom_element_webkit_request_fullscreen:
863 * @self: A #WebKitDOMElement
864 *
865 * Since: 2.16
866 *
867 * Deprecated: 2.22: Use JavaScriptCore API instead
868**/
869WEBKIT_DEPRECATED void
870webkit_dom_element_webkit_request_fullscreen(WebKitDOMElement* self);
871
872/**
873 * webkit_dom_element_insert_adjacent_element:
874 * @self: A #WebKitDOMElement
875 * @where: A #gchar
876 * @element: A #WebKitDOMElement
877 * @error: #GError
878 *
879 * Returns: (transfer none): A #WebKitDOMElement
880 *
881 * Since: 2.16
882 *
883 * Deprecated: 2.22: Use JavaScriptCore API instead
884**/
885WEBKIT_DEPRECATED WebKitDOMElement*
886webkit_dom_element_insert_adjacent_element(WebKitDOMElement* self, const gchar* where, WebKitDOMElement* element, GError** error);
887
888/**
889 * webkit_dom_element_insert_adjacent_html:
890 * @self: A #WebKitDOMElement
891 * @where: A #gchar
892 * @html: A #gchar
893 * @error: #GError
894 *
895 * Since: 2.16
896 *
897 * Deprecated: 2.22: Use JavaScriptCore API instead
898**/
899WEBKIT_DEPRECATED void
900webkit_dom_element_insert_adjacent_html(WebKitDOMElement* self, const gchar* where, const gchar* html, GError** error);
901
902/**
903 * webkit_dom_element_insert_adjacent_text:
904 * @self: A #WebKitDOMElement
905 * @where: A #gchar
906 * @text: A #gchar
907 * @error: #GError
908 *
909 * Since: 2.16
910 *
911 * Deprecated: 2.22: Use JavaScriptCore API instead
912**/
913WEBKIT_DEPRECATED void
914webkit_dom_element_insert_adjacent_text(WebKitDOMElement* self, const gchar* where, const gchar* text, GError** error);
915
916/**
917 * webkit_dom_element_request_pointer_lock:
918 * @self: A #WebKitDOMElement
919 *
920 * Since: 2.16
921 *
922 * Deprecated: 2.22: Use JavaScriptCore API instead
923**/
924WEBKIT_DEPRECATED void
925webkit_dom_element_request_pointer_lock(WebKitDOMElement* self);
926
927/**
928 * webkit_dom_element_remove:
929 * @self: A #WebKitDOMElement
930 * @error: #GError
931 *
932 * Since: 2.16
933 *
934 * Deprecated: 2.22: Use JavaScriptCore API instead
935**/
936WEBKIT_DEPRECATED void
937webkit_dom_element_remove(WebKitDOMElement* self, GError** error);
938
939/**
940 * webkit_dom_element_get_class_list:
941 * @self: A #WebKitDOMElement
942 *
943 * Returns: (transfer full): A #WebKitDOMDOMTokenList
944 *
945 * Since: 2.16
946 *
947 * Deprecated: 2.22: Use JavaScriptCore API instead
948**/
949WEBKIT_DEPRECATED WebKitDOMDOMTokenList*
950webkit_dom_element_get_class_list(WebKitDOMElement* self);
951
952G_END_DECLS
953
954#endif /* WebKitDOMElement_h */
955