summaryrefslogtreecommitdiff
path: root/Documentation/webkitgtk/html/webkitgtk-Global-functions.html
blob: 358bf7e674632dba409d7396c5218ef4b16b23ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>WebKitGTK+ Reference Manual: Global functions</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="WebKitGTK+ Reference Manual">
<link rel="up" href="ch01.html" title="Global functions">
<link rel="prev" href="ch01.html" title="Global functions">
<link rel="next" href="ch02.html" title="Class Overview">
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#webkitgtk-Global-functions.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="ch01.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="ch02.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="webkitgtk-Global-functions"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="webkitgtk-Global-functions.top_of_page"></a>Global functions</span></h2>
<p>Global functions — Global functions controlling WebKit</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="webkitgtk-Global-functions.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a href="../libsoup-2.4/SoupSession.html"><span class="returnvalue">SoupSession</span></a> *
</td>
<td class="function_name">
<a class="link" href="webkitgtk-Global-functions.html#webkit-get-default-session" title="webkit_get_default_session ()">webkit_get_default_session</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a>
</td>
<td class="function_name">
<a class="link" href="webkitgtk-Global-functions.html#webkit-get-default-web-database-quota" title="webkit_get_default_web_database_quota ()">webkit_get_default_web_database_quota</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="webkitgtk-Global-functions.html#webkit-get-web-database-directory-path" title="webkit_get_web_database_directory_path ()">webkit_get_web_database_directory_path</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="WebKitWebPluginDatabase.html" title="WebKitWebPluginDatabase"><span class="returnvalue">WebKitWebPluginDatabase</span></a> *
</td>
<td class="function_name">
<a class="link" href="webkitgtk-Global-functions.html#webkit-get-web-plugin-database" title="webkit_get_web_plugin_database ()">webkit_get_web_plugin_database</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="webkitgtk-Global-functions.html#webkit-remove-all-web-databases" title="webkit_remove_all_web_databases ()">webkit_remove_all_web_databases</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="webkitgtk-Global-functions.html#webkit-set-default-web-database-quota" title="webkit_set_default_web_database_quota ()">webkit_set_default_web_database_quota</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="webkitgtk-Global-functions.html#webkit-set-web-database-directory-path" title="webkit_set_web_database_directory_path ()">webkit_set_web_database_directory_path</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="WebKitFaviconDatabase.html" title="WebKitFaviconDatabase"><span class="returnvalue">WebKitFaviconDatabase</span></a> *
</td>
<td class="function_name">
<a class="link" href="webkitgtk-Global-functions.html#webkit-get-favicon-database" title="webkit_get_favicon_database ()">webkit_get_favicon_database</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="WebKitIconDatabase.html" title="WebKitIconDatabase"><span class="returnvalue">WebKitIconDatabase</span></a> *
</td>
<td class="function_name">
<a class="link" href="webkitgtk-Global-functions.html#webkit-get-icon-database" title="webkit_get_icon_database ()">webkit_get_icon_database</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../gobject/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *
</td>
<td class="function_name">
<a class="link" href="webkitgtk-Global-functions.html#webkit-get-text-checker" title="webkit_get_text_checker ()">webkit_get_text_checker</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="webkitgtk-Global-functions.html#webkit-set-text-checker" title="webkit_set_text_checker ()">webkit_set_text_checker</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="webkitgtk-Global-functions.html#webkit-application-cache-get-database-directory-path" title="webkit_application_cache_get_database_directory_path ()">webkit_application_cache_get_database_directory_path</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">unsigned long <span class="returnvalue">long</span>
</td>
<td class="function_name">
<a class="link" href="webkitgtk-Global-functions.html#webkit-application-cache-get-maximum-size" title="webkit_application_cache_get_maximum_size ()">webkit_application_cache_get_maximum_size</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="webkitgtk-Global-functions.html#webkit-application-cache-set-maximum-size" title="webkit_application_cache_set_maximum_size ()">webkit_application_cache_set_maximum_size</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="webkitgtk-Global-functions.html#WebKitCacheModel" title="enum WebKitCacheModel"><span class="returnvalue">WebKitCacheModel</span></a>
</td>
<td class="function_name">
<a class="link" href="webkitgtk-Global-functions.html#webkit-get-cache-model" title="webkit_get_cache_model ()">webkit_get_cache_model</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="webkitgtk-Global-functions.html#webkit-set-cache-model" title="webkit_set_cache_model ()">webkit_set_cache_model</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="webkitgtk-Global-functions.html#WebKitContextMenuAction" title="enum WebKitContextMenuAction"><span class="returnvalue">WebKitContextMenuAction</span></a>
</td>
<td class="function_name">
<a class="link" href="webkitgtk-Global-functions.html#webkit-context-menu-item-get-action" title="webkit_context_menu_item_get_action ()">webkit_context_menu_item_get_action</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="webkitgtk-Global-functions.html#webkit-set-security-policy-for-uri-scheme" title="webkit_set_security_policy_for_uri_scheme ()">webkit_set_security_policy_for_uri_scheme</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="webkitgtk-Global-functions.html#WebKitSecurityPolicy" title="enum WebKitSecurityPolicy"><span class="returnvalue">WebKitSecurityPolicy</span></a>
</td>
<td class="function_name">
<a class="link" href="webkitgtk-Global-functions.html#webkit-get-security-policy-for-uri-scheme" title="webkit_get_security_policy_for_uri_scheme ()">webkit_get_security_policy_for_uri_scheme</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="webkitgtk-Global-functions.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="webkitgtk-Global-functions.html#WebKitCacheModel" title="enum WebKitCacheModel">WebKitCacheModel</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="webkitgtk-Global-functions.html#WebKitContextMenuAction" title="enum WebKitContextMenuAction">WebKitContextMenuAction</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="webkitgtk-Global-functions.html#WebKitSecurityPolicy" title="enum WebKitSecurityPolicy">WebKitSecurityPolicy</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="webkitgtk-Global-functions.description"></a><h2>Description</h2>
<p>WebKit manages many resources which are not related to specific
views. These functions relate to cross-view limits, such as cache
sizes, database quotas, and the HTTP session management.</p>
</div>
<div class="refsect1">
<a name="webkitgtk-Global-functions.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="webkit-get-default-session"></a><h3>webkit_get_default_session ()</h3>
<pre class="programlisting"><a href="../libsoup-2.4/SoupSession.html"><span class="returnvalue">SoupSession</span></a> *
webkit_get_default_session (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Retrieves the default <a href="../libsoup-2.4/SoupSession.html"><span class="type">SoupSession</span></a> used by all web views.
Note that the session features are added by WebKit on demand,
so if you insert your own <a href="../libsoup-2.4/SoupCookieJar.html"><span class="type">SoupCookieJar</span></a> before any network
traffic occurs, WebKit will use it instead of the default.</p>
<div class="refsect3">
<a name="id-1.2.2.6.2.5"></a><h4>Returns</h4>
<p> the default <a href="../libsoup-2.4/SoupSession.html"><span class="type">SoupSession</span></a>. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since 1.1.1</p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-get-default-web-database-quota"></a><h3>webkit_get_default_web_database_quota ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a>
webkit_get_default_web_database_quota (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Returns the default quota for Web Database databases. By default
this value is 5MB.</p>
<div class="refsect3">
<a name="id-1.2.2.6.3.5"></a><h4>Returns</h4>
<p> the current default database quota in bytes</p>
<p></p>
</div>
<p class="since">Since 1.1.14</p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-get-web-database-directory-path"></a><h3>webkit_get_web_database_directory_path ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
webkit_get_web_database_directory_path
                               (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Returns the current path to the directory WebKit will write Web
Database and Indexed Database databases. By default this path will
be in the user data directory.</p>
<div class="refsect3">
<a name="id-1.2.2.6.4.5"></a><h4>Returns</h4>
<p> the current database directory path in the filesystem encoding</p>
<p></p>
</div>
<p class="since">Since 1.1.14</p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-get-web-plugin-database"></a><h3>webkit_get_web_plugin_database ()</h3>
<pre class="programlisting"><a class="link" href="WebKitWebPluginDatabase.html" title="WebKitWebPluginDatabase"><span class="returnvalue">WebKitWebPluginDatabase</span></a> *
webkit_get_web_plugin_database (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Returns the current <a class="link" href="WebKitWebPluginDatabase.html" title="WebKitWebPluginDatabase"><span class="type">WebKitWebPluginDatabase</span></a> with information about
all the plugins WebKit knows about in this instance.</p>
<div class="refsect3">
<a name="id-1.2.2.6.5.5"></a><h4>Returns</h4>
<p> the current <a class="link" href="WebKitWebPluginDatabase.html" title="WebKitWebPluginDatabase"><span class="type">WebKitWebPluginDatabase</span></a>. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since 1.3.8</p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-remove-all-web-databases"></a><h3>webkit_remove_all_web_databases ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
webkit_remove_all_web_databases (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Removes all web databases from the current database directory path.</p>
<p class="since">Since 1.1.14</p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-set-default-web-database-quota"></a><h3>webkit_set_default_web_database_quota ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
webkit_set_default_web_database_quota (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> defaultQuota</code></em>);</pre>
<p>Sets the default quota for Web Database databases.</p>
<div class="refsect3">
<a name="id-1.2.2.6.7.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>defaultQuota</p></td>
<td class="parameter_description"><p>the new default database quota</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since 1.1.14</p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-set-web-database-directory-path"></a><h3>webkit_set_web_database_directory_path ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
webkit_set_web_database_directory_path
                               (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>);</pre>
<p>Sets the current path to the directory WebKit will write Web
Database and Indexed Database databases.</p>
<div class="refsect3">
<a name="id-1.2.2.6.8.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>the new database directory path in the filesystem encoding</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since 1.1.14</p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-get-favicon-database"></a><h3>webkit_get_favicon_database ()</h3>
<pre class="programlisting"><a class="link" href="WebKitFaviconDatabase.html" title="WebKitFaviconDatabase"><span class="returnvalue">WebKitFaviconDatabase</span></a> *
webkit_get_favicon_database (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Returns the <a class="link" href="WebKitFaviconDatabase.html" title="WebKitFaviconDatabase"><span class="type">WebKitFaviconDatabase</span></a> providing access to website
icons.</p>
<div class="refsect3">
<a name="id-1.2.2.6.9.5"></a><h4>Returns</h4>
<p> the current <a class="link" href="WebKitFaviconDatabase.html" title="WebKitFaviconDatabase"><span class="type">WebKitFaviconDatabase</span></a>. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since 1.8</p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-get-icon-database"></a><h3>webkit_get_icon_database ()</h3>
<pre class="programlisting"><a class="link" href="WebKitIconDatabase.html" title="WebKitIconDatabase"><span class="returnvalue">WebKitIconDatabase</span></a> *
webkit_get_icon_database (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="warning">
<p><code class="literal">webkit_get_icon_database</code> has been deprecated since version 1.8 and should not be used in newly-written code.</p>
<p>Use <a class="link" href="webkitgtk-Global-functions.html#webkit-get-favicon-database" title="webkit_get_favicon_database ()"><code class="function">webkit_get_favicon_database()</code></a> instead</p>
</div>
<p>Returns the <a class="link" href="WebKitIconDatabase.html" title="WebKitIconDatabase"><span class="type">WebKitIconDatabase</span></a> providing access to website icons.</p>
<div class="refsect3">
<a name="id-1.2.2.6.10.7"></a><h4>Returns</h4>
<p> the current <a class="link" href="WebKitIconDatabase.html" title="WebKitIconDatabase"><span class="type">WebKitIconDatabase</span></a>. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since 1.3.13</p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-get-text-checker"></a><h3>webkit_get_text_checker ()</h3>
<pre class="programlisting"><a href="../gobject/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *
webkit_get_text_checker (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="refsect3">
<a name="id-1.2.2.6.11.4"></a><h4>Returns</h4>
<p> the <a class="link" href="WebKitSpellChecker.html" title="WebKitSpellChecker"><span class="type">WebKitSpellChecker</span></a> used by WebKit, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if spell
checking is not enabled. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since 1.5.1</p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-set-text-checker"></a><h3>webkit_set_text_checker ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
webkit_set_text_checker (<em class="parameter"><code><a href="../gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *checker</code></em>);</pre>
<p>Sets <em class="parameter"><code>checker</code></em>
 as the spell checker to be used by WebKit. The API
accepts GObject since in the future we might accept objects
implementing multiple interfaces (for example, spell checking and
grammar checking).</p>
<div class="refsect3">
<a name="id-1.2.2.6.12.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>checker</p></td>
<td class="parameter_description"><p>a <a class="link" href="WebKitSpellChecker.html" title="WebKitSpellChecker"><span class="type">WebKitSpellChecker</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since 1.5.1</p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-application-cache-get-database-directory-path"></a><h3>webkit_application_cache_get_database_directory_path ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
webkit_application_cache_get_database_directory_path
                               (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Returns the path to the directory WebKit will write web application
cache databases to. By default this path is set to
$XDG_CACHE_HOME/webkitgtk/applications and cannot be modified.</p>
<div class="refsect3">
<a name="id-1.2.2.6.13.5"></a><h4>Returns</h4>
<p> the application cache database directory path</p>
<p></p>
</div>
<p class="since">Since 1.3.13</p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-application-cache-get-maximum-size"></a><h3>webkit_application_cache_get_maximum_size ()</h3>
<pre class="programlisting">unsigned long <span class="returnvalue">long</span>
webkit_application_cache_get_maximum_size
                               (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Returns the maximum size of the cache storage.
By default it is set to UINT_MAX i.e. no quota.</p>
<div class="refsect3">
<a name="id-1.2.2.6.14.5"></a><h4>Returns</h4>
<p> the current application cache maximum storage size</p>
<p></p>
</div>
<p class="since">Since 1.3.13</p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-application-cache-set-maximum-size"></a><h3>webkit_application_cache_set_maximum_size ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
webkit_application_cache_set_maximum_size
                               (<em class="parameter"><code><span class="type">unsigned long long </span> size</code></em>);</pre>
<p>Sets new application cache maximum storage size.
Changing the application cache storage size will clear the cache
and rebuild cache storage.</p>
<div class="refsect3">
<a name="id-1.2.2.6.15.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>size</p></td>
<td class="parameter_description"><p>the new web application cache maximum storage size</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since 1.3.13</p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-get-cache-model"></a><h3>webkit_get_cache_model ()</h3>
<pre class="programlisting"><a class="link" href="webkitgtk-Global-functions.html#WebKitCacheModel" title="enum WebKitCacheModel"><span class="returnvalue">WebKitCacheModel</span></a>
webkit_get_cache_model (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Returns the current cache model. For more information about this
value check the documentation of the function
<a class="link" href="webkitgtk-Global-functions.html#webkit-set-cache-model" title="webkit_set_cache_model ()"><code class="function">webkit_set_cache_model()</code></a>.</p>
<div class="refsect3">
<a name="id-1.2.2.6.16.5"></a><h4>Returns</h4>
<p> the current <a class="link" href="webkitgtk-Global-functions.html#WebKitCacheModel" title="enum WebKitCacheModel"><span class="type">WebKitCacheModel</span></a></p>
<p></p>
</div>
<p class="since">Since 1.1.18</p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-set-cache-model"></a><h3>webkit_set_cache_model ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
webkit_set_cache_model (<em class="parameter"><code><a class="link" href="webkitgtk-Global-functions.html#WebKitCacheModel" title="enum WebKitCacheModel"><span class="type">WebKitCacheModel</span></a> cache_model</code></em>);</pre>
<p>Specifies a usage model for WebViews, which WebKit will use to
determine its caching behavior. All web views follow the cache
model. This cache model determines the RAM and disk space to use
for caching previously viewed content .</p>
<p>Research indicates that users tend to browse within clusters of
documents that hold resources in common, and to revisit previously
visited documents. WebKit and the frameworks below it include
built-in caches that take advantage of these patterns,
substantially improving document load speed in browsing
situations. The WebKit cache model controls the behaviors of all of
these caches, including various WebCore caches.</p>
<p>Browsers can improve document load speed substantially by
specifying WEBKIT_CACHE_MODEL_WEB_BROWSER. Applications without a
browsing interface can reduce memory usage substantially by
specifying WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER. Default value is
WEBKIT_CACHE_MODEL_WEB_BROWSER.</p>
<div class="refsect3">
<a name="id-1.2.2.6.17.7"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>cache_model</p></td>
<td class="parameter_description"><p>a <a class="link" href="webkitgtk-Global-functions.html#WebKitCacheModel" title="enum WebKitCacheModel"><span class="type">WebKitCacheModel</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since 1.1.18</p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-context-menu-item-get-action"></a><h3>webkit_context_menu_item_get_action ()</h3>
<pre class="programlisting"><a class="link" href="webkitgtk-Global-functions.html#WebKitContextMenuAction" title="enum WebKitContextMenuAction"><span class="returnvalue">WebKitContextMenuAction</span></a>
webkit_context_menu_item_get_action (<em class="parameter"><code><a href="../gtk3/GtkMenuItem.html"><span class="type">GtkMenuItem</span></a> *item</code></em>);</pre>
<p>Returns the <a class="link" href="webkitgtk-Global-functions.html#WebKitContextMenuAction" title="enum WebKitContextMenuAction"><span class="type">WebKitContextMenuAction</span></a> of the given <em class="parameter"><code>item</code></em>
. This function
can be used to determine the items present in the default context menu.
In order to inspect the default context menu, you should connect to
<a class="link" href="webkitgtk-webkitwebview.html#WebKitWebView-context-menu" title="The “context-menu” signal"><span class="type">“context-menu”</span></a> signal.</p>
<div class="example">
<a name="id-1.2.2.6.18.5"></a><p class="title"><b>Example 1. Inspecting the default context menu</b></p>
<div class="example-contents">
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td class="listing_lines" align="right"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50</pre></td>
        <td class="listing_code"><pre class="programlisting"><span class="type">static</span> gboolean context_menu_cb (WebKitWebView       *webView,
                                 GtkWidget           *default_menu,
                                 WebKitHitTestResult *hit_test_result,
                                 gboolean             triggered_with_keyboard,
                                 gpointer             user_data)
{
    GList *items = gtk_container_get_children (GTK_CONTAINER (default_menu));
    GList *l;
    GtkAction *action;
    GtkWidget *sub_menu;

    <span class="keyword">for</span> (l = items; l; l = g_list_next (l)) {
        GtkMenuItem *item = (GtkMenuItem *)l-&gt;data;

        <span class="keyword">if</span> (GTK_IS_SEPARATOR_MENU_ITEM (item)) {
            <span class="comment">/*</span><span class="comment"> It's  separator, do nothing </span><span class="comment">*/</span>
            <span class="keyword">continue</span>;
        }

        <span class="keyword">switch</span> (webkit_context_menu_item_get_action (item)) {
        <span class="keyword">case</span> WEBKIT_CONTEXT_MENU_ACTION_NO_ACTION:
            <span class="comment">/*</span><span class="comment"> No action for this item </span><span class="comment">*/</span>
            <span class="keyword">break</span>;
        <span class="comment">/*</span><span class="comment"> Don't allow to ope links from context menu </span><span class="comment">*/</span>
        <span class="keyword">case</span> WEBKIT_CONTEXT_MENU_ACTION_OPEN_LINK:
        <span class="keyword">case</span> WEBKIT_CONTEXT_MENU_ACTION_OPEN_LINK_IN_NEW_WINDOW:
            action = gtk_activatable_get_related_action (GTK_ACTIVATABLE (item));
            gtk_action_set_sensitive (action, FALSE);
            <span class="keyword">break</span>;
        <span class="keyword">default</span>:
            <span class="keyword">break</span>;
        }

        sub_menu = gtk_menu_item_get_submenu (item);
        <span class="keyword">if</span> (sub_menu) {
            GtkWidget *menu_item;

            <span class="comment">/*</span><span class="comment"> Add custom action to submenu </span><span class="comment">*/</span>
            action = gtk_action_new (<span class="number">&quot;CustomItemName&quot;</span>, <span class="number">&quot;Custom Action&quot;</span>, <span class="number">NULL</span>, <span class="number">NULL</span>);
            g_signal_connect (action, <span class="number">&quot;activate&quot;</span>, G_CALLBACK (custom_menu_item_activated), <span class="number">NULL</span>);

            menu_item = gtk_action_create_menu_item (action);
            g_object_unref (action);
            gtk_menu_shell_append (GTK_MENU_SHELL (sub_menu), menu_item);
            gtk_widget_show (menu_item);
        }
    }

    g_list_free(items);
}</pre></td>
      </tr>
    </tbody>
  </table>
</div>

</div>
<br class="example-break"><p>Note that you can get the <a href="../gtk3/GtkAction.html"><span class="type">GtkAction</span></a> of any item in the default context menu with
<a href="../gtk3/GtkActivatable.html#gtk-activatable-get-related-action"><code class="function">gtk_activatable_get_related_action()</code></a>.</p>
<div class="refsect3">
<a name="id-1.2.2.6.18.7"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>item</p></td>
<td class="parameter_description"><p>a <a href="../gtk3/GtkMenuItem.html"><span class="type">GtkMenuItem</span></a> of the default context menu</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.6.18.8"></a><h4>Returns</h4>
<p> the <a class="link" href="webkitgtk-Global-functions.html#WebKitContextMenuAction" title="enum WebKitContextMenuAction"><span class="type">WebKitContextMenuAction</span></a> of the given <em class="parameter"><code>item</code></em>
</p>
<p></p>
</div>
<p class="since">Since 1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-set-security-policy-for-uri-scheme"></a><h3>webkit_set_security_policy_for_uri_scheme ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
webkit_set_security_policy_for_uri_scheme
                               (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *scheme</code></em>,
                                <em class="parameter"><code><a class="link" href="webkitgtk-Global-functions.html#WebKitSecurityPolicy" title="enum WebKitSecurityPolicy"><span class="type">WebKitSecurityPolicy</span></a> policy</code></em>);</pre>
<p>Set the security policy for the given URI scheme.</p>
<div class="refsect3">
<a name="id-1.2.2.6.19.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>scheme</p></td>
<td class="parameter_description"><p>a URI scheme</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>policy</p></td>
<td class="parameter_description"><p>a <a class="link" href="webkitgtk-Global-functions.html#WebKitSecurityPolicy" title="enum WebKitSecurityPolicy"><span class="type">WebKitSecurityPolicy</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since 2.0</p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-get-security-policy-for-uri-scheme"></a><h3>webkit_get_security_policy_for_uri_scheme ()</h3>
<pre class="programlisting"><a class="link" href="webkitgtk-Global-functions.html#WebKitSecurityPolicy" title="enum WebKitSecurityPolicy"><span class="returnvalue">WebKitSecurityPolicy</span></a>
webkit_get_security_policy_for_uri_scheme
                               (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *scheme</code></em>);</pre>
<p>Get the security policy for the given URI scheme.</p>
<div class="refsect3">
<a name="id-1.2.2.6.20.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>scheme</p></td>
<td class="parameter_description"><p>a URI scheme</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.2.6.20.6"></a><h4>Returns</h4>
<p> a <a class="link" href="webkitgtk-Global-functions.html#WebKitSecurityPolicy" title="enum WebKitSecurityPolicy"><span class="type">WebKitSecurityPolicy</span></a></p>
<p></p>
</div>
<p class="since">Since 2.0</p>
</div>
</div>
<div class="refsect1">
<a name="webkitgtk-Global-functions.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="WebKitCacheModel"></a><h3>enum WebKitCacheModel</h3>
<p>Enum values used for determining the webview cache model.</p>
<div class="refsect3">
<a name="id-1.2.2.7.2.4"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CACHE-MODEL-DEFAULT:CAPS"></a>WEBKIT_CACHE_MODEL_DEFAULT</p></td>
<td class="enum_member_description">
<p>The default cache model. This is
  WEBKIT_CACHE_MODEL_WEB_BROWSER.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CACHE-MODEL-DOCUMENT-VIEWER:CAPS"></a>WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER</p></td>
<td class="enum_member_description">
<p>Disable the cache completely, which
  substantially reduces memory usage. Useful for applications that only
  access a single local file, with no navigation to other pages. No remote
  resources will be cached.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CACHE-MODEL-WEB-BROWSER:CAPS"></a>WEBKIT_CACHE_MODEL_WEB_BROWSER</p></td>
<td class="enum_member_description">
<p>Improve document load speed substantially
  by caching a very large number of resources and previously viewed content.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CACHE-MODEL-DOCUMENT-BROWSER:CAPS"></a>WEBKIT_CACHE_MODEL_DOCUMENT_BROWSER</p></td>
<td class="enum_member_description">
<p>A cache model optimized for viewing
  a series of local files -- for example, a documentation viewer or a website
  designer. WebKit will cache a moderate number of resources.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="WebKitContextMenuAction"></a><h3>enum WebKitContextMenuAction</h3>
<p>Enum values used to denote actions of items in the default context menu.</p>
<div class="refsect3">
<a name="id-1.2.2.7.3.4"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-NO-ACTION:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_NO_ACTION</p></td>
<td class="enum_member_description">
<p>No action, used by separator menu items.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-OPEN-LINK:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_OPEN_LINK</p></td>
<td class="enum_member_description">
<p>Open current link.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-OPEN-LINK-IN-NEW-WINDOW:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_OPEN_LINK_IN_NEW_WINDOW</p></td>
<td class="enum_member_description">
<p>Open current link in a new window.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-DOWNLOAD-LINK-TO-DISK:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_LINK_TO_DISK</p></td>
<td class="enum_member_description">
<p>Download link destination.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-COPY-LINK-TO-CLIPBOARD:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_COPY_LINK_TO_CLIPBOARD</p></td>
<td class="enum_member_description">
<p>Copy link location to the clipboard.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-OPEN-IMAGE-IN-NEW-WINDOW:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_OPEN_IMAGE_IN_NEW_WINDOW</p></td>
<td class="enum_member_description">
<p>Open current image in a new window.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-DOWNLOAD-IMAGE-TO-DISK:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_IMAGE_TO_DISK</p></td>
<td class="enum_member_description">
<p>Download current image.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-COPY-IMAGE-TO-CLIPBOARD:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_COPY_IMAGE_TO_CLIPBOARD</p></td>
<td class="enum_member_description">
<p>Copy current image to the clipboard.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-COPY-IMAGE-URL-TO-CLIPBOARD:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_COPY_IMAGE_URL_TO_CLIPBOARD</p></td>
<td class="enum_member_description">
<p>Copy curent image location to the clipboard.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-OPEN-FRAME-IN-NEW-WINDOW:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_OPEN_FRAME_IN_NEW_WINDOW</p></td>
<td class="enum_member_description">
<p>Open current frame in a new window.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-GO-BACK:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_GO_BACK</p></td>
<td class="enum_member_description">
<p>Load the previous history item.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-GO-FORWARD:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_GO_FORWARD</p></td>
<td class="enum_member_description">
<p>Load the next history item.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-STOP:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_STOP</p></td>
<td class="enum_member_description">
<p>Stop any ongoing loading operation.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-RELOAD:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_RELOAD</p></td>
<td class="enum_member_description">
<p>Reload the conents of current view.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-COPY:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_COPY</p></td>
<td class="enum_member_description">
<p>Copy current selection the clipboard.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-CUT:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_CUT</p></td>
<td class="enum_member_description">
<p>Cut current selection to the clipboard.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-PASTE:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_PASTE</p></td>
<td class="enum_member_description">
<p>Paste clipboard contents.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-DELETE:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_DELETE</p></td>
<td class="enum_member_description">
<p>Delete current selection.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-SELECT-ALL:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_SELECT_ALL</p></td>
<td class="enum_member_description">
<p>Select all text.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-INPUT-METHODS:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_INPUT_METHODS</p></td>
<td class="enum_member_description">
<p>Input methods menu.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-UNICODE:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_UNICODE</p></td>
<td class="enum_member_description">
<p>Unicode menu.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-SPELLING-GUESS:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_SPELLING_GUESS</p></td>
<td class="enum_member_description">
<p>Guess spelling.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-NO-GUESSES-FOUND:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_NO_GUESSES_FOUND</p></td>
<td class="enum_member_description">
<p>No guesses found.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-IGNORE-SPELLING:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_IGNORE_SPELLING</p></td>
<td class="enum_member_description">
<p>Ignore spelling.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-LEARN-SPELLING:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_LEARN_SPELLING</p></td>
<td class="enum_member_description">
<p>Learn spelling.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-IGNORE-GRAMMAR:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_IGNORE_GRAMMAR</p></td>
<td class="enum_member_description">
<p>Ignore grammar.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-FONT-MENU:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_FONT_MENU</p></td>
<td class="enum_member_description">
<p>Font menu.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-BOLD:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_BOLD</p></td>
<td class="enum_member_description">
<p>Bold.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-ITALIC:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_ITALIC</p></td>
<td class="enum_member_description">
<p>Italic.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-UNDERLINE:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_UNDERLINE</p></td>
<td class="enum_member_description">
<p>Underline.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-OUTLINE:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_OUTLINE</p></td>
<td class="enum_member_description">
<p>Outline.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-INSPECT-ELEMENT:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_INSPECT_ELEMENT</p></td>
<td class="enum_member_description">
<p>Open current element in the inspector.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-OPEN-MEDIA-IN-NEW-WINDOW:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_OPEN_MEDIA_IN_NEW_WINDOW</p></td>
<td class="enum_member_description">
<p>Open current media element in a new window.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-COPY-MEDIA-LINK-TO-CLIPBOARD:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_COPY_MEDIA_LINK_TO_CLIPBOARD</p></td>
<td class="enum_member_description">
<p>Copy media link location in to the clipboard.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-TOGGLE-MEDIA-CONTROLS:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_TOGGLE_MEDIA_CONTROLS</p></td>
<td class="enum_member_description">
<p>Enable or disable media controls.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-TOGGLE-MEDIA-LOOP:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_TOGGLE_MEDIA_LOOP</p></td>
<td class="enum_member_description">
<p>Enable or disable media loop.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-ENTER-VIDEO-FULLSCREEN:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_ENTER_VIDEO_FULLSCREEN</p></td>
<td class="enum_member_description">
<p>Show current video element in fullscreen mode.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-MEDIA-PLAY-PAUSE:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_MEDIA_PLAY_PAUSE</p></td>
<td class="enum_member_description">
<p>Play or pause current media element.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-CONTEXT-MENU-ACTION-MEDIA-MUTE:CAPS"></a>WEBKIT_CONTEXT_MENU_ACTION_MEDIA_MUTE</p></td>
<td class="enum_member_description">
<p>Mute current media element.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since 1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitSecurityPolicy"></a><h3>enum WebKitSecurityPolicy</h3>
<p>Flags used to represent the security policy of a URI scheme.</p>
<div class="refsect3">
<a name="id-1.2.2.7.4.4"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-SECURITY-POLICY-LOCAL:CAPS"></a>WEBKIT_SECURITY_POLICY_LOCAL</p></td>
<td class="enum_member_description">
<p>Local URI scheme, other non-local pages
  cannot link to or access URIs of this scheme.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-SECURITY-POLICY-NO-ACCESS-TO-OTHER-SCHEME:CAPS"></a>WEBKIT_SECURITY_POLICY_NO_ACCESS_TO_OTHER_SCHEME</p></td>
<td class="enum_member_description">
<p>Pages loaded with this URI scheme
  cannot access pages loaded with any other URI scheme.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-SECURITY-POLICY-DISPLAY-ISOLATED:CAPS"></a>WEBKIT_SECURITY_POLICY_DISPLAY_ISOLATED</p></td>
<td class="enum_member_description">
<p>Pages cannot display these URIs
  unless they are from the same scheme.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-SECURITY-POLICY-SECURE:CAPS"></a>WEBKIT_SECURITY_POLICY_SECURE</p></td>
<td class="enum_member_description">
<p>Secure URI scheme, doesn't generate mixed
  content warnings when included by an HTTPS page.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-SECURITY-POLICY-CORS-ENABLED:CAPS"></a>WEBKIT_SECURITY_POLICY_CORS_ENABLED</p></td>
<td class="enum_member_description">
<p>URI scheme that can be sent
  CORS (Cross-origin resource sharing) requests. See W3C CORS specification
  http://www.w3.org/TR/cors/.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="WEBKIT-SECURITY-POLICY-EMPTY-DOCUMENT:CAPS"></a>WEBKIT_SECURITY_POLICY_EMPTY_DOCUMENT</p></td>
<td class="enum_member_description">
<p>Strictly empty documents allowed
  to commit synchronously.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since 2.0</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.21.1</div>
</body>
</html>