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 WebKitDOMDOMWindow_h
25#define WebKitDOMDOMWindow_h
26
27#include <glib-object.h>
28#include <webkitdom/WebKitDOMObject.h>
29#include <webkitdom/webkitdomdefines.h>
30
31G_BEGIN_DECLS
32
33#define WEBKIT_DOM_TYPE_DOM_WINDOW (webkit_dom_dom_window_get_type())
34#define WEBKIT_DOM_DOM_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_DOM_TYPE_DOM_WINDOW, WebKitDOMDOMWindow))
35#define WEBKIT_DOM_DOM_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), WEBKIT_DOM_TYPE_DOM_WINDOW, WebKitDOMDOMWindowClass)
36#define WEBKIT_DOM_IS_DOM_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_DOM_TYPE_DOM_WINDOW))
37#define WEBKIT_DOM_IS_DOM_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), WEBKIT_DOM_TYPE_DOM_WINDOW))
38#define WEBKIT_DOM_DOM_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), WEBKIT_DOM_TYPE_DOM_WINDOW, WebKitDOMDOMWindowClass))
39
40struct _WebKitDOMDOMWindow {
41 WebKitDOMObject parent_instance;
42};
43
44struct _WebKitDOMDOMWindowClass {
45 WebKitDOMObjectClass parent_class;
46};
47
48WEBKIT_DEPRECATED GType
49webkit_dom_dom_window_get_type(void);
50
51/**
52 * webkit_dom_dom_window_get_selection:
53 * @self: A #WebKitDOMDOMWindow
54 *
55 * Returns: (transfer full): A #WebKitDOMDOMSelection
56 *
57 * Since: 2.16
58 *
59 * Deprecated: 2.22: Use JavaScriptCore API instead
60 */
61WEBKIT_DEPRECATED WebKitDOMDOMSelection*
62webkit_dom_dom_window_get_selection(WebKitDOMDOMWindow* self);
63
64/**
65 * webkit_dom_dom_window_focus:
66 * @self: A #WebKitDOMDOMWindow
67 *
68 * Since: 2.16
69 *
70 * Deprecated: 2.22: Use JavaScriptCore API instead
71 */
72WEBKIT_DEPRECATED void
73webkit_dom_dom_window_focus(WebKitDOMDOMWindow* self);
74
75/**
76 * webkit_dom_dom_window_blur:
77 * @self: A #WebKitDOMDOMWindow
78 *
79 * Since: 2.16
80 *
81 * Deprecated: 2.22: Use JavaScriptCore API instead
82 */
83WEBKIT_DEPRECATED void
84webkit_dom_dom_window_blur(WebKitDOMDOMWindow* self);
85
86/**
87 * webkit_dom_dom_window_close:
88 * @self: A #WebKitDOMDOMWindow
89 *
90 * Since: 2.16
91 *
92 * Deprecated: 2.22: Use JavaScriptCore API instead
93 */
94WEBKIT_DEPRECATED void
95webkit_dom_dom_window_close(WebKitDOMDOMWindow* self);
96
97/**
98 * webkit_dom_dom_window_print:
99 * @self: A #WebKitDOMDOMWindow
100 *
101 * Since: 2.16
102 *
103 * Deprecated: 2.22: Use JavaScriptCore API instead
104 */
105WEBKIT_DEPRECATED void
106webkit_dom_dom_window_print(WebKitDOMDOMWindow* self);
107
108/**
109 * webkit_dom_dom_window_stop:
110 * @self: A #WebKitDOMDOMWindow
111 *
112 * Since: 2.16
113 *
114 * Deprecated: 2.22: Use JavaScriptCore API instead
115 */
116WEBKIT_DEPRECATED void
117webkit_dom_dom_window_stop(WebKitDOMDOMWindow* self);
118
119/**
120 * webkit_dom_dom_window_alert:
121 * @self: A #WebKitDOMDOMWindow
122 * @message: A #gchar
123 *
124 * Since: 2.16
125 *
126 * Deprecated: 2.22: Use JavaScriptCore API instead
127 */
128WEBKIT_DEPRECATED void
129webkit_dom_dom_window_alert(WebKitDOMDOMWindow* self, const gchar* message);
130
131/**
132 * webkit_dom_dom_window_confirm:
133 * @self: A #WebKitDOMDOMWindow
134 * @message: A #gchar
135 *
136 * Returns: A #gboolean
137 *
138 * Since: 2.16
139 *
140 * Deprecated: 2.22: Use JavaScriptCore API instead
141 */
142WEBKIT_DEPRECATED gboolean
143webkit_dom_dom_window_confirm(WebKitDOMDOMWindow* self, const gchar* message);
144
145/**
146 * webkit_dom_dom_window_prompt:
147 * @self: A #WebKitDOMDOMWindow
148 * @message: A #gchar
149 * @defaultValue: A #gchar
150 *
151 * Returns: A #gchar
152 *
153 * Since: 2.16
154 *
155 * Deprecated: 2.22: Use JavaScriptCore API instead
156 */
157WEBKIT_DEPRECATED gchar*
158webkit_dom_dom_window_prompt(WebKitDOMDOMWindow* self, const gchar* message, const gchar* defaultValue);
159
160/**
161 * webkit_dom_dom_window_find:
162 * @self: A #WebKitDOMDOMWindow
163 * @string: A #gchar
164 * @caseSensitive: A #gboolean
165 * @backwards: A #gboolean
166 * @wrap: A #gboolean
167 * @wholeWord: A #gboolean
168 * @searchInFrames: A #gboolean
169 * @showDialog: A #gboolean
170 *
171 * Returns: A #gboolean
172 *
173 * Since: 2.16
174 *
175 * Deprecated: 2.22: Use JavaScriptCore API instead
176 */
177WEBKIT_DEPRECATED gboolean
178webkit_dom_dom_window_find(WebKitDOMDOMWindow* self, const gchar* string, gboolean caseSensitive, gboolean backwards, gboolean wrap, gboolean wholeWord, gboolean searchInFrames, gboolean showDialog);
179
180/**
181 * webkit_dom_dom_window_scroll_by:
182 * @self: A #WebKitDOMDOMWindow
183 * @x: A #gdouble
184 * @y: A #gdouble
185 *
186 * Since: 2.16
187 *
188 * Deprecated: 2.22: Use JavaScriptCore API instead
189 */
190WEBKIT_DEPRECATED void
191webkit_dom_dom_window_scroll_by(WebKitDOMDOMWindow* self, gdouble x, gdouble y);
192
193/**
194 * webkit_dom_dom_window_scroll_to:
195 * @self: A #WebKitDOMDOMWindow
196 * @x: A #gdouble
197 * @y: A #gdouble
198 *
199 * Since: 2.16
200 *
201 * Deprecated: 2.22: Use JavaScriptCore API instead
202 */
203WEBKIT_DEPRECATED void
204webkit_dom_dom_window_scroll_to(WebKitDOMDOMWindow* self, gdouble x, gdouble y);
205
206/**
207 * webkit_dom_dom_window_move_by:
208 * @self: A #WebKitDOMDOMWindow
209 * @x: A #gfloat
210 * @y: A #gfloat
211 *
212 * Since: 2.16
213 *
214 * Deprecated: 2.22: Use JavaScriptCore API instead
215 */
216WEBKIT_DEPRECATED void
217webkit_dom_dom_window_move_by(WebKitDOMDOMWindow* self, gfloat x, gfloat y);
218
219/**
220 * webkit_dom_dom_window_move_to:
221 * @self: A #WebKitDOMDOMWindow
222 * @x: A #gfloat
223 * @y: A #gfloat
224 *
225 * Since: 2.16
226 *
227 * Deprecated: 2.22: Use JavaScriptCore API instead
228 */
229WEBKIT_DEPRECATED void
230webkit_dom_dom_window_move_to(WebKitDOMDOMWindow* self, gfloat x, gfloat y);
231
232/**
233 * webkit_dom_dom_window_resize_by:
234 * @self: A #WebKitDOMDOMWindow
235 * @x: A #gfloat
236 * @y: A #gfloat
237 *
238 * Since: 2.16
239 *
240 * Deprecated: 2.22: Use JavaScriptCore API instead
241 */
242WEBKIT_DEPRECATED void
243webkit_dom_dom_window_resize_by(WebKitDOMDOMWindow* self, gfloat x, gfloat y);
244
245/**
246 * webkit_dom_dom_window_resize_to:
247 * @self: A #WebKitDOMDOMWindow
248 * @width: A #gfloat
249 * @height: A #gfloat
250 *
251 * Since: 2.16
252 *
253 * Deprecated: 2.22: Use JavaScriptCore API instead
254 */
255WEBKIT_DEPRECATED void
256webkit_dom_dom_window_resize_to(WebKitDOMDOMWindow* self, gfloat width, gfloat height);
257
258/**
259 * webkit_dom_dom_window_get_computed_style:
260 * @self: A #WebKitDOMDOMWindow
261 * @element: A #WebKitDOMElement
262 * @pseudoElement: (allow-none): A #gchar
263 *
264 * Returns: (transfer full): A #WebKitDOMCSSStyleDeclaration
265 *
266 * Since: 2.16
267 *
268 * Deprecated: 2.22: Use JavaScriptCore API instead
269 */
270WEBKIT_DEPRECATED WebKitDOMCSSStyleDeclaration*
271webkit_dom_dom_window_get_computed_style(WebKitDOMDOMWindow* self, WebKitDOMElement* element, const gchar* pseudoElement);
272
273/**
274 * webkit_dom_dom_window_capture_events:
275 * @self: A #WebKitDOMDOMWindow
276 *
277 * Since: 2.16
278 *
279 * Deprecated: 2.22: Use JavaScriptCore API instead
280 */
281WEBKIT_DEPRECATED void
282webkit_dom_dom_window_capture_events(WebKitDOMDOMWindow* self);
283
284/**
285 * webkit_dom_dom_window_release_events:
286 * @self: A #WebKitDOMDOMWindow
287 *
288 * Since: 2.16
289 *
290 * Deprecated: 2.22: Use JavaScriptCore API instead
291 */
292WEBKIT_DEPRECATED void
293webkit_dom_dom_window_release_events(WebKitDOMDOMWindow* self);
294
295/**
296 * webkit_dom_dom_window_get_frame_element:
297 * @self: A #WebKitDOMDOMWindow
298 *
299 * Returns: (transfer none): A #WebKitDOMElement
300 *
301 * Since: 2.16
302 *
303 * Deprecated: 2.22: Use JavaScriptCore API instead
304 */
305WEBKIT_DEPRECATED WebKitDOMElement*
306webkit_dom_dom_window_get_frame_element(WebKitDOMDOMWindow* self);
307
308/**
309 * webkit_dom_dom_window_get_offscreen_buffering:
310 * @self: A #WebKitDOMDOMWindow
311 *
312 * Returns: A #gboolean
313 *
314 * Since: 2.16
315 *
316 * Deprecated: 2.22: Use JavaScriptCore API instead
317 */
318WEBKIT_DEPRECATED gboolean
319webkit_dom_dom_window_get_offscreen_buffering(WebKitDOMDOMWindow* self);
320
321/**
322 * webkit_dom_dom_window_get_outer_height:
323 * @self: A #WebKitDOMDOMWindow
324 *
325 * Returns: A #glong
326 *
327 * Since: 2.16
328 *
329 * Deprecated: 2.22: Use JavaScriptCore API instead
330 */
331WEBKIT_DEPRECATED glong
332webkit_dom_dom_window_get_outer_height(WebKitDOMDOMWindow* self);
333
334/**
335 * webkit_dom_dom_window_get_outer_width:
336 * @self: A #WebKitDOMDOMWindow
337 *
338 * Returns: A #glong
339 *
340 * Since: 2.16
341 *
342 * Deprecated: 2.22: Use JavaScriptCore API instead
343 */
344WEBKIT_DEPRECATED glong
345webkit_dom_dom_window_get_outer_width(WebKitDOMDOMWindow* self);
346
347/**
348 * webkit_dom_dom_window_get_inner_height:
349 * @self: A #WebKitDOMDOMWindow
350 *
351 * Returns: A #glong
352 *
353 * Since: 2.16
354 *
355 * Deprecated: 2.22: Use JavaScriptCore API instead
356 */
357WEBKIT_DEPRECATED glong
358webkit_dom_dom_window_get_inner_height(WebKitDOMDOMWindow* self);
359
360/**
361 * webkit_dom_dom_window_get_inner_width:
362 * @self: A #WebKitDOMDOMWindow
363 *
364 * Returns: A #glong
365 *
366 * Since: 2.16
367 *
368 * Deprecated: 2.22: Use JavaScriptCore API instead
369 */
370WEBKIT_DEPRECATED glong
371webkit_dom_dom_window_get_inner_width(WebKitDOMDOMWindow* self);
372
373/**
374 * webkit_dom_dom_window_get_screen_x:
375 * @self: A #WebKitDOMDOMWindow
376 *
377 * Returns: A #glong
378 *
379 * Since: 2.16
380 *
381 * Deprecated: 2.22: Use JavaScriptCore API instead
382 */
383WEBKIT_DEPRECATED glong
384webkit_dom_dom_window_get_screen_x(WebKitDOMDOMWindow* self);
385
386/**
387 * webkit_dom_dom_window_get_screen_y:
388 * @self: A #WebKitDOMDOMWindow
389 *
390 * Returns: A #glong
391 *
392 * Since: 2.16
393 *
394 * Deprecated: 2.22: Use JavaScriptCore API instead
395 */
396WEBKIT_DEPRECATED glong
397webkit_dom_dom_window_get_screen_y(WebKitDOMDOMWindow* self);
398
399/**
400 * webkit_dom_dom_window_get_screen_left:
401 * @self: A #WebKitDOMDOMWindow
402 *
403 * Returns: A #glong
404 *
405 * Since: 2.16
406 *
407 * Deprecated: 2.22: Use JavaScriptCore API instead
408 */
409WEBKIT_DEPRECATED glong
410webkit_dom_dom_window_get_screen_left(WebKitDOMDOMWindow* self);
411
412/**
413 * webkit_dom_dom_window_get_screen_top:
414 * @self: A #WebKitDOMDOMWindow
415 *
416 * Returns: A #glong
417 *
418 * Since: 2.16
419 *
420 * Deprecated: 2.22: Use JavaScriptCore API instead
421 */
422WEBKIT_DEPRECATED glong
423webkit_dom_dom_window_get_screen_top(WebKitDOMDOMWindow* self);
424
425/**
426 * webkit_dom_dom_window_get_scroll_x:
427 * @self: A #WebKitDOMDOMWindow
428 *
429 * Returns: A #glong
430 *
431 * Since: 2.16
432 *
433 * Deprecated: 2.22: Use JavaScriptCore API instead
434 */
435WEBKIT_DEPRECATED glong
436webkit_dom_dom_window_get_scroll_x(WebKitDOMDOMWindow* self);
437
438/**
439 * webkit_dom_dom_window_get_scroll_y:
440 * @self: A #WebKitDOMDOMWindow
441 *
442 * Returns: A #glong
443 *
444 * Since: 2.16
445 *
446 * Deprecated: 2.22: Use JavaScriptCore API instead
447 */
448WEBKIT_DEPRECATED glong
449webkit_dom_dom_window_get_scroll_y(WebKitDOMDOMWindow* self);
450
451/**
452 * webkit_dom_dom_window_get_page_x_offset:
453 * @self: A #WebKitDOMDOMWindow
454 *
455 * Returns: A #glong
456 *
457 * Since: 2.16
458 *
459 * Deprecated: 2.22: Use JavaScriptCore API instead
460 */
461WEBKIT_DEPRECATED glong
462webkit_dom_dom_window_get_page_x_offset(WebKitDOMDOMWindow* self);
463
464/**
465 * webkit_dom_dom_window_get_page_y_offset:
466 * @self: A #WebKitDOMDOMWindow
467 *
468 * Returns: A #glong
469 *
470 * Since: 2.16
471 *
472 * Deprecated: 2.22: Use JavaScriptCore API instead
473 */
474WEBKIT_DEPRECATED glong
475webkit_dom_dom_window_get_page_y_offset(WebKitDOMDOMWindow* self);
476
477/**
478 * webkit_dom_dom_window_get_closed:
479 * @self: A #WebKitDOMDOMWindow
480 *
481 * Returns: A #gboolean
482 *
483 * Since: 2.16
484 *
485 * Deprecated: 2.22: Use JavaScriptCore API instead
486 */
487WEBKIT_DEPRECATED gboolean
488webkit_dom_dom_window_get_closed(WebKitDOMDOMWindow* self);
489
490/**
491 * webkit_dom_dom_window_get_length:
492 * @self: A #WebKitDOMDOMWindow
493 *
494 * Returns: A #gulong
495 *
496 * Since: 2.16
497 *
498 * Deprecated: 2.22: Use JavaScriptCore API instead
499 */
500WEBKIT_DEPRECATED gulong
501webkit_dom_dom_window_get_length(WebKitDOMDOMWindow* self);
502
503/**
504 * webkit_dom_dom_window_get_name:
505 * @self: A #WebKitDOMDOMWindow
506 *
507 * Returns: A #gchar
508 *
509 * Since: 2.16
510 *
511 * Deprecated: 2.22: Use JavaScriptCore API instead
512 */
513WEBKIT_DEPRECATED gchar*
514webkit_dom_dom_window_get_name(WebKitDOMDOMWindow* self);
515
516/**
517 * webkit_dom_dom_window_set_name:
518 * @self: A #WebKitDOMDOMWindow
519 * @value: A #gchar
520 *
521 * Since: 2.16
522 *
523 * Deprecated: 2.22: Use JavaScriptCore API instead
524 */
525WEBKIT_DEPRECATED void
526webkit_dom_dom_window_set_name(WebKitDOMDOMWindow* self, const gchar* value);
527
528/**
529 * webkit_dom_dom_window_get_status:
530 * @self: A #WebKitDOMDOMWindow
531 *
532 * Returns: A #gchar
533 *
534 * Since: 2.16
535 *
536 * Deprecated: 2.22: Use JavaScriptCore API instead
537 */
538WEBKIT_DEPRECATED gchar*
539webkit_dom_dom_window_get_status(WebKitDOMDOMWindow* self);
540
541/**
542 * webkit_dom_dom_window_set_status:
543 * @self: A #WebKitDOMDOMWindow
544 * @value: A #gchar
545 *
546 * Since: 2.16
547 *
548 * Deprecated: 2.22: Use JavaScriptCore API instead
549 */
550WEBKIT_DEPRECATED void
551webkit_dom_dom_window_set_status(WebKitDOMDOMWindow* self, const gchar* value);
552
553/**
554 * webkit_dom_dom_window_get_default_status:
555 * @self: A #WebKitDOMDOMWindow
556 *
557 * Returns: A #gchar
558 *
559 * Since: 2.16
560 *
561 * Deprecated: 2.22: Use JavaScriptCore API instead
562 */
563WEBKIT_DEPRECATED gchar*
564webkit_dom_dom_window_get_default_status(WebKitDOMDOMWindow* self);
565
566/**
567 * webkit_dom_dom_window_set_default_status:
568 * @self: A #WebKitDOMDOMWindow
569 * @value: A #gchar
570 *
571 * Since: 2.16
572 *
573 * Deprecated: 2.22: Use JavaScriptCore API instead
574 */
575WEBKIT_DEPRECATED void
576webkit_dom_dom_window_set_default_status(WebKitDOMDOMWindow* self, const gchar* value);
577
578/**
579 * webkit_dom_dom_window_get_self:
580 * @self: A #WebKitDOMDOMWindow
581 *
582 * Returns: (transfer full): A #WebKitDOMDOMWindow
583 *
584 * Since: 2.16
585 *
586 * Deprecated: 2.22: Use JavaScriptCore API instead
587 */
588WEBKIT_DEPRECATED WebKitDOMDOMWindow*
589webkit_dom_dom_window_get_self(WebKitDOMDOMWindow* self);
590
591/**
592 * webkit_dom_dom_window_get_window:
593 * @self: A #WebKitDOMDOMWindow
594 *
595 * Returns: (transfer full): A #WebKitDOMDOMWindow
596 *
597 * Since: 2.16
598 *
599 * Deprecated: 2.22: Use JavaScriptCore API instead
600 */
601WEBKIT_DEPRECATED WebKitDOMDOMWindow*
602webkit_dom_dom_window_get_window(WebKitDOMDOMWindow* self);
603
604/**
605 * webkit_dom_dom_window_get_frames:
606 * @self: A #WebKitDOMDOMWindow
607 *
608 * Returns: (transfer full): A #WebKitDOMDOMWindow
609 *
610 * Since: 2.16
611 *
612 * Deprecated: 2.22: Use JavaScriptCore API instead
613 */
614WEBKIT_DEPRECATED WebKitDOMDOMWindow*
615webkit_dom_dom_window_get_frames(WebKitDOMDOMWindow* self);
616
617/**
618 * webkit_dom_dom_window_get_opener:
619 * @self: A #WebKitDOMDOMWindow
620 *
621 * Returns: (transfer full): A #WebKitDOMDOMWindow
622 *
623 * Since: 2.16
624 *
625 * Deprecated: 2.22: Use JavaScriptCore API instead
626 */
627WEBKIT_DEPRECATED WebKitDOMDOMWindow*
628webkit_dom_dom_window_get_opener(WebKitDOMDOMWindow* self);
629
630/**
631 * webkit_dom_dom_window_get_parent:
632 * @self: A #WebKitDOMDOMWindow
633 *
634 * Returns: (transfer full): A #WebKitDOMDOMWindow
635 *
636 * Since: 2.16
637 *
638 * Deprecated: 2.22: Use JavaScriptCore API instead
639 */
640WEBKIT_DEPRECATED WebKitDOMDOMWindow*
641webkit_dom_dom_window_get_parent(WebKitDOMDOMWindow* self);
642
643/**
644 * webkit_dom_dom_window_get_top:
645 * @self: A #WebKitDOMDOMWindow
646 *
647 * Returns: (transfer full): A #WebKitDOMDOMWindow
648 *
649 * Since: 2.16
650 *
651 * Deprecated: 2.22: Use JavaScriptCore API instead
652 */
653WEBKIT_DEPRECATED WebKitDOMDOMWindow*
654webkit_dom_dom_window_get_top(WebKitDOMDOMWindow* self);
655
656/**
657 * webkit_dom_dom_window_get_document:
658 * @self: A #WebKitDOMDOMWindow
659 *
660 * Returns: (transfer none): A #WebKitDOMDocument
661 *
662 * Since: 2.16
663 *
664 * Deprecated: 2.22: Use JavaScriptCore API instead
665 */
666WEBKIT_DEPRECATED WebKitDOMDocument*
667webkit_dom_dom_window_get_document(WebKitDOMDOMWindow* self);
668
669/**
670 * webkit_dom_dom_window_get_device_pixel_ratio:
671 * @self: A #WebKitDOMDOMWindow
672 *
673 * Returns: A #gdouble
674 *
675 * Since: 2.16
676 *
677 * Deprecated: 2.22: Use JavaScriptCore API instead
678 */
679WEBKIT_DEPRECATED gdouble
680webkit_dom_dom_window_get_device_pixel_ratio(WebKitDOMDOMWindow* self);
681
682/**
683 * webkit_dom_dom_window_get_orientation:
684 * @self: A #WebKitDOMDOMWindow
685 *
686 * Returns: A #glong
687 *
688 * Since: 2.16
689 *
690 * Deprecated: 2.22: Use JavaScriptCore API instead
691 */
692WEBKIT_DEPRECATED glong
693webkit_dom_dom_window_get_orientation(WebKitDOMDOMWindow* self);
694
695/**
696 * webkit_dom_dom_window_post_user_message:
697 * @window: A #WebKitDOMDOMWindow
698 * @handler: Name of the user message handler.
699 * @message: JavaScript value to be sent.
700 *
701 * Returns: Whether the message was successfully sent.
702 *
703 * Since: 2.8
704 *
705 * Deprecated: 2.22: Use JavaScriptCore API instead
706 */
707WEBKIT_DEPRECATED gboolean
708webkit_dom_dom_window_webkit_message_handlers_post_message(WebKitDOMDOMWindow* window, const gchar* handler, const gchar* message);
709
710G_END_DECLS
711
712#endif /* WebKitDOMDOMWindow_h */
713