summaryrefslogtreecommitdiff
path: root/vapi/webkit2gtk-5.0.vapi
blob: 7937eceb51ad7388b717277c1433d1952203d171 (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
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
/* webkit2gtk-5.0.vapi generated by vapigen, do not modify. */

[CCode (cprefix = "WebKit", gir_namespace = "WebKit2", gir_version = "5.0", lower_case_cprefix = "webkit_")]
namespace WebKit {
	[CCode (cheader_filename = "webkit2/webkit2.h", ref_function = "webkit_application_info_ref", type_id = "webkit_application_info_get_type ()", unref_function = "webkit_application_info_unref")]
	[Compact]
	public class ApplicationInfo {
		[CCode (has_construct_function = false)]
		[Version (since = "2.18")]
		public ApplicationInfo ();
		[Version (since = "2.18")]
		public unowned string get_name ();
		[Version (since = "2.18")]
		public void get_version (out uint64 major, out uint64 minor, out uint64 micro);
		[Version (since = "2.18")]
		public unowned WebKit.ApplicationInfo @ref ();
		[Version (since = "2.18")]
		public void set_name (string name);
		[Version (since = "2.18")]
		public void set_version (uint64 major, uint64 minor, uint64 micro);
		[Version (since = "2.18")]
		public void unref ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_authentication_request_get_type ()")]
	public class AuthenticationRequest : GLib.Object {
		[CCode (has_construct_function = false)]
		protected AuthenticationRequest ();
		[Version (since = "2.2")]
		public void authenticate (WebKit.Credential? credential);
		[Version (since = "2.2")]
		public bool can_save_credentials ();
		[Version (since = "2.2")]
		public void cancel ();
		[Version (since = "2.34")]
		public GLib.TlsPasswordFlags get_certificate_pin_flags ();
		[Version (since = "2.2")]
		public unowned string get_host ();
		[Version (since = "2.2")]
		public uint get_port ();
		[Version (since = "2.2")]
		public WebKit.Credential get_proposed_credential ();
		[Version (since = "2.2")]
		public unowned string get_realm ();
		[Version (since = "2.2")]
		public WebKit.AuthenticationScheme get_scheme ();
		[Version (since = "2.30")]
		public WebKit.SecurityOrigin get_security_origin ();
		[Version (since = "2.2")]
		public bool is_for_proxy ();
		[Version (since = "2.2")]
		public bool is_retry ();
		[Version (since = "2.30")]
		public void set_can_save_credentials (bool enabled);
		[Version (since = "2.30")]
		public void set_proposed_credential (WebKit.Credential credential);
		[Version (since = "2.30")]
		public signal void authenticated (WebKit.Credential credential);
		[Version (since = "2.2")]
		public signal void cancelled ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_automation_session_get_type ()")]
	public class AutomationSession : GLib.Object {
		[CCode (has_construct_function = false)]
		protected AutomationSession ();
		[Version (since = "2.18")]
		public unowned WebKit.ApplicationInfo get_application_info ();
		[Version (since = "2.18")]
		public unowned string get_id ();
		[Version (since = "2.18")]
		public void set_application_info (WebKit.ApplicationInfo info);
		[Version (since = "2.18")]
		public string id { get; construct; }
		[Version (since = "2.18")]
		public signal unowned WebKit.WebView create_web_view ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_back_forward_list_get_type ()")]
	public class BackForwardList : GLib.Object {
		[CCode (has_construct_function = false)]
		protected BackForwardList ();
		public unowned WebKit.BackForwardListItem? get_back_item ();
		public GLib.List<weak WebKit.BackForwardListItem> get_back_list ();
		public GLib.List<weak WebKit.BackForwardListItem> get_back_list_with_limit (uint limit);
		public unowned WebKit.BackForwardListItem? get_current_item ();
		public unowned WebKit.BackForwardListItem? get_forward_item ();
		public GLib.List<weak WebKit.BackForwardListItem> get_forward_list ();
		public GLib.List<weak WebKit.BackForwardListItem> get_forward_list_with_limit (uint limit);
		public uint get_length ();
		public unowned WebKit.BackForwardListItem? get_nth_item (int index);
		public signal void changed (WebKit.BackForwardListItem? item_added, void* items_removed);
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_back_forward_list_item_get_type ()")]
	public class BackForwardListItem : GLib.InitiallyUnowned {
		[CCode (has_construct_function = false)]
		protected BackForwardListItem ();
		public unowned string get_original_uri ();
		public unowned string get_title ();
		public unowned string get_uri ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_color_chooser_request_get_type ()")]
	public class ColorChooserRequest : GLib.Object {
		[CCode (has_construct_function = false)]
		protected ColorChooserRequest ();
		[Version (since = "2.8")]
		public void cancel ();
		[Version (since = "2.8")]
		public void finish ();
		[Version (since = "2.8")]
		public Gdk.Rectangle get_element_rectangle ();
		[Version (since = "2.8")]
		public Gdk.RGBA get_rgba ();
		[Version (since = "2.8")]
		public void set_rgba (Gdk.RGBA rgba);
		public Gdk.RGBA rgba { get; set construct; }
		[Version (since = "2.8")]
		public signal void finished ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_context_menu_get_type ()")]
	public class ContextMenu : GLib.Object {
		[CCode (has_construct_function = false)]
		public ContextMenu ();
		public void append (WebKit.ContextMenuItem item);
		public unowned WebKit.ContextMenuItem first ();
		public unowned WebKit.ContextMenuItem get_item_at_position (uint position);
		public unowned GLib.List<WebKit.ContextMenuItem> get_items ();
		public uint get_n_items ();
		[Version (since = "2.8")]
		public unowned GLib.Variant get_user_data ();
		public void insert (WebKit.ContextMenuItem item, int position);
		public unowned WebKit.ContextMenuItem last ();
		public void move_item (WebKit.ContextMenuItem item, int position);
		public void prepend (WebKit.ContextMenuItem item);
		public void remove (WebKit.ContextMenuItem item);
		public void remove_all ();
		[Version (since = "2.8")]
		public void set_user_data (GLib.Variant user_data);
		[CCode (has_construct_function = false)]
		public ContextMenu.with_items (GLib.List<WebKit.ContextMenuItem> items);
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_context_menu_item_get_type ()")]
	public class ContextMenuItem : GLib.InitiallyUnowned {
		[CCode (has_construct_function = false)]
		protected ContextMenuItem ();
		[CCode (has_construct_function = false)]
		[Version (since = "2.18")]
		public ContextMenuItem.from_gaction (GLib.Action action, string label, GLib.Variant? target);
		[CCode (has_construct_function = false)]
		public ContextMenuItem.from_stock_action (WebKit.ContextMenuAction action);
		[CCode (has_construct_function = false)]
		public ContextMenuItem.from_stock_action_with_label (WebKit.ContextMenuAction action, string label);
		[Version (since = "2.18")]
		public unowned GLib.Action get_gaction ();
		public WebKit.ContextMenuAction get_stock_action ();
		public unowned WebKit.ContextMenu get_submenu ();
		public bool is_separator ();
		[CCode (has_construct_function = false)]
		public ContextMenuItem.separator ();
		public void set_submenu (WebKit.ContextMenu? submenu);
		[CCode (has_construct_function = false)]
		public ContextMenuItem.with_submenu (string label, WebKit.ContextMenu submenu);
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_cookie_manager_get_type ()")]
	public class CookieManager : GLib.Object {
		[CCode (has_construct_function = false)]
		protected CookieManager ();
		[Version (since = "2.20")]
		public async bool add_cookie (Soup.Cookie cookie, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (deprecated = true, deprecated_since = "2.16")]
		public void delete_all_cookies ();
		[Version (since = "2.20")]
		public async bool delete_cookie (Soup.Cookie cookie, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (deprecated = true, deprecated_since = "2.16")]
		public void delete_cookies_for_domain (string domain);
		public async WebKit.CookieAcceptPolicy get_accept_policy (GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.20")]
		public async GLib.List<Soup.Cookie> get_cookies (string uri, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (array_length = false, array_null_terminated = true)]
		[Version (deprecated = true, deprecated_since = "2.16")]
		public async string[] get_domains_with_cookies (GLib.Cancellable? cancellable = null) throws GLib.Error;
		public void set_accept_policy (WebKit.CookieAcceptPolicy policy);
		public void set_persistent_storage (string filename, WebKit.CookiePersistentStorage storage);
		public signal void changed ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "webkit_credential_get_type ()")]
	[Compact]
	public class Credential {
		[CCode (has_construct_function = false)]
		[Version (since = "2.2")]
		public Credential (string username, string password, WebKit.CredentialPersistence persistence);
		[Version (since = "2.2")]
		public WebKit.Credential copy ();
		[CCode (has_construct_function = false)]
		[Version (since = "2.34")]
		public Credential.for_certificate (GLib.TlsCertificate? certificate, WebKit.CredentialPersistence persistence);
		[CCode (has_construct_function = false)]
		[Version (since = "2.34")]
		public Credential.for_certificate_pin (string pin, WebKit.CredentialPersistence persistence);
		[Version (since = "2.2")]
		public void free ();
		[Version (since = "2.34")]
		public unowned GLib.TlsCertificate get_certificate ();
		[Version (since = "2.2")]
		public unowned string get_password ();
		[Version (since = "2.2")]
		public WebKit.CredentialPersistence get_persistence ();
		[Version (since = "2.2")]
		public unowned string get_username ();
		[Version (since = "2.2")]
		public bool has_password ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_device_info_permission_request_get_type ()")]
	public class DeviceInfoPermissionRequest : GLib.Object, WebKit.PermissionRequest {
		[CCode (has_construct_function = false)]
		protected DeviceInfoPermissionRequest ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_download_get_type ()")]
	public class Download : GLib.Object {
		[CCode (has_construct_function = false)]
		protected Download ();
		public void cancel ();
		[Version (since = "2.6")]
		public bool get_allow_overwrite ();
		public unowned string get_destination ();
		public double get_elapsed_time ();
		public double get_estimated_progress ();
		public uint64 get_received_data_length ();
		public unowned WebKit.URIRequest get_request ();
		public unowned WebKit.URIResponse get_response ();
		public unowned WebKit.WebView get_web_view ();
		[Version (since = "2.6")]
		public void set_allow_overwrite (bool allowed);
		public void set_destination (string uri);
		[Version (since = "2.6")]
		public bool allow_overwrite { get; set; }
		public string destination { get; }
		public double estimated_progress { get; }
		public WebKit.URIResponse response { get; }
		public signal void created_destination (string destination);
		public virtual signal bool decide_destination (string suggested_filename);
		public signal void failed (WebKit.DownloadError error);
		public signal void finished ();
		public signal void received_data (uint64 data_length);
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_editor_state_get_type ()")]
	public class EditorState : GLib.Object {
		[CCode (has_construct_function = false)]
		protected EditorState ();
		[Version (since = "2.10")]
		public uint get_typing_attributes ();
		[Version (since = "2.20")]
		public bool is_copy_available ();
		[Version (since = "2.20")]
		public bool is_cut_available ();
		[Version (since = "2.20")]
		public bool is_paste_available ();
		[Version (since = "2.20")]
		public bool is_redo_available ();
		[Version (since = "2.20")]
		public bool is_undo_available ();
		[Version (since = "2.10")]
		public uint typing_attributes { get; }
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_favicon_database_get_type ()")]
	public class FaviconDatabase : GLib.Object {
		[CCode (has_construct_function = false)]
		protected FaviconDatabase ();
		public void clear ();
		public async Cairo.Surface get_favicon (string page_uri, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public string get_favicon_uri (string page_uri);
		public signal void favicon_changed (string page_uri, string favicon_uri);
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_file_chooser_request_get_type ()")]
	public class FileChooserRequest : GLib.Object {
		[CCode (has_construct_function = false)]
		protected FileChooserRequest ();
		public void cancel ();
		[CCode (array_length = false, array_null_terminated = true)]
		public unowned string[] get_mime_types ();
		public unowned Gtk.FileFilter get_mime_types_filter ();
		public bool get_select_multiple ();
		[CCode (array_length = false, array_null_terminated = true)]
		public unowned string[] get_selected_files ();
		public void select_files ([CCode (array_length = false, array_null_terminated = true)] string[] files);
		[NoAccessorMethod]
		public Gtk.FileFilter filter { owned get; }
		[CCode (array_length = false, array_null_terminated = true)]
		public string[] mime_types { get; }
		public bool select_multiple { get; }
		[CCode (array_length = false, array_null_terminated = true)]
		public string[] selected_files { get; }
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_find_controller_get_type ()")]
	public class FindController : GLib.Object {
		[CCode (has_construct_function = false)]
		protected FindController ();
		public void count_matches (string search_text, uint32 find_options, uint max_match_count);
		public uint get_max_match_count ();
		public uint32 get_options ();
		public unowned string get_search_text ();
		public unowned WebKit.WebView get_web_view ();
		public void search (string search_text, uint32 find_options, uint max_match_count);
		public void search_finish ();
		public void search_next ();
		public void search_previous ();
		public uint max_match_count { get; }
		public WebKit.FindOptions options { get; }
		[NoAccessorMethod]
		public string text { owned get; }
		public WebKit.WebView web_view { get; construct; }
		public signal void counted_matches (uint match_count);
		public signal void failed_to_find_text ();
		public signal void found_text (uint match_count);
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_form_submission_request_get_type ()")]
	public class FormSubmissionRequest : GLib.Object {
		[CCode (has_construct_function = false)]
		protected FormSubmissionRequest ();
		[Version (deprecated = true, deprecated_since = "2.20.")]
		public unowned GLib.HashTable<void*,void*>? get_text_fields ();
		[Version (since = "2.20")]
		public bool list_text_fields (out unowned GLib.GenericArray<string> field_names, out unowned GLib.GenericArray<string> field_values);
		public void submit ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_geolocation_manager_get_type ()")]
	public class GeolocationManager : GLib.Object {
		[CCode (has_construct_function = false)]
		protected GeolocationManager ();
		[Version (since = "2.26")]
		public void failed (string error_message);
		[Version (since = "2.26")]
		public bool get_enable_high_accuracy ();
		[Version (since = "2.26")]
		public void update_position (WebKit.GeolocationPosition position);
		[Version (since = "2.26")]
		public bool enable_high_accuracy { get; }
		[Version (since = "2.26")]
		public signal bool start ();
		[Version (since = "2.26")]
		public signal void stop ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_geolocation_permission_request_get_type ()")]
	public class GeolocationPermissionRequest : GLib.Object, WebKit.PermissionRequest {
		[CCode (has_construct_function = false)]
		protected GeolocationPermissionRequest ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "webkit_geolocation_position_get_type ()")]
	[Compact]
	[Version (since = "2.26")]
	public class GeolocationPosition {
		[CCode (has_construct_function = false)]
		public GeolocationPosition (double latitude, double longitude, double accuracy);
		public WebKit.GeolocationPosition copy ();
		public void free ();
		public void set_altitude (double altitude);
		public void set_altitude_accuracy (double altitude_accuracy);
		public void set_heading (double heading);
		public void set_speed (double speed);
		public void set_timestamp (uint64 timestamp);
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_hit_test_result_get_type ()")]
	public class HitTestResult : GLib.Object {
		[CCode (has_construct_function = false)]
		protected HitTestResult ();
		public bool context_is_editable ();
		public bool context_is_image ();
		public bool context_is_link ();
		public bool context_is_media ();
		public bool context_is_scrollbar ();
		[Version (since = "2.8")]
		public bool context_is_selection ();
		public uint get_context ();
		public unowned string get_image_uri ();
		public unowned string get_link_label ();
		public unowned string get_link_title ();
		public unowned string get_link_uri ();
		public unowned string get_media_uri ();
		public uint context { get; construct; }
		public string image_uri { get; construct; }
		public string link_label { get; construct; }
		public string link_title { get; construct; }
		public string link_uri { get; construct; }
		public string media_uri { get; construct; }
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", ref_function = "webkit_itp_first_party_ref", type_id = "webkit_itp_first_party_get_type ()", unref_function = "webkit_itp_first_party_unref")]
	[Compact]
	public class ITPFirstParty {
		[Version (since = "2.30")]
		public unowned string get_domain ();
		[Version (since = "2.30")]
		public unowned GLib.DateTime get_last_update_time ();
		[Version (since = "2.30")]
		public bool get_website_data_access_allowed ();
		[Version (since = "2.30")]
		public unowned WebKit.ITPFirstParty @ref ();
		[Version (since = "2.30")]
		public void unref ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", ref_function = "webkit_itp_third_party_ref", type_id = "webkit_itp_third_party_get_type ()", unref_function = "webkit_itp_third_party_unref")]
	[Compact]
	public class ITPThirdParty {
		[Version (since = "2.30")]
		public unowned string get_domain ();
		[Version (since = "2.30")]
		public unowned GLib.List<WebKit.ITPFirstParty> get_first_parties ();
		[Version (since = "2.30")]
		public unowned WebKit.ITPThirdParty @ref ();
		[Version (since = "2.30")]
		public void unref ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_input_method_context_get_type ()")]
	public abstract class InputMethodContext : GLib.Object {
		[CCode (has_construct_function = false)]
		protected InputMethodContext ();
		[Version (since = "2.28")]
		public virtual bool filter_key_event (Gdk.Event key_event);
		[Version (since = "2.28")]
		public WebKit.InputHints get_input_hints ();
		[Version (since = "2.28")]
		public WebKit.InputPurpose get_input_purpose ();
		[Version (since = "2.28")]
		public virtual void get_preedit (out string? text, out GLib.List<WebKit.InputMethodUnderline>? underlines, out uint cursor_offset);
		[Version (since = "2.28")]
		public virtual void notify_cursor_area (int x, int y, int width, int height);
		[Version (since = "2.28")]
		public virtual void notify_focus_in ();
		[Version (since = "2.28")]
		public virtual void notify_focus_out ();
		[Version (since = "2.28")]
		public virtual void notify_surrounding (string text, uint length, uint cursor_index, uint selection_index);
		[Version (since = "2.28")]
		public virtual void reset ();
		[Version (since = "2.28")]
		public virtual void set_enable_preedit (bool enabled);
		public void set_input_hints (WebKit.InputHints hints);
		[Version (since = "2.28")]
		public void set_input_purpose (WebKit.InputPurpose purpose);
		public WebKit.InputHints input_hints { get; set; }
		public WebKit.InputPurpose input_purpose { get; set; }
		[Version (since = "2.28")]
		public virtual signal void committed (string text);
		[Version (since = "2.28")]
		public virtual signal void delete_surrounding (int offset, uint n_chars);
		[Version (since = "2.28")]
		public virtual signal void preedit_changed ();
		[Version (since = "2.28")]
		public virtual signal void preedit_finished ();
		[Version (since = "2.28")]
		public virtual signal void preedit_started ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "webkit_input_method_underline_get_type ()")]
	[Compact]
	public class InputMethodUnderline {
		[CCode (has_construct_function = false)]
		[Version (since = "2.28")]
		public InputMethodUnderline (uint start_offset, uint end_offset);
		[Version (since = "2.28")]
		public WebKit.InputMethodUnderline copy ();
		[Version (since = "2.28")]
		public void free ();
		[Version (since = "2.28")]
		public void set_color (Gdk.RGBA? rgba);
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_install_missing_media_plugins_permission_request_get_type ()")]
	public class InstallMissingMediaPluginsPermissionRequest : GLib.Object, WebKit.PermissionRequest {
		[CCode (has_construct_function = false)]
		protected InstallMissingMediaPluginsPermissionRequest ();
		[Version (since = "2.10")]
		public unowned string get_description ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", ref_function = "webkit_javascript_result_ref", type_id = "webkit_javascript_result_get_type ()", unref_function = "webkit_javascript_result_unref")]
	[Compact]
	public class JavascriptResult {
		[Version (since = "2.22")]
		public unowned JSC.Value get_js_value ();
		public unowned WebKit.JavascriptResult @ref ();
		public void unref ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_media_key_system_permission_request_get_type ()")]
	public class MediaKeySystemPermissionRequest : GLib.Object, WebKit.PermissionRequest {
		[CCode (has_construct_function = false)]
		protected MediaKeySystemPermissionRequest ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "webkit_memory_pressure_settings_get_type ()")]
	[Compact]
	public class MemoryPressureSettings {
		[CCode (has_construct_function = false)]
		[Version (since = "2.34")]
		public MemoryPressureSettings ();
		[Version (since = "2.34")]
		public WebKit.MemoryPressureSettings copy ();
		[Version (since = "2.34")]
		public void free ();
		[Version (since = "2.34")]
		public double get_conservative_threshold ();
		[Version (since = "2.34")]
		public double get_kill_threshold ();
		[Version (since = "2.34")]
		public uint get_memory_limit ();
		[Version (since = "2.34")]
		public double get_poll_interval ();
		[Version (since = "2.34")]
		public double get_strict_threshold ();
		[Version (since = "2.34")]
		public void set_conservative_threshold (double value);
		[Version (since = "2.34")]
		public void set_kill_threshold (double value);
		[Version (since = "2.34")]
		public void set_memory_limit (uint memory_limit);
		[Version (since = "2.34")]
		public void set_poll_interval (double value);
		[Version (since = "2.34")]
		public void set_strict_threshold (double value);
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", ref_function = "webkit_mime_info_ref", type_id = "webkit_mime_info_get_type ()", unref_function = "webkit_mime_info_unref")]
	[Compact]
	public class MimeInfo {
		[Version (deprecated = true, deprecated_since = "2.32")]
		public unowned string get_description ();
		[CCode (array_length = false, array_null_terminated = true)]
		[Version (deprecated = true, deprecated_since = "2.32")]
		public unowned string[] get_extensions ();
		[Version (deprecated = true, deprecated_since = "2.32")]
		public unowned string get_mime_type ();
		[Version (deprecated = true, deprecated_since = "2.32")]
		public unowned WebKit.MimeInfo @ref ();
		[Version (deprecated = true, deprecated_since = "2.32")]
		public void unref ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "webkit_navigation_action_get_type ()")]
	[Compact]
	public class NavigationAction {
		[Version (since = "2.6")]
		public WebKit.NavigationAction copy ();
		[Version (since = "2.6")]
		public void free ();
		[Version (since = "2.6")]
		public uint get_modifiers ();
		[Version (since = "2.6")]
		public uint get_mouse_button ();
		[Version (since = "2.6")]
		public WebKit.NavigationType get_navigation_type ();
		[Version (since = "2.6")]
		public unowned WebKit.URIRequest get_request ();
		[Version (since = "2.20")]
		public bool is_redirect ();
		[Version (since = "2.6")]
		public bool is_user_gesture ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_navigation_policy_decision_get_type ()")]
	public class NavigationPolicyDecision : WebKit.PolicyDecision {
		[CCode (has_construct_function = false)]
		protected NavigationPolicyDecision ();
		public unowned string get_frame_name ();
		[Version (deprecated = true, deprecated_since = "2.6")]
		public uint get_modifiers ();
		[Version (deprecated = true, deprecated_since = "2.6")]
		public uint get_mouse_button ();
		[Version (since = "2.6")]
		public unowned WebKit.NavigationAction get_navigation_action ();
		[Version (deprecated = true, deprecated_since = "2.6")]
		public WebKit.NavigationType get_navigation_type ();
		[Version (deprecated = true, deprecated_since = "2.6")]
		public unowned WebKit.URIRequest get_request ();
		public string frame_name { get; }
		[Version (deprecated = true, deprecated_since = "2.6")]
		public uint modifiers { get; }
		[Version (deprecated = true, deprecated_since = "2.6")]
		public uint mouse_button { get; }
		[Version (since = "2.6")]
		public WebKit.NavigationAction navigation_action { get; }
		[Version (deprecated = true, deprecated_since = "2.6")]
		public WebKit.NavigationType navigation_type { get; }
		[Version (deprecated = true, deprecated_since = "2.6")]
		public WebKit.URIRequest request { get; }
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "webkit_network_proxy_settings_get_type ()")]
	[Compact]
	public class NetworkProxySettings {
		[CCode (has_construct_function = false)]
		[Version (since = "2.16")]
		public NetworkProxySettings (string? default_proxy_uri, [CCode (array_length = false, array_null_terminated = true)] string[]? ignore_hosts);
		[Version (since = "2.16")]
		public void add_proxy_for_scheme (string scheme, string proxy_uri);
		[Version (since = "2.16")]
		public WebKit.NetworkProxySettings copy ();
		[Version (since = "2.16")]
		public void free ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_notification_get_type ()")]
	public class Notification : GLib.Object {
		[CCode (has_construct_function = false)]
		protected Notification ();
		[Version (since = "2.8")]
		public void close ();
		[Version (since = "2.8")]
		public unowned string get_body ();
		[Version (since = "2.8")]
		public uint64 get_id ();
		[Version (since = "2.16")]
		public unowned string? get_tag ();
		[Version (since = "2.8")]
		public unowned string get_title ();
		[Version (since = "2.8")]
		public string body { get; }
		[Version (since = "2.8")]
		public uint64 id { get; }
		[Version (since = "2.16")]
		public string tag { get; }
		[Version (since = "2.8")]
		public string title { get; }
		[HasEmitter]
		[Version (since = "2.12")]
		public signal void clicked ();
		[Version (since = "2.8")]
		public signal void closed ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_notification_permission_request_get_type ()")]
	public class NotificationPermissionRequest : GLib.Object, WebKit.PermissionRequest {
		[CCode (has_construct_function = false)]
		protected NotificationPermissionRequest ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_option_menu_get_type ()")]
	public class OptionMenu : GLib.Object {
		[CCode (has_construct_function = false)]
		protected OptionMenu ();
		[Version (since = "2.18")]
		public void activate_item (uint index);
		[Version (since = "2.18")]
		public unowned WebKit.OptionMenuItem get_item (uint index);
		[Version (since = "2.18")]
		public uint get_n_items ();
		[Version (since = "2.18")]
		public void select_item (uint index);
		[HasEmitter]
		[Version (since = "2.18")]
		public signal void close ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "webkit_option_menu_item_get_type ()")]
	[Compact]
	public class OptionMenuItem {
		[Version (since = "2.18")]
		public WebKit.OptionMenuItem copy ();
		[Version (since = "2.18")]
		public void free ();
		[Version (since = "2.18")]
		public unowned string get_label ();
		[Version (since = "2.18")]
		public unowned string get_tooltip ();
		[Version (since = "2.18")]
		public bool is_enabled ();
		[Version (since = "2.18")]
		public bool is_group_child ();
		[Version (since = "2.18")]
		public bool is_group_label ();
		[Version (since = "2.18")]
		public bool is_selected ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_plugin_get_type ()")]
	public class Plugin : GLib.Object {
		[CCode (has_construct_function = false)]
		protected Plugin ();
		[Version (deprecated = true, deprecated_since = "2.32")]
		public unowned string get_description ();
		[Version (deprecated = true, deprecated_since = "2.32")]
		public unowned GLib.List<WebKit.MimeInfo> get_mime_info_list ();
		[Version (deprecated = true, deprecated_since = "2.32")]
		public unowned string get_name ();
		[Version (deprecated = true, deprecated_since = "2.32")]
		public unowned string get_path ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_pointer_lock_permission_request_get_type ()")]
	public class PointerLockPermissionRequest : GLib.Object, WebKit.PermissionRequest {
		[CCode (has_construct_function = false)]
		protected PointerLockPermissionRequest ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_policy_decision_get_type ()")]
	public abstract class PolicyDecision : GLib.Object {
		[CCode (has_construct_function = false)]
		protected PolicyDecision ();
		public void download ();
		public void ignore ();
		public void use ();
		[Version (since = "2.30")]
		public void use_with_policies (WebKit.WebsitePolicies policies);
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_print_custom_widget_get_type ()")]
	public class PrintCustomWidget : GLib.Object {
		[CCode (has_construct_function = false)]
		[Version (since = "2.16")]
		public PrintCustomWidget (Gtk.Widget widget, string title);
		[Version (since = "2.16")]
		public unowned string get_title ();
		[Version (since = "2.16")]
		public unowned Gtk.Widget get_widget ();
		[Version (since = "2.16")]
		public string title { get; construct; }
		[Version (since = "2.16")]
		public Gtk.Widget widget { get; construct; }
		[Version (since = "2.16")]
		public virtual signal void apply ();
		[Version (since = "2.16")]
		public virtual signal void update (Gtk.PageSetup widget, Gtk.PrintSettings page_setup);
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_print_operation_get_type ()")]
	public class PrintOperation : GLib.Object {
		[CCode (has_construct_function = false)]
		public PrintOperation (WebKit.WebView web_view);
		public unowned Gtk.PageSetup get_page_setup ();
		public unowned Gtk.PrintSettings get_print_settings ();
		public void print ();
		public WebKit.PrintOperationResponse run_dialog (Gtk.Window? parent);
		public void set_page_setup (Gtk.PageSetup page_setup);
		public void set_print_settings (Gtk.PrintSettings print_settings);
		public Gtk.PageSetup page_setup { get; set; }
		public Gtk.PrintSettings print_settings { get; set; }
		[NoAccessorMethod]
		public WebKit.WebView web_view { owned get; construct; }
		[Version (since = "2.16")]
		public signal WebKit.PrintCustomWidget create_custom_widget ();
		public signal void failed (WebKit.PrintError error);
		public signal void finished ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_response_policy_decision_get_type ()")]
	public class ResponsePolicyDecision : WebKit.PolicyDecision {
		[CCode (has_construct_function = false)]
		protected ResponsePolicyDecision ();
		public unowned WebKit.URIRequest get_request ();
		public unowned WebKit.URIResponse get_response ();
		[Version (since = "2.4")]
		public bool is_mime_type_supported ();
		public WebKit.URIRequest request { get; }
		public WebKit.URIResponse response { get; }
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", ref_function = "webkit_script_dialog_ref", type_id = "webkit_script_dialog_get_type ()", unref_function = "webkit_script_dialog_unref")]
	[Compact]
	public class ScriptDialog {
		[Version (since = "2.24")]
		public void close ();
		public void confirm_set_confirmed (bool confirmed);
		public WebKit.ScriptDialogType get_dialog_type ();
		public unowned string get_message ();
		public unowned string prompt_get_default_text ();
		public void prompt_set_text (string text);
		[Version (since = "2.24")]
		public unowned WebKit.ScriptDialog @ref ();
		[Version (since = "2.24")]
		public void unref ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_security_manager_get_type ()")]
	public class SecurityManager : GLib.Object {
		[CCode (has_construct_function = false)]
		protected SecurityManager ();
		public void register_uri_scheme_as_cors_enabled (string scheme);
		public void register_uri_scheme_as_display_isolated (string scheme);
		public void register_uri_scheme_as_empty_document (string scheme);
		public void register_uri_scheme_as_local (string scheme);
		public void register_uri_scheme_as_no_access (string scheme);
		public void register_uri_scheme_as_secure (string scheme);
		public bool uri_scheme_is_cors_enabled (string scheme);
		public bool uri_scheme_is_display_isolated (string scheme);
		public bool uri_scheme_is_empty_document (string scheme);
		public bool uri_scheme_is_local (string scheme);
		public bool uri_scheme_is_no_access (string scheme);
		public bool uri_scheme_is_secure (string scheme);
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", ref_function = "webkit_security_origin_ref", type_id = "webkit_security_origin_get_type ()", unref_function = "webkit_security_origin_unref")]
	[Compact]
	public class SecurityOrigin {
		[CCode (has_construct_function = false)]
		[Version (since = "2.16")]
		public SecurityOrigin (string protocol, string host, uint16 port);
		[CCode (has_construct_function = false)]
		[Version (since = "2.16")]
		public SecurityOrigin.for_uri (string uri);
		[Version (since = "2.16")]
		public unowned string? get_host ();
		[Version (since = "2.16")]
		public uint16 get_port ();
		[Version (since = "2.16")]
		public unowned string? get_protocol ();
		[Version (deprecated = true, deprecated_since = "2.32", since = "2.16")]
		public bool is_opaque ();
		[Version (since = "2.16")]
		public unowned WebKit.SecurityOrigin @ref ();
		[Version (since = "2.16")]
		public string? to_string ();
		[Version (since = "2.16")]
		public void unref ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_settings_get_type ()")]
	public class Settings : GLib.Object {
		[CCode (has_construct_function = false)]
		public Settings ();
		[Version (since = "2.20")]
		public static uint32 font_size_to_pixels (uint32 points);
		[Version (since = "2.20")]
		public static uint32 font_size_to_points (uint32 pixels);
		[Version (since = "2.10")]
		public bool get_allow_file_access_from_file_urls ();
		public bool get_allow_modal_dialogs ();
		[Version (since = "2.28")]
		public bool get_allow_top_navigation_to_data_urls ();
		[Version (since = "2.14")]
		public bool get_allow_universal_access_from_file_urls ();
		public bool get_auto_load_images ();
		public unowned string get_cursive_font_family ();
		public unowned string get_default_charset ();
		public unowned string get_default_font_family ();
		public uint32 get_default_font_size ();
		public uint32 get_default_monospace_font_size ();
		public bool get_draw_compositing_indicators ();
		[Version (deprecated = true, deprecated_since = "2.32.", since = "2.2")]
		public bool get_enable_accelerated_2d_canvas ();
		[Version (since = "2.24")]
		public bool get_enable_back_forward_navigation_gestures ();
		public bool get_enable_caret_browsing ();
		public bool get_enable_developer_extras ();
		public bool get_enable_dns_prefetching ();
		[Version (since = "2.20")]
		public bool get_enable_encrypted_media ();
		public bool get_enable_frame_flattening ();
		public bool get_enable_fullscreen ();
		public bool get_enable_html5_database ();
		public bool get_enable_html5_local_storage ();
		public bool get_enable_hyperlink_auditing ();
		public bool get_enable_java ();
		public bool get_enable_javascript ();
		[Version (since = "2.24")]
		public bool get_enable_javascript_markup ();
		[Version (since = "2.26")]
		public bool get_enable_media ();
		[Version (since = "2.22")]
		public bool get_enable_media_capabilities ();
		[Version (since = "2.4")]
		public bool get_enable_media_stream ();
		[Version (since = "2.4")]
		public bool get_enable_mediasource ();
		[Version (since = "2.24")]
		public bool get_enable_mock_capture_devices ();
		public bool get_enable_offline_web_application_cache ();
		public bool get_enable_page_cache ();
		[Version (deprecated = true, deprecated_since = "2.32")]
		public bool get_enable_plugins ();
		[Version (deprecated = true, deprecated_since = "2.16.")]
		public bool get_enable_private_browsing ();
		public bool get_enable_resizable_text_areas ();
		public bool get_enable_site_specific_quirks ();
		public bool get_enable_smooth_scrolling ();
		[Version (since = "2.2")]
		public bool get_enable_spatial_navigation ();
		public bool get_enable_tabs_to_links ();
		public bool get_enable_webaudio ();
		public bool get_enable_webgl ();
		[Version (since = "2.2")]
		public bool get_enable_write_console_messages_to_stdout ();
		public bool get_enable_xss_auditor ();
		public unowned string get_fantasy_font_family ();
		[Version (since = "2.16")]
		public WebKit.HardwareAccelerationPolicy get_hardware_acceleration_policy ();
		public bool get_javascript_can_access_clipboard ();
		public bool get_javascript_can_open_windows_automatically ();
		public bool get_load_icons_ignoring_image_load_setting ();
		[Version (since = "2.30")]
		public unowned string get_media_content_types_requiring_hardware_support ();
		public bool get_media_playback_allows_inline ();
		public bool get_media_playback_requires_user_gesture ();
		public uint32 get_minimum_font_size ();
		public unowned string get_monospace_font_family ();
		public unowned string get_pictograph_font_family ();
		public bool get_print_backgrounds ();
		public unowned string get_sans_serif_font_family ();
		public unowned string get_serif_font_family ();
		public unowned string get_user_agent ();
		public bool get_zoom_text_only ();
		[Version (since = "2.10")]
		public void set_allow_file_access_from_file_urls (bool allowed);
		public void set_allow_modal_dialogs (bool allowed);
		[Version (since = "2.28")]
		public void set_allow_top_navigation_to_data_urls (bool allowed);
		[Version (since = "2.14")]
		public void set_allow_universal_access_from_file_urls (bool allowed);
		public void set_auto_load_images (bool enabled);
		public void set_cursive_font_family (string cursive_font_family);
		public void set_default_charset (string default_charset);
		public void set_default_font_family (string default_font_family);
		public void set_default_font_size (uint32 font_size);
		public void set_default_monospace_font_size (uint32 font_size);
		public void set_draw_compositing_indicators (bool enabled);
		[Version (deprecated = true, deprecated_since = "2.32.", since = "2.2")]
		public void set_enable_accelerated_2d_canvas (bool enabled);
		[Version (since = "2.24")]
		public void set_enable_back_forward_navigation_gestures (bool enabled);
		public void set_enable_caret_browsing (bool enabled);
		public void set_enable_developer_extras (bool enabled);
		public void set_enable_dns_prefetching (bool enabled);
		[Version (since = "2.20")]
		public void set_enable_encrypted_media (bool enabled);
		public void set_enable_frame_flattening (bool enabled);
		public void set_enable_fullscreen (bool enabled);
		public void set_enable_html5_database (bool enabled);
		public void set_enable_html5_local_storage (bool enabled);
		public void set_enable_hyperlink_auditing (bool enabled);
		public void set_enable_java (bool enabled);
		public void set_enable_javascript (bool enabled);
		[Version (since = "2.24")]
		public void set_enable_javascript_markup (bool enabled);
		[Version (since = "2.26")]
		public void set_enable_media (bool enabled);
		[Version (since = "2.22")]
		public void set_enable_media_capabilities (bool enabled);
		[Version (since = "2.4")]
		public void set_enable_media_stream (bool enabled);
		[Version (since = "2.4")]
		public void set_enable_mediasource (bool enabled);
		[Version (since = "2.4")]
		public void set_enable_mock_capture_devices (bool enabled);
		public void set_enable_offline_web_application_cache (bool enabled);
		public void set_enable_page_cache (bool enabled);
		[Version (deprecated = true, deprecated_since = "2.32")]
		public void set_enable_plugins (bool enabled);
		[Version (deprecated = true, deprecated_since = "2.16.")]
		public void set_enable_private_browsing (bool enabled);
		public void set_enable_resizable_text_areas (bool enabled);
		public void set_enable_site_specific_quirks (bool enabled);
		public void set_enable_smooth_scrolling (bool enabled);
		[Version (since = "2.2")]
		public void set_enable_spatial_navigation (bool enabled);
		public void set_enable_tabs_to_links (bool enabled);
		public void set_enable_webaudio (bool enabled);
		public void set_enable_webgl (bool enabled);
		[Version (since = "2.2")]
		public void set_enable_write_console_messages_to_stdout (bool enabled);
		public void set_enable_xss_auditor (bool enabled);
		public void set_fantasy_font_family (string fantasy_font_family);
		[Version (since = "2.16")]
		public void set_hardware_acceleration_policy (WebKit.HardwareAccelerationPolicy policy);
		public void set_javascript_can_access_clipboard (bool enabled);
		public void set_javascript_can_open_windows_automatically (bool enabled);
		public void set_load_icons_ignoring_image_load_setting (bool enabled);
		[Version (since = "2.30")]
		public void set_media_content_types_requiring_hardware_support (string? content_types);
		public void set_media_playback_allows_inline (bool enabled);
		public void set_media_playback_requires_user_gesture (bool enabled);
		public void set_minimum_font_size (uint32 font_size);
		public void set_monospace_font_family (string monospace_font_family);
		public void set_pictograph_font_family (string pictograph_font_family);
		public void set_print_backgrounds (bool print_backgrounds);
		public void set_sans_serif_font_family (string sans_serif_font_family);
		public void set_serif_font_family (string serif_font_family);
		public void set_user_agent (string? user_agent);
		public void set_user_agent_with_application_details (string? application_name, string? application_version);
		public void set_zoom_text_only (bool zoom_text_only);
		[Version (since = "2.10")]
		public bool allow_file_access_from_file_urls { get; set construct; }
		public bool allow_modal_dialogs { get; set construct; }
		[Version (since = "2.28")]
		public bool allow_top_navigation_to_data_urls { get; set construct; }
		[Version (since = "2.14")]
		public bool allow_universal_access_from_file_urls { get; set construct; }
		public bool auto_load_images { get; set construct; }
		public string cursive_font_family { get; set construct; }
		public string default_charset { get; set construct; }
		public string default_font_family { get; set construct; }
		public uint default_font_size { get; set construct; }
		public uint default_monospace_font_size { get; set construct; }
		public bool draw_compositing_indicators { get; set construct; }
		[Version (deprecated = true, deprecated_since = "2.32.", since = "2.2")]
		public bool enable_accelerated_2d_canvas { get; set construct; }
		[Version (since = "2.24")]
		public bool enable_back_forward_navigation_gestures { get; set construct; }
		public bool enable_caret_browsing { get; set construct; }
		public bool enable_developer_extras { get; set construct; }
		public bool enable_dns_prefetching { get; set construct; }
		[Version (since = "2.20")]
		public bool enable_encrypted_media { get; set construct; }
		public bool enable_frame_flattening { get; set construct; }
		public bool enable_fullscreen { get; set construct; }
		public bool enable_html5_database { get; set construct; }
		public bool enable_html5_local_storage { get; set construct; }
		public bool enable_hyperlink_auditing { get; set construct; }
		public bool enable_java { get; set construct; }
		public bool enable_javascript { get; set construct; }
		[Version (since = "2.24")]
		public bool enable_javascript_markup { get; set construct; }
		[Version (since = "2.26")]
		public bool enable_media { get; set construct; }
		[Version (since = "2.22")]
		public bool enable_media_capabilities { get; set construct; }
		[Version (since = "2.4")]
		public bool enable_media_stream { get; set construct; }
		[Version (since = "2.4")]
		public bool enable_mediasource { get; set construct; }
		[Version (since = "2.24")]
		public bool enable_mock_capture_devices { get; set construct; }
		public bool enable_offline_web_application_cache { get; set construct; }
		public bool enable_page_cache { get; set construct; }
		[Version (deprecated = true, deprecated_since = "2.32")]
		public bool enable_plugins { get; set construct; }
		[Version (deprecated = true, deprecated_since = "2.16.")]
		public bool enable_private_browsing { get; set construct; }
		public bool enable_resizable_text_areas { get; set construct; }
		public bool enable_site_specific_quirks { get; set construct; }
		public bool enable_smooth_scrolling { get; set construct; }
		[Version (since = "2.4")]
		public bool enable_spatial_navigation { get; set construct; }
		public bool enable_tabs_to_links { get; set construct; }
		public bool enable_webaudio { get; set construct; }
		public bool enable_webgl { get; set construct; }
		[Version (since = "2.2")]
		public bool enable_write_console_messages_to_stdout { get; set construct; }
		public bool enable_xss_auditor { get; set construct; }
		public string fantasy_font_family { get; set construct; }
		[Version (since = "2.16")]
		public WebKit.HardwareAccelerationPolicy hardware_acceleration_policy { get; set construct; }
		public bool javascript_can_access_clipboard { get; set construct; }
		public bool javascript_can_open_windows_automatically { get; set construct; }
		public bool load_icons_ignoring_image_load_setting { get; set construct; }
		[Version (since = "2.30")]
		public string media_content_types_requiring_hardware_support { get; set construct; }
		public bool media_playback_allows_inline { get; set construct; }
		public bool media_playback_requires_user_gesture { get; set construct; }
		public uint minimum_font_size { get; set construct; }
		public string monospace_font_family { get; set construct; }
		public string pictograph_font_family { get; set construct; }
		public bool print_backgrounds { get; set construct; }
		public string sans_serif_font_family { get; set construct; }
		public string serif_font_family { get; set construct; }
		public string user_agent { get; set construct; }
		public bool zoom_text_only { get; set construct; }
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_uri_request_get_type ()")]
	public class URIRequest : GLib.Object {
		[CCode (has_construct_function = false)]
		public URIRequest (string uri);
		public unowned Soup.MessageHeaders get_http_headers ();
		[Version (since = "2.12")]
		public unowned string get_http_method ();
		public unowned string get_uri ();
		public void set_uri (string uri);
		public string uri { get; set construct; }
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_uri_response_get_type ()")]
	public class URIResponse : GLib.Object {
		[CCode (has_construct_function = false)]
		protected URIResponse ();
		public uint64 get_content_length ();
		[Version (since = "2.6")]
		public unowned Soup.MessageHeaders get_http_headers ();
		public unowned string get_mime_type ();
		public uint get_status_code ();
		public unowned string get_suggested_filename ();
		public unowned string get_uri ();
		public uint64 content_length { get; }
		[Version (since = "2.6")]
		public Soup.MessageHeaders http_headers { get; }
		public string mime_type { get; }
		public uint status_code { get; }
		public string suggested_filename { get; }
		public string uri { get; }
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_uri_scheme_request_get_type ()")]
	public class URISchemeRequest : GLib.Object {
		[CCode (has_construct_function = false)]
		protected URISchemeRequest ();
		public void finish (GLib.InputStream stream, int64 stream_length, string? content_type);
		[Version (since = "2.2")]
		public void finish_error (GLib.Error error);
		[Version (since = "2.36")]
		public void finish_with_response (WebKit.URISchemeResponse response);
		public Soup.MessageHeaders get_http_headers ();
		[Version (since = "2.36")]
		public unowned string get_http_method ();
		public unowned string get_path ();
		public unowned string get_scheme ();
		public unowned string get_uri ();
		public unowned WebKit.WebView get_web_view ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_uri_scheme_response_get_type ()")]
	public class URISchemeResponse : GLib.Object {
		[CCode (has_construct_function = false)]
		[Version (since = "2.36")]
		public URISchemeResponse (GLib.InputStream input_stream, int64 stream_length);
		[Version (since = "2.36")]
		public void set_content_type (string content_type);
		public void set_http_headers (Soup.MessageHeaders headers);
		[Version (since = "2.36")]
		public void set_status (uint status_code, string? reason_phrase);
		[NoAccessorMethod]
		[Version (since = "2.36")]
		public GLib.InputStream stream { construct; }
		[NoAccessorMethod]
		public int64 stream_length { construct; }
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", ref_function = "webkit_user_content_filter_ref", type_id = "webkit_user_content_filter_get_type ()", unref_function = "webkit_user_content_filter_unref")]
	[Compact]
	public class UserContentFilter {
		[Version (since = "2.24")]
		public unowned string get_identifier ();
		[Version (since = "2.24")]
		public unowned WebKit.UserContentFilter @ref ();
		[Version (since = "2.24")]
		public void unref ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_user_content_filter_store_get_type ()")]
	public class UserContentFilterStore : GLib.Object {
		[CCode (has_construct_function = false)]
		[Version (since = "2.24")]
		public UserContentFilterStore (string storage_path);
		[CCode (array_length = false, array_null_terminated = true)]
		[Version (since = "2.24")]
		public async string[] fetch_identifiers (GLib.Cancellable? cancellable = null);
		[Version (since = "2.24")]
		public unowned string get_path ();
		[Version (since = "2.24")]
		public async WebKit.UserContentFilter load (string identifier, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.24")]
		public async bool remove (string identifier, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.24")]
		public async WebKit.UserContentFilter save (string identifier, GLib.Bytes source, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.24")]
		public async WebKit.UserContentFilter save_from_file (string identifier, GLib.File file, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.24")]
		public string path { get; construct; }
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_user_content_manager_get_type ()")]
	public class UserContentManager : GLib.Object {
		[CCode (has_construct_function = false)]
		[Version (since = "2.6")]
		public UserContentManager ();
		[Version (since = "2.24")]
		public void add_filter (WebKit.UserContentFilter filter);
		[Version (since = "2.6")]
		public void add_script (WebKit.UserScript script);
		[Version (since = "2.6")]
		public void add_style_sheet (WebKit.UserStyleSheet stylesheet);
		[Version (since = "2.8")]
		public bool register_script_message_handler (string name);
		[Version (since = "2.22")]
		public bool register_script_message_handler_in_world (string name, string world_name);
		[Version (since = "2.24")]
		public void remove_all_filters ();
		[Version (since = "2.6")]
		public void remove_all_scripts ();
		[Version (since = "2.6")]
		public void remove_all_style_sheets ();
		public void remove_filter (WebKit.UserContentFilter filter);
		[Version (since = "2.26")]
		public void remove_filter_by_id (string filter_id);
		[Version (since = "2.32")]
		public void remove_script (WebKit.UserScript script);
		[Version (since = "2.32")]
		public void remove_style_sheet (WebKit.UserStyleSheet stylesheet);
		[Version (since = "2.8")]
		public void unregister_script_message_handler (string name);
		[Version (since = "2.22")]
		public void unregister_script_message_handler_in_world (string name, string world_name);
		[Version (since = "2.8")]
		public signal void script_message_received (WebKit.JavascriptResult js_result);
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_user_media_permission_request_get_type ()")]
	public class UserMediaPermissionRequest : GLib.Object, WebKit.PermissionRequest {
		[CCode (has_construct_function = false)]
		protected UserMediaPermissionRequest ();
		[NoAccessorMethod]
		public bool is_for_audio_device { get; }
		[NoAccessorMethod]
		public bool is_for_video_device { get; }
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_user_message_get_type ()")]
	public class UserMessage : GLib.InitiallyUnowned {
		[CCode (has_construct_function = false)]
		[Version (since = "2.28")]
		public UserMessage (string name, GLib.Variant? parameters);
		[Version (since = "2.28")]
		public unowned GLib.UnixFDList? get_fd_list ();
		[Version (since = "2.28")]
		public unowned string get_name ();
		[Version (since = "2.28")]
		public unowned GLib.Variant? get_parameters ();
		[Version (since = "2.28")]
		public void send_reply (WebKit.UserMessage reply);
		[CCode (has_construct_function = false)]
		[Version (since = "2.28")]
		public UserMessage.with_fd_list (string name, GLib.Variant? parameters, GLib.UnixFDList? fd_list);
		[Version (since = "2.28")]
		public GLib.UnixFDList fd_list { get; construct; }
		[Version (since = "2.28")]
		public string name { get; construct; }
		[Version (since = "2.28")]
		public GLib.Variant parameters { get; construct; }
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", ref_function = "webkit_user_script_ref", type_id = "webkit_user_script_get_type ()", unref_function = "webkit_user_script_unref")]
	[Compact]
	public class UserScript {
		[CCode (has_construct_function = false)]
		[Version (since = "2.6")]
		public UserScript (string source, WebKit.UserContentInjectedFrames injected_frames, WebKit.UserScriptInjectionTime injection_time, [CCode (array_length = false, array_null_terminated = true)] string[]? allow_list, [CCode (array_length = false, array_null_terminated = true)] string[]? block_list);
		[CCode (has_construct_function = false)]
		[Version (since = "2.22")]
		public UserScript.for_world (string source, WebKit.UserContentInjectedFrames injected_frames, WebKit.UserScriptInjectionTime injection_time, string world_name, [CCode (array_length = false, array_null_terminated = true)] string[]? allow_list, [CCode (array_length = false, array_null_terminated = true)] string[]? block_list);
		[Version (since = "2.6")]
		public unowned WebKit.UserScript @ref ();
		[Version (since = "2.6")]
		public void unref ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", ref_function = "webkit_user_style_sheet_ref", type_id = "webkit_user_style_sheet_get_type ()", unref_function = "webkit_user_style_sheet_unref")]
	[Compact]
	public class UserStyleSheet {
		[CCode (has_construct_function = false)]
		[Version (since = "2.6")]
		public UserStyleSheet (string source, WebKit.UserContentInjectedFrames injected_frames, WebKit.UserStyleLevel level, [CCode (array_length = false, array_null_terminated = true)] string[]? allow_list, [CCode (array_length = false, array_null_terminated = true)] string[]? block_list);
		[CCode (has_construct_function = false)]
		[Version (since = "2.22")]
		public UserStyleSheet.for_world (string source, WebKit.UserContentInjectedFrames injected_frames, WebKit.UserStyleLevel level, string world_name, [CCode (array_length = false, array_null_terminated = true)] string[]? allow_list, [CCode (array_length = false, array_null_terminated = true)] string[]? block_list);
		[Version (since = "2.6")]
		public unowned WebKit.UserStyleSheet @ref ();
		[Version (since = "2.6")]
		public void unref ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_web_context_get_type ()")]
	public class WebContext : GLib.Object {
		[CCode (has_construct_function = false)]
		[Version (since = "2.8")]
		public WebContext ();
		[Version (since = "2.26")]
		public void add_path_to_sandbox (string path, bool read_only);
		[Version (since = "2.6")]
		public void allow_tls_certificate_for_host (GLib.TlsCertificate certificate, string host);
		public void clear_cache ();
		public WebKit.Download download_uri (string uri);
		[CCode (has_construct_function = false)]
		[Version (since = "2.16")]
		public WebContext.ephemeral ();
		public WebKit.CacheModel get_cache_model ();
		public unowned WebKit.CookieManager get_cookie_manager ();
		public static unowned WebKit.WebContext get_default ();
		public unowned WebKit.FaviconDatabase get_favicon_database ();
		public unowned string get_favicon_database_directory ();
		[Version (since = "2.26")]
		public unowned WebKit.GeolocationManager get_geolocation_manager ();
		[Version (deprecated = true, deprecated_since = "2.32")]
		public async GLib.List<WebKit.Plugin> get_plugins (GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.4")]
		public WebKit.ProcessModel get_process_model ();
		[Version (since = "2.26")]
		public bool get_sandbox_enabled ();
		public unowned WebKit.SecurityManager get_security_manager ();
		public bool get_spell_checking_enabled ();
		[CCode (array_length = false, array_null_terminated = true)]
		public unowned string[] get_spell_checking_languages ();
		[Version (deprecated = true, deprecated_since = "2.32.")]
		public WebKit.TLSErrorsPolicy get_tls_errors_policy ();
		[Version (since = "2.30")]
		public bool get_use_system_appearance_for_scrollbars ();
		[Version (deprecated = true, deprecated_since = "2.26", since = "2.10")]
		public uint get_web_process_count_limit ();
		[Version (since = "2.10")]
		public unowned WebKit.WebsiteDataManager get_website_data_manager ();
		[CCode (cname = "webkit_web_context_initialize_notification_permissions")]
		[Version (since = "2.16")]
		public void init_notification_permissions (GLib.List<WebKit.SecurityOrigin> allowed_origins, GLib.List<WebKit.SecurityOrigin> disallowed_origins);
		[Version (since = "2.18")]
		public bool is_automation_allowed ();
		[Version (since = "2.16")]
		public bool is_ephemeral ();
		public void prefetch_dns (string hostname);
		public void register_uri_scheme (string scheme, owned WebKit.URISchemeRequestCallback callback);
		[Version (since = "2.28")]
		public void send_message_to_all_extensions (WebKit.UserMessage message);
		[Version (deprecated = true, deprecated_since = "2.32")]
		public void set_additional_plugins_directory (string directory);
		[Version (since = "2.18")]
		public void set_automation_allowed (bool allowed);
		public void set_cache_model (WebKit.CacheModel cache_model);
		[Version (deprecated = true, deprecated_since = "2.10.")]
		public void set_disk_cache_directory (string directory);
		public void set_favicon_database_directory (string? path);
		[Version (deprecated = true, deprecated_since = "2.32.", since = "2.16")]
		public void set_network_proxy_settings (WebKit.NetworkProxyMode proxy_mode, WebKit.NetworkProxySettings? proxy_settings);
		public void set_preferred_languages ([CCode (array_length = false, array_null_terminated = true)] string[]? languages);
		[Version (since = "2.4")]
		public void set_process_model (WebKit.ProcessModel process_model);
		[Version (since = "2.26")]
		public void set_sandbox_enabled (bool enabled);
		public void set_spell_checking_enabled (bool enabled);
		public void set_spell_checking_languages ([CCode (array_length = false, array_null_terminated = true)] string[] languages);
		[Version (deprecated = true, deprecated_since = "2.32.")]
		public void set_tls_errors_policy (WebKit.TLSErrorsPolicy policy);
		[Version (since = "2.30")]
		public void set_use_system_appearance_for_scrollbars (bool enabled);
		public void set_web_extensions_directory (string directory);
		[Version (since = "2.4")]
		public void set_web_extensions_initialization_user_data (GLib.Variant user_data);
		[Version (deprecated = true, deprecated_since = "2.26", since = "2.10")]
		public void set_web_process_count_limit (uint limit);
		[CCode (has_construct_function = false)]
		[Version (since = "2.10")]
		public WebContext.with_website_data_manager (WebKit.WebsiteDataManager manager);
		[NoAccessorMethod]
		[Version (deprecated = true, deprecated_since = "2.10.", since = "2.8")]
		public string local_storage_directory { owned get; construct; }
		[NoAccessorMethod]
		[Version (since = "2.34")]
		public WebKit.MemoryPressureSettings memory_pressure_settings { construct; }
		[NoAccessorMethod]
		[Version (since = "2.28")]
		public bool process_swap_on_cross_site_navigation_enabled { get; construct; }
		[Version (since = "2.10")]
		public WebKit.WebsiteDataManager website_data_manager { get; construct; }
		[Version (since = "2.18")]
		public virtual signal void automation_started (WebKit.AutomationSession session);
		public virtual signal void download_started (WebKit.Download download);
		[Version (since = "2.16")]
		public virtual signal void initialize_notification_permissions ();
		[Version (since = "2.4")]
		public virtual signal void initialize_web_extensions ();
		[Version (since = "2.28")]
		public virtual signal bool user_message_received (WebKit.UserMessage message);
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_web_inspector_get_type ()")]
	public class WebInspector : GLib.Object {
		[CCode (has_construct_function = false)]
		protected WebInspector ();
		public void close ();
		public uint get_attached_height ();
		[Version (since = "2.8")]
		public bool get_can_attach ();
		public unowned string get_inspected_uri ();
		public unowned WebKit.WebViewBase get_web_view ();
		public bool is_attached ();
		public void show ();
		public uint attached_height { get; }
		[Version (since = "2.8")]
		public bool can_attach { get; }
		public string inspected_uri { get; }
		[HasEmitter]
		public signal bool attach ();
		public signal bool bring_to_front ();
		public signal void closed ();
		[HasEmitter]
		public signal bool detach ();
		public signal bool open_window ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_web_resource_get_type ()")]
	public class WebResource : GLib.Object {
		[CCode (has_construct_function = false)]
		protected WebResource ();
		public async uint8[] get_data (GLib.Cancellable? cancellable = null) throws GLib.Error;
		public unowned WebKit.URIResponse get_response ();
		public unowned string get_uri ();
		public WebKit.URIResponse response { get; }
		public string uri { get; }
		public signal void failed (GLib.Error error);
		[Version (since = "2.8")]
		public signal void failed_with_tls_errors (GLib.TlsCertificate certificate, GLib.TlsCertificateFlags errors);
		public signal void finished ();
		public signal void received_data (uint64 data_length);
		public signal void sent_request (WebKit.URIRequest request, WebKit.URIResponse redirected_response);
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_web_view_get_type ()")]
	public class WebView : WebKit.WebViewBase, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget {
		[CCode (has_construct_function = false, type = "GtkWidget*")]
		public WebView ();
		public async bool can_execute_editing_command (string command, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public bool can_go_back ();
		public bool can_go_forward ();
		public bool can_show_mime_type (string mime_type);
		public WebKit.Download download_uri (string uri);
		public void execute_editing_command (string command);
		[Version (since = "2.10")]
		public void execute_editing_command_with_argument (string command, string argument);
		[Version (since = "2.28")]
		public WebKit.AutomationBrowsingContextPresentation get_automation_presentation_type ();
		public unowned WebKit.BackForwardList get_back_forward_list ();
		[Version (since = "2.8")]
		public Gdk.RGBA get_background_color ();
		[Version (since = "2.34")]
		public WebKit.MediaCaptureState get_camera_capture_state ();
		public unowned WebKit.WebContext get_context ();
		public unowned string get_custom_charset ();
		[Version (since = "2.34")]
		public WebKit.MediaCaptureState get_display_capture_state ();
		[Version (since = "2.10")]
		public unowned WebKit.EditorState get_editor_state ();
		public double get_estimated_load_progress ();
		public unowned Cairo.Surface get_favicon ();
		public unowned WebKit.FindController get_find_controller ();
		[Version (since = "2.28")]
		public unowned WebKit.InputMethodContext? get_input_method_context ();
		public unowned WebKit.WebInspector get_inspector ();
		[Version (since = "2.30")]
		public bool get_is_muted ();
		public bool get_is_web_process_responsive ();
		public unowned WebKit.WebResource get_main_resource ();
		[Version (since = "2.34")]
		public WebKit.MediaCaptureState get_microphone_capture_state ();
		public uint64 get_page_id ();
		[Version (since = "2.12")]
		public WebKit.WebViewSessionState get_session_state ();
		public unowned WebKit.Settings get_settings ();
		public async Cairo.Surface get_snapshot (WebKit.SnapshotRegion region, WebKit.SnapshotOptions options, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public unowned string get_title ();
		public bool get_tls_info (out unowned GLib.TlsCertificate certificate, out GLib.TlsCertificateFlags errors);
		public unowned string get_uri ();
		[Version (since = "2.6")]
		public unowned WebKit.UserContentManager get_user_content_manager ();
		[Version (since = "2.16")]
		public unowned WebKit.WebsiteDataManager get_website_data_manager ();
		[Version (since = "2.30")]
		public unowned WebKit.WebsitePolicies get_website_policies ();
		public unowned WebKit.WindowProperties get_window_properties ();
		public double get_zoom_level ();
		public void go_back ();
		public void go_forward ();
		public void go_to_back_forward_list_item (WebKit.BackForwardListItem list_item);
		public bool is_editable ();
		public void load_alternate_html (string content, string content_uri, string? base_uri);
		[Version (since = "2.6")]
		public void load_bytes (GLib.Bytes bytes, string? mime_type, string? encoding, string? base_uri);
		public void load_html (string content, string? base_uri);
		public void load_plain_text (string plain_text);
		public void load_request (WebKit.URIRequest request);
		public void load_uri (string uri);
		public void reload ();
		public void reload_bypass_cache ();
		[Version (since = "2.12")]
		public void restore_session_state (WebKit.WebViewSessionState state);
		public async WebKit.JavascriptResult run_javascript (string script, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async WebKit.JavascriptResult run_javascript_from_gresource (string resource, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.22")]
		public async WebKit.JavascriptResult run_javascript_in_world (string script, string world_name, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async GLib.InputStream save (WebKit.SaveMode save_mode, GLib.Cancellable? cancellable = null) throws GLib.Error;
		public async bool save_to_file (GLib.File file, WebKit.SaveMode save_mode, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.28")]
		public async WebKit.UserMessage send_message_to_page (WebKit.UserMessage message, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.8")]
		public void set_background_color (Gdk.RGBA rgba);
		[Version (since = "2.34")]
		public void set_camera_capture_state (WebKit.MediaCaptureState state);
		[Version (since = "2.34")]
		public void set_cors_allowlist ([CCode (array_length = false, array_null_terminated = true)] string[]? allowlist);
		public void set_custom_charset (string? charset);
		[Version (since = "2.34")]
		public void set_display_capture_state (WebKit.MediaCaptureState state);
		[Version (since = "2.8")]
		public void set_editable (bool editable);
		[Version (since = "2.28")]
		public void set_input_method_context (WebKit.InputMethodContext? context);
		[Version (since = "2.30")]
		public void set_is_muted (bool muted);
		[Version (since = "2.34")]
		public void set_microphone_capture_state (WebKit.MediaCaptureState state);
		public void set_settings (WebKit.Settings settings);
		public void set_zoom_level (double zoom_level);
		[NoWrapper]
		public virtual bool show_option_menu (Gdk.Rectangle rectangle, WebKit.OptionMenu menu);
		public void stop_loading ();
		[Version (since = "2.34")]
		public void terminate_web_process ();
		[Version (since = "2.12")]
		public void try_close ();
		[CCode (has_construct_function = false, type = "GtkWidget*")]
		public WebView.with_context (WebKit.WebContext context);
		[CCode (has_construct_function = false, type = "GtkWidget*")]
		[Version (since = "2.4")]
		public WebView.with_related_view (WebKit.WebView web_view);
		[CCode (has_construct_function = false, type = "GtkWidget*")]
		[Version (since = "2.6")]
		public WebView.with_settings (WebKit.Settings settings);
		[CCode (has_construct_function = false, type = "GtkWidget*")]
		[Version (since = "2.6")]
		public WebView.with_user_content_manager (WebKit.UserContentManager user_content_manager);
		[Version (since = "2.28")]
		public WebKit.AutomationBrowsingContextPresentation automation_presentation_type { get; construct; }
		[Version (since = "2.34")]
		public WebKit.MediaCaptureState camera_capture_state { get; set; }
		[Version (since = "2.34")]
		public WebKit.MediaCaptureState display_capture_state { get; set; }
		[NoAccessorMethod]
		[Version (since = "2.8")]
		public bool editable { get; set; }
		public double estimated_load_progress { get; }
		public void* favicon { get; }
		[NoAccessorMethod]
		[Version (since = "2.18")]
		public bool is_controlled_by_automation { get; construct; }
		[NoAccessorMethod]
		[Version (since = "2.16")]
		public bool is_ephemeral { get; construct; }
		[NoAccessorMethod]
		public bool is_loading { get; }
		[Version (since = "2.30")]
		public bool is_muted { get; set; }
		[NoAccessorMethod]
		[Version (since = "2.8")]
		public bool is_playing_audio { get; }
		[Version (since = "2.34")]
		public bool is_web_process_responsive { get; }
		[Version (since = "2.34")]
		public WebKit.MediaCaptureState microphone_capture_state { get; set; }
		[Version (since = "2.28")]
		public uint64 page_id { get; }
		[NoAccessorMethod]
		[Version (since = "2.4")]
		public WebKit.WebView related_view { construct; }
		[Version (since = "2.6")]
		public WebKit.Settings settings { set construct; }
		public string title { get; }
		public string uri { get; }
		[Version (since = "2.6")]
		public WebKit.UserContentManager user_content_manager { get; construct; }
		[NoAccessorMethod]
		public WebKit.WebContext web_context { owned get; construct; }
		[Version (since = "2.30")]
		public WebKit.WebsitePolicies website_policies { get; construct; }
		public double zoom_level { get; set; }
		[Version (since = "2.2")]
		public virtual signal bool authenticate (WebKit.AuthenticationRequest request);
		public virtual signal void close ();
		public virtual signal bool context_menu (WebKit.ContextMenu context_menu, Gdk.Event event, WebKit.HitTestResult hit_test_result);
		public virtual signal void context_menu_dismissed ();
		public signal Gtk.Widget create (WebKit.NavigationAction navigation_action);
		public virtual signal bool decide_policy (WebKit.PolicyDecision decision, WebKit.PolicyDecisionType type);
		public virtual signal bool enter_fullscreen ();
		public virtual signal void insecure_content_detected (WebKit.InsecureContentEvent event);
		public virtual signal bool leave_fullscreen ();
		public virtual signal void load_changed (WebKit.LoadEvent load_event);
		public virtual signal bool load_failed (WebKit.LoadEvent load_event, string failing_uri, GLib.Error error);
		[Version (since = "2.6")]
		public virtual signal bool load_failed_with_tls_errors (string failing_uri, GLib.TlsCertificate certificate, GLib.TlsCertificateFlags errors);
		public virtual signal void mouse_target_changed (WebKit.HitTestResult hit_test_result, uint modifiers);
		[CCode (cname = "show-option-menu")]
		[Version (since = "2.18")]
		public signal bool on_show_option_menu (WebKit.OptionMenu menu, Gdk.Event event, Gdk.Rectangle rectangle);
		public virtual signal bool permission_request (WebKit.PermissionRequest permission_request);
		public virtual signal bool print (WebKit.PrintOperation print_operation);
		public virtual signal void ready_to_show ();
		public virtual signal void resource_load_started (WebKit.WebResource resource, WebKit.URIRequest request);
		public virtual signal void run_as_modal ();
		[Version (since = "2.8")]
		public virtual signal bool run_color_chooser (WebKit.ColorChooserRequest request);
		public virtual signal bool run_file_chooser (WebKit.FileChooserRequest request);
		public virtual signal bool script_dialog (WebKit.ScriptDialog dialog);
		[Version (since = "2.8")]
		public virtual signal bool show_notification (WebKit.Notification notification);
		public virtual signal void submit_form (WebKit.FormSubmissionRequest request);
		[Version (since = "2.28")]
		public virtual signal bool user_message_received (WebKit.UserMessage message);
		[Version (deprecated = true, deprecated_since = "2.20")]
		public virtual signal bool web_process_crashed ();
		[Version (since = "2.20")]
		public virtual signal void web_process_terminated (WebKit.WebProcessTerminationReason reason);
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_web_view_base_get_type ()")]
	public class WebViewBase : Gtk.Widget, Gtk.Accessible, Gtk.Buildable, Gtk.ConstraintTarget {
		[CCode (has_construct_function = false)]
		protected WebViewBase ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", ref_function = "webkit_web_view_session_state_ref", type_id = "webkit_web_view_session_state_get_type ()", unref_function = "webkit_web_view_session_state_unref")]
	[Compact]
	public class WebViewSessionState {
		[CCode (has_construct_function = false)]
		[Version (since = "2.12")]
		public WebViewSessionState (GLib.Bytes data);
		[Version (since = "2.12")]
		public unowned WebKit.WebViewSessionState @ref ();
		[Version (since = "2.12")]
		public GLib.Bytes serialize ();
		[Version (since = "2.12")]
		public void unref ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", ref_function = "webkit_website_data_ref", type_id = "webkit_website_data_get_type ()", unref_function = "webkit_website_data_unref")]
	[Compact]
	public class WebsiteData {
		[Version (since = "2.16")]
		public unowned string get_name ();
		[Version (since = "2.16")]
		public uint64 get_size (WebKit.WebsiteDataTypes types);
		[Version (since = "2.16")]
		public WebKit.WebsiteDataTypes get_types ();
		[Version (since = "2.16")]
		public unowned WebKit.WebsiteData @ref ();
		[Version (since = "2.16")]
		public void unref ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_website_data_access_permission_request_get_type ()")]
	public class WebsiteDataAccessPermissionRequest : GLib.Object, WebKit.PermissionRequest {
		[CCode (has_construct_function = false)]
		protected WebsiteDataAccessPermissionRequest ();
		[Version (since = "2.30")]
		public unowned string get_current_domain ();
		[Version (since = "2.30")]
		public unowned string get_requesting_domain ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_website_data_manager_get_type ()")]
	public class WebsiteDataManager : GLib.Object {
		[CCode (has_construct_function = false)]
		protected WebsiteDataManager ();
		[Version (since = "2.16")]
		public async bool clear (WebKit.WebsiteDataTypes types, GLib.TimeSpan timespan, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[CCode (has_construct_function = false)]
		[Version (since = "2.16")]
		public WebsiteDataManager.ephemeral ();
		[Version (since = "2.16")]
		public async GLib.List<WebKit.WebsiteData> fetch (WebKit.WebsiteDataTypes types, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.10")]
		public unowned string? get_base_cache_directory ();
		[Version (since = "2.10")]
		public unowned string? get_base_data_directory ();
		[Version (since = "2.16")]
		public unowned WebKit.CookieManager get_cookie_manager ();
		[Version (since = "2.10")]
		public unowned string? get_disk_cache_directory ();
		[Version (since = "2.30")]
		public unowned string? get_dom_cache_directory ();
		[Version (since = "2.26")]
		public unowned string? get_hsts_cache_directory ();
		[Version (since = "2.10")]
		public unowned string? get_indexeddb_directory ();
		[Version (since = "2.30")]
		public unowned string? get_itp_directory ();
		[Version (since = "2.30")]
		public bool get_itp_enabled ();
		[Version (since = "2.30")]
		public async GLib.List<WebKit.ITPThirdParty> get_itp_summary (GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.10")]
		public unowned string? get_local_storage_directory ();
		[Version (since = "2.10")]
		public unowned string? get_offline_application_cache_directory ();
		[Version (since = "2.30")]
		public bool get_persistent_credential_storage_enabled ();
		[Version (since = "2.30")]
		public unowned string? get_service_worker_registrations_directory ();
		[Version (since = "2.32")]
		public WebKit.TLSErrorsPolicy get_tls_errors_policy ();
		[Version (deprecated = true, deprecated_since = "2.24.", since = "2.10")]
		public unowned string? get_websql_directory ();
		[Version (since = "2.16")]
		public async bool remove (WebKit.WebsiteDataTypes types, GLib.List<WebKit.WebsiteData> website_data, GLib.Cancellable? cancellable = null) throws GLib.Error;
		[Version (since = "2.30")]
		public void set_itp_enabled (bool enabled);
		[Version (since = "2.34")]
		public static void set_memory_pressure_settings (WebKit.MemoryPressureSettings settings);
		[Version (since = "2.32")]
		public void set_network_proxy_settings (WebKit.NetworkProxyMode proxy_mode, WebKit.NetworkProxySettings? proxy_settings);
		[Version (since = "2.30")]
		public void set_persistent_credential_storage_enabled (bool enabled);
		[Version (since = "2.32")]
		public void set_tls_errors_policy (WebKit.TLSErrorsPolicy policy);
		[Version (since = "2.10")]
		public string base_cache_directory { get; construct; }
		[Version (since = "2.10")]
		public string base_data_directory { get; construct; }
		[Version (since = "2.10")]
		public string disk_cache_directory { get; construct; }
		[Version (since = "2.30")]
		public string dom_cache_directory { get; construct; }
		[Version (since = "2.26")]
		public string hsts_cache_directory { get; construct; }
		[Version (since = "2.10")]
		public string indexeddb_directory { get; construct; }
		[NoAccessorMethod]
		[Version (since = "2.16")]
		public bool is_ephemeral { get; construct; }
		[Version (since = "2.30")]
		public string itp_directory { get; construct; }
		[Version (since = "2.10")]
		public string local_storage_directory { get; construct; }
		[Version (since = "2.10")]
		public string offline_application_cache_directory { get; construct; }
		[Version (since = "2.30")]
		public string service_worker_registrations_directory { get; construct; }
		[Version (deprecated = true, deprecated_since = "2.24.", since = "2.10")]
		public string websql_directory { get; construct; }
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_website_policies_get_type ()")]
	public class WebsitePolicies : GLib.Object {
		[CCode (has_construct_function = false)]
		[Version (since = "2.30")]
		public WebsitePolicies ();
		[Version (since = "2.30")]
		public WebKit.AutoplayPolicy get_autoplay_policy ();
		[NoAccessorMethod]
		[Version (since = "2.30")]
		public WebKit.AutoplayPolicy autoplay { get; construct; }
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_window_properties_get_type ()")]
	public class WindowProperties : GLib.Object {
		[CCode (has_construct_function = false)]
		protected WindowProperties ();
		public bool get_fullscreen ();
		public Gdk.Rectangle get_geometry ();
		public bool get_locationbar_visible ();
		public bool get_menubar_visible ();
		public bool get_resizable ();
		public bool get_scrollbars_visible ();
		public bool get_statusbar_visible ();
		public bool get_toolbar_visible ();
		public bool fullscreen { get; construct; }
		public Gdk.Rectangle geometry { get; construct; }
		public bool locationbar_visible { get; construct; }
		public bool menubar_visible { get; construct; }
		public bool resizable { get; construct; }
		public bool scrollbars_visible { get; construct; }
		public bool statusbar_visible { get; construct; }
		public bool toolbar_visible { get; construct; }
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_permission_request_get_type ()")]
	public interface PermissionRequest : GLib.Object {
		public abstract void allow ();
		public abstract void deny ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_AUTHENTICATION_SCHEME_", type_id = "webkit_authentication_scheme_get_type ()")]
	[Version (since = "2.2")]
	public enum AuthenticationScheme {
		DEFAULT,
		HTTP_BASIC,
		HTTP_DIGEST,
		HTML_FORM,
		NTLM,
		NEGOTIATE,
		CLIENT_CERTIFICATE_REQUESTED,
		SERVER_TRUST_EVALUATION_REQUESTED,
		CLIENT_CERTIFICATE_PIN_REQUESTED,
		UNKNOWN
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_AUTOMATION_BROWSING_CONTEXT_PRESENTATION_", type_id = "webkit_automation_browsing_context_presentation_get_type ()")]
	[Version (since = "2.28")]
	public enum AutomationBrowsingContextPresentation {
		WINDOW,
		TAB
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_AUTOPLAY_", type_id = "webkit_autoplay_policy_get_type ()")]
	[Version (since = "2.30")]
	public enum AutoplayPolicy {
		ALLOW,
		ALLOW_WITHOUT_SOUND,
		DENY
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_CACHE_MODEL_", type_id = "webkit_cache_model_get_type ()")]
	public enum CacheModel {
		DOCUMENT_VIEWER,
		WEB_BROWSER,
		DOCUMENT_BROWSER
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_CONTEXT_MENU_ACTION_", type_id = "webkit_context_menu_action_get_type ()")]
	public enum ContextMenuAction {
		NO_ACTION,
		OPEN_LINK,
		OPEN_LINK_IN_NEW_WINDOW,
		DOWNLOAD_LINK_TO_DISK,
		COPY_LINK_TO_CLIPBOARD,
		OPEN_IMAGE_IN_NEW_WINDOW,
		DOWNLOAD_IMAGE_TO_DISK,
		COPY_IMAGE_TO_CLIPBOARD,
		COPY_IMAGE_URL_TO_CLIPBOARD,
		OPEN_FRAME_IN_NEW_WINDOW,
		GO_BACK,
		GO_FORWARD,
		STOP,
		RELOAD,
		COPY,
		CUT,
		PASTE,
		DELETE,
		SELECT_ALL,
		INPUT_METHODS,
		UNICODE,
		SPELLING_GUESS,
		NO_GUESSES_FOUND,
		IGNORE_SPELLING,
		LEARN_SPELLING,
		IGNORE_GRAMMAR,
		FONT_MENU,
		BOLD,
		ITALIC,
		UNDERLINE,
		OUTLINE,
		INSPECT_ELEMENT,
		OPEN_VIDEO_IN_NEW_WINDOW,
		OPEN_AUDIO_IN_NEW_WINDOW,
		COPY_VIDEO_LINK_TO_CLIPBOARD,
		COPY_AUDIO_LINK_TO_CLIPBOARD,
		TOGGLE_MEDIA_CONTROLS,
		TOGGLE_MEDIA_LOOP,
		ENTER_VIDEO_FULLSCREEN,
		MEDIA_PLAY,
		MEDIA_PAUSE,
		MEDIA_MUTE,
		DOWNLOAD_VIDEO_TO_DISK,
		DOWNLOAD_AUDIO_TO_DISK,
		INSERT_EMOJI,
		PASTE_AS_PLAIN_TEXT,
		CUSTOM
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_COOKIE_POLICY_ACCEPT_", type_id = "webkit_cookie_accept_policy_get_type ()")]
	public enum CookieAcceptPolicy {
		ALWAYS,
		NEVER,
		NO_THIRD_PARTY
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_COOKIE_PERSISTENT_STORAGE_", type_id = "webkit_cookie_persistent_storage_get_type ()")]
	public enum CookiePersistentStorage {
		TEXT,
		SQLITE
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_CREDENTIAL_PERSISTENCE_", type_id = "webkit_credential_persistence_get_type ()")]
	[Version (since = "2.2")]
	public enum CredentialPersistence {
		NONE,
		FOR_SESSION,
		PERMANENT
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_EDITOR_TYPING_ATTRIBUTE_", type_id = "webkit_editor_typing_attributes_get_type ()")]
	[Flags]
	[Version (since = "2.10")]
	public enum EditorTypingAttributes {
		NONE,
		BOLD,
		ITALIC,
		UNDERLINE,
		STRIKETHROUGH
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_FIND_OPTIONS_", type_id = "webkit_find_options_get_type ()")]
	[Flags]
	public enum FindOptions {
		NONE,
		CASE_INSENSITIVE,
		AT_WORD_STARTS,
		TREAT_MEDIAL_CAPITAL_AS_WORD_START,
		BACKWARDS,
		WRAP_AROUND
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_HARDWARE_ACCELERATION_POLICY_", type_id = "webkit_hardware_acceleration_policy_get_type ()")]
	[Version (since = "2.16")]
	public enum HardwareAccelerationPolicy {
		ON_DEMAND,
		ALWAYS,
		NEVER
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_HIT_TEST_RESULT_CONTEXT_", type_id = "webkit_hit_test_result_context_get_type ()")]
	[Flags]
	public enum HitTestResultContext {
		DOCUMENT,
		LINK,
		IMAGE,
		MEDIA,
		EDITABLE,
		SCROLLBAR,
		SELECTION
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_INPUT_HINT_", type_id = "webkit_input_hints_get_type ()")]
	[Flags]
	[Version (since = "2.28")]
	public enum InputHints {
		NONE,
		SPELLCHECK,
		LOWERCASE,
		UPPERCASE_CHARS,
		UPPERCASE_WORDS,
		UPPERCASE_SENTENCES,
		INHIBIT_OSK
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_INPUT_PURPOSE_", type_id = "webkit_input_purpose_get_type ()")]
	[Version (since = "2.28")]
	public enum InputPurpose {
		FREE_FORM,
		DIGITS,
		NUMBER,
		PHONE,
		URL,
		EMAIL,
		PASSWORD
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_INSECURE_CONTENT_", type_id = "webkit_insecure_content_event_get_type ()")]
	public enum InsecureContentEvent {
		RUN,
		DISPLAYED
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_LOAD_", type_id = "webkit_load_event_get_type ()")]
	public enum LoadEvent {
		STARTED,
		REDIRECTED,
		COMMITTED,
		FINISHED
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_MEDIA_CAPTURE_STATE_", type_id = "webkit_media_capture_state_get_type ()")]
	[Version (since = "2.34")]
	public enum MediaCaptureState {
		NONE,
		ACTIVE,
		MUTED
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_NAVIGATION_TYPE_", type_id = "webkit_navigation_type_get_type ()")]
	public enum NavigationType {
		LINK_CLICKED,
		FORM_SUBMITTED,
		BACK_FORWARD,
		RELOAD,
		FORM_RESUBMITTED,
		OTHER
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_NETWORK_PROXY_MODE_", type_id = "webkit_network_proxy_mode_get_type ()")]
	[Version (since = "2.16")]
	public enum NetworkProxyMode {
		DEFAULT,
		NO_PROXY,
		CUSTOM
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_POLICY_DECISION_TYPE_", type_id = "webkit_policy_decision_type_get_type ()")]
	public enum PolicyDecisionType {
		NAVIGATION_ACTION,
		NEW_WINDOW_ACTION,
		RESPONSE
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_PRINT_OPERATION_RESPONSE_", type_id = "webkit_print_operation_response_get_type ()")]
	public enum PrintOperationResponse {
		PRINT,
		CANCEL
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_PROCESS_MODEL_", type_id = "webkit_process_model_get_type ()")]
	[Version (since = "2.4")]
	public enum ProcessModel {
		SHARED_SECONDARY_PROCESS,
		MULTIPLE_SECONDARY_PROCESSES
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_SAVE_MODE_", type_id = "webkit_save_mode_get_type ()")]
	public enum SaveMode {
		MHTML
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_SCRIPT_DIALOG_", type_id = "webkit_script_dialog_type_get_type ()")]
	public enum ScriptDialogType {
		ALERT,
		CONFIRM,
		PROMPT,
		BEFORE_UNLOAD_CONFIRM
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_SNAPSHOT_OPTIONS_", type_id = "webkit_snapshot_options_get_type ()")]
	[Flags]
	public enum SnapshotOptions {
		NONE,
		INCLUDE_SELECTION_HIGHLIGHTING,
		TRANSPARENT_BACKGROUND
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_SNAPSHOT_REGION_", type_id = "webkit_snapshot_region_get_type ()")]
	public enum SnapshotRegion {
		VISIBLE,
		FULL_DOCUMENT
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_TLS_ERRORS_POLICY_", type_id = "webkit_tls_errors_policy_get_type ()")]
	public enum TLSErrorsPolicy {
		IGNORE,
		FAIL
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_USER_CONTENT_INJECT_", type_id = "webkit_user_content_injected_frames_get_type ()")]
	[Version (since = "2.6")]
	public enum UserContentInjectedFrames {
		ALL_FRAMES,
		TOP_FRAME
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_USER_SCRIPT_INJECT_AT_DOCUMENT_", type_id = "webkit_user_script_injection_time_get_type ()")]
	[Version (since = "2.6")]
	public enum UserScriptInjectionTime {
		START,
		END
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_USER_STYLE_LEVEL_", type_id = "webkit_user_style_level_get_type ()")]
	[Version (since = "2.6")]
	public enum UserStyleLevel {
		USER,
		AUTHOR
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_WEB_PROCESS_", type_id = "webkit_web_process_termination_reason_get_type ()")]
	[Version (since = "2.20")]
	public enum WebProcessTerminationReason {
		CRASHED,
		EXCEEDED_MEMORY_LIMIT,
		TERMINATED_BY_API
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_WEBSITE_DATA_", type_id = "webkit_website_data_types_get_type ()")]
	[Flags]
	[Version (since = "2.16")]
	public enum WebsiteDataTypes {
		MEMORY_CACHE,
		DISK_CACHE,
		OFFLINE_APPLICATION_CACHE,
		SESSION_STORAGE,
		LOCAL_STORAGE,
		WEBSQL_DATABASES,
		INDEXEDDB_DATABASES,
		PLUGIN_DATA,
		COOKIES,
		DEVICE_ID_HASH_SALT,
		HSTS_CACHE,
		ITP,
		SERVICE_WORKER_REGISTRATIONS,
		DOM_CACHE,
		ALL
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_DOWNLOAD_ERROR_")]
	public errordomain DownloadError {
		NETWORK,
		CANCELLED_BY_USER,
		DESTINATION;
		public static GLib.Quark quark ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_FAVICON_DATABASE_ERROR_")]
	public errordomain FaviconDatabaseError {
		NOT_INITIALIZED,
		FAVICON_NOT_FOUND,
		FAVICON_UNKNOWN;
		public static GLib.Quark quark ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_JAVASCRIPT_ERROR_SCRIPT_")]
	public errordomain JavascriptError {
		FAILED;
		public static GLib.Quark quark ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_NETWORK_ERROR_")]
	public errordomain NetworkError {
		FAILED,
		TRANSPORT,
		UNKNOWN_PROTOCOL,
		CANCELLED,
		FILE_DOES_NOT_EXIST;
		public static GLib.Quark quark ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_PLUGIN_ERROR_")]
	public errordomain PluginError {
		FAILED,
		CANNOT_FIND_PLUGIN,
		CANNOT_LOAD_PLUGIN,
		JAVA_UNAVAILABLE,
		CONNECTION_CANCELLED,
		WILL_HANDLE_LOAD;
		public static GLib.Quark quark ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_POLICY_ERROR_")]
	public errordomain PolicyError {
		FAILED,
		CANNOT_SHOW_MIME_TYPE,
		CANNOT_SHOW_URI,
		FRAME_LOAD_INTERRUPTED_BY_POLICY_CHANGE,
		CANNOT_USE_RESTRICTED_PORT;
		public static GLib.Quark quark ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_PRINT_ERROR_")]
	public errordomain PrintError {
		GENERAL,
		PRINTER_NOT_FOUND,
		INVALID_PAGE_RANGE;
		public static GLib.Quark quark ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_SNAPSHOT_ERROR_FAILED_TO_")]
	public errordomain SnapshotError {
		CREATE;
		public static GLib.Quark quark ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_USER_CONTENT_FILTER_ERROR_")]
	[Version (since = "2.24")]
	public errordomain UserContentFilterError {
		INVALID_SOURCE,
		NOT_FOUND;
		public static GLib.Quark quark ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", cprefix = "WEBKIT_USER_MESSAGE_UNHANDLED_")]
	[Version (since = "2.28")]
	public errordomain UserMessageError {
		MESSAGE;
		public static GLib.Quark quark ();
	}
	[CCode (cheader_filename = "webkit2/webkit2.h", instance_pos = 1.9)]
	public delegate void URISchemeRequestCallback (WebKit.URISchemeRequest request);
	[CCode (cheader_filename = "webkit2/webkit2.h", cname = "WEBKIT_EDITING_COMMAND_COPY")]
	public const string EDITING_COMMAND_COPY;
	[CCode (cheader_filename = "webkit2/webkit2.h", cname = "WEBKIT_EDITING_COMMAND_CREATE_LINK")]
	[Version (since = "2.10")]
	public const string EDITING_COMMAND_CREATE_LINK;
	[CCode (cheader_filename = "webkit2/webkit2.h", cname = "WEBKIT_EDITING_COMMAND_CUT")]
	public const string EDITING_COMMAND_CUT;
	[CCode (cheader_filename = "webkit2/webkit2.h", cname = "WEBKIT_EDITING_COMMAND_INSERT_IMAGE")]
	[Version (since = "2.10")]
	public const string EDITING_COMMAND_INSERT_IMAGE;
	[CCode (cheader_filename = "webkit2/webkit2.h", cname = "WEBKIT_EDITING_COMMAND_PASTE")]
	public const string EDITING_COMMAND_PASTE;
	[CCode (cheader_filename = "webkit2/webkit2.h", cname = "WEBKIT_EDITING_COMMAND_PASTE_AS_PLAIN_TEXT")]
	[Version (since = "2.30")]
	public const string EDITING_COMMAND_PASTE_AS_PLAIN_TEXT;
	[CCode (cheader_filename = "webkit2/webkit2.h", cname = "WEBKIT_EDITING_COMMAND_REDO")]
	public const string EDITING_COMMAND_REDO;
	[CCode (cheader_filename = "webkit2/webkit2.h", cname = "WEBKIT_EDITING_COMMAND_SELECT_ALL")]
	public const string EDITING_COMMAND_SELECT_ALL;
	[CCode (cheader_filename = "webkit2/webkit2.h", cname = "WEBKIT_EDITING_COMMAND_UNDO")]
	public const string EDITING_COMMAND_UNDO;
	[CCode (cheader_filename = "webkit2/webkit2.h", cname = "WEBKIT_MAJOR_VERSION")]
	public const int MAJOR_VERSION;
	[CCode (cheader_filename = "webkit2/webkit2.h", cname = "WEBKIT_MICRO_VERSION")]
	public const int MICRO_VERSION;
	[CCode (cheader_filename = "webkit2/webkit2.h", cname = "WEBKIT_MINOR_VERSION")]
	public const int MINOR_VERSION;
	[CCode (cheader_filename = "webkit2/webkit2.h")]
	[Version (replacement = "DownloadError.quark")]
	public static GLib.Quark download_error_quark ();
	[CCode (cheader_filename = "webkit2/webkit2.h")]
	[Version (replacement = "FaviconDatabaseError.quark")]
	public static GLib.Quark favicon_database_error_quark ();
	[CCode (cheader_filename = "webkit2/webkit2.h")]
	public static uint get_major_version ();
	[CCode (cheader_filename = "webkit2/webkit2.h")]
	public static uint get_micro_version ();
	[CCode (cheader_filename = "webkit2/webkit2.h")]
	public static uint get_minor_version ();
	[CCode (cheader_filename = "webkit2/webkit2.h")]
	[Version (replacement = "JavascriptError.quark")]
	public static GLib.Quark javascript_error_quark ();
	[CCode (cheader_filename = "webkit2/webkit2.h")]
	[Version (since = "2.32")]
	public static unowned string media_key_system_permission_get_name (WebKit.MediaKeySystemPermissionRequest request);
	[CCode (cheader_filename = "webkit2/webkit2.h")]
	[Version (replacement = "NetworkError.quark")]
	public static GLib.Quark network_error_quark ();
	[CCode (cheader_filename = "webkit2/webkit2.h")]
	[Version (replacement = "PluginError.quark")]
	public static GLib.Quark plugin_error_quark ();
	[CCode (cheader_filename = "webkit2/webkit2.h")]
	[Version (replacement = "PolicyError.quark")]
	public static GLib.Quark policy_error_quark ();
	[CCode (cheader_filename = "webkit2/webkit2.h")]
	[Version (replacement = "PrintError.quark")]
	public static GLib.Quark print_error_quark ();
	[CCode (cheader_filename = "webkit2/webkit2.h")]
	[Version (replacement = "SnapshotError.quark")]
	public static GLib.Quark snapshot_error_quark ();
	[CCode (cheader_filename = "webkit2/webkit2.h")]
	[Version (since = "2.24")]
	public static string? uri_for_display (string uri);
	[CCode (cheader_filename = "webkit2/webkit2.h")]
	[Version (replacement = "UserContentFilterError.quark")]
	public static GLib.Quark user_content_filter_error_quark ();
	[CCode (cheader_filename = "webkit2/webkit2.h")]
	[Version (since = "2.8")]
	public static bool user_media_permission_is_for_audio_device (WebKit.UserMediaPermissionRequest request);
	[CCode (cheader_filename = "webkit2/webkit2.h")]
	[Version (since = "2.34")]
	public static bool user_media_permission_is_for_display_device (WebKit.UserMediaPermissionRequest request);
	[CCode (cheader_filename = "webkit2/webkit2.h")]
	[Version (since = "2.8")]
	public static bool user_media_permission_is_for_video_device (WebKit.UserMediaPermissionRequest request);
	[CCode (cheader_filename = "webkit2/webkit2.h")]
	[Version (replacement = "UserMessageError.quark")]
	public static GLib.Quark user_message_error_quark ();
}