| 1 | /* |
| 2 | * This file is part of the WebKit open source project. |
| 3 | * |
| 4 | * This library is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU Library General Public |
| 6 | * License as published by the Free Software Foundation; either |
| 7 | * version 2 of the License, or (at your option) any later version. |
| 8 | * |
| 9 | * This library is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 | * Library General Public License for more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU Library General Public License |
| 15 | * along with this library; see the file COPYING.LIB. If not, write to |
| 16 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 17 | * Boston, MA 02110-1301, USA. |
| 18 | */ |
| 19 | |
| 20 | #if !defined(__WEBKITDOM_H_INSIDE__) && !defined(BUILDING_WEBKIT) |
| 21 | #error "Only <webkitdom/webkitdom.h> can be included directly." |
| 22 | #endif |
| 23 | |
| 24 | #ifndef WebKitDOMDocument_h |
| 25 | #define WebKitDOMDocument_h |
| 26 | |
| 27 | #include <glib-object.h> |
| 28 | #include <webkitdom/WebKitDOMNode.h> |
| 29 | #include <webkitdom/webkitdomdefines.h> |
| 30 | |
| 31 | G_BEGIN_DECLS |
| 32 | |
| 33 | #define WEBKIT_DOM_TYPE_DOCUMENT (webkit_dom_document_get_type()) |
| 34 | #define WEBKIT_DOM_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_DOM_TYPE_DOCUMENT, WebKitDOMDocument)) |
| 35 | #define WEBKIT_DOM_DOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), WEBKIT_DOM_TYPE_DOCUMENT, WebKitDOMDocumentClass) |
| 36 | #define WEBKIT_DOM_IS_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_DOM_TYPE_DOCUMENT)) |
| 37 | #define WEBKIT_DOM_IS_DOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), WEBKIT_DOM_TYPE_DOCUMENT)) |
| 38 | #define WEBKIT_DOM_DOCUMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), WEBKIT_DOM_TYPE_DOCUMENT, WebKitDOMDocumentClass)) |
| 39 | |
| 40 | struct _WebKitDOMDocument { |
| 41 | WebKitDOMNode parent_instance; |
| 42 | }; |
| 43 | |
| 44 | struct _WebKitDOMDocumentClass { |
| 45 | WebKitDOMNodeClass parent_class; |
| 46 | }; |
| 47 | |
| 48 | WEBKIT_API GType |
| 49 | webkit_dom_document_get_type(void); |
| 50 | |
| 51 | /** |
| 52 | * webkit_dom_document_create_element: |
| 53 | * @self: A #WebKitDOMDocument |
| 54 | * @tagName: A #gchar |
| 55 | * @error: #GError |
| 56 | * |
| 57 | * Returns: (transfer none): A #WebKitDOMElement |
| 58 | * |
| 59 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 60 | **/ |
| 61 | WEBKIT_DEPRECATED WebKitDOMElement* |
| 62 | webkit_dom_document_create_element(WebKitDOMDocument* self, const gchar* tagName, GError** error); |
| 63 | |
| 64 | /** |
| 65 | * webkit_dom_document_create_document_fragment: |
| 66 | * @self: A #WebKitDOMDocument |
| 67 | * |
| 68 | * Returns: (transfer none): A #WebKitDOMDocumentFragment |
| 69 | * |
| 70 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 71 | **/ |
| 72 | WEBKIT_DEPRECATED WebKitDOMDocumentFragment* |
| 73 | webkit_dom_document_create_document_fragment(WebKitDOMDocument* self); |
| 74 | |
| 75 | /** |
| 76 | * webkit_dom_document_create_text_node: |
| 77 | * @self: A #WebKitDOMDocument |
| 78 | * @data: A #gchar |
| 79 | * |
| 80 | * Returns: (transfer none): A #WebKitDOMText |
| 81 | * |
| 82 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 83 | **/ |
| 84 | WEBKIT_DEPRECATED WebKitDOMText* |
| 85 | webkit_dom_document_create_text_node(WebKitDOMDocument* self, const gchar* data); |
| 86 | |
| 87 | /** |
| 88 | * webkit_dom_document_create_comment: |
| 89 | * @self: A #WebKitDOMDocument |
| 90 | * @data: A #gchar |
| 91 | * |
| 92 | * Returns: (transfer none): A #WebKitDOMComment |
| 93 | * |
| 94 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 95 | **/ |
| 96 | WEBKIT_DEPRECATED WebKitDOMComment* |
| 97 | (WebKitDOMDocument* self, const gchar* data); |
| 98 | |
| 99 | /** |
| 100 | * webkit_dom_document_create_cdata_section: |
| 101 | * @self: A #WebKitDOMDocument |
| 102 | * @data: A #gchar |
| 103 | * @error: #GError |
| 104 | * |
| 105 | * Returns: (transfer none): A #WebKitDOMCDATASection |
| 106 | * |
| 107 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 108 | **/ |
| 109 | WEBKIT_DEPRECATED WebKitDOMCDATASection* |
| 110 | webkit_dom_document_create_cdata_section(WebKitDOMDocument* self, const gchar* data, GError** error); |
| 111 | |
| 112 | /** |
| 113 | * webkit_dom_document_create_processing_instruction: |
| 114 | * @self: A #WebKitDOMDocument |
| 115 | * @target: A #gchar |
| 116 | * @data: A #gchar |
| 117 | * @error: #GError |
| 118 | * |
| 119 | * Returns: (transfer none): A #WebKitDOMProcessingInstruction |
| 120 | * |
| 121 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 122 | **/ |
| 123 | WEBKIT_DEPRECATED WebKitDOMProcessingInstruction* |
| 124 | webkit_dom_document_create_processing_instruction(WebKitDOMDocument* self, const gchar* target, const gchar* data, GError** error); |
| 125 | |
| 126 | /** |
| 127 | * webkit_dom_document_create_attribute: |
| 128 | * @self: A #WebKitDOMDocument |
| 129 | * @name: A #gchar |
| 130 | * @error: #GError |
| 131 | * |
| 132 | * Returns: (transfer none): A #WebKitDOMAttr |
| 133 | * |
| 134 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 135 | **/ |
| 136 | WEBKIT_DEPRECATED WebKitDOMAttr* |
| 137 | webkit_dom_document_create_attribute(WebKitDOMDocument* self, const gchar* name, GError** error); |
| 138 | |
| 139 | /** |
| 140 | * webkit_dom_document_get_elements_by_tag_name_as_html_collection: |
| 141 | * @self: A #WebKitDOMDocument |
| 142 | * @tagname: A #gchar |
| 143 | * |
| 144 | * Returns: (transfer full): A #WebKitDOMHTMLCollection |
| 145 | * |
| 146 | * Since: 2.12 |
| 147 | * |
| 148 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 149 | **/ |
| 150 | WEBKIT_DEPRECATED WebKitDOMHTMLCollection* |
| 151 | webkit_dom_document_get_elements_by_tag_name_as_html_collection(WebKitDOMDocument* self, const gchar* tagname); |
| 152 | |
| 153 | /** |
| 154 | * webkit_dom_document_import_node: |
| 155 | * @self: A #WebKitDOMDocument |
| 156 | * @importedNode: A #WebKitDOMNode |
| 157 | * @deep: A #gboolean |
| 158 | * @error: #GError |
| 159 | * |
| 160 | * Returns: (transfer none): A #WebKitDOMNode |
| 161 | * |
| 162 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 163 | **/ |
| 164 | WEBKIT_DEPRECATED WebKitDOMNode* |
| 165 | webkit_dom_document_import_node(WebKitDOMDocument* self, WebKitDOMNode* importedNode, gboolean deep, GError** error); |
| 166 | |
| 167 | /** |
| 168 | * webkit_dom_document_create_element_ns: |
| 169 | * @self: A #WebKitDOMDocument |
| 170 | * @namespaceURI: (allow-none): A #gchar |
| 171 | * @qualifiedName: A #gchar |
| 172 | * @error: #GError |
| 173 | * |
| 174 | * Returns: (transfer none): A #WebKitDOMElement |
| 175 | * |
| 176 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 177 | **/ |
| 178 | WEBKIT_DEPRECATED WebKitDOMElement* |
| 179 | webkit_dom_document_create_element_ns(WebKitDOMDocument* self, const gchar* namespaceURI, const gchar* qualifiedName, GError** error); |
| 180 | |
| 181 | /** |
| 182 | * webkit_dom_document_create_attribute_ns: |
| 183 | * @self: A #WebKitDOMDocument |
| 184 | * @namespaceURI: (allow-none): A #gchar |
| 185 | * @qualifiedName: A #gchar |
| 186 | * @error: #GError |
| 187 | * |
| 188 | * Returns: (transfer none): A #WebKitDOMAttr |
| 189 | * |
| 190 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 191 | **/ |
| 192 | WEBKIT_DEPRECATED WebKitDOMAttr* |
| 193 | webkit_dom_document_create_attribute_ns(WebKitDOMDocument* self, const gchar* namespaceURI, const gchar* qualifiedName, GError** error); |
| 194 | |
| 195 | /** |
| 196 | * webkit_dom_document_get_elements_by_tag_name_ns_as_html_collection: |
| 197 | * @self: A #WebKitDOMDocument |
| 198 | * @namespaceURI: A #gchar |
| 199 | * @localName: A #gchar |
| 200 | * |
| 201 | * Returns: (transfer full): A #WebKitDOMHTMLCollection |
| 202 | * |
| 203 | * Since: 2.12 |
| 204 | * |
| 205 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 206 | **/ |
| 207 | WEBKIT_DEPRECATED WebKitDOMHTMLCollection* |
| 208 | webkit_dom_document_get_elements_by_tag_name_ns_as_html_collection(WebKitDOMDocument* self, const gchar* namespaceURI, const gchar* localName); |
| 209 | |
| 210 | /** |
| 211 | * webkit_dom_document_adopt_node: |
| 212 | * @self: A #WebKitDOMDocument |
| 213 | * @source: A #WebKitDOMNode |
| 214 | * @error: #GError |
| 215 | * |
| 216 | * Returns: (transfer none): A #WebKitDOMNode |
| 217 | * |
| 218 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 219 | **/ |
| 220 | WEBKIT_DEPRECATED WebKitDOMNode* |
| 221 | webkit_dom_document_adopt_node(WebKitDOMDocument* self, WebKitDOMNode* source, GError** error); |
| 222 | |
| 223 | /** |
| 224 | * webkit_dom_document_create_event: |
| 225 | * @self: A #WebKitDOMDocument |
| 226 | * @eventType: A #gchar |
| 227 | * @error: #GError |
| 228 | * |
| 229 | * Returns: (transfer full): A #WebKitDOMEvent |
| 230 | * |
| 231 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 232 | **/ |
| 233 | WEBKIT_DEPRECATED WebKitDOMEvent* |
| 234 | webkit_dom_document_create_event(WebKitDOMDocument* self, const gchar* eventType, GError** error); |
| 235 | |
| 236 | /** |
| 237 | * webkit_dom_document_create_range: |
| 238 | * @self: A #WebKitDOMDocument |
| 239 | * |
| 240 | * Returns: (transfer full): A #WebKitDOMRange |
| 241 | * |
| 242 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 243 | **/ |
| 244 | WEBKIT_DEPRECATED WebKitDOMRange* |
| 245 | webkit_dom_document_create_range(WebKitDOMDocument* self); |
| 246 | |
| 247 | /** |
| 248 | * webkit_dom_document_create_node_iterator: |
| 249 | * @self: A #WebKitDOMDocument |
| 250 | * @root: A #WebKitDOMNode |
| 251 | * @whatToShow: A #gulong |
| 252 | * @filter: (allow-none): A #WebKitDOMNodeFilter |
| 253 | * @expandEntityReferences: A #gboolean |
| 254 | * @error: #GError |
| 255 | * |
| 256 | * Returns: (transfer full): A #WebKitDOMNodeIterator |
| 257 | * |
| 258 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 259 | **/ |
| 260 | WEBKIT_DEPRECATED WebKitDOMNodeIterator* |
| 261 | webkit_dom_document_create_node_iterator(WebKitDOMDocument* self, WebKitDOMNode* root, gulong whatToShow, WebKitDOMNodeFilter* filter, gboolean expandEntityReferences, GError** error); |
| 262 | |
| 263 | /** |
| 264 | * webkit_dom_document_create_tree_walker: |
| 265 | * @self: A #WebKitDOMDocument |
| 266 | * @root: A #WebKitDOMNode |
| 267 | * @whatToShow: A #gulong |
| 268 | * @filter: (allow-none): A #WebKitDOMNodeFilter |
| 269 | * @expandEntityReferences: A #gboolean |
| 270 | * @error: #GError |
| 271 | * |
| 272 | * Returns: (transfer full): A #WebKitDOMTreeWalker |
| 273 | * |
| 274 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 275 | **/ |
| 276 | WEBKIT_DEPRECATED WebKitDOMTreeWalker* |
| 277 | webkit_dom_document_create_tree_walker(WebKitDOMDocument* self, WebKitDOMNode* root, gulong whatToShow, WebKitDOMNodeFilter* filter, gboolean expandEntityReferences, GError** error); |
| 278 | |
| 279 | /** |
| 280 | * webkit_dom_document_get_override_style: |
| 281 | * @self: A #WebKitDOMDocument |
| 282 | * @element: A #WebKitDOMElement |
| 283 | * @pseudoElement: (allow-none): A #gchar |
| 284 | * |
| 285 | * Returns: (transfer full): A #WebKitDOMCSSStyleDeclaration |
| 286 | * |
| 287 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 288 | **/ |
| 289 | WEBKIT_DEPRECATED WebKitDOMCSSStyleDeclaration* |
| 290 | webkit_dom_document_get_override_style(WebKitDOMDocument* self, WebKitDOMElement* element, const gchar* pseudoElement); |
| 291 | |
| 292 | /** |
| 293 | * webkit_dom_document_create_expression: |
| 294 | * @self: A #WebKitDOMDocument |
| 295 | * @expression: A #gchar |
| 296 | * @resolver: A #WebKitDOMXPathNSResolver |
| 297 | * @error: #GError |
| 298 | * |
| 299 | * Returns: (transfer full): A #WebKitDOMXPathExpression |
| 300 | * |
| 301 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 302 | **/ |
| 303 | WEBKIT_DEPRECATED WebKitDOMXPathExpression* |
| 304 | webkit_dom_document_create_expression(WebKitDOMDocument* self, const gchar* expression, WebKitDOMXPathNSResolver* resolver, GError** error); |
| 305 | |
| 306 | /** |
| 307 | * webkit_dom_document_create_ns_resolver: |
| 308 | * @self: A #WebKitDOMDocument |
| 309 | * @nodeResolver: A #WebKitDOMNode |
| 310 | * |
| 311 | * Returns: (transfer full): A #WebKitDOMXPathNSResolver |
| 312 | * |
| 313 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 314 | **/ |
| 315 | WEBKIT_DEPRECATED WebKitDOMXPathNSResolver* |
| 316 | webkit_dom_document_create_ns_resolver(WebKitDOMDocument* self, WebKitDOMNode* nodeResolver); |
| 317 | |
| 318 | /** |
| 319 | * webkit_dom_document_evaluate: |
| 320 | * @self: A #WebKitDOMDocument |
| 321 | * @expression: A #gchar |
| 322 | * @contextNode: A #WebKitDOMNode |
| 323 | * @resolver: (allow-none): A #WebKitDOMXPathNSResolver |
| 324 | * @type: A #gushort |
| 325 | * @inResult: (allow-none): A #WebKitDOMXPathResult |
| 326 | * @error: #GError |
| 327 | * |
| 328 | * Returns: (transfer full): A #WebKitDOMXPathResult |
| 329 | * |
| 330 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 331 | **/ |
| 332 | WEBKIT_DEPRECATED WebKitDOMXPathResult* |
| 333 | webkit_dom_document_evaluate(WebKitDOMDocument* self, const gchar* expression, WebKitDOMNode* contextNode, WebKitDOMXPathNSResolver* resolver, gushort type, WebKitDOMXPathResult* inResult, GError** error); |
| 334 | |
| 335 | /** |
| 336 | * webkit_dom_document_exec_command: |
| 337 | * @self: A #WebKitDOMDocument |
| 338 | * @command: A #gchar |
| 339 | * @userInterface: A #gboolean |
| 340 | * @value: A #gchar |
| 341 | * |
| 342 | * Returns: A #gboolean |
| 343 | * |
| 344 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 345 | **/ |
| 346 | WEBKIT_DEPRECATED gboolean |
| 347 | webkit_dom_document_exec_command(WebKitDOMDocument* self, const gchar* command, gboolean userInterface, const gchar* value); |
| 348 | |
| 349 | /** |
| 350 | * webkit_dom_document_query_command_enabled: |
| 351 | * @self: A #WebKitDOMDocument |
| 352 | * @command: A #gchar |
| 353 | * |
| 354 | * Returns: A #gboolean |
| 355 | * |
| 356 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 357 | **/ |
| 358 | WEBKIT_DEPRECATED gboolean |
| 359 | webkit_dom_document_query_command_enabled(WebKitDOMDocument* self, const gchar* command); |
| 360 | |
| 361 | /** |
| 362 | * webkit_dom_document_query_command_indeterm: |
| 363 | * @self: A #WebKitDOMDocument |
| 364 | * @command: A #gchar |
| 365 | * |
| 366 | * Returns: A #gboolean |
| 367 | * |
| 368 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 369 | **/ |
| 370 | WEBKIT_DEPRECATED gboolean |
| 371 | webkit_dom_document_query_command_indeterm(WebKitDOMDocument* self, const gchar* command); |
| 372 | |
| 373 | /** |
| 374 | * webkit_dom_document_query_command_state: |
| 375 | * @self: A #WebKitDOMDocument |
| 376 | * @command: A #gchar |
| 377 | * |
| 378 | * Returns: A #gboolean |
| 379 | * |
| 380 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 381 | **/ |
| 382 | WEBKIT_DEPRECATED gboolean |
| 383 | webkit_dom_document_query_command_state(WebKitDOMDocument* self, const gchar* command); |
| 384 | |
| 385 | /** |
| 386 | * webkit_dom_document_query_command_supported: |
| 387 | * @self: A #WebKitDOMDocument |
| 388 | * @command: A #gchar |
| 389 | * |
| 390 | * Returns: A #gboolean |
| 391 | * |
| 392 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 393 | **/ |
| 394 | WEBKIT_DEPRECATED gboolean |
| 395 | webkit_dom_document_query_command_supported(WebKitDOMDocument* self, const gchar* command); |
| 396 | |
| 397 | /** |
| 398 | * webkit_dom_document_query_command_value: |
| 399 | * @self: A #WebKitDOMDocument |
| 400 | * @command: A #gchar |
| 401 | * |
| 402 | * Returns: A #gchar |
| 403 | * |
| 404 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 405 | **/ |
| 406 | WEBKIT_DEPRECATED gchar* |
| 407 | webkit_dom_document_query_command_value(WebKitDOMDocument* self, const gchar* command); |
| 408 | |
| 409 | /** |
| 410 | * webkit_dom_document_get_elements_by_name: |
| 411 | * @self: A #WebKitDOMDocument |
| 412 | * @elementName: A #gchar |
| 413 | * |
| 414 | * Returns: (transfer full): A #WebKitDOMNodeList |
| 415 | * |
| 416 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 417 | **/ |
| 418 | WEBKIT_DEPRECATED WebKitDOMNodeList* |
| 419 | webkit_dom_document_get_elements_by_name(WebKitDOMDocument* self, const gchar* elementName); |
| 420 | |
| 421 | /** |
| 422 | * webkit_dom_document_element_from_point: |
| 423 | * @self: A #WebKitDOMDocument |
| 424 | * @x: A #glong |
| 425 | * @y: A #glong |
| 426 | * |
| 427 | * Returns: (transfer none): A #WebKitDOMElement |
| 428 | * |
| 429 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 430 | **/ |
| 431 | WEBKIT_DEPRECATED WebKitDOMElement* |
| 432 | webkit_dom_document_element_from_point(WebKitDOMDocument* self, glong x, glong y); |
| 433 | |
| 434 | /** |
| 435 | * webkit_dom_document_create_css_style_declaration: |
| 436 | * @self: A #WebKitDOMDocument |
| 437 | * |
| 438 | * Returns: (transfer full): A #WebKitDOMCSSStyleDeclaration |
| 439 | * |
| 440 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 441 | **/ |
| 442 | WEBKIT_DEPRECATED WebKitDOMCSSStyleDeclaration* |
| 443 | webkit_dom_document_create_css_style_declaration(WebKitDOMDocument* self); |
| 444 | |
| 445 | /** |
| 446 | * webkit_dom_document_get_elements_by_class_name_as_html_collection: |
| 447 | * @self: A #WebKitDOMDocument |
| 448 | * @classNames: A #gchar |
| 449 | * |
| 450 | * Returns: (transfer full): A #WebKitDOMHTMLCollection |
| 451 | * |
| 452 | * Since: 2.12 |
| 453 | * |
| 454 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 455 | **/ |
| 456 | WEBKIT_DEPRECATED WebKitDOMHTMLCollection* |
| 457 | webkit_dom_document_get_elements_by_class_name_as_html_collection(WebKitDOMDocument* self, const gchar* classNames); |
| 458 | |
| 459 | /** |
| 460 | * webkit_dom_document_has_focus: |
| 461 | * @self: A #WebKitDOMDocument |
| 462 | * |
| 463 | * Returns: A #gboolean |
| 464 | * |
| 465 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 466 | **/ |
| 467 | WEBKIT_DEPRECATED gboolean |
| 468 | webkit_dom_document_has_focus(WebKitDOMDocument* self); |
| 469 | |
| 470 | /** |
| 471 | * webkit_dom_document_get_element_by_id: |
| 472 | * @self: A #WebKitDOMDocument |
| 473 | * @elementId: A #gchar |
| 474 | * |
| 475 | * Returns: (transfer none): A #WebKitDOMElement |
| 476 | * |
| 477 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 478 | **/ |
| 479 | WEBKIT_DEPRECATED WebKitDOMElement* |
| 480 | webkit_dom_document_get_element_by_id(WebKitDOMDocument* self, const gchar* elementId); |
| 481 | |
| 482 | /** |
| 483 | * webkit_dom_document_query_selector: |
| 484 | * @self: A #WebKitDOMDocument |
| 485 | * @selectors: A #gchar |
| 486 | * @error: #GError |
| 487 | * |
| 488 | * Returns: (transfer none): A #WebKitDOMElement |
| 489 | * |
| 490 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 491 | **/ |
| 492 | WEBKIT_DEPRECATED WebKitDOMElement* |
| 493 | webkit_dom_document_query_selector(WebKitDOMDocument* self, const gchar* selectors, GError** error); |
| 494 | |
| 495 | /** |
| 496 | * webkit_dom_document_query_selector_all: |
| 497 | * @self: A #WebKitDOMDocument |
| 498 | * @selectors: A #gchar |
| 499 | * @error: #GError |
| 500 | * |
| 501 | * Returns: (transfer full): A #WebKitDOMNodeList |
| 502 | * |
| 503 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 504 | **/ |
| 505 | WEBKIT_DEPRECATED WebKitDOMNodeList* |
| 506 | webkit_dom_document_query_selector_all(WebKitDOMDocument* self, const gchar* selectors, GError** error); |
| 507 | |
| 508 | /** |
| 509 | * webkit_dom_document_get_doctype: |
| 510 | * @self: A #WebKitDOMDocument |
| 511 | * |
| 512 | * Returns: (transfer none): A #WebKitDOMDocumentType |
| 513 | * |
| 514 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 515 | **/ |
| 516 | WEBKIT_DEPRECATED WebKitDOMDocumentType* |
| 517 | webkit_dom_document_get_doctype(WebKitDOMDocument* self); |
| 518 | |
| 519 | /** |
| 520 | * webkit_dom_document_get_implementation: |
| 521 | * @self: A #WebKitDOMDocument |
| 522 | * |
| 523 | * Returns: (transfer full): A #WebKitDOMDOMImplementation |
| 524 | * |
| 525 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 526 | **/ |
| 527 | WEBKIT_DEPRECATED WebKitDOMDOMImplementation* |
| 528 | webkit_dom_document_get_implementation(WebKitDOMDocument* self); |
| 529 | |
| 530 | /** |
| 531 | * webkit_dom_document_get_document_element: |
| 532 | * @self: A #WebKitDOMDocument |
| 533 | * |
| 534 | * Returns: (transfer none): A #WebKitDOMElement |
| 535 | * |
| 536 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 537 | **/ |
| 538 | WEBKIT_DEPRECATED WebKitDOMElement* |
| 539 | webkit_dom_document_get_document_element(WebKitDOMDocument* self); |
| 540 | |
| 541 | /** |
| 542 | * webkit_dom_document_get_input_encoding: |
| 543 | * @self: A #WebKitDOMDocument |
| 544 | * |
| 545 | * Returns: A #gchar |
| 546 | * |
| 547 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 548 | **/ |
| 549 | WEBKIT_DEPRECATED gchar* |
| 550 | webkit_dom_document_get_input_encoding(WebKitDOMDocument* self); |
| 551 | |
| 552 | /** |
| 553 | * webkit_dom_document_get_xml_encoding: |
| 554 | * @self: A #WebKitDOMDocument |
| 555 | * |
| 556 | * Returns: A #gchar |
| 557 | * |
| 558 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 559 | **/ |
| 560 | WEBKIT_DEPRECATED gchar* |
| 561 | webkit_dom_document_get_xml_encoding(WebKitDOMDocument* self); |
| 562 | |
| 563 | /** |
| 564 | * webkit_dom_document_get_xml_version: |
| 565 | * @self: A #WebKitDOMDocument |
| 566 | * |
| 567 | * Returns: A #gchar |
| 568 | * |
| 569 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 570 | **/ |
| 571 | WEBKIT_DEPRECATED gchar* |
| 572 | webkit_dom_document_get_xml_version(WebKitDOMDocument* self); |
| 573 | |
| 574 | /** |
| 575 | * webkit_dom_document_set_xml_version: |
| 576 | * @self: A #WebKitDOMDocument |
| 577 | * @value: A #gchar |
| 578 | * @error: #GError |
| 579 | * |
| 580 | * |
| 581 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 582 | **/ |
| 583 | WEBKIT_DEPRECATED void |
| 584 | webkit_dom_document_set_xml_version(WebKitDOMDocument* self, const gchar* value, GError** error); |
| 585 | |
| 586 | /** |
| 587 | * webkit_dom_document_get_xml_standalone: |
| 588 | * @self: A #WebKitDOMDocument |
| 589 | * |
| 590 | * Returns: A #gboolean |
| 591 | * |
| 592 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 593 | **/ |
| 594 | WEBKIT_DEPRECATED gboolean |
| 595 | webkit_dom_document_get_xml_standalone(WebKitDOMDocument* self); |
| 596 | |
| 597 | /** |
| 598 | * webkit_dom_document_set_xml_standalone: |
| 599 | * @self: A #WebKitDOMDocument |
| 600 | * @value: A #gboolean |
| 601 | * @error: #GError |
| 602 | * |
| 603 | * |
| 604 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 605 | **/ |
| 606 | WEBKIT_DEPRECATED void |
| 607 | webkit_dom_document_set_xml_standalone(WebKitDOMDocument* self, gboolean value, GError** error); |
| 608 | |
| 609 | /** |
| 610 | * webkit_dom_document_get_document_uri: |
| 611 | * @self: A #WebKitDOMDocument |
| 612 | * |
| 613 | * Returns: A #gchar |
| 614 | * |
| 615 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 616 | **/ |
| 617 | WEBKIT_DEPRECATED gchar* |
| 618 | webkit_dom_document_get_document_uri(WebKitDOMDocument* self); |
| 619 | |
| 620 | /** |
| 621 | * webkit_dom_document_set_document_uri: |
| 622 | * @self: A #WebKitDOMDocument |
| 623 | * @value: A #gchar |
| 624 | * |
| 625 | * |
| 626 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 627 | **/ |
| 628 | WEBKIT_DEPRECATED void |
| 629 | webkit_dom_document_set_document_uri(WebKitDOMDocument* self, const gchar* value); |
| 630 | |
| 631 | /** |
| 632 | * webkit_dom_document_get_default_view: |
| 633 | * @self: A #WebKitDOMDocument |
| 634 | * |
| 635 | * Returns: (transfer full): A #WebKitDOMDOMWindow |
| 636 | * |
| 637 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 638 | **/ |
| 639 | WEBKIT_DEPRECATED WebKitDOMDOMWindow* |
| 640 | webkit_dom_document_get_default_view(WebKitDOMDocument* self); |
| 641 | |
| 642 | /** |
| 643 | * webkit_dom_document_get_style_sheets: |
| 644 | * @self: A #WebKitDOMDocument |
| 645 | * |
| 646 | * Returns: (transfer none): A #WebKitDOMStyleSheetList |
| 647 | * |
| 648 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 649 | **/ |
| 650 | WEBKIT_DEPRECATED WebKitDOMStyleSheetList* |
| 651 | webkit_dom_document_get_style_sheets(WebKitDOMDocument* self); |
| 652 | |
| 653 | /** |
| 654 | * webkit_dom_document_get_title: |
| 655 | * @self: A #WebKitDOMDocument |
| 656 | * |
| 657 | * Returns: A #gchar |
| 658 | * |
| 659 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 660 | **/ |
| 661 | WEBKIT_DEPRECATED gchar* |
| 662 | webkit_dom_document_get_title(WebKitDOMDocument* self); |
| 663 | |
| 664 | /** |
| 665 | * webkit_dom_document_set_title: |
| 666 | * @self: A #WebKitDOMDocument |
| 667 | * @value: A #gchar |
| 668 | * |
| 669 | * |
| 670 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 671 | **/ |
| 672 | WEBKIT_DEPRECATED void |
| 673 | webkit_dom_document_set_title(WebKitDOMDocument* self, const gchar* value); |
| 674 | |
| 675 | /** |
| 676 | * webkit_dom_document_get_design_mode: |
| 677 | * @self: A #WebKitDOMDocument |
| 678 | * |
| 679 | * Returns: A #gchar |
| 680 | * |
| 681 | * Since: 2.14 |
| 682 | * |
| 683 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 684 | **/ |
| 685 | WEBKIT_DEPRECATED gchar* |
| 686 | webkit_dom_document_get_design_mode(WebKitDOMDocument* self); |
| 687 | |
| 688 | /** |
| 689 | * webkit_dom_document_set_design_mode: |
| 690 | * @self: A #WebKitDOMDocument |
| 691 | * @value: A #gchar |
| 692 | * |
| 693 | * Since: 2.14 |
| 694 | * |
| 695 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 696 | **/ |
| 697 | WEBKIT_DEPRECATED void |
| 698 | webkit_dom_document_set_design_mode(WebKitDOMDocument* self, const gchar* value); |
| 699 | |
| 700 | /** |
| 701 | * webkit_dom_document_get_referrer: |
| 702 | * @self: A #WebKitDOMDocument |
| 703 | * |
| 704 | * Returns: A #gchar |
| 705 | * |
| 706 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 707 | **/ |
| 708 | WEBKIT_DEPRECATED gchar* |
| 709 | webkit_dom_document_get_referrer(WebKitDOMDocument* self); |
| 710 | |
| 711 | /** |
| 712 | * webkit_dom_document_get_domain: |
| 713 | * @self: A #WebKitDOMDocument |
| 714 | * |
| 715 | * Returns: A #gchar |
| 716 | * |
| 717 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 718 | **/ |
| 719 | WEBKIT_DEPRECATED gchar* |
| 720 | webkit_dom_document_get_domain(WebKitDOMDocument* self); |
| 721 | |
| 722 | /** |
| 723 | * webkit_dom_document_get_url: |
| 724 | * @self: A #WebKitDOMDocument |
| 725 | * |
| 726 | * Returns: A #gchar |
| 727 | * |
| 728 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 729 | **/ |
| 730 | WEBKIT_DEPRECATED gchar* |
| 731 | webkit_dom_document_get_url(WebKitDOMDocument* self); |
| 732 | |
| 733 | /** |
| 734 | * webkit_dom_document_get_cookie: |
| 735 | * @self: A #WebKitDOMDocument |
| 736 | * @error: #GError |
| 737 | * |
| 738 | * Returns: A #gchar |
| 739 | * |
| 740 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 741 | **/ |
| 742 | WEBKIT_DEPRECATED gchar* |
| 743 | webkit_dom_document_get_cookie(WebKitDOMDocument* self, GError** error); |
| 744 | |
| 745 | /** |
| 746 | * webkit_dom_document_set_cookie: |
| 747 | * @self: A #WebKitDOMDocument |
| 748 | * @value: A #gchar |
| 749 | * @error: #GError |
| 750 | * |
| 751 | * |
| 752 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 753 | **/ |
| 754 | WEBKIT_DEPRECATED void |
| 755 | webkit_dom_document_set_cookie(WebKitDOMDocument* self, const gchar* value, GError** error); |
| 756 | |
| 757 | /** |
| 758 | * webkit_dom_document_get_body: |
| 759 | * @self: A #WebKitDOMDocument |
| 760 | * |
| 761 | * Returns: (transfer none): A #WebKitDOMHTMLElement |
| 762 | * |
| 763 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 764 | **/ |
| 765 | WEBKIT_DEPRECATED WebKitDOMHTMLElement* |
| 766 | webkit_dom_document_get_body(WebKitDOMDocument* self); |
| 767 | |
| 768 | /** |
| 769 | * webkit_dom_document_set_body: |
| 770 | * @self: A #WebKitDOMDocument |
| 771 | * @value: A #WebKitDOMHTMLElement |
| 772 | * @error: #GError |
| 773 | * |
| 774 | * |
| 775 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 776 | **/ |
| 777 | WEBKIT_DEPRECATED void |
| 778 | webkit_dom_document_set_body(WebKitDOMDocument* self, WebKitDOMHTMLElement* value, GError** error); |
| 779 | |
| 780 | /** |
| 781 | * webkit_dom_document_get_head: |
| 782 | * @self: A #WebKitDOMDocument |
| 783 | * |
| 784 | * Returns: (transfer none): A #WebKitDOMHTMLHeadElement |
| 785 | * |
| 786 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 787 | **/ |
| 788 | WEBKIT_DEPRECATED WebKitDOMHTMLHeadElement* |
| 789 | webkit_dom_document_get_head(WebKitDOMDocument* self); |
| 790 | |
| 791 | /** |
| 792 | * webkit_dom_document_get_images: |
| 793 | * @self: A #WebKitDOMDocument |
| 794 | * |
| 795 | * Returns: (transfer full): A #WebKitDOMHTMLCollection |
| 796 | * |
| 797 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 798 | **/ |
| 799 | WEBKIT_DEPRECATED WebKitDOMHTMLCollection* |
| 800 | webkit_dom_document_get_images(WebKitDOMDocument* self); |
| 801 | |
| 802 | /** |
| 803 | * webkit_dom_document_get_applets: |
| 804 | * @self: A #WebKitDOMDocument |
| 805 | * |
| 806 | * Returns: (transfer full): A #WebKitDOMHTMLCollection |
| 807 | * |
| 808 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 809 | **/ |
| 810 | WEBKIT_DEPRECATED WebKitDOMHTMLCollection* |
| 811 | webkit_dom_document_get_applets(WebKitDOMDocument* self); |
| 812 | |
| 813 | /** |
| 814 | * webkit_dom_document_get_links: |
| 815 | * @self: A #WebKitDOMDocument |
| 816 | * |
| 817 | * Returns: (transfer full): A #WebKitDOMHTMLCollection |
| 818 | * |
| 819 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 820 | **/ |
| 821 | WEBKIT_DEPRECATED WebKitDOMHTMLCollection* |
| 822 | webkit_dom_document_get_links(WebKitDOMDocument* self); |
| 823 | |
| 824 | /** |
| 825 | * webkit_dom_document_get_forms: |
| 826 | * @self: A #WebKitDOMDocument |
| 827 | * |
| 828 | * Returns: (transfer full): A #WebKitDOMHTMLCollection |
| 829 | * |
| 830 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 831 | **/ |
| 832 | WEBKIT_DEPRECATED WebKitDOMHTMLCollection* |
| 833 | webkit_dom_document_get_forms(WebKitDOMDocument* self); |
| 834 | |
| 835 | /** |
| 836 | * webkit_dom_document_get_anchors: |
| 837 | * @self: A #WebKitDOMDocument |
| 838 | * |
| 839 | * Returns: (transfer full): A #WebKitDOMHTMLCollection |
| 840 | * |
| 841 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 842 | **/ |
| 843 | WEBKIT_DEPRECATED WebKitDOMHTMLCollection* |
| 844 | webkit_dom_document_get_anchors(WebKitDOMDocument* self); |
| 845 | |
| 846 | /** |
| 847 | * webkit_dom_document_get_embeds: |
| 848 | * @self: A #WebKitDOMDocument |
| 849 | * |
| 850 | * Returns: (transfer full): A #WebKitDOMHTMLCollection |
| 851 | * |
| 852 | * Since: 2.14 |
| 853 | * |
| 854 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 855 | **/ |
| 856 | WEBKIT_DEPRECATED WebKitDOMHTMLCollection* |
| 857 | webkit_dom_document_get_embeds(WebKitDOMDocument* self); |
| 858 | |
| 859 | /** |
| 860 | * webkit_dom_document_get_plugins: |
| 861 | * @self: A #WebKitDOMDocument |
| 862 | * |
| 863 | * Returns: (transfer full): A #WebKitDOMHTMLCollection |
| 864 | * |
| 865 | * Since: 2.14 |
| 866 | * |
| 867 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 868 | **/ |
| 869 | WEBKIT_DEPRECATED WebKitDOMHTMLCollection* |
| 870 | webkit_dom_document_get_plugins(WebKitDOMDocument* self); |
| 871 | |
| 872 | /** |
| 873 | * webkit_dom_document_get_scripts: |
| 874 | * @self: A #WebKitDOMDocument |
| 875 | * |
| 876 | * Returns: (transfer full): A #WebKitDOMHTMLCollection |
| 877 | * |
| 878 | * Since: 2.14 |
| 879 | * |
| 880 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 881 | **/ |
| 882 | WEBKIT_DEPRECATED WebKitDOMHTMLCollection* |
| 883 | webkit_dom_document_get_scripts(WebKitDOMDocument* self); |
| 884 | |
| 885 | /** |
| 886 | * webkit_dom_document_get_last_modified: |
| 887 | * @self: A #WebKitDOMDocument |
| 888 | * |
| 889 | * Returns: A #gchar |
| 890 | * |
| 891 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 892 | **/ |
| 893 | WEBKIT_DEPRECATED gchar* |
| 894 | webkit_dom_document_get_last_modified(WebKitDOMDocument* self); |
| 895 | |
| 896 | /** |
| 897 | * webkit_dom_document_get_charset: |
| 898 | * @self: A #WebKitDOMDocument |
| 899 | * |
| 900 | * Returns: A #gchar |
| 901 | * |
| 902 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 903 | **/ |
| 904 | WEBKIT_DEPRECATED gchar* |
| 905 | webkit_dom_document_get_charset(WebKitDOMDocument* self); |
| 906 | |
| 907 | /** |
| 908 | * webkit_dom_document_set_charset: |
| 909 | * @self: A #WebKitDOMDocument |
| 910 | * @value: A #gchar |
| 911 | * |
| 912 | * |
| 913 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 914 | **/ |
| 915 | WEBKIT_DEPRECATED void |
| 916 | webkit_dom_document_set_charset(WebKitDOMDocument* self, const gchar* value); |
| 917 | |
| 918 | /** |
| 919 | * webkit_dom_document_get_ready_state: |
| 920 | * @self: A #WebKitDOMDocument |
| 921 | * |
| 922 | * Returns: A #gchar |
| 923 | * |
| 924 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 925 | **/ |
| 926 | WEBKIT_DEPRECATED gchar* |
| 927 | webkit_dom_document_get_ready_state(WebKitDOMDocument* self); |
| 928 | |
| 929 | /** |
| 930 | * webkit_dom_document_get_character_set: |
| 931 | * @self: A #WebKitDOMDocument |
| 932 | * |
| 933 | * Returns: A #gchar |
| 934 | * |
| 935 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 936 | **/ |
| 937 | WEBKIT_DEPRECATED gchar* |
| 938 | webkit_dom_document_get_character_set(WebKitDOMDocument* self); |
| 939 | |
| 940 | /** |
| 941 | * webkit_dom_document_get_preferred_stylesheet_set: |
| 942 | * @self: A #WebKitDOMDocument |
| 943 | * |
| 944 | * This function has been removed and does nothing. |
| 945 | * |
| 946 | * Returns: A #gchar |
| 947 | * |
| 948 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 949 | **/ |
| 950 | WEBKIT_DEPRECATED gchar* |
| 951 | webkit_dom_document_get_preferred_stylesheet_set(WebKitDOMDocument* self); |
| 952 | |
| 953 | /** |
| 954 | * webkit_dom_document_get_selected_stylesheet_set: |
| 955 | * @self: A #WebKitDOMDocument |
| 956 | * |
| 957 | * This function has been removed and does nothing. |
| 958 | * |
| 959 | * Returns: A #gchar |
| 960 | * |
| 961 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 962 | **/ |
| 963 | WEBKIT_DEPRECATED gchar* |
| 964 | webkit_dom_document_get_selected_stylesheet_set(WebKitDOMDocument* self); |
| 965 | |
| 966 | /** |
| 967 | * webkit_dom_document_set_selected_stylesheet_set: |
| 968 | * @self: A #WebKitDOMDocument |
| 969 | * @value: A #gchar |
| 970 | * |
| 971 | * This function has been removed and does nothing. |
| 972 | * |
| 973 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 974 | **/ |
| 975 | WEBKIT_DEPRECATED void |
| 976 | webkit_dom_document_set_selected_stylesheet_set(WebKitDOMDocument* self, const gchar* value); |
| 977 | |
| 978 | /** |
| 979 | * webkit_dom_document_get_active_element: |
| 980 | * @self: A #WebKitDOMDocument |
| 981 | * |
| 982 | * Returns: (transfer none): A #WebKitDOMElement |
| 983 | * |
| 984 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 985 | **/ |
| 986 | WEBKIT_DEPRECATED WebKitDOMElement* |
| 987 | webkit_dom_document_get_active_element(WebKitDOMDocument* self); |
| 988 | |
| 989 | /** |
| 990 | * webkit_dom_document_get_compat_mode: |
| 991 | * @self: A #WebKitDOMDocument |
| 992 | * |
| 993 | * Returns: A #gchar |
| 994 | * |
| 995 | * Since: 2.14 |
| 996 | * |
| 997 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 998 | **/ |
| 999 | WEBKIT_DEPRECATED gchar* |
| 1000 | webkit_dom_document_get_compat_mode(WebKitDOMDocument* self); |
| 1001 | |
| 1002 | /** |
| 1003 | * webkit_dom_document_caret_range_from_point: |
| 1004 | * @self: A #WebKitDOMDocument |
| 1005 | * @x: A #glong |
| 1006 | * @y: A #glong |
| 1007 | * |
| 1008 | * Returns: (transfer full): A #WebKitDOMRange |
| 1009 | * |
| 1010 | * Since: 2.16 |
| 1011 | * |
| 1012 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 1013 | **/ |
| 1014 | WEBKIT_DEPRECATED WebKitDOMRange* |
| 1015 | webkit_dom_document_caret_range_from_point(WebKitDOMDocument* self, glong x, glong y); |
| 1016 | |
| 1017 | /** |
| 1018 | * webkit_dom_document_webkit_cancel_fullscreen: |
| 1019 | * @self: A #WebKitDOMDocument |
| 1020 | * |
| 1021 | * Since: 2.16 |
| 1022 | * |
| 1023 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 1024 | **/ |
| 1025 | WEBKIT_DEPRECATED void |
| 1026 | webkit_dom_document_webkit_cancel_fullscreen(WebKitDOMDocument* self); |
| 1027 | |
| 1028 | /** |
| 1029 | * webkit_dom_document_webkit_exit_fullscreen: |
| 1030 | * @self: A #WebKitDOMDocument |
| 1031 | * |
| 1032 | * Since: 2.16 |
| 1033 | * |
| 1034 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 1035 | **/ |
| 1036 | WEBKIT_DEPRECATED void |
| 1037 | webkit_dom_document_webkit_exit_fullscreen(WebKitDOMDocument* self); |
| 1038 | |
| 1039 | /** |
| 1040 | * webkit_dom_document_exit_pointer_lock: |
| 1041 | * @self: A #WebKitDOMDocument |
| 1042 | * |
| 1043 | * Since: 2.16 |
| 1044 | * |
| 1045 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 1046 | **/ |
| 1047 | WEBKIT_DEPRECATED void |
| 1048 | webkit_dom_document_exit_pointer_lock(WebKitDOMDocument* self); |
| 1049 | |
| 1050 | /** |
| 1051 | * webkit_dom_document_get_content_type: |
| 1052 | * @self: A #WebKitDOMDocument |
| 1053 | * |
| 1054 | * Returns: A #gchar |
| 1055 | * |
| 1056 | * Since: 2.16 |
| 1057 | * |
| 1058 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 1059 | **/ |
| 1060 | WEBKIT_DEPRECATED gchar* |
| 1061 | webkit_dom_document_get_content_type(WebKitDOMDocument* self); |
| 1062 | |
| 1063 | /** |
| 1064 | * webkit_dom_document_get_dir: |
| 1065 | * @self: A #WebKitDOMDocument |
| 1066 | * |
| 1067 | * Returns: A #gchar |
| 1068 | * |
| 1069 | * Since: 2.16 |
| 1070 | * |
| 1071 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 1072 | **/ |
| 1073 | WEBKIT_DEPRECATED gchar* |
| 1074 | webkit_dom_document_get_dir(WebKitDOMDocument* self); |
| 1075 | |
| 1076 | /** |
| 1077 | * webkit_dom_document_set_dir: |
| 1078 | * @self: A #WebKitDOMDocument |
| 1079 | * @value: A #gchar |
| 1080 | * |
| 1081 | * Since: 2.16 |
| 1082 | * |
| 1083 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 1084 | **/ |
| 1085 | WEBKIT_DEPRECATED void |
| 1086 | webkit_dom_document_set_dir(WebKitDOMDocument* self, const gchar* value); |
| 1087 | |
| 1088 | /** |
| 1089 | * webkit_dom_document_get_webkit_is_fullscreen: |
| 1090 | * @self: A #WebKitDOMDocument |
| 1091 | * |
| 1092 | * Returns: A #gboolean |
| 1093 | * |
| 1094 | * Since: 2.16 |
| 1095 | * |
| 1096 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 1097 | **/ |
| 1098 | WEBKIT_DEPRECATED gboolean |
| 1099 | webkit_dom_document_get_webkit_is_fullscreen(WebKitDOMDocument* self); |
| 1100 | |
| 1101 | /** |
| 1102 | * webkit_dom_document_get_webkit_fullscreen_keyboard_input_allowed: |
| 1103 | * @self: A #WebKitDOMDocument |
| 1104 | * |
| 1105 | * Returns: A #gboolean |
| 1106 | * |
| 1107 | * Since: 2.16 |
| 1108 | * |
| 1109 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 1110 | **/ |
| 1111 | WEBKIT_DEPRECATED gboolean |
| 1112 | webkit_dom_document_get_webkit_fullscreen_keyboard_input_allowed(WebKitDOMDocument* self); |
| 1113 | |
| 1114 | /** |
| 1115 | * webkit_dom_document_get_webkit_current_fullscreen_element: |
| 1116 | * @self: A #WebKitDOMDocument |
| 1117 | * |
| 1118 | * Returns: (transfer none): A #WebKitDOMElement |
| 1119 | * |
| 1120 | * Since: 2.16 |
| 1121 | * |
| 1122 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 1123 | **/ |
| 1124 | WEBKIT_DEPRECATED WebKitDOMElement* |
| 1125 | webkit_dom_document_get_webkit_current_fullscreen_element(WebKitDOMDocument* self); |
| 1126 | |
| 1127 | /** |
| 1128 | * webkit_dom_document_get_webkit_fullscreen_enabled: |
| 1129 | * @self: A #WebKitDOMDocument |
| 1130 | * |
| 1131 | * Returns: A #gboolean |
| 1132 | * |
| 1133 | * Since: 2.16 |
| 1134 | * |
| 1135 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 1136 | **/ |
| 1137 | WEBKIT_DEPRECATED gboolean |
| 1138 | webkit_dom_document_get_webkit_fullscreen_enabled(WebKitDOMDocument* self); |
| 1139 | |
| 1140 | /** |
| 1141 | * webkit_dom_document_get_webkit_fullscreen_element: |
| 1142 | * @self: A #WebKitDOMDocument |
| 1143 | * |
| 1144 | * Returns: (transfer none): A #WebKitDOMElement |
| 1145 | * |
| 1146 | * Since: 2.16 |
| 1147 | * |
| 1148 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 1149 | **/ |
| 1150 | WEBKIT_DEPRECATED WebKitDOMElement* |
| 1151 | webkit_dom_document_get_webkit_fullscreen_element(WebKitDOMDocument* self); |
| 1152 | |
| 1153 | /** |
| 1154 | * webkit_dom_document_get_pointer_lock_element: |
| 1155 | * @self: A #WebKitDOMDocument |
| 1156 | * |
| 1157 | * Returns: (transfer none): A #WebKitDOMElement |
| 1158 | * |
| 1159 | * Since: 2.16 |
| 1160 | * |
| 1161 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 1162 | **/ |
| 1163 | WEBKIT_DEPRECATED WebKitDOMElement* |
| 1164 | webkit_dom_document_get_pointer_lock_element(WebKitDOMDocument* self); |
| 1165 | |
| 1166 | /** |
| 1167 | * webkit_dom_document_get_visibility_state: |
| 1168 | * @self: A #WebKitDOMDocument |
| 1169 | * |
| 1170 | * Returns: A #gchar |
| 1171 | * |
| 1172 | * Since: 2.16 |
| 1173 | * |
| 1174 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 1175 | **/ |
| 1176 | WEBKIT_DEPRECATED gchar* |
| 1177 | webkit_dom_document_get_visibility_state(WebKitDOMDocument* self); |
| 1178 | |
| 1179 | /** |
| 1180 | * webkit_dom_document_get_hidden: |
| 1181 | * @self: A #WebKitDOMDocument |
| 1182 | * |
| 1183 | * Returns: A #gboolean |
| 1184 | * |
| 1185 | * Since: 2.16 |
| 1186 | * |
| 1187 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 1188 | **/ |
| 1189 | WEBKIT_DEPRECATED gboolean |
| 1190 | webkit_dom_document_get_hidden(WebKitDOMDocument* self); |
| 1191 | |
| 1192 | /** |
| 1193 | * webkit_dom_document_get_current_script: |
| 1194 | * @self: A #WebKitDOMDocument |
| 1195 | * |
| 1196 | * Returns: (transfer none): A #WebKitDOMHTMLScriptElement |
| 1197 | * |
| 1198 | * Since: 2.16 |
| 1199 | * |
| 1200 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 1201 | **/ |
| 1202 | WEBKIT_DEPRECATED WebKitDOMHTMLScriptElement* |
| 1203 | webkit_dom_document_get_current_script(WebKitDOMDocument* self); |
| 1204 | |
| 1205 | /** |
| 1206 | * webkit_dom_document_get_origin: |
| 1207 | * @self: A #WebKitDOMDocument |
| 1208 | * |
| 1209 | * Returns: A #gchar |
| 1210 | * |
| 1211 | * Since: 2.16 |
| 1212 | * |
| 1213 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 1214 | **/ |
| 1215 | WEBKIT_DEPRECATED gchar* |
| 1216 | webkit_dom_document_get_origin(WebKitDOMDocument* self); |
| 1217 | |
| 1218 | /** |
| 1219 | * webkit_dom_document_get_scrolling_element: |
| 1220 | * @self: A #WebKitDOMDocument |
| 1221 | * |
| 1222 | * Returns: (transfer none): A #WebKitDOMElement |
| 1223 | * |
| 1224 | * Since: 2.16 |
| 1225 | * |
| 1226 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 1227 | **/ |
| 1228 | WEBKIT_DEPRECATED WebKitDOMElement* |
| 1229 | webkit_dom_document_get_scrolling_element(WebKitDOMDocument* self); |
| 1230 | |
| 1231 | /** |
| 1232 | * webkit_dom_document_get_children: |
| 1233 | * @self: A #WebKitDOMDocument |
| 1234 | * |
| 1235 | * Returns: (transfer full): A #WebKitDOMHTMLCollection |
| 1236 | * |
| 1237 | * Since: 2.16 |
| 1238 | * |
| 1239 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 1240 | **/ |
| 1241 | WEBKIT_DEPRECATED WebKitDOMHTMLCollection* |
| 1242 | webkit_dom_document_get_children(WebKitDOMDocument* self); |
| 1243 | |
| 1244 | /** |
| 1245 | * webkit_dom_document_get_first_element_child: |
| 1246 | * @self: A #WebKitDOMDocument |
| 1247 | * |
| 1248 | * Returns: (transfer none): A #WebKitDOMElement |
| 1249 | * |
| 1250 | * Since: 2.16 |
| 1251 | * |
| 1252 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 1253 | **/ |
| 1254 | WEBKIT_DEPRECATED WebKitDOMElement* |
| 1255 | webkit_dom_document_get_first_element_child(WebKitDOMDocument* self); |
| 1256 | |
| 1257 | /** |
| 1258 | * webkit_dom_document_get_last_element_child: |
| 1259 | * @self: A #WebKitDOMDocument |
| 1260 | * |
| 1261 | * Returns: (transfer none): A #WebKitDOMElement |
| 1262 | * |
| 1263 | * Since: 2.16 |
| 1264 | * |
| 1265 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 1266 | **/ |
| 1267 | WEBKIT_DEPRECATED WebKitDOMElement* |
| 1268 | webkit_dom_document_get_last_element_child(WebKitDOMDocument* self); |
| 1269 | |
| 1270 | /** |
| 1271 | * webkit_dom_document_get_child_element_count: |
| 1272 | * @self: A #WebKitDOMDocument |
| 1273 | * |
| 1274 | * Returns: A #gulong |
| 1275 | * |
| 1276 | * Since: 2.16 |
| 1277 | * |
| 1278 | * Deprecated: 2.22: Use JavaScriptCore API instead |
| 1279 | **/ |
| 1280 | WEBKIT_DEPRECATED gulong |
| 1281 | webkit_dom_document_get_child_element_count(WebKitDOMDocument* self); |
| 1282 | |
| 1283 | G_END_DECLS |
| 1284 | |
| 1285 | #endif /* WebKitDOMDocument_h */ |
| 1286 | |