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 | |
31 | G_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 | |
40 | struct _WebKitDOMDOMWindow { |
41 | WebKitDOMObject parent_instance; |
42 | }; |
43 | |
44 | struct _WebKitDOMDOMWindowClass { |
45 | WebKitDOMObjectClass parent_class; |
46 | }; |
47 | |
48 | WEBKIT_DEPRECATED GType |
49 | webkit_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 | */ |
61 | WEBKIT_DEPRECATED WebKitDOMDOMSelection* |
62 | webkit_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 | */ |
72 | WEBKIT_DEPRECATED void |
73 | webkit_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 | */ |
83 | WEBKIT_DEPRECATED void |
84 | webkit_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 | */ |
94 | WEBKIT_DEPRECATED void |
95 | webkit_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 | */ |
105 | WEBKIT_DEPRECATED void |
106 | webkit_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 | */ |
116 | WEBKIT_DEPRECATED void |
117 | webkit_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 | */ |
128 | WEBKIT_DEPRECATED void |
129 | webkit_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 | */ |
142 | WEBKIT_DEPRECATED gboolean |
143 | webkit_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 | */ |
157 | WEBKIT_DEPRECATED gchar* |
158 | webkit_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 | */ |
177 | WEBKIT_DEPRECATED gboolean |
178 | webkit_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 | */ |
190 | WEBKIT_DEPRECATED void |
191 | webkit_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 | */ |
203 | WEBKIT_DEPRECATED void |
204 | webkit_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 | */ |
216 | WEBKIT_DEPRECATED void |
217 | webkit_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 | */ |
229 | WEBKIT_DEPRECATED void |
230 | webkit_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 | */ |
242 | WEBKIT_DEPRECATED void |
243 | webkit_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 | */ |
255 | WEBKIT_DEPRECATED void |
256 | webkit_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 | */ |
270 | WEBKIT_DEPRECATED WebKitDOMCSSStyleDeclaration* |
271 | webkit_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 | */ |
281 | WEBKIT_DEPRECATED void |
282 | webkit_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 | */ |
292 | WEBKIT_DEPRECATED void |
293 | webkit_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 | */ |
305 | WEBKIT_DEPRECATED WebKitDOMElement* |
306 | webkit_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 | */ |
318 | WEBKIT_DEPRECATED gboolean |
319 | webkit_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 | */ |
331 | WEBKIT_DEPRECATED glong |
332 | webkit_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 | */ |
344 | WEBKIT_DEPRECATED glong |
345 | webkit_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 | */ |
357 | WEBKIT_DEPRECATED glong |
358 | webkit_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 | */ |
370 | WEBKIT_DEPRECATED glong |
371 | webkit_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 | */ |
383 | WEBKIT_DEPRECATED glong |
384 | webkit_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 | */ |
396 | WEBKIT_DEPRECATED glong |
397 | webkit_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 | */ |
409 | WEBKIT_DEPRECATED glong |
410 | webkit_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 | */ |
422 | WEBKIT_DEPRECATED glong |
423 | webkit_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 | */ |
435 | WEBKIT_DEPRECATED glong |
436 | webkit_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 | */ |
448 | WEBKIT_DEPRECATED glong |
449 | webkit_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 | */ |
461 | WEBKIT_DEPRECATED glong |
462 | webkit_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 | */ |
474 | WEBKIT_DEPRECATED glong |
475 | webkit_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 | */ |
487 | WEBKIT_DEPRECATED gboolean |
488 | webkit_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 | */ |
500 | WEBKIT_DEPRECATED gulong |
501 | webkit_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 | */ |
513 | WEBKIT_DEPRECATED gchar* |
514 | webkit_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 | */ |
525 | WEBKIT_DEPRECATED void |
526 | webkit_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 | */ |
538 | WEBKIT_DEPRECATED gchar* |
539 | webkit_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 | */ |
550 | WEBKIT_DEPRECATED void |
551 | webkit_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 | */ |
563 | WEBKIT_DEPRECATED gchar* |
564 | webkit_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 | */ |
575 | WEBKIT_DEPRECATED void |
576 | webkit_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 | */ |
588 | WEBKIT_DEPRECATED WebKitDOMDOMWindow* |
589 | webkit_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 | */ |
601 | WEBKIT_DEPRECATED WebKitDOMDOMWindow* |
602 | webkit_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 | */ |
614 | WEBKIT_DEPRECATED WebKitDOMDOMWindow* |
615 | webkit_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 | */ |
627 | WEBKIT_DEPRECATED WebKitDOMDOMWindow* |
628 | webkit_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 | */ |
640 | WEBKIT_DEPRECATED WebKitDOMDOMWindow* |
641 | webkit_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 | */ |
653 | WEBKIT_DEPRECATED WebKitDOMDOMWindow* |
654 | webkit_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 | */ |
666 | WEBKIT_DEPRECATED WebKitDOMDocument* |
667 | webkit_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 | */ |
679 | WEBKIT_DEPRECATED gdouble |
680 | webkit_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 | */ |
692 | WEBKIT_DEPRECATED glong |
693 | webkit_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 | */ |
707 | WEBKIT_DEPRECATED gboolean |
708 | webkit_dom_dom_window_webkit_message_handlers_post_message(WebKitDOMDOMWindow* window, const gchar* handler, const gchar* message); |
709 | |
710 | G_END_DECLS |
711 | |
712 | #endif /* WebKitDOMDOMWindow_h */ |
713 | |