gio-2.0: "address" parameter of Socket.receive_message() is optional
[vala-gnome.git] / vapi / webkit2gtk-web-extension-4.0.vapi
blob2b124c7df6be3f4886287015e0007cb9bd725cdb
1 /* webkit2gtk-web-extension-4.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "WebKit", gir_namespace = "WebKit2WebExtension", gir_version = "4.0", lower_case_cprefix = "webkit_")]
4 namespace WebKit {
5         namespace DOM {
6                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_attr_get_type ()")]
7                 [GIR (name = "DOMAttr")]
8                 public class Attr : WebKit.DOM.Node, WebKit.DOM.EventTarget {
9                         [CCode (has_construct_function = false)]
10                         protected Attr ();
11                         [Version (since = "2.14")]
12                         public string get_local_name ();
13                         public string get_name ();
14                         [Version (since = "2.14")]
15                         public string get_namespace_uri ();
16                         public unowned WebKit.DOM.Element get_owner_element ();
17                         [Version (since = "2.14")]
18                         public string get_prefix ();
19                         public bool get_specified ();
20                         public string get_value ();
21                         public void set_value (string value) throws GLib.Error;
22                         public string local_name { owned get; }
23                         public string name { owned get; }
24                         public string namespace_uri { owned get; }
25                         public WebKit.DOM.Element owner_element { get; }
26                         public string prefix { owned get; }
27                         public bool specified { get; }
28                         public string value { owned get; set; }
29                 }
30                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_blob_get_type ()")]
31                 [GIR (name = "DOMBlob")]
32                 public class Blob : WebKit.DOM.Object {
33                         [CCode (has_construct_function = false)]
34                         protected Blob ();
35                         public uint64 get_size ();
36                         public uint64 size { get; }
37                 }
38                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_cdata_section_get_type ()")]
39                 [GIR (name = "DOMCDATASection")]
40                 public class CDATASection : WebKit.DOM.Text, WebKit.DOM.EventTarget {
41                         [CCode (has_construct_function = false)]
42                         protected CDATASection ();
43                 }
44                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_css_rule_get_type ()")]
45                 [GIR (name = "DOMCSSRule")]
46                 public class CSSRule : WebKit.DOM.Object {
47                         [CCode (has_construct_function = false)]
48                         protected CSSRule ();
49                         public string get_css_text ();
50                         public WebKit.DOM.CSSRule get_parent_rule ();
51                         public WebKit.DOM.CSSStyleSheet get_parent_style_sheet ();
52                         public ushort get_rule_type ();
53                         public void set_css_text (string value) throws GLib.Error;
54                         public string css_text { owned get; set; }
55                         public WebKit.DOM.CSSRule parent_rule { owned get; }
56                         public WebKit.DOM.CSSStyleSheet parent_style_sheet { owned get; }
57                         [NoAccessorMethod]
58                         public uint type { get; }
59                 }
60                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_css_rule_list_get_type ()")]
61                 [GIR (name = "DOMCSSRuleList")]
62                 public class CSSRuleList : WebKit.DOM.Object {
63                         [CCode (has_construct_function = false)]
64                         protected CSSRuleList ();
65                         public ulong get_length ();
66                         public WebKit.DOM.CSSRule item (ulong index);
67                         public ulong length { get; }
68                 }
69                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_css_style_declaration_get_type ()")]
70                 [GIR (name = "DOMCSSStyleDeclaration")]
71                 public class CSSStyleDeclaration : WebKit.DOM.Object {
72                         [CCode (has_construct_function = false)]
73                         protected CSSStyleDeclaration ();
74                         public string get_css_text ();
75                         public ulong get_length ();
76                         public WebKit.DOM.CSSRule get_parent_rule ();
77                         public string get_property_priority (string propertyName);
78                         public string get_property_shorthand (string propertyName);
79                         public string get_property_value (string propertyName);
80                         public bool is_property_implicit (string propertyName);
81                         public string item (ulong index);
82                         public string remove_property (string propertyName) throws GLib.Error;
83                         public void set_css_text (string value) throws GLib.Error;
84                         public void set_property (string propertyName, string value, string priority) throws GLib.Error;
85                         public string css_text { owned get; set; }
86                         public ulong length { get; }
87                         public WebKit.DOM.CSSRule parent_rule { owned get; }
88                 }
89                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_css_style_sheet_get_type ()")]
90                 [GIR (name = "DOMCSSStyleSheet")]
91                 public class CSSStyleSheet : WebKit.DOM.StyleSheet {
92                         [CCode (has_construct_function = false)]
93                         protected CSSStyleSheet ();
94                         public long add_rule (string selector, string style, ulong index) throws GLib.Error;
95                         public void delete_rule (ulong index) throws GLib.Error;
96                         public WebKit.DOM.CSSRuleList get_css_rules ();
97                         public WebKit.DOM.CSSRule get_owner_rule ();
98                         public WebKit.DOM.CSSRuleList get_rules ();
99                         public ulong insert_rule (string rule, ulong index) throws GLib.Error;
100                         public void remove_rule (ulong index) throws GLib.Error;
101                         public WebKit.DOM.CSSRuleList css_rules { owned get; }
102                         public WebKit.DOM.CSSRule owner_rule { owned get; }
103                         public WebKit.DOM.CSSRuleList rules { owned get; }
104                 }
105                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_css_value_get_type ()")]
106                 [GIR (name = "DOMCSSValue")]
107                 public class CSSValue : WebKit.DOM.Object {
108                         [CCode (has_construct_function = false)]
109                         protected CSSValue ();
110                         public string get_css_text ();
111                         public ushort get_css_value_type ();
112                         public void set_css_text (string value) throws GLib.Error;
113                         public string css_text { owned get; set; }
114                         public uint css_value_type { get; }
115                 }
116                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_character_data_get_type ()")]
117                 [GIR (name = "DOMCharacterData")]
118                 public class CharacterData : WebKit.DOM.Node, WebKit.DOM.EventTarget {
119                         [CCode (has_construct_function = false)]
120                         protected CharacterData ();
121                         public void append_data (string data) throws GLib.Error;
122                         public void delete_data (ulong offset, ulong length) throws GLib.Error;
123                         public string get_data ();
124                         public ulong get_length ();
125                         public void insert_data (ulong offset, string data) throws GLib.Error;
126                         public void replace_data (ulong offset, ulong length, string data) throws GLib.Error;
127                         public void set_data (string value) throws GLib.Error;
128                         public string substring_data (ulong offset, ulong length) throws GLib.Error;
129                         public string data { owned get; set; }
130                         public ulong length { get; }
131                 }
132                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_client_rect_get_type ()")]
133                 [GIR (name = "DOMClientRect")]
134                 public class ClientRect : WebKit.DOM.Object {
135                         [CCode (has_construct_function = false)]
136                         protected ClientRect ();
137                         [Version (since = "2.18")]
138                         public float get_bottom ();
139                         [Version (since = "2.18")]
140                         public float get_height ();
141                         [Version (since = "2.18")]
142                         public float get_left ();
143                         [Version (since = "2.18")]
144                         public float get_right ();
145                         [Version (since = "2.18")]
146                         public float get_top ();
147                         [Version (since = "2.18")]
148                         public float get_width ();
149                         public float bottom { get; }
150                         public float height { get; }
151                         public float left { get; }
152                         public float right { get; }
153                         public float top { get; }
154                         public float width { get; }
155                 }
156                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_client_rect_list_get_type ()")]
157                 [GIR (name = "DOMClientRectList")]
158                 public class ClientRectList : WebKit.DOM.Object {
159                         [CCode (has_construct_function = false)]
160                         protected ClientRectList ();
161                         [Version (since = "2.18")]
162                         public ulong get_length ();
163                         [Version (since = "2.18")]
164                         public unowned WebKit.DOM.ClientRect item (ulong index);
165                         public ulong length { get; }
166                 }
167                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_comment_get_type ()")]
168                 [GIR (name = "DOMComment")]
169                 public class Comment : WebKit.DOM.CharacterData, WebKit.DOM.EventTarget {
170                         [CCode (has_construct_function = false)]
171                         protected Comment ();
172                 }
173                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_dom_implementation_get_type ()")]
174                 [GIR (name = "DOMDOMImplementation")]
175                 public class DOMImplementation : WebKit.DOM.Object {
176                         [CCode (has_construct_function = false)]
177                         protected DOMImplementation ();
178                         public WebKit.DOM.CSSStyleSheet create_css_style_sheet (string title, string media) throws GLib.Error;
179                         public unowned WebKit.DOM.Document create_document (string? namespaceURI, string qualifiedName, WebKit.DOM.DocumentType? doctype) throws GLib.Error;
180                         public unowned WebKit.DOM.DocumentType create_document_type (string qualifiedName, string publicId, string systemId) throws GLib.Error;
181                         public unowned WebKit.DOM.HTMLDocument create_html_document (string title);
182                         public bool has_feature (string feature, string version);
183                 }
184                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_dom_selection_get_type ()")]
185                 [GIR (name = "DOMDOMSelection")]
186                 public class DOMSelection : WebKit.DOM.Object {
187                         [CCode (has_construct_function = false)]
188                         protected DOMSelection ();
189                         [Version (since = "2.16")]
190                         public void add_range (WebKit.DOM.Range range);
191                         [Version (since = "2.16")]
192                         public void collapse (WebKit.DOM.Node node, ulong offset);
193                         [Version (since = "2.16")]
194                         public void collapse_to_end () throws GLib.Error;
195                         [Version (since = "2.16")]
196                         public void collapse_to_start () throws GLib.Error;
197                         [Version (since = "2.16")]
198                         public bool contains_node (WebKit.DOM.Node node, bool allowPartial);
199                         [Version (since = "2.16")]
200                         public void delete_from_document ();
201                         [Version (since = "2.16")]
202                         public void empty ();
203                         [Version (since = "2.16")]
204                         public void extend (WebKit.DOM.Node node, ulong offset) throws GLib.Error;
205                         [Version (since = "2.16")]
206                         public unowned WebKit.DOM.Node get_anchor_node ();
207                         [Version (since = "2.16")]
208                         public ulong get_anchor_offset ();
209                         [Version (since = "2.16")]
210                         public unowned WebKit.DOM.Node get_base_node ();
211                         [Version (since = "2.16")]
212                         public ulong get_base_offset ();
213                         [Version (since = "2.16")]
214                         public unowned WebKit.DOM.Node get_extent_node ();
215                         [Version (since = "2.16")]
216                         public ulong get_extent_offset ();
217                         [Version (since = "2.16")]
218                         public unowned WebKit.DOM.Node get_focus_node ();
219                         [Version (since = "2.16")]
220                         public ulong get_focus_offset ();
221                         [Version (since = "2.16")]
222                         public bool get_is_collapsed ();
223                         [Version (since = "2.16")]
224                         public WebKit.DOM.Range get_range_at (ulong index) throws GLib.Error;
225                         [Version (since = "2.16")]
226                         public ulong get_range_count ();
227                         [Version (since = "2.16")]
228                         public string get_selection_type ();
229                         [Version (since = "2.16")]
230                         public void modify (string alter, string direction, string granularity);
231                         [Version (since = "2.16")]
232                         public void remove_all_ranges ();
233                         [Version (since = "2.16")]
234                         public void select_all_children (WebKit.DOM.Node node);
235                         [Version (since = "2.16")]
236                         public void set_base_and_extent (WebKit.DOM.Node baseNode, ulong baseOffset, WebKit.DOM.Node extentNode, ulong extentOffset);
237                         [Version (since = "2.16")]
238                         public void set_position (WebKit.DOM.Node node, ulong offset);
239                         public WebKit.DOM.Node anchor_node { get; }
240                         public ulong anchor_offset { get; }
241                         public WebKit.DOM.Node base_node { get; }
242                         public ulong base_offset { get; }
243                         public WebKit.DOM.Node extent_node { get; }
244                         public ulong extent_offset { get; }
245                         public WebKit.DOM.Node focus_node { get; }
246                         public ulong focus_offset { get; }
247                         public bool is_collapsed { get; }
248                         public ulong range_count { get; }
249                         [NoAccessorMethod]
250                         public string type { owned get; }
251                 }
252                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_dom_token_list_get_type ()")]
253                 [GIR (name = "DOMDOMTokenList")]
254                 public class DOMTokenList : WebKit.DOM.Object {
255                         [CCode (has_construct_function = false)]
256                         protected DOMTokenList ();
257                         [Version (since = "2.16")]
258                         public bool contains (string token);
259                         [Version (since = "2.16")]
260                         public ulong get_length ();
261                         [Version (since = "2.16")]
262                         public string get_value ();
263                         [Version (since = "2.16")]
264                         public string item (ulong index);
265                         [Version (since = "2.16")]
266                         public void replace (string token, string newToken) throws GLib.Error;
267                         [Version (since = "2.16")]
268                         public void set_value (string value);
269                         [Version (since = "2.16")]
270                         public bool toggle (string token, bool force) throws GLib.Error;
271                         public ulong length { get; }
272                         public string value { owned get; set; }
273                 }
274                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_dom_window_get_type ()")]
275                 [GIR (name = "DOMDOMWindow")]
276                 public class DOMWindow : WebKit.DOM.Object, WebKit.DOM.EventTarget {
277                         [CCode (has_construct_function = false)]
278                         protected DOMWindow ();
279                         [Version (since = "2.16")]
280                         public void alert (string message);
281                         [Version (since = "2.16")]
282                         public void blur ();
283                         [Version (since = "2.16")]
284                         public void capture_events ();
285                         [Version (since = "2.16")]
286                         public void close ();
287                         [Version (since = "2.16")]
288                         public bool confirm (string message);
289                         [Version (since = "2.16")]
290                         public bool find (string string, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog);
291                         [Version (since = "2.16")]
292                         public void focus ();
293                         [Version (since = "2.16")]
294                         public bool get_closed ();
295                         [Version (since = "2.16")]
296                         public WebKit.DOM.CSSStyleDeclaration get_computed_style (WebKit.DOM.Element element, string? pseudoElement);
297                         [Version (since = "2.16")]
298                         public string get_default_status ();
299                         [Version (since = "2.16")]
300                         public double get_device_pixel_ratio ();
301                         [Version (since = "2.16")]
302                         public unowned WebKit.DOM.Document get_document ();
303                         [Version (since = "2.16")]
304                         public unowned WebKit.DOM.Element get_frame_element ();
305                         [Version (since = "2.16")]
306                         public WebKit.DOM.DOMWindow get_frames ();
307                         [Version (since = "2.16")]
308                         public long get_inner_height ();
309                         [Version (since = "2.16")]
310                         public long get_inner_width ();
311                         [Version (since = "2.16")]
312                         public ulong get_length ();
313                         [Version (since = "2.16")]
314                         public string get_name ();
315                         [Version (since = "2.16")]
316                         public bool get_offscreen_buffering ();
317                         [Version (since = "2.16")]
318                         public WebKit.DOM.DOMWindow get_opener ();
319                         [Version (since = "2.16")]
320                         public long get_orientation ();
321                         [Version (since = "2.16")]
322                         public long get_outer_height ();
323                         [Version (since = "2.16")]
324                         public long get_outer_width ();
325                         [Version (since = "2.16")]
326                         public long get_page_x_offset ();
327                         [Version (since = "2.16")]
328                         public long get_page_y_offset ();
329                         [Version (since = "2.16")]
330                         public WebKit.DOM.DOMWindow get_parent ();
331                         [Version (since = "2.16")]
332                         public long get_screen_left ();
333                         [Version (since = "2.16")]
334                         public long get_screen_top ();
335                         [Version (since = "2.16")]
336                         public long get_screen_x ();
337                         [Version (since = "2.16")]
338                         public long get_screen_y ();
339                         [Version (since = "2.16")]
340                         public long get_scroll_x ();
341                         [Version (since = "2.16")]
342                         public long get_scroll_y ();
343                         [Version (since = "2.16")]
344                         public WebKit.DOM.DOMSelection get_selection ();
345                         [Version (since = "2.16")]
346                         public WebKit.DOM.DOMWindow get_self ();
347                         [Version (since = "2.16")]
348                         public string get_status ();
349                         [Version (since = "2.16")]
350                         public WebKit.DOM.DOMWindow get_top ();
351                         [Version (since = "2.16")]
352                         public WebKit.DOM.DOMWindow get_window ();
353                         [Version (since = "2.16")]
354                         public void move_by (float x, float y);
355                         [Version (since = "2.16")]
356                         public void move_to (float x, float y);
357                         [Version (since = "2.16")]
358                         public void print ();
359                         [Version (since = "2.16")]
360                         public string prompt (string message, string defaultValue);
361                         [Version (since = "2.16")]
362                         public void release_events ();
363                         [Version (since = "2.16")]
364                         public void resize_by (float x, float y);
365                         [Version (since = "2.16")]
366                         public void resize_to (float width, float height);
367                         [Version (since = "2.16")]
368                         public void scroll_by (double x, double y);
369                         [Version (since = "2.16")]
370                         public void scroll_to (double x, double y);
371                         [Version (since = "2.16")]
372                         public void set_default_status (string value);
373                         [Version (since = "2.16")]
374                         public void set_name (string value);
375                         [Version (since = "2.16")]
376                         public void set_status (string value);
377                         [Version (since = "2.16")]
378                         public void stop ();
379                         public bool webkit_message_handlers_post_message (string handler, string message);
380                         public bool closed { get; }
381                         public string default_status { owned get; set; }
382                         public double device_pixel_ratio { get; }
383                         public WebKit.DOM.Document document { get; }
384                         public WebKit.DOM.Element frame_element { get; }
385                         public WebKit.DOM.DOMWindow frames { owned get; }
386                         public long inner_height { get; }
387                         public long inner_width { get; }
388                         public ulong length { get; }
389                         public string name { owned get; set; }
390                         public bool offscreen_buffering { get; }
391                         public WebKit.DOM.DOMWindow opener { owned get; }
392                         public long orientation { get; }
393                         public long outer_height { get; }
394                         public long outer_width { get; }
395                         public long page_x_offset { get; }
396                         public long page_y_offset { get; }
397                         public WebKit.DOM.DOMWindow parent { owned get; }
398                         public long screen_left { get; }
399                         public long screen_top { get; }
400                         public long screen_x { get; }
401                         public long screen_y { get; }
402                         public long scroll_x { get; }
403                         public long scroll_y { get; }
404                         public WebKit.DOM.DOMWindow self { owned get; }
405                         public string status { owned get; set; }
406                         public WebKit.DOM.DOMWindow top { owned get; }
407                         public WebKit.DOM.DOMWindow window { owned get; }
408                 }
409                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_document_get_type ()")]
410                 [GIR (name = "DOMDocument")]
411                 public class Document : WebKit.DOM.Node, WebKit.DOM.EventTarget {
412                         [CCode (has_construct_function = false)]
413                         protected Document ();
414                         public unowned WebKit.DOM.Node adopt_node (WebKit.DOM.Node source) throws GLib.Error;
415                         [Version (since = "2.16")]
416                         public WebKit.DOM.Range caret_range_from_point (long x, long y);
417                         public unowned WebKit.DOM.Attr create_attribute (string name) throws GLib.Error;
418                         public unowned WebKit.DOM.Attr create_attribute_ns (string? namespaceURI, string qualifiedName) throws GLib.Error;
419                         public unowned WebKit.DOM.CDATASection create_cdata_section (string data) throws GLib.Error;
420                         public unowned WebKit.DOM.Comment create_comment (string data);
421                         public WebKit.DOM.CSSStyleDeclaration create_css_style_declaration ();
422                         public unowned WebKit.DOM.DocumentFragment create_document_fragment ();
423                         public unowned WebKit.DOM.Element create_element (string tagName) throws GLib.Error;
424                         public unowned WebKit.DOM.Element create_element_ns (string? namespaceURI, string qualifiedName) throws GLib.Error;
425                         [Version (deprecated = true, deprecated_since = "2.12")]
426                         public unowned WebKit.DOM.EntityReference create_entity_reference (string? name) throws GLib.Error;
427                         public WebKit.DOM.Event create_event (string eventType) throws GLib.Error;
428                         public WebKit.DOM.XPathExpression create_expression (string expression, WebKit.DOM.XPathNSResolver resolver) throws GLib.Error;
429                         public WebKit.DOM.NodeIterator create_node_iterator (WebKit.DOM.Node root, ulong whatToShow, WebKit.DOM.NodeFilter? filter, bool expandEntityReferences) throws GLib.Error;
430                         public WebKit.DOM.XPathNSResolver create_ns_resolver (WebKit.DOM.Node nodeResolver);
431                         public unowned WebKit.DOM.ProcessingInstruction create_processing_instruction (string target, string data) throws GLib.Error;
432                         public WebKit.DOM.Range create_range ();
433                         public unowned WebKit.DOM.Text create_text_node (string data);
434                         public WebKit.DOM.TreeWalker create_tree_walker (WebKit.DOM.Node root, ulong whatToShow, WebKit.DOM.NodeFilter? filter, bool expandEntityReferences) throws GLib.Error;
435                         public unowned WebKit.DOM.Element element_from_point (long x, long y);
436                         public WebKit.DOM.XPathResult evaluate (string expression, WebKit.DOM.Node contextNode, WebKit.DOM.XPathNSResolver? resolver, ushort type, WebKit.DOM.XPathResult? inResult) throws GLib.Error;
437                         public bool exec_command (string command, bool userInterface, string value);
438                         [Version (since = "2.16")]
439                         public void exit_pointer_lock ();
440                         public unowned WebKit.DOM.Element get_active_element ();
441                         public WebKit.DOM.HTMLCollection get_anchors ();
442                         public WebKit.DOM.HTMLCollection get_applets ();
443                         public unowned WebKit.DOM.HTMLElement get_body ();
444                         public string get_character_set ();
445                         public string get_charset ();
446                         [Version (since = "2.16")]
447                         public ulong get_child_element_count ();
448                         [Version (since = "2.16")]
449                         public WebKit.DOM.HTMLCollection get_children ();
450                         [Version (since = "2.14")]
451                         public string get_compat_mode ();
452                         [Version (since = "2.16")]
453                         public string get_content_type ();
454                         public string get_cookie () throws GLib.Error;
455                         [Version (since = "2.16")]
456                         public unowned WebKit.DOM.HTMLScriptElement get_current_script ();
457                         [Version (deprecated = true, deprecated_since = "2.14")]
458                         public string get_default_charset ();
459                         public WebKit.DOM.DOMWindow get_default_view ();
460                         [Version (since = "2.14")]
461                         public string get_design_mode ();
462                         [Version (since = "2.16")]
463                         public string get_dir ();
464                         public unowned WebKit.DOM.DocumentType get_doctype ();
465                         public unowned WebKit.DOM.Element get_document_element ();
466                         public string get_document_uri ();
467                         public string get_domain ();
468                         public unowned WebKit.DOM.Element get_element_by_id (string elementId);
469                         [Version (deprecated = true, deprecated_since = "2.12")]
470                         public WebKit.DOM.NodeList get_elements_by_class_name (string class_name);
471                         [Version (since = "2.12")]
472                         public WebKit.DOM.HTMLCollection get_elements_by_class_name_as_html_collection (string classNames);
473                         public WebKit.DOM.NodeList get_elements_by_name (string elementName);
474                         [Version (deprecated = true, deprecated_since = "2.12")]
475                         public WebKit.DOM.NodeList get_elements_by_tag_name (string tag_name);
476                         [Version (since = "2.12")]
477                         public WebKit.DOM.HTMLCollection get_elements_by_tag_name_as_html_collection (string tagname);
478                         [Version (deprecated = true, deprecated_since = "2.12")]
479                         public WebKit.DOM.NodeList get_elements_by_tag_name_ns (string namespace_uri, string tag_name);
480                         [Version (since = "2.12")]
481                         public WebKit.DOM.HTMLCollection get_elements_by_tag_name_ns_as_html_collection (string namespaceURI, string localName);
482                         [Version (since = "2.14")]
483                         public WebKit.DOM.HTMLCollection get_embeds ();
484                         [Version (since = "2.16")]
485                         public unowned WebKit.DOM.Element get_first_element_child ();
486                         public WebKit.DOM.HTMLCollection get_forms ();
487                         public unowned WebKit.DOM.HTMLHeadElement get_head ();
488                         [Version (since = "2.16")]
489                         public bool get_hidden ();
490                         public WebKit.DOM.HTMLCollection get_images ();
491                         public WebKit.DOM.DOMImplementation get_implementation ();
492                         public string get_input_encoding ();
493                         [Version (since = "2.16")]
494                         public unowned WebKit.DOM.Element get_last_element_child ();
495                         public string get_last_modified ();
496                         public WebKit.DOM.HTMLCollection get_links ();
497                         [Version (since = "2.16")]
498                         public string get_origin ();
499                         public WebKit.DOM.CSSStyleDeclaration get_override_style (WebKit.DOM.Element element, string? pseudoElement);
500                         [Version (since = "2.14")]
501                         public WebKit.DOM.HTMLCollection get_plugins ();
502                         [Version (since = "2.16")]
503                         public unowned WebKit.DOM.Element get_pointer_lock_element ();
504                         public string get_preferred_stylesheet_set ();
505                         public string get_ready_state ();
506                         public string get_referrer ();
507                         [Version (since = "2.14")]
508                         public WebKit.DOM.HTMLCollection get_scripts ();
509                         [Version (since = "2.16")]
510                         public unowned WebKit.DOM.Element get_scrolling_element ();
511                         public string get_selected_stylesheet_set ();
512                         public unowned WebKit.DOM.StyleSheetList get_style_sheets ();
513                         public string get_title ();
514                         public string get_url ();
515                         [Version (since = "2.16")]
516                         public string get_visibility_state ();
517                         [Version (since = "2.16")]
518                         public unowned WebKit.DOM.Element get_webkit_current_fullscreen_element ();
519                         [Version (since = "2.16")]
520                         public unowned WebKit.DOM.Element get_webkit_fullscreen_element ();
521                         [Version (since = "2.16")]
522                         public bool get_webkit_fullscreen_enabled ();
523                         [Version (since = "2.16")]
524                         public bool get_webkit_fullscreen_keyboard_input_allowed ();
525                         [Version (since = "2.16")]
526                         public bool get_webkit_is_fullscreen ();
527                         public string get_xml_encoding ();
528                         public bool get_xml_standalone ();
529                         public string get_xml_version ();
530                         public bool has_focus ();
531                         public unowned WebKit.DOM.Node import_node (WebKit.DOM.Node importedNode, bool deep) throws GLib.Error;
532                         public bool query_command_enabled (string command);
533                         public bool query_command_indeterm (string command);
534                         public bool query_command_state (string command);
535                         public bool query_command_supported (string command);
536                         public string query_command_value (string command);
537                         public unowned WebKit.DOM.Element query_selector (string selectors) throws GLib.Error;
538                         public WebKit.DOM.NodeList query_selector_all (string selectors) throws GLib.Error;
539                         public void set_body (WebKit.DOM.HTMLElement value) throws GLib.Error;
540                         public void set_charset (string value);
541                         public void set_cookie (string value) throws GLib.Error;
542                         [Version (since = "2.14")]
543                         public void set_design_mode (string value);
544                         [Version (since = "2.16")]
545                         public void set_dir (string value);
546                         public void set_document_uri (string value);
547                         public void set_selected_stylesheet_set (string value);
548                         public void set_title (string value);
549                         public void set_xml_standalone (bool value) throws GLib.Error;
550                         public void set_xml_version (string value) throws GLib.Error;
551                         [Version (since = "2.16")]
552                         public void webkit_cancel_fullscreen ();
553                         [Version (since = "2.16")]
554                         public void webkit_exit_fullscreen ();
555                         public WebKit.DOM.Element active_element { get; }
556                         public WebKit.DOM.HTMLCollection anchors { owned get; }
557                         public WebKit.DOM.HTMLCollection applets { owned get; }
558                         public WebKit.DOM.HTMLElement body { get; }
559                         public string character_set { owned get; }
560                         public string charset { owned get; set; }
561                         public ulong child_element_count { get; }
562                         public WebKit.DOM.HTMLCollection children { owned get; }
563                         public string compat_mode { owned get; }
564                         public string content_type { owned get; }
565                         public string cookie { owned get; set; }
566                         public WebKit.DOM.HTMLScriptElement current_script { get; }
567                         public WebKit.DOM.DOMWindow default_view { owned get; }
568                         public string design_mode { owned get; set; }
569                         public string dir { owned get; set; }
570                         public WebKit.DOM.DocumentType doctype { get; }
571                         public WebKit.DOM.Element document_element { get; }
572                         public string document_uri { owned get; set; }
573                         public string domain { owned get; }
574                         public WebKit.DOM.HTMLCollection embeds { owned get; }
575                         public WebKit.DOM.Element first_element_child { get; }
576                         public WebKit.DOM.HTMLCollection forms { owned get; }
577                         public WebKit.DOM.HTMLHeadElement head { get; }
578                         public bool hidden { get; }
579                         public WebKit.DOM.HTMLCollection images { owned get; }
580                         public WebKit.DOM.DOMImplementation implementation { owned get; }
581                         public string input_encoding { owned get; }
582                         public WebKit.DOM.Element last_element_child { get; }
583                         public string last_modified { owned get; }
584                         public WebKit.DOM.HTMLCollection links { owned get; }
585                         public string origin { owned get; }
586                         public WebKit.DOM.HTMLCollection plugins { owned get; }
587                         public WebKit.DOM.Element pointer_lock_element { get; }
588                         public string preferred_stylesheet_set { owned get; }
589                         public string ready_state { owned get; }
590                         public string referrer { owned get; }
591                         public WebKit.DOM.HTMLCollection scripts { owned get; }
592                         public WebKit.DOM.Element scrolling_element { get; }
593                         public string selected_stylesheet_set { owned get; set; }
594                         public WebKit.DOM.StyleSheetList style_sheets { get; }
595                         public string title { owned get; set; }
596                         public string url { owned get; }
597                         public string visibility_state { owned get; }
598                         [NoAccessorMethod]
599                         public WebKit.DOM.Element webkit_current_full_screen_element { owned get; }
600                         [NoAccessorMethod]
601                         public bool webkit_full_screen_keyboard_input_allowed { get; }
602                         public WebKit.DOM.Element webkit_fullscreen_element { get; }
603                         public bool webkit_fullscreen_enabled { get; }
604                         [NoAccessorMethod]
605                         public bool webkit_is_full_screen { get; }
606                         public string xml_encoding { owned get; }
607                         public bool xml_standalone { get; set; }
608                         public string xml_version { owned get; set; }
609                 }
610                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_document_fragment_get_type ()")]
611                 [GIR (name = "DOMDocumentFragment")]
612                 public class DocumentFragment : WebKit.DOM.Node, WebKit.DOM.EventTarget {
613                         [CCode (has_construct_function = false)]
614                         protected DocumentFragment ();
615                         [Version (since = "2.16")]
616                         public ulong get_child_element_count ();
617                         [Version (since = "2.16")]
618                         public WebKit.DOM.HTMLCollection get_children ();
619                         [Version (since = "2.16")]
620                         public unowned WebKit.DOM.Element get_element_by_id (string elementId);
621                         [Version (since = "2.16")]
622                         public unowned WebKit.DOM.Element get_first_element_child ();
623                         [Version (since = "2.16")]
624                         public unowned WebKit.DOM.Element get_last_element_child ();
625                         [Version (since = "2.16")]
626                         public unowned WebKit.DOM.Element query_selector (string selectors) throws GLib.Error;
627                         [Version (since = "2.16")]
628                         public WebKit.DOM.NodeList query_selector_all (string selectors) throws GLib.Error;
629                         public ulong child_element_count { get; }
630                         public WebKit.DOM.HTMLCollection children { owned get; }
631                         public WebKit.DOM.Element first_element_child { get; }
632                         public WebKit.DOM.Element last_element_child { get; }
633                 }
634                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_document_type_get_type ()")]
635                 [GIR (name = "DOMDocumentType")]
636                 public class DocumentType : WebKit.DOM.Node, WebKit.DOM.EventTarget {
637                         [CCode (has_construct_function = false)]
638                         protected DocumentType ();
639                         public WebKit.DOM.NamedNodeMap get_entities ();
640                         public string get_internal_subset ();
641                         public string get_name ();
642                         public WebKit.DOM.NamedNodeMap get_notations ();
643                         public string get_public_id ();
644                         public string get_system_id ();
645                         public WebKit.DOM.NamedNodeMap entities { owned get; }
646                         public string internal_subset { owned get; }
647                         public string name { owned get; }
648                         public WebKit.DOM.NamedNodeMap notations { owned get; }
649                         public string public_id { owned get; }
650                         public string system_id { owned get; }
651                 }
652                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_element_get_type ()")]
653                 [GIR (name = "DOMElement")]
654                 public class Element : WebKit.DOM.Node, WebKit.DOM.EventTarget {
655                         [CCode (has_construct_function = false)]
656                         protected Element ();
657                         public void blur ();
658                         [Version (since = "2.16")]
659                         public unowned WebKit.DOM.Element closest (string selectors) throws GLib.Error;
660                         public void focus ();
661                         public string get_attribute (string name);
662                         public unowned WebKit.DOM.Attr get_attribute_node (string name);
663                         public unowned WebKit.DOM.Attr get_attribute_node_ns (string namespaceURI, string localName);
664                         public string get_attribute_ns (string namespaceURI, string localName);
665                         public WebKit.DOM.NamedNodeMap get_attributes ();
666                         [Version (since = "2.18")]
667                         public WebKit.DOM.ClientRect get_bounding_client_rect ();
668                         public ulong get_child_element_count ();
669                         [Version (since = "2.10")]
670                         public WebKit.DOM.HTMLCollection get_children ();
671                         [Version (since = "2.16")]
672                         public WebKit.DOM.DOMTokenList get_class_list ();
673                         public string get_class_name ();
674                         public double get_client_height ();
675                         public double get_client_left ();
676                         [Version (since = "2.18")]
677                         public WebKit.DOM.ClientRectList get_client_rects ();
678                         public double get_client_top ();
679                         public double get_client_width ();
680                         [Version (deprecated = true, deprecated_since = "2.12")]
681                         public WebKit.DOM.NodeList get_elements_by_class_name (string class_name);
682                         [Version (since = "2.12")]
683                         public WebKit.DOM.HTMLCollection get_elements_by_class_name_as_html_collection (string name);
684                         [Version (deprecated = true, deprecated_since = "2.12")]
685                         public WebKit.DOM.NodeList get_elements_by_tag_name (string tag_name);
686                         [Version (since = "2.12")]
687                         public WebKit.DOM.HTMLCollection get_elements_by_tag_name_as_html_collection (string name);
688                         [Version (deprecated = true, deprecated_since = "2.12")]
689                         public WebKit.DOM.NodeList get_elements_by_tag_name_ns (string namespace_uri, string tag_name);
690                         [Version (since = "2.12")]
691                         public WebKit.DOM.HTMLCollection get_elements_by_tag_name_ns_as_html_collection (string namespaceURI, string localName);
692                         public unowned WebKit.DOM.Element get_first_element_child ();
693                         public string get_id ();
694                         [Version (since = "2.8")]
695                         public string get_inner_html ();
696                         public unowned WebKit.DOM.Element get_last_element_child ();
697                         [Version (since = "2.14")]
698                         public string get_local_name ();
699                         [Version (since = "2.14")]
700                         public string get_namespace_uri ();
701                         public unowned WebKit.DOM.Element get_next_element_sibling ();
702                         public double get_offset_height ();
703                         public double get_offset_left ();
704                         public unowned WebKit.DOM.Element get_offset_parent ();
705                         public double get_offset_top ();
706                         public double get_offset_width ();
707                         [Version (since = "2.8")]
708                         public string get_outer_html ();
709                         [Version (since = "2.14")]
710                         public string get_prefix ();
711                         public unowned WebKit.DOM.Element get_previous_element_sibling ();
712                         public long get_scroll_height ();
713                         public long get_scroll_left ();
714                         public long get_scroll_top ();
715                         public long get_scroll_width ();
716                         public WebKit.DOM.CSSStyleDeclaration get_style ();
717                         public string get_tag_name ();
718                         [Version (since = "2.16")]
719                         public string get_webkit_region_overset ();
720                         public bool has_attribute (string name);
721                         public bool has_attribute_ns (string namespaceURI, string localName);
722                         public bool has_attributes ();
723                         [Version (since = "2.16")]
724                         public unowned WebKit.DOM.Element insert_adjacent_element (string where, WebKit.DOM.Element element) throws GLib.Error;
725                         [Version (since = "2.16")]
726                         public void insert_adjacent_html (string where, string html) throws GLib.Error;
727                         [Version (since = "2.16")]
728                         public void insert_adjacent_text (string where, string text) throws GLib.Error;
729                         [Version (since = "2.16")]
730                         public bool matches (string selectors) throws GLib.Error;
731                         public unowned WebKit.DOM.Element query_selector (string selectors) throws GLib.Error;
732                         public WebKit.DOM.NodeList query_selector_all (string selectors) throws GLib.Error;
733                         [Version (since = "2.16")]
734                         public void remove () throws GLib.Error;
735                         public void remove_attribute (string name);
736                         public unowned WebKit.DOM.Attr remove_attribute_node (WebKit.DOM.Attr oldAttr) throws GLib.Error;
737                         public void remove_attribute_ns (string namespaceURI, string localName);
738                         [Version (since = "2.16")]
739                         public void request_pointer_lock ();
740                         public void scroll_by_lines (long lines);
741                         public void scroll_by_pages (long pages);
742                         public void scroll_into_view (bool alignWithTop);
743                         public void scroll_into_view_if_needed (bool centerIfNeeded);
744                         public void set_attribute (string name, string value) throws GLib.Error;
745                         public unowned WebKit.DOM.Attr set_attribute_node (WebKit.DOM.Attr newAttr) throws GLib.Error;
746                         public unowned WebKit.DOM.Attr set_attribute_node_ns (WebKit.DOM.Attr newAttr) throws GLib.Error;
747                         public void set_attribute_ns (string? namespaceURI, string qualifiedName, string value) throws GLib.Error;
748                         public void set_class_name (string value);
749                         public void set_id (string value);
750                         [Version (since = "2.8")]
751                         public void set_inner_html (string value) throws GLib.Error;
752                         [Version (since = "2.8")]
753                         public void set_outer_html (string value) throws GLib.Error;
754                         public void set_scroll_left (long value);
755                         public void set_scroll_top (long value);
756                         [Version (since = "2.16")]
757                         public bool webkit_matches_selector (string selectors) throws GLib.Error;
758                         [Version (since = "2.16")]
759                         public void webkit_request_fullscreen ();
760                         public WebKit.DOM.NamedNodeMap attributes { owned get; }
761                         public ulong child_element_count { get; }
762                         public WebKit.DOM.HTMLCollection children { owned get; }
763                         public WebKit.DOM.DOMTokenList class_list { owned get; }
764                         public string class_name { owned get; set; }
765                         public double client_height { get; }
766                         public double client_left { get; }
767                         public double client_top { get; }
768                         public double client_width { get; }
769                         public WebKit.DOM.Element first_element_child { get; }
770                         public string id { owned get; set; }
771                         public string inner_html { owned get; set; }
772                         public WebKit.DOM.Element last_element_child { get; }
773                         public string local_name { owned get; }
774                         public string namespace_uri { owned get; }
775                         public WebKit.DOM.Element next_element_sibling { get; }
776                         public double offset_height { get; }
777                         public double offset_left { get; }
778                         public WebKit.DOM.Element offset_parent { get; }
779                         public double offset_top { get; }
780                         public double offset_width { get; }
781                         public string outer_html { owned get; set; }
782                         public string prefix { owned get; }
783                         public WebKit.DOM.Element previous_element_sibling { get; }
784                         public long scroll_height { get; }
785                         public long scroll_left { get; set; }
786                         public long scroll_top { get; set; }
787                         public long scroll_width { get; }
788                         public WebKit.DOM.CSSStyleDeclaration style { owned get; }
789                         public string tag_name { owned get; }
790                         public string webkit_region_overset { owned get; }
791                 }
792                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_entity_reference_get_type ()")]
793                 [GIR (name = "DOMEntityReference")]
794                 public class EntityReference : WebKit.DOM.Node, WebKit.DOM.EventTarget {
795                         [CCode (has_construct_function = false)]
796                         protected EntityReference ();
797                 }
798                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_event_get_type ()")]
799                 [GIR (name = "DOMEvent")]
800                 public class Event : WebKit.DOM.Object {
801                         [CCode (has_construct_function = false)]
802                         protected Event ();
803                         public bool get_bubbles ();
804                         public bool get_cancel_bubble ();
805                         public bool get_cancelable ();
806                         public WebKit.DOM.EventTarget get_current_target ();
807                         public ushort get_event_phase ();
808                         public string get_event_type ();
809                         public bool get_return_value ();
810                         public WebKit.DOM.EventTarget get_src_element ();
811                         public WebKit.DOM.EventTarget get_target ();
812                         public uint32 get_time_stamp ();
813                         public void init_event (string eventTypeArg, bool canBubbleArg, bool cancelableArg);
814                         public void prevent_default ();
815                         public void set_cancel_bubble (bool value);
816                         public void set_return_value (bool value);
817                         public void stop_propagation ();
818                         public bool bubbles { get; }
819                         public bool cancel_bubble { get; set; }
820                         public bool cancelable { get; }
821                         public WebKit.DOM.EventTarget current_target { owned get; }
822                         public uint event_phase { get; }
823                         public bool return_value { get; set; }
824                         public WebKit.DOM.EventTarget src_element { owned get; }
825                         public WebKit.DOM.EventTarget target { owned get; }
826                         public uint time_stamp { get; }
827                         [NoAccessorMethod]
828                         public string type { owned get; }
829                 }
830                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_file_get_type ()")]
831                 [GIR (name = "DOMFile")]
832                 public class File : WebKit.DOM.Blob {
833                         [CCode (has_construct_function = false)]
834                         protected File ();
835                         public string get_name ();
836                         public string name { owned get; }
837                 }
838                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_file_list_get_type ()")]
839                 [GIR (name = "DOMFileList")]
840                 public class FileList : WebKit.DOM.Object {
841                         [CCode (has_construct_function = false)]
842                         protected FileList ();
843                         public ulong get_length ();
844                         public WebKit.DOM.File item (ulong index);
845                         public ulong length { get; }
846                 }
847                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_anchor_element_get_type ()")]
848                 [GIR (name = "DOMHTMLAnchorElement")]
849                 public class HTMLAnchorElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
850                         [CCode (has_construct_function = false)]
851                         protected HTMLAnchorElement ();
852                         public string get_charset ();
853                         public string get_coords ();
854                         public string get_hash ();
855                         public string get_host ();
856                         public string get_hostname ();
857                         public string get_href ();
858                         public string get_hreflang ();
859                         public string get_name ();
860                         public string get_pathname ();
861                         public string get_port ();
862                         public string get_protocol ();
863                         public string get_rel ();
864                         public string get_rev ();
865                         public string get_search ();
866                         public string get_shape ();
867                         public string get_target ();
868                         public string get_text ();
869                         public string get_type_attr ();
870                         public void set_charset (string value);
871                         public void set_coords (string value);
872                         public void set_hash (string value);
873                         public void set_host (string value);
874                         public void set_hostname (string value);
875                         public void set_href (string value);
876                         public void set_hreflang (string value);
877                         public void set_name (string value);
878                         public void set_pathname (string value);
879                         public void set_port (string value);
880                         public void set_protocol (string value);
881                         public void set_rel (string value);
882                         public void set_rev (string value);
883                         public void set_search (string value);
884                         public void set_shape (string value);
885                         public void set_target (string value);
886                         [Version (since = "2.16")]
887                         public void set_text (string value);
888                         public void set_type_attr (string value);
889                         public string charset { owned get; set; }
890                         public string coords { owned get; set; }
891                         public string hash { owned get; set; }
892                         public string host { owned get; set; }
893                         public string hostname { owned get; set; }
894                         public string href { owned get; set; }
895                         public string hreflang { owned get; set; }
896                         public string name { owned get; set; }
897                         public string pathname { owned get; set; }
898                         public string port { owned get; set; }
899                         public string protocol { owned get; set; }
900                         public string rel { owned get; set; }
901                         public string rev { owned get; set; }
902                         public string search { owned get; set; }
903                         public string shape { owned get; set; }
904                         public string target { owned get; set; }
905                         public string text { owned get; set; }
906                         [NoAccessorMethod]
907                         public string type { owned get; set; }
908                 }
909                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_applet_element_get_type ()")]
910                 [GIR (name = "DOMHTMLAppletElement")]
911                 public class HTMLAppletElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
912                         [CCode (has_construct_function = false)]
913                         protected HTMLAppletElement ();
914                         public string get_align ();
915                         public string get_alt ();
916                         public string get_archive ();
917                         public string get_code ();
918                         public string get_code_base ();
919                         public string get_height ();
920                         public long get_hspace ();
921                         public string get_name ();
922                         public string get_object ();
923                         public long get_vspace ();
924                         public string get_width ();
925                         public void set_align (string value);
926                         public void set_alt (string value);
927                         public void set_archive (string value);
928                         public void set_code (string value);
929                         public void set_code_base (string value);
930                         public void set_height (string value);
931                         public void set_hspace (long value);
932                         public void set_name (string value);
933                         public void set_object (string value);
934                         public void set_vspace (long value);
935                         public void set_width (string value);
936                         public string align { owned get; set; }
937                         public string alt { owned get; set; }
938                         public string archive { owned get; set; }
939                         public string code { owned get; set; }
940                         public string code_base { owned get; set; }
941                         public string height { owned get; set; }
942                         public long hspace { get; set; }
943                         public string name { owned get; set; }
944                         public string object { owned get; set; }
945                         public long vspace { get; set; }
946                         public string width { owned get; set; }
947                 }
948                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_area_element_get_type ()")]
949                 [GIR (name = "DOMHTMLAreaElement")]
950                 public class HTMLAreaElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
951                         [CCode (has_construct_function = false)]
952                         protected HTMLAreaElement ();
953                         public string get_alt ();
954                         public string get_coords ();
955                         public string get_hash ();
956                         public string get_host ();
957                         public string get_hostname ();
958                         public string get_href ();
959                         public bool get_no_href ();
960                         public string get_pathname ();
961                         public string get_port ();
962                         public string get_protocol ();
963                         public string get_search ();
964                         public string get_shape ();
965                         public string get_target ();
966                         public void set_alt (string value);
967                         public void set_coords (string value);
968                         public void set_hash (string value);
969                         [Version (since = "2.16")]
970                         public void set_host (string value);
971                         [Version (since = "2.16")]
972                         public void set_hostname (string value);
973                         public void set_href (string value);
974                         public void set_no_href (bool value);
975                         [Version (since = "2.16")]
976                         public void set_pathname (string value);
977                         [Version (since = "2.16")]
978                         public void set_port (string value);
979                         [Version (since = "2.16")]
980                         public void set_protocol (string value);
981                         [Version (since = "2.16")]
982                         public void set_search (string value);
983                         public void set_shape (string value);
984                         public void set_target (string value);
985                         public string alt { owned get; set; }
986                         public string coords { owned get; set; }
987                         public string hash { owned get; set; }
988                         public string host { owned get; set; }
989                         public string hostname { owned get; set; }
990                         public string href { owned get; set; }
991                         public bool no_href { get; set; }
992                         public string pathname { owned get; set; }
993                         public string port { owned get; set; }
994                         public string protocol { owned get; set; }
995                         public string search { owned get; set; }
996                         public string shape { owned get; set; }
997                         public string target { owned get; set; }
998                 }
999                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", lower_case_cprefix = "webkit_dom_html_br_element_", type_id = "webkit_dom_html_br_element_get_type ()")]
1000                 [GIR (name = "DOMHTMLBRElement")]
1001                 public class HTMLBRElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1002                         [CCode (has_construct_function = false)]
1003                         protected HTMLBRElement ();
1004                         public string get_clear ();
1005                         public void set_clear (string value);
1006                         public string clear { owned get; set; }
1007                 }
1008                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_base_element_get_type ()")]
1009                 [GIR (name = "DOMHTMLBaseElement")]
1010                 public class HTMLBaseElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1011                         [CCode (has_construct_function = false)]
1012                         protected HTMLBaseElement ();
1013                         public string get_href ();
1014                         public string get_target ();
1015                         public void set_href (string value);
1016                         public void set_target (string value);
1017                         public string href { owned get; set; }
1018                         public string target { owned get; set; }
1019                 }
1020                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_base_font_element_get_type ()")]
1021                 [GIR (name = "DOMHTMLBaseFontElement")]
1022                 public class HTMLBaseFontElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1023                         [CCode (has_construct_function = false)]
1024                         protected HTMLBaseFontElement ();
1025                         [Version (deprecated = true, deprecated_since = "2.12")]
1026                         public string get_color ();
1027                         [Version (deprecated = true, deprecated_since = "2.12")]
1028                         public string get_face ();
1029                         [Version (deprecated = true, deprecated_since = "2.12")]
1030                         public long get_size ();
1031                         [Version (deprecated = true, deprecated_since = "2.12")]
1032                         public void set_color (string value);
1033                         [Version (deprecated = true, deprecated_since = "2.12")]
1034                         public void set_face (string value);
1035                         [Version (deprecated = true, deprecated_since = "2.12")]
1036                         public void set_size (long value);
1037                 }
1038                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_body_element_get_type ()")]
1039                 [GIR (name = "DOMHTMLBodyElement")]
1040                 public class HTMLBodyElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1041                         [CCode (has_construct_function = false)]
1042                         protected HTMLBodyElement ();
1043                         public string get_a_link ();
1044                         public string get_background ();
1045                         public string get_bg_color ();
1046                         public string get_link ();
1047                         public string get_text ();
1048                         public string get_v_link ();
1049                         public void set_a_link (string value);
1050                         public void set_background (string value);
1051                         public void set_bg_color (string value);
1052                         public void set_link (string value);
1053                         public void set_text (string value);
1054                         public void set_v_link (string value);
1055                         public string a_link { owned get; set; }
1056                         public string background { owned get; set; }
1057                         public string bg_color { owned get; set; }
1058                         public string link { owned get; set; }
1059                         public string text { owned get; set; }
1060                         public string v_link { owned get; set; }
1061                 }
1062                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_button_element_get_type ()")]
1063                 [GIR (name = "DOMHTMLButtonElement")]
1064                 public class HTMLButtonElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1065                         [CCode (has_construct_function = false)]
1066                         protected HTMLButtonElement ();
1067                         public bool get_autofocus ();
1068                         public string get_button_type ();
1069                         public bool get_disabled ();
1070                         public unowned WebKit.DOM.HTMLFormElement get_form ();
1071                         public string get_name ();
1072                         public string get_value ();
1073                         public bool get_will_validate ();
1074                         public void set_autofocus (bool value);
1075                         public void set_button_type (string value);
1076                         public void set_disabled (bool value);
1077                         public void set_name (string value);
1078                         public void set_value (string value);
1079                         public bool autofocus { get; set; }
1080                         public bool disabled { get; set; }
1081                         public WebKit.DOM.HTMLFormElement form { get; }
1082                         public string name { owned get; set; }
1083                         [NoAccessorMethod]
1084                         public string type { owned get; set; }
1085                         public string value { owned get; set; }
1086                         public bool will_validate { get; }
1087                 }
1088                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_canvas_element_get_type ()")]
1089                 [GIR (name = "DOMHTMLCanvasElement")]
1090                 public class HTMLCanvasElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1091                         [CCode (has_construct_function = false)]
1092                         protected HTMLCanvasElement ();
1093                         public long get_height ();
1094                         public long get_width ();
1095                         public void set_height (long value);
1096                         public void set_width (long value);
1097                         public long height { get; set; }
1098                         public long width { get; set; }
1099                 }
1100                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_collection_get_type ()")]
1101                 [GIR (name = "DOMHTMLCollection")]
1102                 public class HTMLCollection : WebKit.DOM.Object {
1103                         [CCode (has_construct_function = false)]
1104                         protected HTMLCollection ();
1105                         public ulong get_length ();
1106                         public unowned WebKit.DOM.Node item (ulong index);
1107                         public unowned WebKit.DOM.Node named_item (string name);
1108                         public ulong length { get; }
1109                 }
1110                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", lower_case_cprefix = "webkit_dom_html_d_list_element_", type_id = "webkit_dom_html_d_list_element_get_type ()")]
1111                 [GIR (name = "DOMHTMLDListElement")]
1112                 public class HTMLDListElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1113                         [CCode (has_construct_function = false)]
1114                         protected HTMLDListElement ();
1115                         public bool get_compact ();
1116                         public void set_compact (bool value);
1117                         public bool compact { get; set; }
1118                 }
1119                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_directory_element_get_type ()")]
1120                 [GIR (name = "DOMHTMLDirectoryElement")]
1121                 public class HTMLDirectoryElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1122                         [CCode (has_construct_function = false)]
1123                         protected HTMLDirectoryElement ();
1124                         public bool get_compact ();
1125                         public void set_compact (bool value);
1126                         public bool compact { get; set; }
1127                 }
1128                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_div_element_get_type ()")]
1129                 [GIR (name = "DOMHTMLDivElement")]
1130                 public class HTMLDivElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1131                         [CCode (has_construct_function = false)]
1132                         protected HTMLDivElement ();
1133                         public string get_align ();
1134                         public void set_align (string value);
1135                         public string align { owned get; set; }
1136                 }
1137                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_document_get_type ()")]
1138                 [GIR (name = "DOMHTMLDocument")]
1139                 public class HTMLDocument : WebKit.DOM.Document, WebKit.DOM.EventTarget {
1140                         [CCode (has_construct_function = false)]
1141                         protected HTMLDocument ();
1142                         public void capture_events ();
1143                         public void clear ();
1144                         public void close ();
1145                         public string get_alink_color ();
1146                         public string get_bg_color ();
1147                         [Version (deprecated = true, deprecated_since = "2.14")]
1148                         public string get_compat_mode ();
1149                         [Version (deprecated = true, deprecated_since = "2.14")]
1150                         public string get_design_mode ();
1151                         public string get_dir ();
1152                         [Version (deprecated = true, deprecated_since = "2.14")]
1153                         public WebKit.DOM.HTMLCollection get_embeds ();
1154                         public string get_fg_color ();
1155                         public long get_height ();
1156                         public string get_link_color ();
1157                         [Version (deprecated = true, deprecated_since = "2.14")]
1158                         public WebKit.DOM.HTMLCollection get_plugins ();
1159                         [Version (deprecated = true, deprecated_since = "2.14")]
1160                         public WebKit.DOM.HTMLCollection get_scripts ();
1161                         public string get_vlink_color ();
1162                         public long get_width ();
1163                         public void release_events ();
1164                         public void set_alink_color (string value);
1165                         public void set_bg_color (string value);
1166                         [Version (deprecated = true, deprecated_since = "2.14")]
1167                         public void set_design_mode (string value);
1168                         public void set_dir (string value);
1169                         public void set_fg_color (string value);
1170                         public void set_link_color (string value);
1171                         public void set_vlink_color (string value);
1172                         public string alink_color { owned get; set; }
1173                         public string bg_color { owned get; set; }
1174                         public string dir { owned get; set; }
1175                         public string fg_color { owned get; set; }
1176                         public long height { get; }
1177                         public string link_color { owned get; set; }
1178                         public string vlink_color { owned get; set; }
1179                         public long width { get; }
1180                 }
1181                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_element_get_type ()")]
1182                 [GIR (name = "DOMHTMLElement")]
1183                 public class HTMLElement : WebKit.DOM.Element, WebKit.DOM.EventTarget {
1184                         [CCode (has_construct_function = false)]
1185                         protected HTMLElement ();
1186                         public void click ();
1187                         public string get_access_key ();
1188                         [Version (deprecated = true, deprecated_since = "2.10")]
1189                         public WebKit.DOM.HTMLCollection get_children ();
1190                         public string get_content_editable ();
1191                         public string get_dir ();
1192                         [Version (since = "2.16")]
1193                         public bool get_draggable ();
1194                         [Version (since = "2.16")]
1195                         public bool get_hidden ();
1196                         [Version (deprecated = true, deprecated_since = "2.8")]
1197                         public string get_inner_html ();
1198                         public string get_inner_text ();
1199                         public bool get_is_content_editable ();
1200                         public string get_lang ();
1201                         [Version (deprecated = true, deprecated_since = "2.8")]
1202                         public string get_outer_html ();
1203                         public string get_outer_text ();
1204                         [Version (since = "2.16")]
1205                         public bool get_spellcheck ();
1206                         public long get_tab_index ();
1207                         public string get_title ();
1208                         [Version (since = "2.16")]
1209                         public bool get_translate ();
1210                         [Version (since = "2.16")]
1211                         public string get_webkitdropzone ();
1212                         public void set_access_key (string value);
1213                         public void set_content_editable (string value) throws GLib.Error;
1214                         public void set_dir (string value);
1215                         [Version (since = "2.16")]
1216                         public void set_draggable (bool value);
1217                         [Version (since = "2.16")]
1218                         public void set_hidden (bool value);
1219                         [Version (deprecated = true, deprecated_since = "2.8")]
1220                         public void set_inner_html (string contents) throws GLib.Error;
1221                         public void set_inner_text (string value) throws GLib.Error;
1222                         public void set_lang (string value);
1223                         [Version (deprecated = true, deprecated_since = "2.8")]
1224                         public void set_outer_html (string contents) throws GLib.Error;
1225                         public void set_outer_text (string value) throws GLib.Error;
1226                         [Version (since = "2.16")]
1227                         public void set_spellcheck (bool value);
1228                         public void set_tab_index (long value);
1229                         public void set_title (string value);
1230                         [Version (since = "2.16")]
1231                         public void set_translate (bool value);
1232                         [Version (since = "2.16")]
1233                         public void set_webkitdropzone (string value);
1234                         public string access_key { owned get; set; }
1235                         public string content_editable { owned get; set; }
1236                         public string dir { owned get; set; }
1237                         public bool draggable { get; set; }
1238                         public bool hidden { get; set; }
1239                         public string inner_text { owned get; set; }
1240                         public bool is_content_editable { get; }
1241                         public string lang { owned get; set; }
1242                         public string outer_text { owned get; set; }
1243                         public bool spellcheck { get; set; }
1244                         public long tab_index { get; set; }
1245                         public string title { owned get; set; }
1246                         public bool translate { get; set; }
1247                         public string webkitdropzone { owned get; set; }
1248                 }
1249                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_embed_element_get_type ()")]
1250                 [GIR (name = "DOMHTMLEmbedElement")]
1251                 public class HTMLEmbedElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1252                         [CCode (has_construct_function = false)]
1253                         protected HTMLEmbedElement ();
1254                         public string get_align ();
1255                         public long get_height ();
1256                         public string get_name ();
1257                         public string get_src ();
1258                         public string get_type_attr ();
1259                         public long get_width ();
1260                         public void set_align (string value);
1261                         public void set_height (long value);
1262                         public void set_name (string value);
1263                         public void set_src (string value);
1264                         public void set_type_attr (string value);
1265                         public void set_width (long value);
1266                         public string align { owned get; set; }
1267                         public long height { get; set; }
1268                         public string name { owned get; set; }
1269                         public string src { owned get; set; }
1270                         [NoAccessorMethod]
1271                         public string type { owned get; set; }
1272                         public long width { get; set; }
1273                 }
1274                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_field_set_element_get_type ()")]
1275                 [GIR (name = "DOMHTMLFieldSetElement")]
1276                 public class HTMLFieldSetElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1277                         [CCode (has_construct_function = false)]
1278                         protected HTMLFieldSetElement ();
1279                         public unowned WebKit.DOM.HTMLFormElement get_form ();
1280                         public WebKit.DOM.HTMLFormElement form { get; }
1281                 }
1282                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_font_element_get_type ()")]
1283                 [GIR (name = "DOMHTMLFontElement")]
1284                 public class HTMLFontElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1285                         [CCode (has_construct_function = false)]
1286                         protected HTMLFontElement ();
1287                         public string get_color ();
1288                         public string get_face ();
1289                         public string get_size ();
1290                         public void set_color (string value);
1291                         public void set_face (string value);
1292                         public void set_size (string value);
1293                         public string color { owned get; set; }
1294                         public string face { owned get; set; }
1295                         public string size { owned get; set; }
1296                 }
1297                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_form_element_get_type ()")]
1298                 [GIR (name = "DOMHTMLFormElement")]
1299                 public class HTMLFormElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1300                         [CCode (has_construct_function = false)]
1301                         protected HTMLFormElement ();
1302                         public string get_accept_charset ();
1303                         public string get_action ();
1304                         public WebKit.DOM.HTMLCollection get_elements ();
1305                         public string get_encoding ();
1306                         public string get_enctype ();
1307                         public long get_length ();
1308                         public string get_method ();
1309                         public string get_name ();
1310                         public string get_target ();
1311                         public void reset ();
1312                         public void set_accept_charset (string value);
1313                         public void set_action (string value);
1314                         public void set_encoding (string value);
1315                         public void set_enctype (string value);
1316                         public void set_method (string value);
1317                         public void set_name (string value);
1318                         public void set_target (string value);
1319                         public void submit ();
1320                         public string accept_charset { owned get; set; }
1321                         public string action { owned get; set; }
1322                         public WebKit.DOM.HTMLCollection elements { owned get; }
1323                         public string encoding { owned get; set; }
1324                         public string enctype { owned get; set; }
1325                         public long length { get; }
1326                         public string method { owned get; set; }
1327                         public string name { owned get; set; }
1328                         public string target { owned get; set; }
1329                 }
1330                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_frame_element_get_type ()")]
1331                 [GIR (name = "DOMHTMLFrameElement")]
1332                 public class HTMLFrameElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1333                         [CCode (has_construct_function = false)]
1334                         protected HTMLFrameElement ();
1335                         public unowned WebKit.DOM.Document get_content_document ();
1336                         public WebKit.DOM.DOMWindow get_content_window ();
1337                         public string get_frame_border ();
1338                         public long get_height ();
1339                         public string get_long_desc ();
1340                         public string get_margin_height ();
1341                         public string get_margin_width ();
1342                         public string get_name ();
1343                         public bool get_no_resize ();
1344                         public string get_scrolling ();
1345                         public string get_src ();
1346                         public long get_width ();
1347                         public void set_frame_border (string value);
1348                         public void set_long_desc (string value);
1349                         public void set_margin_height (string value);
1350                         public void set_margin_width (string value);
1351                         public void set_name (string value);
1352                         public void set_no_resize (bool value);
1353                         public void set_scrolling (string value);
1354                         public void set_src (string value);
1355                         public WebKit.DOM.Document content_document { get; }
1356                         public WebKit.DOM.DOMWindow content_window { owned get; }
1357                         public string frame_border { owned get; set; }
1358                         public long height { get; }
1359                         public string long_desc { owned get; set; }
1360                         public string margin_height { owned get; set; }
1361                         public string margin_width { owned get; set; }
1362                         public string name { owned get; set; }
1363                         public bool no_resize { get; set; }
1364                         public string scrolling { owned get; set; }
1365                         public string src { owned get; set; }
1366                         public long width { get; }
1367                 }
1368                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_frame_set_element_get_type ()")]
1369                 [GIR (name = "DOMHTMLFrameSetElement")]
1370                 public class HTMLFrameSetElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1371                         [CCode (has_construct_function = false)]
1372                         protected HTMLFrameSetElement ();
1373                         public string get_cols ();
1374                         public string get_rows ();
1375                         public void set_cols (string value);
1376                         public void set_rows (string value);
1377                         public string cols { owned get; set; }
1378                         public string rows { owned get; set; }
1379                 }
1380                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", lower_case_cprefix = "webkit_dom_html_hr_element_", type_id = "webkit_dom_html_hr_element_get_type ()")]
1381                 [GIR (name = "DOMHTMLHRElement")]
1382                 public class HTMLHRElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1383                         [CCode (has_construct_function = false)]
1384                         protected HTMLHRElement ();
1385                         public string get_align ();
1386                         public bool get_no_shade ();
1387                         public string get_size ();
1388                         public string get_width ();
1389                         public void set_align (string value);
1390                         public void set_no_shade (bool value);
1391                         public void set_size (string value);
1392                         public void set_width (string value);
1393                         public string align { owned get; set; }
1394                         public bool no_shade { get; set; }
1395                         public string size { owned get; set; }
1396                         public string width { owned get; set; }
1397                 }
1398                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_head_element_get_type ()")]
1399                 [GIR (name = "DOMHTMLHeadElement")]
1400                 public class HTMLHeadElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1401                         [CCode (has_construct_function = false)]
1402                         protected HTMLHeadElement ();
1403                         public string get_profile ();
1404                         public void set_profile (string value);
1405                         public string profile { owned get; set; }
1406                 }
1407                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_heading_element_get_type ()")]
1408                 [GIR (name = "DOMHTMLHeadingElement")]
1409                 public class HTMLHeadingElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1410                         [CCode (has_construct_function = false)]
1411                         protected HTMLHeadingElement ();
1412                         public string get_align ();
1413                         public void set_align (string value);
1414                         public string align { owned get; set; }
1415                 }
1416                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_html_element_get_type ()")]
1417                 [GIR (name = "DOMHTMLHtmlElement")]
1418                 public class HTMLHtmlElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1419                         [CCode (has_construct_function = false)]
1420                         protected HTMLHtmlElement ();
1421                         public string get_version ();
1422                         public void set_version (string value);
1423                         public string version { owned get; set; }
1424                 }
1425                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", lower_case_cprefix = "webkit_dom_html_iframe_element_", type_id = "webkit_dom_html_iframe_element_get_type ()")]
1426                 [GIR (name = "DOMHTMLIFrameElement")]
1427                 public class HTMLIFrameElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1428                         [CCode (has_construct_function = false)]
1429                         protected HTMLIFrameElement ();
1430                         public string get_align ();
1431                         public unowned WebKit.DOM.Document get_content_document ();
1432                         public WebKit.DOM.DOMWindow get_content_window ();
1433                         public string get_frame_border ();
1434                         public string get_height ();
1435                         public string get_long_desc ();
1436                         public string get_margin_height ();
1437                         public string get_margin_width ();
1438                         public string get_name ();
1439                         public string get_scrolling ();
1440                         public string get_src ();
1441                         public string get_width ();
1442                         public void set_align (string value);
1443                         public void set_frame_border (string value);
1444                         public void set_height (string value);
1445                         public void set_long_desc (string value);
1446                         public void set_margin_height (string value);
1447                         public void set_margin_width (string value);
1448                         public void set_name (string value);
1449                         public void set_scrolling (string value);
1450                         public void set_src (string value);
1451                         public void set_width (string value);
1452                         public string align { owned get; set; }
1453                         public WebKit.DOM.Document content_document { get; }
1454                         public WebKit.DOM.DOMWindow content_window { owned get; }
1455                         public string frame_border { owned get; set; }
1456                         public string height { owned get; set; }
1457                         public string long_desc { owned get; set; }
1458                         public string margin_height { owned get; set; }
1459                         public string margin_width { owned get; set; }
1460                         public string name { owned get; set; }
1461                         public string scrolling { owned get; set; }
1462                         public string src { owned get; set; }
1463                         public string width { owned get; set; }
1464                 }
1465                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_image_element_get_type ()")]
1466                 [GIR (name = "DOMHTMLImageElement")]
1467                 public class HTMLImageElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1468                         [CCode (has_construct_function = false)]
1469                         protected HTMLImageElement ();
1470                         public string get_align ();
1471                         public string get_alt ();
1472                         public string get_border ();
1473                         public bool get_complete ();
1474                         public long get_height ();
1475                         public long get_hspace ();
1476                         public bool get_is_map ();
1477                         public string get_long_desc ();
1478                         public string get_lowsrc ();
1479                         public string get_name ();
1480                         public long get_natural_height ();
1481                         public long get_natural_width ();
1482                         public string get_src ();
1483                         public string get_use_map ();
1484                         public long get_vspace ();
1485                         public long get_width ();
1486                         public long get_x ();
1487                         public long get_y ();
1488                         public void set_align (string value);
1489                         public void set_alt (string value);
1490                         public void set_border (string value);
1491                         public void set_height (long value);
1492                         public void set_hspace (long value);
1493                         public void set_is_map (bool value);
1494                         public void set_long_desc (string value);
1495                         public void set_lowsrc (string value);
1496                         public void set_name (string value);
1497                         public void set_src (string value);
1498                         public void set_use_map (string value);
1499                         public void set_vspace (long value);
1500                         public void set_width (long value);
1501                         public string align { owned get; set; }
1502                         public string alt { owned get; set; }
1503                         public string border { owned get; set; }
1504                         public bool complete { get; }
1505                         public long height { get; set; }
1506                         public long hspace { get; set; }
1507                         public bool is_map { get; set; }
1508                         public string long_desc { owned get; set; }
1509                         public string lowsrc { owned get; set; }
1510                         public string name { owned get; set; }
1511                         public long natural_height { get; }
1512                         public long natural_width { get; }
1513                         public string src { owned get; set; }
1514                         public string use_map { owned get; set; }
1515                         public long vspace { get; set; }
1516                         public long width { get; set; }
1517                         public long x { get; }
1518                         public long y { get; }
1519                 }
1520                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_input_element_get_type ()")]
1521                 [GIR (name = "DOMHTMLInputElement")]
1522                 public class HTMLInputElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1523                         [CCode (has_construct_function = false)]
1524                         protected HTMLInputElement ();
1525                         public string get_accept ();
1526                         public string get_align ();
1527                         public string get_alt ();
1528                         [Version (since = "2.16")]
1529                         public bool get_auto_filled ();
1530                         public bool get_autofocus ();
1531                         [Version (deprecated = true, deprecated_since = "2.14")]
1532                         public bool get_capture ();
1533                         [Version (since = "2.14")]
1534                         public string get_capture_type ();
1535                         public bool get_checked ();
1536                         public bool get_default_checked ();
1537                         public string get_default_value ();
1538                         public bool get_disabled ();
1539                         public WebKit.DOM.FileList get_files ();
1540                         public unowned WebKit.DOM.HTMLFormElement get_form ();
1541                         public ulong get_height ();
1542                         public bool get_indeterminate ();
1543                         public string get_input_type ();
1544                         public long get_max_length ();
1545                         public bool get_multiple ();
1546                         public string get_name ();
1547                         [Version (since = "2.16")]
1548                         public bool get_read_only ();
1549                         public ulong get_size ();
1550                         public string get_src ();
1551                         public string get_use_map ();
1552                         public string get_value ();
1553                         public ulong get_width ();
1554                         public bool get_will_validate ();
1555                         public bool is_edited ();
1556                         public void select ();
1557                         public void set_accept (string value);
1558                         public void set_align (string value);
1559                         public void set_alt (string value);
1560                         [Version (since = "2.16")]
1561                         public void set_auto_filled (bool value);
1562                         public void set_autofocus (bool value);
1563                         [Version (since = "2.16")]
1564                         public void set_capture_type (string value);
1565                         public void set_checked (bool value);
1566                         [Version (since = "2.16")]
1567                         public void set_default_checked (bool value);
1568                         public void set_default_value (string value);
1569                         public void set_disabled (bool value);
1570                         [Version (since = "2.16")]
1571                         public void set_editing_value (string value);
1572                         public void set_files (WebKit.DOM.FileList value);
1573                         public void set_height (ulong value);
1574                         public void set_indeterminate (bool value);
1575                         public void set_input_type (string value);
1576                         public void set_max_length (long value) throws GLib.Error;
1577                         public void set_multiple (bool value);
1578                         public void set_name (string value);
1579                         public void set_read_only (bool value);
1580                         public void set_size (ulong value) throws GLib.Error;
1581                         public void set_src (string value);
1582                         public void set_use_map (string value);
1583                         public void set_value (string value);
1584                         public void set_width (ulong value);
1585                         public string accept { owned get; set; }
1586                         public string align { owned get; set; }
1587                         public string alt { owned get; set; }
1588                         public bool autofocus { get; set; }
1589                         [NoAccessorMethod]
1590                         public string capture { owned get; set; }
1591                         public bool checked { get; set; }
1592                         public bool default_checked { get; set; }
1593                         public string default_value { owned get; set; }
1594                         public bool disabled { get; set; }
1595                         public WebKit.DOM.FileList files { owned get; }
1596                         public WebKit.DOM.HTMLFormElement form { get; }
1597                         public ulong height { get; set; }
1598                         public bool indeterminate { get; set; }
1599                         public long max_length { get; set; }
1600                         public bool multiple { get; set; }
1601                         public string name { owned get; set; }
1602                         public bool read_only { get; set; }
1603                         public ulong size { get; set; }
1604                         public string src { owned get; set; }
1605                         [NoAccessorMethod]
1606                         public string type { owned get; set; }
1607                         public string use_map { owned get; set; }
1608                         public string value { owned get; set; }
1609                         public ulong width { get; set; }
1610                         public bool will_validate { get; }
1611                 }
1612                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", lower_case_cprefix = "webkit_dom_html_li_element_", type_id = "webkit_dom_html_li_element_get_type ()")]
1613                 [GIR (name = "DOMHTMLLIElement")]
1614                 public class HTMLLIElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1615                         [CCode (has_construct_function = false)]
1616                         protected HTMLLIElement ();
1617                         public string get_type_attr ();
1618                         public long get_value ();
1619                         public void set_type_attr (string value);
1620                         public void set_value (long value);
1621                         [NoAccessorMethod]
1622                         public string type { owned get; set; }
1623                         public long value { get; set; }
1624                 }
1625                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_label_element_get_type ()")]
1626                 [GIR (name = "DOMHTMLLabelElement")]
1627                 public class HTMLLabelElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1628                         [CCode (has_construct_function = false)]
1629                         protected HTMLLabelElement ();
1630                         public unowned WebKit.DOM.HTMLFormElement get_form ();
1631                         public string get_html_for ();
1632                         public void set_html_for (string value);
1633                         public WebKit.DOM.HTMLFormElement form { get; }
1634                         public string html_for { owned get; set; }
1635                 }
1636                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_legend_element_get_type ()")]
1637                 [GIR (name = "DOMHTMLLegendElement")]
1638                 public class HTMLLegendElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1639                         [CCode (has_construct_function = false)]
1640                         protected HTMLLegendElement ();
1641                         public string get_align ();
1642                         public unowned WebKit.DOM.HTMLFormElement get_form ();
1643                         public void set_align (string value);
1644                         public string align { owned get; set; }
1645                         public WebKit.DOM.HTMLFormElement form { get; }
1646                 }
1647                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_link_element_get_type ()")]
1648                 [GIR (name = "DOMHTMLLinkElement")]
1649                 public class HTMLLinkElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1650                         [CCode (has_construct_function = false)]
1651                         protected HTMLLinkElement ();
1652                         public string get_charset ();
1653                         public bool get_disabled ();
1654                         public string get_href ();
1655                         public string get_hreflang ();
1656                         public string get_media ();
1657                         public string get_rel ();
1658                         public string get_rev ();
1659                         public WebKit.DOM.StyleSheet get_sheet ();
1660                         [Version (since = "2.16")]
1661                         public WebKit.DOM.DOMTokenList get_sizes ();
1662                         public string get_target ();
1663                         public string get_type_attr ();
1664                         public void set_charset (string value);
1665                         public void set_disabled (bool value);
1666                         public void set_href (string value);
1667                         public void set_hreflang (string value);
1668                         public void set_media (string value);
1669                         public void set_rel (string value);
1670                         public void set_rev (string value);
1671                         [Version (since = "2.16")]
1672                         public void set_sizes (string value);
1673                         public void set_target (string value);
1674                         public void set_type_attr (string value);
1675                         public string charset { owned get; set; }
1676                         public bool disabled { get; set; }
1677                         public string href { owned get; set; }
1678                         public string hreflang { owned get; set; }
1679                         public string media { owned get; set; }
1680                         public string rel { owned get; set; }
1681                         public string rev { owned get; set; }
1682                         public WebKit.DOM.StyleSheet sheet { owned get; }
1683                         public WebKit.DOM.DOMTokenList sizes { owned get; }
1684                         public string target { owned get; set; }
1685                         [NoAccessorMethod]
1686                         public string type { owned get; set; }
1687                 }
1688                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_map_element_get_type ()")]
1689                 [GIR (name = "DOMHTMLMapElement")]
1690                 public class HTMLMapElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1691                         [CCode (has_construct_function = false)]
1692                         protected HTMLMapElement ();
1693                         public WebKit.DOM.HTMLCollection get_areas ();
1694                         public string get_name ();
1695                         public void set_name (string value);
1696                         public WebKit.DOM.HTMLCollection areas { owned get; }
1697                         public string name { owned get; set; }
1698                 }
1699                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_marquee_element_get_type ()")]
1700                 [GIR (name = "DOMHTMLMarqueeElement")]
1701                 public class HTMLMarqueeElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1702                         [CCode (has_construct_function = false)]
1703                         protected HTMLMarqueeElement ();
1704                         public void start ();
1705                         public void stop ();
1706                 }
1707                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_menu_element_get_type ()")]
1708                 [GIR (name = "DOMHTMLMenuElement")]
1709                 public class HTMLMenuElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1710                         [CCode (has_construct_function = false)]
1711                         protected HTMLMenuElement ();
1712                         public bool get_compact ();
1713                         public void set_compact (bool value);
1714                         public bool compact { get; set; }
1715                 }
1716                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_meta_element_get_type ()")]
1717                 [GIR (name = "DOMHTMLMetaElement")]
1718                 public class HTMLMetaElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1719                         [CCode (has_construct_function = false)]
1720                         protected HTMLMetaElement ();
1721                         public string get_content ();
1722                         public string get_http_equiv ();
1723                         public string get_name ();
1724                         public string get_scheme ();
1725                         public void set_content (string value);
1726                         public void set_http_equiv (string value);
1727                         public void set_name (string value);
1728                         public void set_scheme (string value);
1729                         public string content { owned get; set; }
1730                         public string http_equiv { owned get; set; }
1731                         public string name { owned get; set; }
1732                         public string scheme { owned get; set; }
1733                 }
1734                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_mod_element_get_type ()")]
1735                 [GIR (name = "DOMHTMLModElement")]
1736                 public class HTMLModElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1737                         [CCode (has_construct_function = false)]
1738                         protected HTMLModElement ();
1739                         public string get_cite ();
1740                         public string get_date_time ();
1741                         public void set_cite (string value);
1742                         public void set_date_time (string value);
1743                         public string cite { owned get; set; }
1744                         public string date_time { owned get; set; }
1745                 }
1746                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", lower_case_cprefix = "webkit_dom_html_o_list_element_", type_id = "webkit_dom_html_o_list_element_get_type ()")]
1747                 [GIR (name = "DOMHTMLOListElement")]
1748                 public class HTMLOListElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1749                         [CCode (has_construct_function = false)]
1750                         protected HTMLOListElement ();
1751                         public bool get_compact ();
1752                         public long get_start ();
1753                         public string get_type_attr ();
1754                         public void set_compact (bool value);
1755                         public void set_start (long value);
1756                         public void set_type_attr (string value);
1757                         public bool compact { get; set; }
1758                         public long start { get; set; }
1759                         [NoAccessorMethod]
1760                         public string type { owned get; set; }
1761                 }
1762                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_object_element_get_type ()")]
1763                 [GIR (name = "DOMHTMLObjectElement")]
1764                 public class HTMLObjectElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1765                         [CCode (has_construct_function = false)]
1766                         protected HTMLObjectElement ();
1767                         public string get_align ();
1768                         public string get_archive ();
1769                         public string get_border ();
1770                         public string get_code ();
1771                         public string get_code_base ();
1772                         public string get_code_type ();
1773                         public unowned WebKit.DOM.Document get_content_document ();
1774                         public string get_data ();
1775                         public bool get_declare ();
1776                         public unowned WebKit.DOM.HTMLFormElement get_form ();
1777                         public string get_height ();
1778                         public long get_hspace ();
1779                         public string get_name ();
1780                         public string get_standby ();
1781                         public string get_type_attr ();
1782                         public string get_use_map ();
1783                         public long get_vspace ();
1784                         public string get_width ();
1785                         public void set_align (string value);
1786                         public void set_archive (string value);
1787                         public void set_border (string value);
1788                         public void set_code (string value);
1789                         public void set_code_base (string value);
1790                         public void set_code_type (string value);
1791                         public void set_data (string value);
1792                         public void set_declare (bool value);
1793                         public void set_height (string value);
1794                         public void set_hspace (long value);
1795                         public void set_name (string value);
1796                         public void set_standby (string value);
1797                         public void set_type_attr (string value);
1798                         public void set_use_map (string value);
1799                         public void set_vspace (long value);
1800                         public void set_width (string value);
1801                         public string align { owned get; set; }
1802                         public string archive { owned get; set; }
1803                         public string border { owned get; set; }
1804                         public string code { owned get; set; }
1805                         public string code_base { owned get; set; }
1806                         public string code_type { owned get; set; }
1807                         public WebKit.DOM.Document content_document { get; }
1808                         public string data { owned get; set; }
1809                         public bool declare { get; set; }
1810                         public WebKit.DOM.HTMLFormElement form { get; }
1811                         public string height { owned get; set; }
1812                         public long hspace { get; set; }
1813                         public string name { owned get; set; }
1814                         public string standby { owned get; set; }
1815                         [NoAccessorMethod]
1816                         public string type { owned get; set; }
1817                         public string use_map { owned get; set; }
1818                         public long vspace { get; set; }
1819                         public string width { owned get; set; }
1820                 }
1821                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_opt_group_element_get_type ()")]
1822                 [GIR (name = "DOMHTMLOptGroupElement")]
1823                 public class HTMLOptGroupElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1824                         [CCode (has_construct_function = false)]
1825                         protected HTMLOptGroupElement ();
1826                         public bool get_disabled ();
1827                         public string get_label ();
1828                         public void set_disabled (bool value);
1829                         public void set_label (string value);
1830                         public bool disabled { get; set; }
1831                         public string label { owned get; set; }
1832                 }
1833                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_option_element_get_type ()")]
1834                 [GIR (name = "DOMHTMLOptionElement")]
1835                 public class HTMLOptionElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1836                         [CCode (has_construct_function = false)]
1837                         protected HTMLOptionElement ();
1838                         public bool get_default_selected ();
1839                         public bool get_disabled ();
1840                         public unowned WebKit.DOM.HTMLFormElement get_form ();
1841                         public long get_index ();
1842                         public string get_label ();
1843                         public bool get_selected ();
1844                         public string get_text ();
1845                         public string get_value ();
1846                         public void set_default_selected (bool value);
1847                         public void set_disabled (bool value);
1848                         public void set_label (string value);
1849                         public void set_selected (bool value);
1850                         public void set_value (string value);
1851                         public bool default_selected { get; set; }
1852                         public bool disabled { get; set; }
1853                         public WebKit.DOM.HTMLFormElement form { get; }
1854                         public long index { get; }
1855                         public string label { owned get; set; }
1856                         public bool selected { get; set; }
1857                         public string text { owned get; }
1858                         public string value { owned get; set; }
1859                 }
1860                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_options_collection_get_type ()")]
1861                 [GIR (name = "DOMHTMLOptionsCollection")]
1862                 public class HTMLOptionsCollection : WebKit.DOM.HTMLCollection {
1863                         [CCode (has_construct_function = false)]
1864                         protected HTMLOptionsCollection ();
1865                         public ulong get_length ();
1866                         public long get_selected_index ();
1867                         public unowned WebKit.DOM.Node named_item (string name);
1868                         public void set_selected_index (long value);
1869                         public ulong length { get; }
1870                         public long selected_index { get; set; }
1871                 }
1872                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_paragraph_element_get_type ()")]
1873                 [GIR (name = "DOMHTMLParagraphElement")]
1874                 public class HTMLParagraphElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1875                         [CCode (has_construct_function = false)]
1876                         protected HTMLParagraphElement ();
1877                         public string get_align ();
1878                         public void set_align (string value);
1879                         public string align { owned get; set; }
1880                 }
1881                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_param_element_get_type ()")]
1882                 [GIR (name = "DOMHTMLParamElement")]
1883                 public class HTMLParamElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1884                         [CCode (has_construct_function = false)]
1885                         protected HTMLParamElement ();
1886                         public string get_name ();
1887                         public string get_type_attr ();
1888                         public string get_value ();
1889                         public string get_value_type ();
1890                         public void set_name (string value);
1891                         public void set_type_attr (string value);
1892                         public void set_value (string value);
1893                         public void set_value_type (string value);
1894                         public string name { owned get; set; }
1895                         [NoAccessorMethod]
1896                         public string type { owned get; set; }
1897                         public string value { owned get; set; }
1898                         public string value_type { owned get; set; }
1899                 }
1900                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_pre_element_get_type ()")]
1901                 [GIR (name = "DOMHTMLPreElement")]
1902                 public class HTMLPreElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1903                         [CCode (has_construct_function = false)]
1904                         protected HTMLPreElement ();
1905                         public long get_width ();
1906                         public bool get_wrap ();
1907                         public void set_width (long value);
1908                         public void set_wrap (bool value);
1909                         public long width { get; set; }
1910                         public bool wrap { get; set; }
1911                 }
1912                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_quote_element_get_type ()")]
1913                 [GIR (name = "DOMHTMLQuoteElement")]
1914                 public class HTMLQuoteElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1915                         [CCode (has_construct_function = false)]
1916                         protected HTMLQuoteElement ();
1917                         public string get_cite ();
1918                         public void set_cite (string value);
1919                         public string cite { owned get; set; }
1920                 }
1921                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_script_element_get_type ()")]
1922                 [GIR (name = "DOMHTMLScriptElement")]
1923                 public class HTMLScriptElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1924                         [CCode (has_construct_function = false)]
1925                         protected HTMLScriptElement ();
1926                         public string get_charset ();
1927                         public bool get_defer ();
1928                         public string get_event ();
1929                         public string get_html_for ();
1930                         public string get_src ();
1931                         public string get_text ();
1932                         public string get_type_attr ();
1933                         [Version (since = "2.16")]
1934                         public void set_charset (string value);
1935                         public void set_defer (bool value);
1936                         public void set_event (string value);
1937                         public void set_html_for (string value);
1938                         public void set_src (string value);
1939                         public void set_text (string value);
1940                         public void set_type_attr (string value);
1941                         public string charset { owned get; set; }
1942                         public bool defer { get; set; }
1943                         public string event { owned get; set; }
1944                         public string html_for { owned get; set; }
1945                         public string src { owned get; set; }
1946                         public string text { owned get; set; }
1947                         [NoAccessorMethod]
1948                         public string type { owned get; set; }
1949                 }
1950                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_select_element_get_type ()")]
1951                 [GIR (name = "DOMHTMLSelectElement")]
1952                 public class HTMLSelectElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1953                         [CCode (has_construct_function = false)]
1954                         protected HTMLSelectElement ();
1955                         public void add (WebKit.DOM.HTMLElement element, WebKit.DOM.HTMLElement before) throws GLib.Error;
1956                         public bool get_autofocus ();
1957                         public bool get_disabled ();
1958                         public unowned WebKit.DOM.HTMLFormElement get_form ();
1959                         public ulong get_length ();
1960                         public bool get_multiple ();
1961                         public string get_name ();
1962                         public WebKit.DOM.HTMLOptionsCollection get_options ();
1963                         public string get_select_type ();
1964                         public long get_selected_index ();
1965                         public long get_size ();
1966                         public string get_value ();
1967                         public bool get_will_validate ();
1968                         public unowned WebKit.DOM.Node item (ulong index);
1969                         public unowned WebKit.DOM.Node named_item (string name);
1970                         public void remove (long index);
1971                         public void set_autofocus (bool value);
1972                         public void set_disabled (bool value);
1973                         public void set_length (ulong value) throws GLib.Error;
1974                         public void set_multiple (bool value);
1975                         public void set_name (string value);
1976                         public void set_selected_index (long value);
1977                         public void set_size (long value);
1978                         public void set_value (string value);
1979                         public bool autofocus { get; set; }
1980                         public bool disabled { get; set; }
1981                         public WebKit.DOM.HTMLFormElement form { get; }
1982                         public ulong length { get; set; }
1983                         public bool multiple { get; set; }
1984                         public string name { owned get; set; }
1985                         public WebKit.DOM.HTMLOptionsCollection options { owned get; }
1986                         public long selected_index { get; set; }
1987                         public long size { get; set; }
1988                         [NoAccessorMethod]
1989                         public string type { owned get; }
1990                         public string value { owned get; set; }
1991                         public bool will_validate { get; }
1992                 }
1993                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_style_element_get_type ()")]
1994                 [GIR (name = "DOMHTMLStyleElement")]
1995                 public class HTMLStyleElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
1996                         [CCode (has_construct_function = false)]
1997                         protected HTMLStyleElement ();
1998                         public bool get_disabled ();
1999                         public string get_media ();
2000                         public WebKit.DOM.StyleSheet get_sheet ();
2001                         public string get_type_attr ();
2002                         public void set_disabled (bool value);
2003                         public void set_media (string value);
2004                         public void set_type_attr (string value);
2005                         public bool disabled { get; set; }
2006                         public string media { owned get; set; }
2007                         public WebKit.DOM.StyleSheet sheet { owned get; }
2008                         [NoAccessorMethod]
2009                         public string type { owned get; set; }
2010                 }
2011                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_table_caption_element_get_type ()")]
2012                 [GIR (name = "DOMHTMLTableCaptionElement")]
2013                 public class HTMLTableCaptionElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
2014                         [CCode (has_construct_function = false)]
2015                         protected HTMLTableCaptionElement ();
2016                         public string get_align ();
2017                         public void set_align (string value);
2018                         public string align { owned get; set; }
2019                 }
2020                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_table_cell_element_get_type ()")]
2021                 [GIR (name = "DOMHTMLTableCellElement")]
2022                 public class HTMLTableCellElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
2023                         [CCode (has_construct_function = false)]
2024                         protected HTMLTableCellElement ();
2025                         public string get_abbr ();
2026                         public string get_align ();
2027                         public string get_axis ();
2028                         public string get_bg_color ();
2029                         public long get_cell_index ();
2030                         public string get_ch ();
2031                         public string get_ch_off ();
2032                         public long get_col_span ();
2033                         public string get_headers ();
2034                         public string get_height ();
2035                         public bool get_no_wrap ();
2036                         public long get_row_span ();
2037                         public string get_scope ();
2038                         public string get_v_align ();
2039                         public string get_width ();
2040                         public void set_abbr (string value);
2041                         public void set_align (string value);
2042                         public void set_axis (string value);
2043                         public void set_bg_color (string value);
2044                         public void set_ch (string value);
2045                         public void set_ch_off (string value);
2046                         public void set_col_span (long value);
2047                         public void set_headers (string value);
2048                         public void set_height (string value);
2049                         public void set_no_wrap (bool value);
2050                         public void set_row_span (long value);
2051                         public void set_scope (string value);
2052                         public void set_v_align (string value);
2053                         public void set_width (string value);
2054                         public string abbr { owned get; set; }
2055                         public string align { owned get; set; }
2056                         public string axis { owned get; set; }
2057                         public string bg_color { owned get; set; }
2058                         public long cell_index { get; }
2059                         public string ch { owned get; set; }
2060                         public string ch_off { owned get; set; }
2061                         public long col_span { get; set; }
2062                         public string headers { owned get; set; }
2063                         public string height { owned get; set; }
2064                         public bool no_wrap { get; set; }
2065                         public long row_span { get; set; }
2066                         public string scope { owned get; set; }
2067                         public string v_align { owned get; set; }
2068                         public string width { owned get; set; }
2069                 }
2070                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_table_col_element_get_type ()")]
2071                 [GIR (name = "DOMHTMLTableColElement")]
2072                 public class HTMLTableColElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
2073                         [CCode (has_construct_function = false)]
2074                         protected HTMLTableColElement ();
2075                         public string get_align ();
2076                         public string get_ch ();
2077                         public string get_ch_off ();
2078                         public long get_span ();
2079                         public string get_v_align ();
2080                         public string get_width ();
2081                         public void set_align (string value);
2082                         public void set_ch (string value);
2083                         public void set_ch_off (string value);
2084                         public void set_span (long value);
2085                         public void set_v_align (string value);
2086                         public void set_width (string value);
2087                         public string align { owned get; set; }
2088                         public string ch { owned get; set; }
2089                         public string ch_off { owned get; set; }
2090                         public long span { get; set; }
2091                         public string v_align { owned get; set; }
2092                         public string width { owned get; set; }
2093                 }
2094                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_table_element_get_type ()")]
2095                 [GIR (name = "DOMHTMLTableElement")]
2096                 public class HTMLTableElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
2097                         [CCode (has_construct_function = false)]
2098                         protected HTMLTableElement ();
2099                         public unowned WebKit.DOM.HTMLElement create_caption ();
2100                         public unowned WebKit.DOM.HTMLElement create_t_foot ();
2101                         public unowned WebKit.DOM.HTMLElement create_t_head ();
2102                         public void delete_caption ();
2103                         public void delete_row (long index) throws GLib.Error;
2104                         public void delete_t_foot ();
2105                         public void delete_t_head ();
2106                         public string get_align ();
2107                         public string get_bg_color ();
2108                         public string get_border ();
2109                         public unowned WebKit.DOM.HTMLTableCaptionElement get_caption ();
2110                         public string get_cell_padding ();
2111                         public string get_cell_spacing ();
2112                         public WebKit.DOM.HTMLCollection get_rows ();
2113                         public string get_rules ();
2114                         public string get_summary ();
2115                         public WebKit.DOM.HTMLCollection get_t_bodies ();
2116                         public unowned WebKit.DOM.HTMLTableSectionElement get_t_foot ();
2117                         public unowned WebKit.DOM.HTMLTableSectionElement get_t_head ();
2118                         public string get_width ();
2119                         public unowned WebKit.DOM.HTMLElement insert_row (long index) throws GLib.Error;
2120                         public void set_align (string value);
2121                         public void set_bg_color (string value);
2122                         public void set_border (string value);
2123                         public void set_caption (WebKit.DOM.HTMLTableCaptionElement value) throws GLib.Error;
2124                         public void set_cell_padding (string value);
2125                         public void set_cell_spacing (string value);
2126                         public void set_rules (string value);
2127                         public void set_summary (string value);
2128                         public void set_t_foot (WebKit.DOM.HTMLTableSectionElement value) throws GLib.Error;
2129                         public void set_t_head (WebKit.DOM.HTMLTableSectionElement value) throws GLib.Error;
2130                         public void set_width (string value);
2131                         public string align { owned get; set; }
2132                         public string bg_color { owned get; set; }
2133                         public string border { owned get; set; }
2134                         public WebKit.DOM.HTMLTableCaptionElement caption { get; }
2135                         public string cell_padding { owned get; set; }
2136                         public string cell_spacing { owned get; set; }
2137                         public WebKit.DOM.HTMLCollection rows { owned get; }
2138                         public string rules { owned get; set; }
2139                         public string summary { owned get; set; }
2140                         public WebKit.DOM.HTMLCollection t_bodies { owned get; }
2141                         public WebKit.DOM.HTMLTableSectionElement t_foot { get; }
2142                         public WebKit.DOM.HTMLTableSectionElement t_head { get; }
2143                         public string width { owned get; set; }
2144                 }
2145                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_table_row_element_get_type ()")]
2146                 [GIR (name = "DOMHTMLTableRowElement")]
2147                 public class HTMLTableRowElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
2148                         [CCode (has_construct_function = false)]
2149                         protected HTMLTableRowElement ();
2150                         public void delete_cell (long index) throws GLib.Error;
2151                         public string get_align ();
2152                         public string get_bg_color ();
2153                         public WebKit.DOM.HTMLCollection get_cells ();
2154                         public string get_ch ();
2155                         public string get_ch_off ();
2156                         public long get_row_index ();
2157                         public long get_section_row_index ();
2158                         public string get_v_align ();
2159                         public unowned WebKit.DOM.HTMLElement insert_cell (long index) throws GLib.Error;
2160                         public void set_align (string value);
2161                         public void set_bg_color (string value);
2162                         public void set_ch (string value);
2163                         public void set_ch_off (string value);
2164                         public void set_v_align (string value);
2165                         public string align { owned get; set; }
2166                         public string bg_color { owned get; set; }
2167                         public WebKit.DOM.HTMLCollection cells { owned get; }
2168                         public string ch { owned get; set; }
2169                         public string ch_off { owned get; set; }
2170                         public long row_index { get; }
2171                         public long section_row_index { get; }
2172                         public string v_align { owned get; set; }
2173                 }
2174                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_table_section_element_get_type ()")]
2175                 [GIR (name = "DOMHTMLTableSectionElement")]
2176                 public class HTMLTableSectionElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
2177                         [CCode (has_construct_function = false)]
2178                         protected HTMLTableSectionElement ();
2179                         public void delete_row (long index) throws GLib.Error;
2180                         public string get_align ();
2181                         public string get_ch ();
2182                         public string get_ch_off ();
2183                         public WebKit.DOM.HTMLCollection get_rows ();
2184                         public string get_v_align ();
2185                         public unowned WebKit.DOM.HTMLElement insert_row (long index) throws GLib.Error;
2186                         public void set_align (string value);
2187                         public void set_ch (string value);
2188                         public void set_ch_off (string value);
2189                         public void set_v_align (string value);
2190                         public string align { owned get; set; }
2191                         public string ch { owned get; set; }
2192                         public string ch_off { owned get; set; }
2193                         public WebKit.DOM.HTMLCollection rows { owned get; }
2194                         public string v_align { owned get; set; }
2195                 }
2196                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_text_area_element_get_type ()")]
2197                 [GIR (name = "DOMHTMLTextAreaElement")]
2198                 public class HTMLTextAreaElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
2199                         [CCode (has_construct_function = false)]
2200                         protected HTMLTextAreaElement ();
2201                         public string get_area_type ();
2202                         public bool get_autofocus ();
2203                         public long get_cols ();
2204                         public string get_default_value ();
2205                         public bool get_disabled ();
2206                         public unowned WebKit.DOM.HTMLFormElement get_form ();
2207                         public string get_name ();
2208                         public bool get_read_only ();
2209                         public long get_rows ();
2210                         public long get_selection_end ();
2211                         public long get_selection_start ();
2212                         public string get_value ();
2213                         public bool get_will_validate ();
2214                         public bool is_edited ();
2215                         public void select ();
2216                         public void set_autofocus (bool value);
2217                         public void set_cols (long value);
2218                         public void set_default_value (string value);
2219                         public void set_disabled (bool value);
2220                         public void set_name (string value);
2221                         public void set_read_only (bool value);
2222                         public void set_rows (long value);
2223                         public void set_selection_end (long value);
2224                         public void set_selection_range (long start, long end, string direction);
2225                         public void set_selection_start (long value);
2226                         public void set_value (string value);
2227                         public bool autofocus { get; set; }
2228                         public long cols { get; set; }
2229                         public string default_value { owned get; set; }
2230                         public bool disabled { get; set; }
2231                         public WebKit.DOM.HTMLFormElement form { get; }
2232                         public string name { owned get; set; }
2233                         public bool read_only { get; set; }
2234                         public long rows { get; set; }
2235                         public long selection_end { get; set; }
2236                         public long selection_start { get; set; }
2237                         [NoAccessorMethod]
2238                         public string type { owned get; }
2239                         public string value { owned get; set; }
2240                         public bool will_validate { get; }
2241                 }
2242                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_title_element_get_type ()")]
2243                 [GIR (name = "DOMHTMLTitleElement")]
2244                 public class HTMLTitleElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
2245                         [CCode (has_construct_function = false)]
2246                         protected HTMLTitleElement ();
2247                         public string get_text ();
2248                         public void set_text (string value);
2249                         public string text { owned get; set; }
2250                 }
2251                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", lower_case_cprefix = "webkit_dom_html_u_list_element_", type_id = "webkit_dom_html_u_list_element_get_type ()")]
2252                 [GIR (name = "DOMHTMLUListElement")]
2253                 public class HTMLUListElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
2254                         [CCode (has_construct_function = false)]
2255                         protected HTMLUListElement ();
2256                         public bool get_compact ();
2257                         public string get_type_attr ();
2258                         public void set_compact (bool value);
2259                         public void set_type_attr (string value);
2260                         public bool compact { get; set; }
2261                         [NoAccessorMethod]
2262                         public string type { owned get; set; }
2263                 }
2264                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_keyboard_event_get_type ()")]
2265                 [GIR (name = "DOMKeyboardEvent")]
2266                 public class KeyboardEvent : WebKit.DOM.UIEvent {
2267                         [CCode (has_construct_function = false)]
2268                         protected KeyboardEvent ();
2269                         public bool get_alt_graph_key ();
2270                         public bool get_alt_key ();
2271                         public bool get_ctrl_key ();
2272                         public string get_key_identifier ();
2273                         public ulong get_key_location ();
2274                         public bool get_meta_key ();
2275                         public bool get_modifier_state (string keyIdentifierArg);
2276                         public bool get_shift_key ();
2277                         public void init_keyboard_event (string type, bool canBubble, bool cancelable, WebKit.DOM.DOMWindow view, string keyIdentifier, ulong location, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey);
2278                         public bool alt_graph_key { get; }
2279                         public bool alt_key { get; }
2280                         public bool ctrl_key { get; }
2281                         public string key_identifier { owned get; }
2282                         public ulong key_location { get; }
2283                         public bool meta_key { get; }
2284                         public bool shift_key { get; }
2285                 }
2286                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_media_list_get_type ()")]
2287                 [GIR (name = "DOMMediaList")]
2288                 public class MediaList : WebKit.DOM.Object {
2289                         [CCode (has_construct_function = false)]
2290                         protected MediaList ();
2291                         public void append_medium (string newMedium) throws GLib.Error;
2292                         public void delete_medium (string oldMedium) throws GLib.Error;
2293                         public ulong get_length ();
2294                         public string get_media_text ();
2295                         public string item (ulong index);
2296                         public void set_media_text (string value) throws GLib.Error;
2297                         public ulong length { get; }
2298                         public string media_text { owned get; set; }
2299                 }
2300                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_mouse_event_get_type ()")]
2301                 [GIR (name = "DOMMouseEvent")]
2302                 public class MouseEvent : WebKit.DOM.UIEvent {
2303                         [CCode (has_construct_function = false)]
2304                         protected MouseEvent ();
2305                         public bool get_alt_key ();
2306                         public ushort get_button ();
2307                         public long get_client_x ();
2308                         public long get_client_y ();
2309                         public bool get_ctrl_key ();
2310                         public unowned WebKit.DOM.Node get_from_element ();
2311                         public bool get_meta_key ();
2312                         public long get_offset_x ();
2313                         public long get_offset_y ();
2314                         public WebKit.DOM.EventTarget get_related_target ();
2315                         public long get_screen_x ();
2316                         public long get_screen_y ();
2317                         public bool get_shift_key ();
2318                         public unowned WebKit.DOM.Node get_to_element ();
2319                         public long get_x ();
2320                         public long get_y ();
2321                         public void init_mouse_event (string type, bool canBubble, bool cancelable, WebKit.DOM.DOMWindow view, long detail, long screenX, long screenY, long clientX, long clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, ushort button, WebKit.DOM.EventTarget relatedTarget);
2322                         public bool alt_key { get; }
2323                         public uint button { get; }
2324                         public long client_x { get; }
2325                         public long client_y { get; }
2326                         public bool ctrl_key { get; }
2327                         public WebKit.DOM.Node from_element { get; }
2328                         public bool meta_key { get; }
2329                         public long offset_x { get; }
2330                         public long offset_y { get; }
2331                         public WebKit.DOM.EventTarget related_target { owned get; }
2332                         public long screen_x { get; }
2333                         public long screen_y { get; }
2334                         public bool shift_key { get; }
2335                         public WebKit.DOM.Node to_element { get; }
2336                         public long x { get; }
2337                         public long y { get; }
2338                 }
2339                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_named_node_map_get_type ()")]
2340                 [GIR (name = "DOMNamedNodeMap")]
2341                 public class NamedNodeMap : WebKit.DOM.Object {
2342                         [CCode (has_construct_function = false)]
2343                         protected NamedNodeMap ();
2344                         public ulong get_length ();
2345                         public unowned WebKit.DOM.Node get_named_item (string name);
2346                         public unowned WebKit.DOM.Node get_named_item_ns (string namespaceURI, string localName);
2347                         public unowned WebKit.DOM.Node item (ulong index);
2348                         public unowned WebKit.DOM.Node remove_named_item (string name) throws GLib.Error;
2349                         public unowned WebKit.DOM.Node remove_named_item_ns (string namespaceURI, string localName) throws GLib.Error;
2350                         public unowned WebKit.DOM.Node set_named_item (WebKit.DOM.Node node) throws GLib.Error;
2351                         public unowned WebKit.DOM.Node set_named_item_ns (WebKit.DOM.Node node) throws GLib.Error;
2352                         public ulong length { get; }
2353                 }
2354                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_node_get_type ()")]
2355                 [GIR (name = "DOMNode")]
2356                 public class Node : WebKit.DOM.Object, WebKit.DOM.EventTarget {
2357                         [CCode (has_construct_function = false)]
2358                         protected Node ();
2359                         public unowned WebKit.DOM.Node append_child (WebKit.DOM.Node newChild) throws GLib.Error;
2360                         [Version (deprecated = true, deprecated_since = "2.14")]
2361                         public unowned WebKit.DOM.Node clone_node (bool deep) throws GLib.Error;
2362                         [Version (since = "2.14")]
2363                         public unowned WebKit.DOM.Node clone_node_with_error (bool deep) throws GLib.Error;
2364                         public ushort compare_document_position (WebKit.DOM.Node other);
2365                         public bool contains (WebKit.DOM.Node other);
2366                         public string get_base_uri ();
2367                         public WebKit.DOM.NodeList get_child_nodes ();
2368                         public unowned WebKit.DOM.Node get_first_child ();
2369                         public unowned WebKit.DOM.Node get_last_child ();
2370                         [Version (deprecated = true, deprecated_since = "2.14")]
2371                         public string get_local_name ();
2372                         [Version (deprecated = true, deprecated_since = "2.14")]
2373                         public string get_namespace_uri ();
2374                         public unowned WebKit.DOM.Node get_next_sibling ();
2375                         public string get_node_name ();
2376                         public ushort get_node_type ();
2377                         public string get_node_value ();
2378                         public unowned WebKit.DOM.Document get_owner_document ();
2379                         public unowned WebKit.DOM.Element get_parent_element ();
2380                         public unowned WebKit.DOM.Node get_parent_node ();
2381                         [Version (deprecated = true, deprecated_since = "2.14")]
2382                         public string get_prefix ();
2383                         public unowned WebKit.DOM.Node get_previous_sibling ();
2384                         public string get_text_content ();
2385                         public bool has_child_nodes ();
2386                         public unowned WebKit.DOM.Node insert_before (WebKit.DOM.Node newChild, WebKit.DOM.Node? refChild) throws GLib.Error;
2387                         public bool is_default_namespace (string namespaceURI);
2388                         public bool is_equal_node (WebKit.DOM.Node other);
2389                         public bool is_same_node (WebKit.DOM.Node other);
2390                         public bool is_supported (string feature, string version);
2391                         public string lookup_namespace_uri (string prefix);
2392                         public string lookup_prefix (string namespaceURI);
2393                         public void normalize ();
2394                         public unowned WebKit.DOM.Node remove_child (WebKit.DOM.Node oldChild) throws GLib.Error;
2395                         public unowned WebKit.DOM.Node replace_child (WebKit.DOM.Node newChild, WebKit.DOM.Node oldChild) throws GLib.Error;
2396                         public void set_node_value (string value) throws GLib.Error;
2397                         [Version (deprecated = true, deprecated_since = "2.14")]
2398                         public void set_prefix (string value) throws GLib.Error;
2399                         public void set_text_content (string value) throws GLib.Error;
2400                         public string base_uri { owned get; }
2401                         public WebKit.DOM.NodeList child_nodes { owned get; }
2402                         public WebKit.DOM.Node first_child { get; }
2403                         public WebKit.DOM.Node last_child { get; }
2404                         public WebKit.DOM.Node next_sibling { get; }
2405                         public string node_name { owned get; }
2406                         public uint node_type { get; }
2407                         public string node_value { owned get; set; }
2408                         public WebKit.DOM.Document owner_document { get; }
2409                         public WebKit.DOM.Element parent_element { get; }
2410                         public WebKit.DOM.Node parent_node { get; }
2411                         public WebKit.DOM.Node previous_sibling { get; }
2412                         public string text_content { owned get; set; }
2413                 }
2414                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_node_iterator_get_type ()")]
2415                 [GIR (name = "DOMNodeIterator")]
2416                 public class NodeIterator : WebKit.DOM.Object {
2417                         [CCode (has_construct_function = false)]
2418                         protected NodeIterator ();
2419                         public void detach ();
2420                         [Version (deprecated = true, deprecated_since = "2.12")]
2421                         public bool get_expand_entity_references ();
2422                         public WebKit.DOM.NodeFilter get_filter ();
2423                         public bool get_pointer_before_reference_node ();
2424                         public unowned WebKit.DOM.Node get_reference_node ();
2425                         public unowned WebKit.DOM.Node get_root ();
2426                         public ulong get_what_to_show ();
2427                         public unowned WebKit.DOM.Node next_node () throws GLib.Error;
2428                         public unowned WebKit.DOM.Node previous_node () throws GLib.Error;
2429                         public WebKit.DOM.NodeFilter filter { owned get; }
2430                         public bool pointer_before_reference_node { get; }
2431                         public WebKit.DOM.Node reference_node { get; }
2432                         public WebKit.DOM.Node root { get; }
2433                         public ulong what_to_show { get; }
2434                 }
2435                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_node_list_get_type ()")]
2436                 [GIR (name = "DOMNodeList")]
2437                 public class NodeList : WebKit.DOM.Object {
2438                         [CCode (has_construct_function = false)]
2439                         protected NodeList ();
2440                         public ulong get_length ();
2441                         public unowned WebKit.DOM.Node item (ulong index);
2442                         public ulong length { get; }
2443                 }
2444                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_object_get_type ()")]
2445                 [GIR (name = "DOMObject")]
2446                 public class Object : GLib.Object {
2447                         public void* coreObject;
2448                         [CCode (has_construct_function = false)]
2449                         protected Object ();
2450                         public void* core_object { construct; }
2451                 }
2452                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_processing_instruction_get_type ()")]
2453                 [GIR (name = "DOMProcessingInstruction")]
2454                 public class ProcessingInstruction : WebKit.DOM.CharacterData, WebKit.DOM.EventTarget {
2455                         [CCode (has_construct_function = false)]
2456                         protected ProcessingInstruction ();
2457                         public WebKit.DOM.StyleSheet get_sheet ();
2458                         public string get_target ();
2459                         public WebKit.DOM.StyleSheet sheet { owned get; }
2460                         public string target { owned get; }
2461                 }
2462                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_range_get_type ()")]
2463                 [GIR (name = "DOMRange")]
2464                 public class Range : WebKit.DOM.Object {
2465                         [CCode (has_construct_function = false)]
2466                         protected Range ();
2467                         public unowned WebKit.DOM.DocumentFragment clone_contents () throws GLib.Error;
2468                         public WebKit.DOM.Range clone_range () throws GLib.Error;
2469                         public void collapse (bool toStart) throws GLib.Error;
2470                         public short compare_boundary_points (ushort how, WebKit.DOM.Range sourceRange) throws GLib.Error;
2471                         public short compare_node (WebKit.DOM.Node refNode) throws GLib.Error;
2472                         public short compare_point (WebKit.DOM.Node refNode, long offset) throws GLib.Error;
2473                         public unowned WebKit.DOM.DocumentFragment create_contextual_fragment (string html) throws GLib.Error;
2474                         public void delete_contents () throws GLib.Error;
2475                         public void detach () throws GLib.Error;
2476                         [Version (since = "2.16")]
2477                         public void expand (string unit) throws GLib.Error;
2478                         public unowned WebKit.DOM.DocumentFragment extract_contents () throws GLib.Error;
2479                         public bool get_collapsed () throws GLib.Error;
2480                         public unowned WebKit.DOM.Node get_common_ancestor_container () throws GLib.Error;
2481                         public unowned WebKit.DOM.Node get_end_container () throws GLib.Error;
2482                         public long get_end_offset () throws GLib.Error;
2483                         public unowned WebKit.DOM.Node get_start_container () throws GLib.Error;
2484                         public long get_start_offset () throws GLib.Error;
2485                         public string get_text ();
2486                         public void insert_node (WebKit.DOM.Node newNode) throws GLib.Error;
2487                         public bool intersects_node (WebKit.DOM.Node refNode) throws GLib.Error;
2488                         public bool is_point_in_range (WebKit.DOM.Node refNode, long offset) throws GLib.Error;
2489                         public void select_node (WebKit.DOM.Node refNode) throws GLib.Error;
2490                         public void select_node_contents (WebKit.DOM.Node refNode) throws GLib.Error;
2491                         public void set_end (WebKit.DOM.Node refNode, long offset) throws GLib.Error;
2492                         public void set_end_after (WebKit.DOM.Node refNode) throws GLib.Error;
2493                         public void set_end_before (WebKit.DOM.Node refNode) throws GLib.Error;
2494                         public void set_start (WebKit.DOM.Node refNode, long offset) throws GLib.Error;
2495                         public void set_start_after (WebKit.DOM.Node refNode) throws GLib.Error;
2496                         public void set_start_before (WebKit.DOM.Node refNode) throws GLib.Error;
2497                         public void surround_contents (WebKit.DOM.Node newParent) throws GLib.Error;
2498                         public string to_string () throws GLib.Error;
2499                         public bool collapsed { get; }
2500                         public WebKit.DOM.Node common_ancestor_container { get; }
2501                         public WebKit.DOM.Node end_container { get; }
2502                         public long end_offset { get; }
2503                         public WebKit.DOM.Node start_container { get; }
2504                         public long start_offset { get; }
2505                         public string text { owned get; }
2506                 }
2507                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_style_sheet_get_type ()")]
2508                 [GIR (name = "DOMStyleSheet")]
2509                 public class StyleSheet : WebKit.DOM.Object {
2510                         [CCode (has_construct_function = false)]
2511                         protected StyleSheet ();
2512                         public string get_content_type ();
2513                         public bool get_disabled ();
2514                         public string get_href ();
2515                         public WebKit.DOM.MediaList get_media ();
2516                         public unowned WebKit.DOM.Node get_owner_node ();
2517                         public WebKit.DOM.StyleSheet get_parent_style_sheet ();
2518                         public string get_title ();
2519                         public void set_disabled (bool value);
2520                         public bool disabled { get; set; }
2521                         public string href { owned get; }
2522                         public WebKit.DOM.MediaList media { owned get; }
2523                         public WebKit.DOM.Node owner_node { get; }
2524                         public WebKit.DOM.StyleSheet parent_style_sheet { owned get; }
2525                         public string title { owned get; }
2526                         [NoAccessorMethod]
2527                         public string type { owned get; }
2528                 }
2529                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_style_sheet_list_get_type ()")]
2530                 [GIR (name = "DOMStyleSheetList")]
2531                 public class StyleSheetList : WebKit.DOM.Object {
2532                         [CCode (has_construct_function = false)]
2533                         protected StyleSheetList ();
2534                         public ulong get_length ();
2535                         public WebKit.DOM.StyleSheet item (ulong index);
2536                         public ulong length { get; }
2537                 }
2538                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_text_get_type ()")]
2539                 [GIR (name = "DOMText")]
2540                 public class Text : WebKit.DOM.CharacterData, WebKit.DOM.EventTarget {
2541                         [CCode (has_construct_function = false)]
2542                         protected Text ();
2543                         public string get_whole_text ();
2544                         [Version (deprecated = true, deprecated_since = "2.14")]
2545                         public unowned WebKit.DOM.Text replace_whole_text (string content) throws GLib.Error;
2546                         public unowned WebKit.DOM.Text split_text (ulong offset) throws GLib.Error;
2547                         public string whole_text { owned get; }
2548                 }
2549                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_tree_walker_get_type ()")]
2550                 [GIR (name = "DOMTreeWalker")]
2551                 public class TreeWalker : WebKit.DOM.Object {
2552                         [CCode (has_construct_function = false)]
2553                         protected TreeWalker ();
2554                         public unowned WebKit.DOM.Node first_child ();
2555                         public unowned WebKit.DOM.Node get_current_node ();
2556                         [Version (deprecated = true, deprecated_since = "2.12")]
2557                         public bool get_expand_entity_references ();
2558                         public WebKit.DOM.NodeFilter get_filter ();
2559                         public unowned WebKit.DOM.Node get_root ();
2560                         public ulong get_what_to_show ();
2561                         public unowned WebKit.DOM.Node last_child ();
2562                         public unowned WebKit.DOM.Node next_node ();
2563                         public unowned WebKit.DOM.Node next_sibling ();
2564                         public unowned WebKit.DOM.Node parent_node ();
2565                         public unowned WebKit.DOM.Node previous_node ();
2566                         public unowned WebKit.DOM.Node previous_sibling ();
2567                         public void set_current_node (WebKit.DOM.Node value) throws GLib.Error;
2568                         public WebKit.DOM.Node current_node { get; }
2569                         public WebKit.DOM.NodeFilter filter { owned get; }
2570                         public WebKit.DOM.Node root { get; }
2571                         public ulong what_to_show { get; }
2572                 }
2573                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_ui_event_get_type ()")]
2574                 [GIR (name = "DOMUIEvent")]
2575                 public class UIEvent : WebKit.DOM.Event {
2576                         [CCode (has_construct_function = false)]
2577                         protected UIEvent ();
2578                         public long get_char_code ();
2579                         public long get_detail ();
2580                         public long get_key_code ();
2581                         public long get_layer_x ();
2582                         public long get_layer_y ();
2583                         public long get_page_x ();
2584                         public long get_page_y ();
2585                         public WebKit.DOM.DOMWindow get_view ();
2586                         public void init_ui_event (string type, bool canBubble, bool cancelable, WebKit.DOM.DOMWindow view, long detail);
2587                         public long char_code { get; }
2588                         public long detail { get; }
2589                         public long key_code { get; }
2590                         public long layer_x { get; }
2591                         public long layer_y { get; }
2592                         public long page_x { get; }
2593                         public long page_y { get; }
2594                         public WebKit.DOM.DOMWindow view { owned get; }
2595                 }
2596                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_wheel_event_get_type ()")]
2597                 [GIR (name = "DOMWheelEvent")]
2598                 public class WheelEvent : WebKit.DOM.MouseEvent {
2599                         [CCode (has_construct_function = false)]
2600                         protected WheelEvent ();
2601                         public long get_wheel_delta ();
2602                         public long get_wheel_delta_x ();
2603                         public long get_wheel_delta_y ();
2604                         public void init_wheel_event (long wheelDeltaX, long wheelDeltaY, WebKit.DOM.DOMWindow view, long screenX, long screenY, long clientX, long clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey);
2605                         public long wheel_delta { get; }
2606                         public long wheel_delta_x { get; }
2607                         public long wheel_delta_y { get; }
2608                 }
2609                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_xpath_expression_get_type ()")]
2610                 [GIR (name = "DOMXPathExpression")]
2611                 public class XPathExpression : WebKit.DOM.Object {
2612                         [CCode (has_construct_function = false)]
2613                         protected XPathExpression ();
2614                         public WebKit.DOM.XPathResult evaluate (WebKit.DOM.Node contextNode, ushort type, WebKit.DOM.XPathResult inResult) throws GLib.Error;
2615                 }
2616                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_xpath_result_get_type ()")]
2617                 [GIR (name = "DOMXPathResult")]
2618                 public class XPathResult : WebKit.DOM.Object {
2619                         [CCode (has_construct_function = false)]
2620                         protected XPathResult ();
2621                         public bool get_boolean_value () throws GLib.Error;
2622                         public bool get_invalid_iterator_state ();
2623                         public double get_number_value () throws GLib.Error;
2624                         public ushort get_result_type ();
2625                         public unowned WebKit.DOM.Node get_single_node_value () throws GLib.Error;
2626                         public ulong get_snapshot_length () throws GLib.Error;
2627                         public string get_string_value () throws GLib.Error;
2628                         public unowned WebKit.DOM.Node iterate_next () throws GLib.Error;
2629                         public unowned WebKit.DOM.Node snapshot_item (ulong index) throws GLib.Error;
2630                         public bool boolean_value { get; }
2631                         public bool invalid_iterator_state { get; }
2632                         public double number_value { get; }
2633                         public uint result_type { get; }
2634                         public WebKit.DOM.Node single_node_value { get; }
2635                         public ulong snapshot_length { get; }
2636                         public string string_value { owned get; }
2637                 }
2638                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_event_target_get_type ()")]
2639                 [GIR (name = "DOMEventTarget")]
2640                 public interface EventTarget : GLib.Object {
2641                         public bool add_event_listener_with_closure (string event_name, [CCode (type = "GClosure*")] owned WebKit.DOM.EventTargetFunc handler, bool use_capture);
2642                         public abstract bool dispatch_event (WebKit.DOM.Event event) throws GLib.Error;
2643                         public abstract bool remove_event_listener (string event_name, GLib.Closure handler, bool use_capture);
2644                         public bool remove_event_listener_with_closure (string event_name, GLib.Closure handler, bool use_capture);
2645                 }
2646                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_node_filter_get_type ()")]
2647                 [GIR (name = "DOMNodeFilter")]
2648                 public interface NodeFilter : GLib.Object {
2649                         public abstract short accept_node (WebKit.DOM.Node node);
2650                 }
2651                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_xpath_ns_resolver_get_type ()")]
2652                 [GIR (name = "DOMXPathNSResolver")]
2653                 public interface XPathNSResolver : GLib.Object {
2654                         public abstract string lookup_namespace_uri (string prefix);
2655                 }
2656                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h")]
2657                 public delegate void EventTargetFunc (WebKit.DOM.EventTarget target, WebKit.DOM.Event event);
2658                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_CSS_RULE_CHARSET_RULE")]
2659                 public const int _CSS_RULE_CHARSET_RULE;
2660                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_CSS_RULE_FONT_FACE_RULE")]
2661                 public const int _CSS_RULE_FONT_FACE_RULE;
2662                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_CSS_RULE_IMPORT_RULE")]
2663                 public const int _CSS_RULE_IMPORT_RULE;
2664                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_CSS_RULE_MEDIA_RULE")]
2665                 public const int _CSS_RULE_MEDIA_RULE;
2666                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_CSS_RULE_PAGE_RULE")]
2667                 public const int _CSS_RULE_PAGE_RULE;
2668                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_CSS_RULE_STYLE_RULE")]
2669                 public const int _CSS_RULE_STYLE_RULE;
2670                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_CSS_RULE_UNKNOWN_RULE")]
2671                 public const int _CSS_RULE_UNKNOWN_RULE;
2672                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_CSS_VALUE_CSS_CUSTOM")]
2673                 public const int _CSS_VALUE_CSS_CUSTOM;
2674                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_CSS_VALUE_CSS_INHERIT")]
2675                 public const int _CSS_VALUE_CSS_INHERIT;
2676                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_CSS_VALUE_CSS_PRIMITIVE_VALUE")]
2677                 public const int _CSS_VALUE_CSS_PRIMITIVE_VALUE;
2678                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_CSS_VALUE_CSS_VALUE_LIST")]
2679                 public const int _CSS_VALUE_CSS_VALUE_LIST;
2680                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_ELEMENT_ALLOW_KEYBOARD_INPUT")]
2681                 public const int _ELEMENT_ALLOW_KEYBOARD_INPUT;
2682                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_AT_TARGET")]
2683                 public const int _EVENT_AT_TARGET;
2684                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_BLUR")]
2685                 public const int _EVENT_BLUR;
2686                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_BUBBLING_PHASE")]
2687                 public const int _EVENT_BUBBLING_PHASE;
2688                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_CAPTURING_PHASE")]
2689                 public const int _EVENT_CAPTURING_PHASE;
2690                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_CHANGE")]
2691                 public const int _EVENT_CHANGE;
2692                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_CLICK")]
2693                 public const int _EVENT_CLICK;
2694                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_DBLCLICK")]
2695                 public const int _EVENT_DBLCLICK;
2696                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_DRAGDROP")]
2697                 public const int _EVENT_DRAGDROP;
2698                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_FOCUS")]
2699                 public const int _EVENT_FOCUS;
2700                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_KEYDOWN")]
2701                 public const int _EVENT_KEYDOWN;
2702                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_KEYPRESS")]
2703                 public const int _EVENT_KEYPRESS;
2704                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_KEYUP")]
2705                 public const int _EVENT_KEYUP;
2706                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_MOUSEDOWN")]
2707                 public const int _EVENT_MOUSEDOWN;
2708                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_MOUSEDRAG")]
2709                 public const int _EVENT_MOUSEDRAG;
2710                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_MOUSEMOVE")]
2711                 public const int _EVENT_MOUSEMOVE;
2712                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_MOUSEOUT")]
2713                 public const int _EVENT_MOUSEOUT;
2714                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_MOUSEOVER")]
2715                 public const int _EVENT_MOUSEOVER;
2716                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_MOUSEUP")]
2717                 public const int _EVENT_MOUSEUP;
2718                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_NONE")]
2719                 public const int _EVENT_NONE;
2720                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_SELECT")]
2721                 public const int _EVENT_SELECT;
2722                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_KEYBOARD_EVENT_KEY_LOCATION_LEFT")]
2723                 public const int _KEYBOARD_EVENT_KEY_LOCATION_LEFT;
2724                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_KEYBOARD_EVENT_KEY_LOCATION_NUMPAD")]
2725                 public const int _KEYBOARD_EVENT_KEY_LOCATION_NUMPAD;
2726                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_KEYBOARD_EVENT_KEY_LOCATION_RIGHT")]
2727                 public const int _KEYBOARD_EVENT_KEY_LOCATION_RIGHT;
2728                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_KEYBOARD_EVENT_KEY_LOCATION_STANDARD")]
2729                 public const int _KEYBOARD_EVENT_KEY_LOCATION_STANDARD;
2730                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_ATTRIBUTE_NODE")]
2731                 public const int _NODE_ATTRIBUTE_NODE;
2732                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_CDATA_SECTION_NODE")]
2733                 public const int _NODE_CDATA_SECTION_NODE;
2734                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_COMMENT_NODE")]
2735                 public const int _NODE_COMMENT_NODE;
2736                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_DOCUMENT_FRAGMENT_NODE")]
2737                 public const int _NODE_DOCUMENT_FRAGMENT_NODE;
2738                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_DOCUMENT_NODE")]
2739                 public const int _NODE_DOCUMENT_NODE;
2740                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_DOCUMENT_POSITION_CONTAINED_BY")]
2741                 public const int _NODE_DOCUMENT_POSITION_CONTAINED_BY;
2742                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_DOCUMENT_POSITION_CONTAINS")]
2743                 public const int _NODE_DOCUMENT_POSITION_CONTAINS;
2744                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_DOCUMENT_POSITION_DISCONNECTED")]
2745                 public const int _NODE_DOCUMENT_POSITION_DISCONNECTED;
2746                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_DOCUMENT_POSITION_FOLLOWING")]
2747                 public const int _NODE_DOCUMENT_POSITION_FOLLOWING;
2748                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC")]
2749                 public const int _NODE_DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;
2750                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_DOCUMENT_POSITION_PRECEDING")]
2751                 public const int _NODE_DOCUMENT_POSITION_PRECEDING;
2752                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_DOCUMENT_TYPE_NODE")]
2753                 public const int _NODE_DOCUMENT_TYPE_NODE;
2754                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_ELEMENT_NODE")]
2755                 public const int _NODE_ELEMENT_NODE;
2756                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_ENTITY_NODE")]
2757                 public const int _NODE_ENTITY_NODE;
2758                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_ENTITY_REFERENCE_NODE")]
2759                 public const int _NODE_ENTITY_REFERENCE_NODE;
2760                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_ACCEPT")]
2761                 [Version (since = "2.6")]
2762                 public const int _NODE_FILTER_ACCEPT;
2763                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_REJECT")]
2764                 [Version (since = "2.6")]
2765                 public const int _NODE_FILTER_REJECT;
2766                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_ALL")]
2767                 [Version (since = "2.6")]
2768                 public const int _NODE_FILTER_SHOW_ALL;
2769                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_ATTRIBUTE")]
2770                 [Version (since = "2.6")]
2771                 public const int _NODE_FILTER_SHOW_ATTRIBUTE;
2772                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_CDATA_SECTION")]
2773                 [Version (since = "2.6")]
2774                 public const int _NODE_FILTER_SHOW_CDATA_SECTION;
2775                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_COMMENT")]
2776                 [Version (since = "2.6")]
2777                 public const int _NODE_FILTER_SHOW_COMMENT;
2778                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT")]
2779                 [Version (since = "2.6")]
2780                 public const int _NODE_FILTER_SHOW_DOCUMENT;
2781                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT_FRAGMENT")]
2782                 [Version (since = "2.6")]
2783                 public const int _NODE_FILTER_SHOW_DOCUMENT_FRAGMENT;
2784                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT_TYPE")]
2785                 [Version (since = "2.6")]
2786                 public const int _NODE_FILTER_SHOW_DOCUMENT_TYPE;
2787                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_ELEMENT")]
2788                 [Version (since = "2.6")]
2789                 public const int _NODE_FILTER_SHOW_ELEMENT;
2790                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_ENTITY")]
2791                 [Version (since = "2.6")]
2792                 public const int _NODE_FILTER_SHOW_ENTITY;
2793                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_ENTITY_REFERENCE")]
2794                 [Version (since = "2.6")]
2795                 public const int _NODE_FILTER_SHOW_ENTITY_REFERENCE;
2796                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_NOTATION")]
2797                 [Version (since = "2.6")]
2798                 public const int _NODE_FILTER_SHOW_NOTATION;
2799                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_PROCESSING_INSTRUCTION")]
2800                 [Version (since = "2.6")]
2801                 public const int _NODE_FILTER_SHOW_PROCESSING_INSTRUCTION;
2802                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_TEXT")]
2803                 [Version (since = "2.6")]
2804                 public const int _NODE_FILTER_SHOW_TEXT;
2805                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SKIP")]
2806                 [Version (since = "2.6")]
2807                 public const int _NODE_FILTER_SKIP;
2808                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_PROCESSING_INSTRUCTION_NODE")]
2809                 public const int _NODE_PROCESSING_INSTRUCTION_NODE;
2810                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_TEXT_NODE")]
2811                 public const int _NODE_TEXT_NODE;
2812                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_RANGE_END_TO_END")]
2813                 public const int _RANGE_END_TO_END;
2814                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_RANGE_END_TO_START")]
2815                 public const int _RANGE_END_TO_START;
2816                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_RANGE_NODE_AFTER")]
2817                 public const int _RANGE_NODE_AFTER;
2818                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_RANGE_NODE_BEFORE")]
2819                 public const int _RANGE_NODE_BEFORE;
2820                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_RANGE_NODE_BEFORE_AND_AFTER")]
2821                 public const int _RANGE_NODE_BEFORE_AND_AFTER;
2822                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_RANGE_NODE_INSIDE")]
2823                 public const int _RANGE_NODE_INSIDE;
2824                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_RANGE_START_TO_END")]
2825                 public const int _RANGE_START_TO_END;
2826                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_RANGE_START_TO_START")]
2827                 public const int _RANGE_START_TO_START;
2828                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_XPATH_RESULT_ANY_TYPE")]
2829                 public const int _XPATH_RESULT_ANY_TYPE;
2830                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_XPATH_RESULT_ANY_UNORDERED_NODE_TYPE")]
2831                 public const int _XPATH_RESULT_ANY_UNORDERED_NODE_TYPE;
2832                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_XPATH_RESULT_BOOLEAN_TYPE")]
2833                 public const int _XPATH_RESULT_BOOLEAN_TYPE;
2834                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_XPATH_RESULT_FIRST_ORDERED_NODE_TYPE")]
2835                 public const int _XPATH_RESULT_FIRST_ORDERED_NODE_TYPE;
2836                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_XPATH_RESULT_NUMBER_TYPE")]
2837                 public const int _XPATH_RESULT_NUMBER_TYPE;
2838                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_XPATH_RESULT_ORDERED_NODE_ITERATOR_TYPE")]
2839                 public const int _XPATH_RESULT_ORDERED_NODE_ITERATOR_TYPE;
2840                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_XPATH_RESULT_ORDERED_NODE_SNAPSHOT_TYPE")]
2841                 public const int _XPATH_RESULT_ORDERED_NODE_SNAPSHOT_TYPE;
2842                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_XPATH_RESULT_STRING_TYPE")]
2843                 public const int _XPATH_RESULT_STRING_TYPE;
2844                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_XPATH_RESULT_UNORDERED_NODE_ITERATOR_TYPE")]
2845                 public const int _XPATH_RESULT_UNORDERED_NODE_ITERATOR_TYPE;
2846                 [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_XPATH_RESULT_UNORDERED_NODE_SNAPSHOT_TYPE")]
2847                 public const int _XPATH_RESULT_UNORDERED_NODE_SNAPSHOT_TYPE;
2848         }
2849         [CCode (cheader_filename = "webkit2/webkit-web-extension.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "webkit_console_message_get_type ()")]
2850         [Compact]
2851         public class ConsoleMessage {
2852                 [Version (since = "2.12")]
2853                 public WebKit.ConsoleMessage copy ();
2854                 [Version (since = "2.12")]
2855                 public void free ();
2856                 [Version (since = "2.12")]
2857                 public WebKit.ConsoleMessageLevel get_level ();
2858                 [Version (since = "2.12")]
2859                 public uint get_line ();
2860                 [Version (since = "2.12")]
2861                 public WebKit.ConsoleMessageSource get_source ();
2862                 [Version (since = "2.12")]
2863                 public unowned string get_source_id ();
2864                 [Version (since = "2.12")]
2865                 public unowned string get_text ();
2866         }
2867         [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_context_menu_get_type ()")]
2868         public class ContextMenu : GLib.Object {
2869                 [CCode (has_construct_function = false)]
2870                 public ContextMenu ();
2871                 public void append (WebKit.ContextMenuItem item);
2872                 public unowned WebKit.ContextMenuItem first ();
2873                 public unowned WebKit.ContextMenuItem get_item_at_position (uint position);
2874                 public unowned GLib.List<WebKit.ContextMenuItem> get_items ();
2875                 public uint get_n_items ();
2876                 [Version (since = "2.8")]
2877                 public unowned GLib.Variant get_user_data ();
2878                 public void insert (WebKit.ContextMenuItem item, int position);
2879                 public unowned WebKit.ContextMenuItem last ();
2880                 public void move_item (WebKit.ContextMenuItem item, int position);
2881                 public void prepend (WebKit.ContextMenuItem item);
2882                 public void remove (WebKit.ContextMenuItem item);
2883                 public void remove_all ();
2884                 [Version (since = "2.8")]
2885                 public void set_user_data (GLib.Variant user_data);
2886                 [CCode (has_construct_function = false)]
2887                 public ContextMenu.with_items (GLib.List<WebKit.ContextMenuItem> items);
2888         }
2889         [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_context_menu_item_get_type ()")]
2890         public class ContextMenuItem : GLib.InitiallyUnowned {
2891                 [CCode (has_construct_function = false)]
2892                 [Version (deprecated = true, deprecated_since = "2.18")]
2893                 public ContextMenuItem (Gtk.Action action);
2894                 [CCode (has_construct_function = false)]
2895                 [Version (since = "2.18")]
2896                 public ContextMenuItem.from_gaction (GLib.Action action, string label, GLib.Variant? target);
2897                 [CCode (has_construct_function = false)]
2898                 public ContextMenuItem.from_stock_action (WebKit.ContextMenuAction action);
2899                 [CCode (has_construct_function = false)]
2900                 public ContextMenuItem.from_stock_action_with_label (WebKit.ContextMenuAction action, string label);
2901                 [Version (deprecated = true, deprecated_since = "2.18")]
2902                 public unowned Gtk.Action get_action ();
2903                 [Version (since = "2.18")]
2904                 public unowned GLib.Action get_gaction ();
2905                 public WebKit.ContextMenuAction get_stock_action ();
2906                 public unowned WebKit.ContextMenu get_submenu ();
2907                 public bool is_separator ();
2908                 [CCode (has_construct_function = false)]
2909                 public ContextMenuItem.separator ();
2910                 public void set_submenu (WebKit.ContextMenu? submenu);
2911                 [CCode (has_construct_function = false)]
2912                 public ContextMenuItem.with_submenu (string label, WebKit.ContextMenu submenu);
2913         }
2914         [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_frame_get_type ()")]
2915         public class Frame : GLib.Object {
2916                 [CCode (has_construct_function = false)]
2917                 protected Frame ();
2918                 [Version (since = "2.2")]
2919                 public void* get_javascript_context_for_script_world (WebKit.ScriptWorld world);
2920                 [Version (since = "2.2")]
2921                 public void* get_javascript_global_context ();
2922                 [Version (since = "2.2")]
2923                 public unowned string get_uri ();
2924                 [Version (since = "2.2")]
2925                 public bool is_main_frame ();
2926         }
2927         [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_hit_test_result_get_type ()")]
2928         public class HitTestResult : GLib.Object {
2929                 [CCode (has_construct_function = false)]
2930                 protected HitTestResult ();
2931                 public bool context_is_editable ();
2932                 public bool context_is_image ();
2933                 public bool context_is_link ();
2934                 public bool context_is_media ();
2935                 public bool context_is_scrollbar ();
2936                 [Version (since = "2.8")]
2937                 public bool context_is_selection ();
2938                 public uint get_context ();
2939                 public unowned string get_image_uri ();
2940                 public unowned string get_link_label ();
2941                 public unowned string get_link_title ();
2942                 public unowned string get_link_uri ();
2943                 public unowned string get_media_uri ();
2944                 public uint context { get; construct; }
2945                 public string image_uri { get; construct; }
2946                 public string link_label { get; construct; }
2947                 public string link_title { get; construct; }
2948                 public string link_uri { get; construct; }
2949                 public string media_uri { get; construct; }
2950         }
2951         [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_script_world_get_type ()")]
2952         public class ScriptWorld : GLib.Object {
2953                 [CCode (has_construct_function = false)]
2954                 [Version (since = "2.2")]
2955                 public ScriptWorld ();
2956                 [Version (since = "2.2")]
2957                 public static unowned WebKit.ScriptWorld get_default ();
2958                 [Version (since = "2.2")]
2959                 public signal void window_object_cleared (WebKit.WebPage page, WebKit.Frame frame);
2960         }
2961         [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_uri_request_get_type ()")]
2962         public class URIRequest : GLib.Object {
2963                 [CCode (has_construct_function = false)]
2964                 public URIRequest (string uri);
2965                 public unowned Soup.MessageHeaders get_http_headers ();
2966                 [Version (since = "2.12")]
2967                 public unowned string get_http_method ();
2968                 public unowned string get_uri ();
2969                 public void set_uri (string uri);
2970                 public string uri { get; set construct; }
2971         }
2972         [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_uri_response_get_type ()")]
2973         public class URIResponse : GLib.Object {
2974                 [CCode (has_construct_function = false)]
2975                 protected URIResponse ();
2976                 public uint64 get_content_length ();
2977                 [Version (since = "2.6")]
2978                 public unowned Soup.MessageHeaders get_http_headers ();
2979                 public unowned string get_mime_type ();
2980                 public uint get_status_code ();
2981                 public unowned string get_suggested_filename ();
2982                 public unowned string get_uri ();
2983                 public uint64 content_length { get; }
2984                 [Version (since = "2.6")]
2985                 public Soup.MessageHeaders http_headers { get; }
2986                 public string mime_type { get; }
2987                 public uint status_code { get; }
2988                 public string suggested_filename { get; }
2989                 public string uri { get; }
2990         }
2991         [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_web_editor_get_type ()")]
2992         public class WebEditor : GLib.Object {
2993                 [CCode (has_construct_function = false)]
2994                 protected WebEditor ();
2995                 [Version (since = "2.10")]
2996                 public unowned WebKit.WebPage get_page ();
2997                 [Version (since = "2.10")]
2998                 public signal void selection_changed ();
2999         }
3000         [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_web_extension_get_type ()")]
3001         public class WebExtension : GLib.Object {
3002                 [CCode (has_construct_function = false)]
3003                 protected WebExtension ();
3004                 public unowned WebKit.WebPage get_page (uint64 page_id);
3005                 public signal void page_created (WebKit.WebPage web_page);
3006         }
3007         [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_web_hit_test_result_get_type ()")]
3008         public class WebHitTestResult : WebKit.HitTestResult {
3009                 [CCode (has_construct_function = false)]
3010                 protected WebHitTestResult ();
3011                 [Version (since = "2.8")]
3012                 public unowned WebKit.DOM.Node get_node ();
3013                 public WebKit.DOM.Node node { get; construct; }
3014         }
3015         [CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_web_page_get_type ()")]
3016         public class WebPage : GLib.Object {
3017                 [CCode (has_construct_function = false)]
3018                 protected WebPage ();
3019                 public unowned WebKit.DOM.Document get_dom_document ();
3020                 [Version (since = "2.10")]
3021                 public unowned WebKit.WebEditor get_editor ();
3022                 public uint64 get_id ();
3023                 [Version (since = "2.2")]
3024                 public unowned WebKit.Frame get_main_frame ();
3025                 public unowned string get_uri ();
3026                 public string uri { get; }
3027                 [Version (since = "2.12")]
3028                 public signal void console_message_sent (WebKit.ConsoleMessage console_message);
3029                 [Version (since = "2.8")]
3030                 public signal bool context_menu (WebKit.ContextMenu context_menu, WebKit.WebHitTestResult hit_test_result);
3031                 public signal void document_loaded ();
3032                 [Version (since = "2.16")]
3033                 public signal void form_controls_associated (GLib.GenericArray<WebKit.DOM.Element> elements);
3034                 public signal bool send_request (WebKit.URIRequest request, WebKit.URIResponse redirected_response);
3035         }
3036         [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cprefix = "WEBKIT_CONSOLE_MESSAGE_LEVEL_", has_type_id = false)]
3037         [Version (since = "2.12")]
3038         public enum ConsoleMessageLevel {
3039                 INFO,
3040                 LOG,
3041                 WARNING,
3042                 ERROR,
3043                 DEBUG
3044         }
3045         [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cprefix = "WEBKIT_CONSOLE_MESSAGE_SOURCE_", has_type_id = false)]
3046         [Version (since = "2.12")]
3047         public enum ConsoleMessageSource {
3048                 JAVASCRIPT,
3049                 NETWORK,
3050                 CONSOLE_API,
3051                 SECURITY,
3052                 OTHER
3053         }
3054         [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cprefix = "WEBKIT_CONTEXT_MENU_ACTION_", has_type_id = false)]
3055         public enum ContextMenuAction {
3056                 NO_ACTION,
3057                 OPEN_LINK,
3058                 OPEN_LINK_IN_NEW_WINDOW,
3059                 DOWNLOAD_LINK_TO_DISK,
3060                 COPY_LINK_TO_CLIPBOARD,
3061                 OPEN_IMAGE_IN_NEW_WINDOW,
3062                 DOWNLOAD_IMAGE_TO_DISK,
3063                 COPY_IMAGE_TO_CLIPBOARD,
3064                 COPY_IMAGE_URL_TO_CLIPBOARD,
3065                 OPEN_FRAME_IN_NEW_WINDOW,
3066                 GO_BACK,
3067                 GO_FORWARD,
3068                 STOP,
3069                 RELOAD,
3070                 COPY,
3071                 CUT,
3072                 PASTE,
3073                 DELETE,
3074                 SELECT_ALL,
3075                 INPUT_METHODS,
3076                 UNICODE,
3077                 SPELLING_GUESS,
3078                 NO_GUESSES_FOUND,
3079                 IGNORE_SPELLING,
3080                 LEARN_SPELLING,
3081                 IGNORE_GRAMMAR,
3082                 FONT_MENU,
3083                 BOLD,
3084                 ITALIC,
3085                 UNDERLINE,
3086                 OUTLINE,
3087                 INSPECT_ELEMENT,
3088                 OPEN_VIDEO_IN_NEW_WINDOW,
3089                 OPEN_AUDIO_IN_NEW_WINDOW,
3090                 COPY_VIDEO_LINK_TO_CLIPBOARD,
3091                 COPY_AUDIO_LINK_TO_CLIPBOARD,
3092                 TOGGLE_MEDIA_CONTROLS,
3093                 TOGGLE_MEDIA_LOOP,
3094                 ENTER_VIDEO_FULLSCREEN,
3095                 MEDIA_PLAY,
3096                 MEDIA_PAUSE,
3097                 MEDIA_MUTE,
3098                 DOWNLOAD_VIDEO_TO_DISK,
3099                 DOWNLOAD_AUDIO_TO_DISK,
3100                 CUSTOM
3101         }
3102         [CCode (cheader_filename = "webkit2/webkit-web-extension.h", cprefix = "WEBKIT_HIT_TEST_RESULT_CONTEXT_", has_type_id = false)]
3103         [Flags]
3104         public enum HitTestResultContext {
3105                 DOCUMENT,
3106                 LINK,
3107                 IMAGE,
3108                 MEDIA,
3109                 EDITABLE,
3110                 SCROLLBAR,
3111                 SELECTION
3112         }
3113         [CCode (cheader_filename = "webkit2/webkit-web-extension.h", has_target = false)]
3114         public delegate void WebExtensionInitializeFunction (WebKit.WebExtension extension);
3115         [CCode (cheader_filename = "webkit2/webkit-web-extension.h", has_target = false)]
3116         [Version (since = "2.4")]
3117         public delegate void WebExtensionInitializeWithUserDataFunction (WebKit.WebExtension extension, GLib.Variant user_data);