/usr/share/vala-0.40/vapi/webkit2gtk-web-extension-4.0.vapi is in valac-0.40-vapi 0.40.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 | /* webkit2gtk-web-extension-4.0.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "WebKit", gir_namespace = "WebKit2WebExtension", gir_version = "4.0", lower_case_cprefix = "webkit_")]
namespace WebKit {
namespace DOM {
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_attr_get_type ()")]
[GIR (name = "DOMAttr")]
public class Attr : WebKit.DOM.Node, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected Attr ();
[Version (since = "2.14")]
public string get_local_name ();
public string get_name ();
[Version (since = "2.14")]
public string get_namespace_uri ();
public unowned WebKit.DOM.Element get_owner_element ();
[Version (since = "2.14")]
public string get_prefix ();
public bool get_specified ();
public string get_value ();
public void set_value (string value) throws GLib.Error;
public string local_name { owned get; }
public string name { owned get; }
public string namespace_uri { owned get; }
public WebKit.DOM.Element owner_element { get; }
public string prefix { owned get; }
public bool specified { get; }
[NoAccessorMethod]
public string value { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_blob_get_type ()")]
[GIR (name = "DOMBlob")]
public class Blob : WebKit.DOM.Object {
[CCode (has_construct_function = false)]
protected Blob ();
public uint64 get_size ();
public uint64 size { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_cdata_section_get_type ()")]
[GIR (name = "DOMCDATASection")]
public class CDATASection : WebKit.DOM.Text, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected CDATASection ();
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_css_rule_get_type ()")]
[GIR (name = "DOMCSSRule")]
public class CSSRule : WebKit.DOM.Object {
[CCode (has_construct_function = false)]
protected CSSRule ();
public string get_css_text ();
public WebKit.DOM.CSSRule get_parent_rule ();
public WebKit.DOM.CSSStyleSheet get_parent_style_sheet ();
public ushort get_rule_type ();
public void set_css_text (string value) throws GLib.Error;
[NoAccessorMethod]
public string css_text { owned get; set; }
public WebKit.DOM.CSSRule parent_rule { owned get; }
public WebKit.DOM.CSSStyleSheet parent_style_sheet { owned get; }
[NoAccessorMethod]
public uint type { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_css_rule_list_get_type ()")]
[GIR (name = "DOMCSSRuleList")]
public class CSSRuleList : WebKit.DOM.Object {
[CCode (has_construct_function = false)]
protected CSSRuleList ();
public ulong get_length ();
public WebKit.DOM.CSSRule item (ulong index);
public ulong length { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_css_style_declaration_get_type ()")]
[GIR (name = "DOMCSSStyleDeclaration")]
public class CSSStyleDeclaration : WebKit.DOM.Object {
[CCode (has_construct_function = false)]
protected CSSStyleDeclaration ();
public string get_css_text ();
public ulong get_length ();
public WebKit.DOM.CSSRule get_parent_rule ();
public string get_property_priority (string propertyName);
public string get_property_shorthand (string propertyName);
public string get_property_value (string propertyName);
public bool is_property_implicit (string propertyName);
public string item (ulong index);
public string remove_property (string propertyName) throws GLib.Error;
public void set_css_text (string value) throws GLib.Error;
public void set_property (string propertyName, string value, string priority) throws GLib.Error;
[NoAccessorMethod]
public string css_text { owned get; set; }
public ulong length { get; }
public WebKit.DOM.CSSRule parent_rule { owned get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_css_style_sheet_get_type ()")]
[GIR (name = "DOMCSSStyleSheet")]
public class CSSStyleSheet : WebKit.DOM.StyleSheet {
[CCode (has_construct_function = false)]
protected CSSStyleSheet ();
public long add_rule (string selector, string style, ulong index) throws GLib.Error;
public void delete_rule (ulong index) throws GLib.Error;
public WebKit.DOM.CSSRuleList get_css_rules ();
public WebKit.DOM.CSSRule get_owner_rule ();
public WebKit.DOM.CSSRuleList get_rules ();
public ulong insert_rule (string rule, ulong index) throws GLib.Error;
public void remove_rule (ulong index) throws GLib.Error;
public WebKit.DOM.CSSRuleList css_rules { owned get; }
public WebKit.DOM.CSSRule owner_rule { owned get; }
public WebKit.DOM.CSSRuleList rules { owned get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_css_value_get_type ()")]
[GIR (name = "DOMCSSValue")]
public class CSSValue : WebKit.DOM.Object {
[CCode (has_construct_function = false)]
protected CSSValue ();
public string get_css_text ();
public ushort get_css_value_type ();
public void set_css_text (string value) throws GLib.Error;
[NoAccessorMethod]
public string css_text { owned get; set; }
public uint css_value_type { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_character_data_get_type ()")]
[GIR (name = "DOMCharacterData")]
public class CharacterData : WebKit.DOM.Node, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected CharacterData ();
public void append_data (string data) throws GLib.Error;
public void delete_data (ulong offset, ulong length) throws GLib.Error;
public string get_data ();
public ulong get_length ();
public void insert_data (ulong offset, string data) throws GLib.Error;
public void replace_data (ulong offset, ulong length, string data) throws GLib.Error;
public void set_data (string value) throws GLib.Error;
public string substring_data (ulong offset, ulong length) throws GLib.Error;
[NoAccessorMethod]
public string data { owned get; set; }
public ulong length { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_client_rect_get_type ()")]
[GIR (name = "DOMClientRect")]
public class ClientRect : WebKit.DOM.Object {
[CCode (has_construct_function = false)]
protected ClientRect ();
[Version (since = "2.18")]
public float get_bottom ();
[Version (since = "2.18")]
public float get_height ();
[Version (since = "2.18")]
public float get_left ();
[Version (since = "2.18")]
public float get_right ();
[Version (since = "2.18")]
public float get_top ();
[Version (since = "2.18")]
public float get_width ();
public float bottom { get; }
public float height { get; }
public float left { get; }
public float right { get; }
public float top { get; }
public float width { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_client_rect_list_get_type ()")]
[GIR (name = "DOMClientRectList")]
public class ClientRectList : WebKit.DOM.Object {
[CCode (has_construct_function = false)]
protected ClientRectList ();
[Version (since = "2.18")]
public ulong get_length ();
[Version (since = "2.18")]
public WebKit.DOM.ClientRect item (ulong index);
public ulong length { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_comment_get_type ()")]
[GIR (name = "DOMComment")]
public class Comment : WebKit.DOM.CharacterData, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected Comment ();
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_dom_implementation_get_type ()")]
[GIR (name = "DOMDOMImplementation")]
public class DOMImplementation : WebKit.DOM.Object {
[CCode (has_construct_function = false)]
protected DOMImplementation ();
public WebKit.DOM.CSSStyleSheet create_css_style_sheet (string title, string media) throws GLib.Error;
public unowned WebKit.DOM.Document create_document (string? namespaceURI, string qualifiedName, WebKit.DOM.DocumentType? doctype) throws GLib.Error;
public unowned WebKit.DOM.DocumentType create_document_type (string qualifiedName, string publicId, string systemId) throws GLib.Error;
public unowned WebKit.DOM.HTMLDocument create_html_document (string title);
public bool has_feature (string feature, string version);
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_dom_selection_get_type ()")]
[GIR (name = "DOMDOMSelection")]
public class DOMSelection : WebKit.DOM.Object {
[CCode (has_construct_function = false)]
protected DOMSelection ();
[Version (since = "2.16")]
public void add_range (WebKit.DOM.Range range);
[Version (since = "2.16")]
public void collapse (WebKit.DOM.Node node, ulong offset);
[Version (since = "2.16")]
public void collapse_to_end () throws GLib.Error;
[Version (since = "2.16")]
public void collapse_to_start () throws GLib.Error;
[Version (since = "2.16")]
public bool contains_node (WebKit.DOM.Node node, bool allowPartial);
[Version (since = "2.16")]
public void delete_from_document ();
[Version (since = "2.16")]
public void empty ();
[Version (since = "2.16")]
public void extend (WebKit.DOM.Node node, ulong offset) throws GLib.Error;
[Version (since = "2.16")]
public unowned WebKit.DOM.Node get_anchor_node ();
[Version (since = "2.16")]
public ulong get_anchor_offset ();
[Version (since = "2.16")]
public unowned WebKit.DOM.Node get_base_node ();
[Version (since = "2.16")]
public ulong get_base_offset ();
[Version (since = "2.16")]
public unowned WebKit.DOM.Node get_extent_node ();
[Version (since = "2.16")]
public ulong get_extent_offset ();
[Version (since = "2.16")]
public unowned WebKit.DOM.Node get_focus_node ();
[Version (since = "2.16")]
public ulong get_focus_offset ();
[Version (since = "2.16")]
public bool get_is_collapsed ();
[Version (since = "2.16")]
public WebKit.DOM.Range get_range_at (ulong index) throws GLib.Error;
[Version (since = "2.16")]
public ulong get_range_count ();
[Version (since = "2.16")]
public string get_selection_type ();
[Version (since = "2.16")]
public void modify (string alter, string direction, string granularity);
[Version (since = "2.16")]
public void remove_all_ranges ();
[Version (since = "2.16")]
public void select_all_children (WebKit.DOM.Node node);
[Version (since = "2.16")]
public void set_base_and_extent (WebKit.DOM.Node baseNode, ulong baseOffset, WebKit.DOM.Node extentNode, ulong extentOffset);
[Version (since = "2.16")]
public void set_position (WebKit.DOM.Node node, ulong offset);
public WebKit.DOM.Node anchor_node { get; }
public ulong anchor_offset { get; }
public WebKit.DOM.Node base_node { get; }
public ulong base_offset { get; }
public WebKit.DOM.Node extent_node { get; }
public ulong extent_offset { get; }
public WebKit.DOM.Node focus_node { get; }
public ulong focus_offset { get; }
public bool is_collapsed { get; }
public ulong range_count { get; }
[NoAccessorMethod]
public string type { owned get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_dom_token_list_get_type ()")]
[GIR (name = "DOMDOMTokenList")]
public class DOMTokenList : WebKit.DOM.Object {
[CCode (has_construct_function = false)]
protected DOMTokenList ();
[Version (since = "2.16")]
public bool contains (string token);
[Version (since = "2.16")]
public ulong get_length ();
[Version (since = "2.16")]
public string get_value ();
[Version (since = "2.16")]
public string item (ulong index);
[Version (since = "2.16")]
public void replace (string token, string newToken) throws GLib.Error;
[Version (since = "2.16")]
public void set_value (string value);
[Version (since = "2.16")]
public bool toggle (string token, bool force) throws GLib.Error;
public ulong length { get; }
public string value { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_dom_window_get_type ()")]
[GIR (name = "DOMDOMWindow")]
public class DOMWindow : WebKit.DOM.Object, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected DOMWindow ();
[Version (since = "2.16")]
public void alert (string message);
[Version (since = "2.16")]
public void blur ();
[Version (since = "2.16")]
public void capture_events ();
[Version (since = "2.16")]
public void close ();
[Version (since = "2.16")]
public bool confirm (string message);
[Version (since = "2.16")]
public bool find (string string, bool caseSensitive, bool backwards, bool wrap, bool wholeWord, bool searchInFrames, bool showDialog);
[Version (since = "2.16")]
public void focus ();
[Version (since = "2.16")]
public bool get_closed ();
[Version (since = "2.16")]
public WebKit.DOM.CSSStyleDeclaration get_computed_style (WebKit.DOM.Element element, string? pseudoElement);
[Version (since = "2.16")]
public string get_default_status ();
[Version (since = "2.16")]
public double get_device_pixel_ratio ();
[Version (since = "2.16")]
public unowned WebKit.DOM.Document get_document ();
[Version (since = "2.16")]
public unowned WebKit.DOM.Element get_frame_element ();
[Version (since = "2.16")]
public WebKit.DOM.DOMWindow get_frames ();
[Version (since = "2.16")]
public long get_inner_height ();
[Version (since = "2.16")]
public long get_inner_width ();
[Version (since = "2.16")]
public ulong get_length ();
[Version (since = "2.16")]
public string get_name ();
[Version (since = "2.16")]
public bool get_offscreen_buffering ();
[Version (since = "2.16")]
public WebKit.DOM.DOMWindow get_opener ();
[Version (since = "2.16")]
public long get_orientation ();
[Version (since = "2.16")]
public long get_outer_height ();
[Version (since = "2.16")]
public long get_outer_width ();
[Version (since = "2.16")]
public long get_page_x_offset ();
[Version (since = "2.16")]
public long get_page_y_offset ();
[Version (since = "2.16")]
public WebKit.DOM.DOMWindow get_parent ();
[Version (since = "2.16")]
public long get_screen_left ();
[Version (since = "2.16")]
public long get_screen_top ();
[Version (since = "2.16")]
public long get_screen_x ();
[Version (since = "2.16")]
public long get_screen_y ();
[Version (since = "2.16")]
public long get_scroll_x ();
[Version (since = "2.16")]
public long get_scroll_y ();
[Version (since = "2.16")]
public WebKit.DOM.DOMSelection get_selection ();
[Version (since = "2.16")]
public WebKit.DOM.DOMWindow get_self ();
[Version (since = "2.16")]
public string get_status ();
[Version (since = "2.16")]
public WebKit.DOM.DOMWindow get_top ();
[Version (since = "2.16")]
public WebKit.DOM.DOMWindow get_window ();
[Version (since = "2.16")]
public void move_by (float x, float y);
[Version (since = "2.16")]
public void move_to (float x, float y);
[Version (since = "2.16")]
public void print ();
[Version (since = "2.16")]
public string prompt (string message, string defaultValue);
[Version (since = "2.16")]
public void release_events ();
[Version (since = "2.16")]
public void resize_by (float x, float y);
[Version (since = "2.16")]
public void resize_to (float width, float height);
[Version (since = "2.16")]
public void scroll_by (double x, double y);
[Version (since = "2.16")]
public void scroll_to (double x, double y);
[Version (since = "2.16")]
public void set_default_status (string value);
[Version (since = "2.16")]
public void set_name (string value);
[Version (since = "2.16")]
public void set_status (string value);
[Version (since = "2.16")]
public void stop ();
public bool webkit_message_handlers_post_message (string handler, string message);
public bool closed { get; }
public string default_status { owned get; set; }
public double device_pixel_ratio { get; }
public WebKit.DOM.Document document { get; }
public WebKit.DOM.Element frame_element { get; }
public WebKit.DOM.DOMWindow frames { owned get; }
public long inner_height { get; }
public long inner_width { get; }
public ulong length { get; }
public string name { owned get; set; }
public bool offscreen_buffering { get; }
public WebKit.DOM.DOMWindow opener { owned get; }
public long orientation { get; }
public long outer_height { get; }
public long outer_width { get; }
public long page_x_offset { get; }
public long page_y_offset { get; }
public WebKit.DOM.DOMWindow parent { owned get; }
public long screen_left { get; }
public long screen_top { get; }
public long screen_x { get; }
public long screen_y { get; }
public long scroll_x { get; }
public long scroll_y { get; }
public WebKit.DOM.DOMWindow self { owned get; }
public string status { owned get; set; }
public WebKit.DOM.DOMWindow top { owned get; }
public WebKit.DOM.DOMWindow window { owned get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_document_get_type ()")]
[GIR (name = "DOMDocument")]
public class Document : WebKit.DOM.Node, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected Document ();
public unowned WebKit.DOM.Node adopt_node (WebKit.DOM.Node source) throws GLib.Error;
[Version (since = "2.16")]
public WebKit.DOM.Range caret_range_from_point (long x, long y);
public unowned WebKit.DOM.Attr create_attribute (string name) throws GLib.Error;
public unowned WebKit.DOM.Attr create_attribute_ns (string? namespaceURI, string qualifiedName) throws GLib.Error;
public unowned WebKit.DOM.CDATASection create_cdata_section (string data) throws GLib.Error;
public unowned WebKit.DOM.Comment create_comment (string data);
public WebKit.DOM.CSSStyleDeclaration create_css_style_declaration ();
public unowned WebKit.DOM.DocumentFragment create_document_fragment ();
public unowned WebKit.DOM.Element create_element (string tagName) throws GLib.Error;
public unowned WebKit.DOM.Element create_element_ns (string? namespaceURI, string qualifiedName) throws GLib.Error;
[Version (deprecated = true, deprecated_since = "2.12")]
public unowned WebKit.DOM.EntityReference create_entity_reference (string? name) throws GLib.Error;
public WebKit.DOM.Event create_event (string eventType) throws GLib.Error;
public WebKit.DOM.XPathExpression create_expression (string expression, WebKit.DOM.XPathNSResolver resolver) throws GLib.Error;
public WebKit.DOM.NodeIterator create_node_iterator (WebKit.DOM.Node root, ulong whatToShow, WebKit.DOM.NodeFilter? filter, bool expandEntityReferences) throws GLib.Error;
public WebKit.DOM.XPathNSResolver create_ns_resolver (WebKit.DOM.Node nodeResolver);
public unowned WebKit.DOM.ProcessingInstruction create_processing_instruction (string target, string data) throws GLib.Error;
public WebKit.DOM.Range create_range ();
public unowned WebKit.DOM.Text create_text_node (string data);
public WebKit.DOM.TreeWalker create_tree_walker (WebKit.DOM.Node root, ulong whatToShow, WebKit.DOM.NodeFilter? filter, bool expandEntityReferences) throws GLib.Error;
public unowned WebKit.DOM.Element element_from_point (long x, long y);
public WebKit.DOM.XPathResult evaluate (string expression, WebKit.DOM.Node contextNode, WebKit.DOM.XPathNSResolver? resolver, ushort type, WebKit.DOM.XPathResult? inResult) throws GLib.Error;
public bool exec_command (string command, bool userInterface, string value);
[Version (since = "2.16")]
public void exit_pointer_lock ();
public unowned WebKit.DOM.Element get_active_element ();
public WebKit.DOM.HTMLCollection get_anchors ();
public WebKit.DOM.HTMLCollection get_applets ();
public unowned WebKit.DOM.HTMLElement get_body ();
public string get_character_set ();
public string get_charset ();
[Version (since = "2.16")]
public ulong get_child_element_count ();
[Version (since = "2.16")]
public WebKit.DOM.HTMLCollection get_children ();
[Version (since = "2.14")]
public string get_compat_mode ();
[Version (since = "2.16")]
public string get_content_type ();
public string get_cookie () throws GLib.Error;
[Version (since = "2.16")]
public unowned WebKit.DOM.HTMLScriptElement get_current_script ();
[Version (deprecated = true, deprecated_since = "2.14")]
public string get_default_charset ();
public WebKit.DOM.DOMWindow get_default_view ();
[Version (since = "2.14")]
public string get_design_mode ();
[Version (since = "2.16")]
public string get_dir ();
public unowned WebKit.DOM.DocumentType get_doctype ();
public unowned WebKit.DOM.Element get_document_element ();
public string get_document_uri ();
public string get_domain ();
public unowned WebKit.DOM.Element get_element_by_id (string elementId);
[Version (deprecated = true, deprecated_since = "2.12")]
public WebKit.DOM.NodeList get_elements_by_class_name (string class_name);
[Version (since = "2.12")]
public WebKit.DOM.HTMLCollection get_elements_by_class_name_as_html_collection (string classNames);
public WebKit.DOM.NodeList get_elements_by_name (string elementName);
[Version (deprecated = true, deprecated_since = "2.12")]
public WebKit.DOM.NodeList get_elements_by_tag_name (string tag_name);
[Version (since = "2.12")]
public WebKit.DOM.HTMLCollection get_elements_by_tag_name_as_html_collection (string tagname);
[Version (deprecated = true, deprecated_since = "2.12")]
public WebKit.DOM.NodeList get_elements_by_tag_name_ns (string namespace_uri, string tag_name);
[Version (since = "2.12")]
public WebKit.DOM.HTMLCollection get_elements_by_tag_name_ns_as_html_collection (string namespaceURI, string localName);
[Version (since = "2.14")]
public WebKit.DOM.HTMLCollection get_embeds ();
[Version (since = "2.16")]
public unowned WebKit.DOM.Element get_first_element_child ();
public WebKit.DOM.HTMLCollection get_forms ();
public unowned WebKit.DOM.HTMLHeadElement get_head ();
[Version (since = "2.16")]
public bool get_hidden ();
public WebKit.DOM.HTMLCollection get_images ();
public WebKit.DOM.DOMImplementation get_implementation ();
public string get_input_encoding ();
[Version (since = "2.16")]
public unowned WebKit.DOM.Element get_last_element_child ();
public string get_last_modified ();
public WebKit.DOM.HTMLCollection get_links ();
[Version (since = "2.16")]
public string get_origin ();
public WebKit.DOM.CSSStyleDeclaration get_override_style (WebKit.DOM.Element element, string? pseudoElement);
[Version (since = "2.14")]
public WebKit.DOM.HTMLCollection get_plugins ();
[Version (since = "2.16")]
public unowned WebKit.DOM.Element get_pointer_lock_element ();
public string get_preferred_stylesheet_set ();
public string get_ready_state ();
public string get_referrer ();
[Version (since = "2.14")]
public WebKit.DOM.HTMLCollection get_scripts ();
[Version (since = "2.16")]
public unowned WebKit.DOM.Element get_scrolling_element ();
public string get_selected_stylesheet_set ();
public unowned WebKit.DOM.StyleSheetList get_style_sheets ();
public string get_title ();
public string get_url ();
[Version (since = "2.16")]
public string get_visibility_state ();
[Version (since = "2.16")]
public unowned WebKit.DOM.Element get_webkit_current_fullscreen_element ();
[Version (since = "2.16")]
public unowned WebKit.DOM.Element get_webkit_fullscreen_element ();
[Version (since = "2.16")]
public bool get_webkit_fullscreen_enabled ();
[Version (since = "2.16")]
public bool get_webkit_fullscreen_keyboard_input_allowed ();
[Version (since = "2.16")]
public bool get_webkit_is_fullscreen ();
public string get_xml_encoding ();
public bool get_xml_standalone ();
public string get_xml_version ();
public bool has_focus ();
public unowned WebKit.DOM.Node import_node (WebKit.DOM.Node importedNode, bool deep) throws GLib.Error;
public bool query_command_enabled (string command);
public bool query_command_indeterm (string command);
public bool query_command_state (string command);
public bool query_command_supported (string command);
public string query_command_value (string command);
public unowned WebKit.DOM.Element query_selector (string selectors) throws GLib.Error;
public WebKit.DOM.NodeList query_selector_all (string selectors) throws GLib.Error;
public void set_body (WebKit.DOM.HTMLElement value) throws GLib.Error;
public void set_charset (string value);
public void set_cookie (string value) throws GLib.Error;
[Version (since = "2.14")]
public void set_design_mode (string value);
[Version (since = "2.16")]
public void set_dir (string value);
public void set_document_uri (string value);
public void set_selected_stylesheet_set (string value);
public void set_title (string value);
public void set_xml_standalone (bool value) throws GLib.Error;
public void set_xml_version (string value) throws GLib.Error;
[Version (since = "2.16")]
public void webkit_cancel_fullscreen ();
[Version (since = "2.16")]
public void webkit_exit_fullscreen ();
public WebKit.DOM.Element active_element { get; }
public WebKit.DOM.HTMLCollection anchors { owned get; }
public WebKit.DOM.HTMLCollection applets { owned get; }
public WebKit.DOM.HTMLElement body { get; }
public string character_set { owned get; }
public string charset { owned get; set; }
public ulong child_element_count { get; }
public WebKit.DOM.HTMLCollection children { owned get; }
public string compat_mode { owned get; }
public string content_type { owned get; }
[NoAccessorMethod]
public string cookie { owned get; set; }
public WebKit.DOM.HTMLScriptElement current_script { get; }
public WebKit.DOM.DOMWindow default_view { owned get; }
public string design_mode { owned get; set; }
public string dir { owned get; set; }
public WebKit.DOM.DocumentType doctype { get; }
public WebKit.DOM.Element document_element { get; }
public string document_uri { owned get; set; }
public string domain { owned get; }
public WebKit.DOM.HTMLCollection embeds { owned get; }
public WebKit.DOM.Element first_element_child { get; }
public WebKit.DOM.HTMLCollection forms { owned get; }
public WebKit.DOM.HTMLHeadElement head { get; }
public bool hidden { get; }
public WebKit.DOM.HTMLCollection images { owned get; }
public WebKit.DOM.DOMImplementation implementation { owned get; }
public string input_encoding { owned get; }
public WebKit.DOM.Element last_element_child { get; }
public string last_modified { owned get; }
public WebKit.DOM.HTMLCollection links { owned get; }
public string origin { owned get; }
public WebKit.DOM.HTMLCollection plugins { owned get; }
public WebKit.DOM.Element pointer_lock_element { get; }
public string preferred_stylesheet_set { owned get; }
public string ready_state { owned get; }
public string referrer { owned get; }
public WebKit.DOM.HTMLCollection scripts { owned get; }
public WebKit.DOM.Element scrolling_element { get; }
public string selected_stylesheet_set { owned get; set; }
public WebKit.DOM.StyleSheetList style_sheets { get; }
public string title { owned get; set; }
public string url { owned get; }
public string visibility_state { owned get; }
[NoAccessorMethod]
public WebKit.DOM.Element webkit_current_full_screen_element { owned get; }
[NoAccessorMethod]
public bool webkit_full_screen_keyboard_input_allowed { get; }
public WebKit.DOM.Element webkit_fullscreen_element { get; }
public bool webkit_fullscreen_enabled { get; }
[NoAccessorMethod]
public bool webkit_is_full_screen { get; }
public string xml_encoding { owned get; }
[NoAccessorMethod]
public bool xml_standalone { get; set; }
[NoAccessorMethod]
public string xml_version { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_document_fragment_get_type ()")]
[GIR (name = "DOMDocumentFragment")]
public class DocumentFragment : WebKit.DOM.Node, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected DocumentFragment ();
[Version (since = "2.16")]
public ulong get_child_element_count ();
[Version (since = "2.16")]
public WebKit.DOM.HTMLCollection get_children ();
[Version (since = "2.16")]
public unowned WebKit.DOM.Element get_element_by_id (string elementId);
[Version (since = "2.16")]
public unowned WebKit.DOM.Element get_first_element_child ();
[Version (since = "2.16")]
public unowned WebKit.DOM.Element get_last_element_child ();
[Version (since = "2.16")]
public unowned WebKit.DOM.Element query_selector (string selectors) throws GLib.Error;
[Version (since = "2.16")]
public WebKit.DOM.NodeList query_selector_all (string selectors) throws GLib.Error;
public ulong child_element_count { get; }
public WebKit.DOM.HTMLCollection children { owned get; }
public WebKit.DOM.Element first_element_child { get; }
public WebKit.DOM.Element last_element_child { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_document_type_get_type ()")]
[GIR (name = "DOMDocumentType")]
public class DocumentType : WebKit.DOM.Node, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected DocumentType ();
public WebKit.DOM.NamedNodeMap get_entities ();
public string get_internal_subset ();
public string get_name ();
public WebKit.DOM.NamedNodeMap get_notations ();
public string get_public_id ();
public string get_system_id ();
public WebKit.DOM.NamedNodeMap entities { owned get; }
public string internal_subset { owned get; }
public string name { owned get; }
public WebKit.DOM.NamedNodeMap notations { owned get; }
public string public_id { owned get; }
public string system_id { owned get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_element_get_type ()")]
[GIR (name = "DOMElement")]
public class Element : WebKit.DOM.Node, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected Element ();
public void blur ();
[Version (since = "2.16")]
public unowned WebKit.DOM.Element closest (string selectors) throws GLib.Error;
public void focus ();
public string get_attribute (string name);
public unowned WebKit.DOM.Attr get_attribute_node (string name);
public unowned WebKit.DOM.Attr get_attribute_node_ns (string namespaceURI, string localName);
public string get_attribute_ns (string namespaceURI, string localName);
public WebKit.DOM.NamedNodeMap get_attributes ();
[Version (since = "2.18")]
public WebKit.DOM.ClientRect get_bounding_client_rect ();
public ulong get_child_element_count ();
[Version (since = "2.10")]
public WebKit.DOM.HTMLCollection get_children ();
[Version (since = "2.16")]
public WebKit.DOM.DOMTokenList get_class_list ();
public string get_class_name ();
public double get_client_height ();
public double get_client_left ();
[Version (since = "2.18")]
public WebKit.DOM.ClientRectList get_client_rects ();
public double get_client_top ();
public double get_client_width ();
[Version (deprecated = true, deprecated_since = "2.12")]
public WebKit.DOM.NodeList get_elements_by_class_name (string class_name);
[Version (since = "2.12")]
public WebKit.DOM.HTMLCollection get_elements_by_class_name_as_html_collection (string name);
[Version (deprecated = true, deprecated_since = "2.12")]
public WebKit.DOM.NodeList get_elements_by_tag_name (string tag_name);
[Version (since = "2.12")]
public WebKit.DOM.HTMLCollection get_elements_by_tag_name_as_html_collection (string name);
[Version (deprecated = true, deprecated_since = "2.12")]
public WebKit.DOM.NodeList get_elements_by_tag_name_ns (string namespace_uri, string tag_name);
[Version (since = "2.12")]
public WebKit.DOM.HTMLCollection get_elements_by_tag_name_ns_as_html_collection (string namespaceURI, string localName);
public unowned WebKit.DOM.Element get_first_element_child ();
public string get_id ();
[Version (since = "2.8")]
public string get_inner_html ();
public unowned WebKit.DOM.Element get_last_element_child ();
[Version (since = "2.14")]
public string get_local_name ();
[Version (since = "2.14")]
public string get_namespace_uri ();
public unowned WebKit.DOM.Element get_next_element_sibling ();
public double get_offset_height ();
public double get_offset_left ();
public unowned WebKit.DOM.Element get_offset_parent ();
public double get_offset_top ();
public double get_offset_width ();
[Version (since = "2.8")]
public string get_outer_html ();
[Version (since = "2.14")]
public string get_prefix ();
public unowned WebKit.DOM.Element get_previous_element_sibling ();
public long get_scroll_height ();
public long get_scroll_left ();
public long get_scroll_top ();
public long get_scroll_width ();
public WebKit.DOM.CSSStyleDeclaration get_style ();
public string get_tag_name ();
[Version (deprecated = true, deprecated_since = "2.20")]
public string get_webkit_region_overset ();
public bool has_attribute (string name);
public bool has_attribute_ns (string namespaceURI, string localName);
public bool has_attributes ();
[Version (since = "2.16")]
public unowned WebKit.DOM.Element insert_adjacent_element (string where, WebKit.DOM.Element element) throws GLib.Error;
[Version (since = "2.16")]
public void insert_adjacent_html (string where, string html) throws GLib.Error;
[Version (since = "2.16")]
public void insert_adjacent_text (string where, string text) throws GLib.Error;
[Version (since = "2.16")]
public bool matches (string selectors) throws GLib.Error;
public unowned WebKit.DOM.Element query_selector (string selectors) throws GLib.Error;
public WebKit.DOM.NodeList query_selector_all (string selectors) throws GLib.Error;
[Version (since = "2.16")]
public void remove () throws GLib.Error;
public void remove_attribute (string name);
public unowned WebKit.DOM.Attr remove_attribute_node (WebKit.DOM.Attr oldAttr) throws GLib.Error;
public void remove_attribute_ns (string namespaceURI, string localName);
[Version (since = "2.16")]
public void request_pointer_lock ();
public void scroll_by_lines (long lines);
public void scroll_by_pages (long pages);
public void scroll_into_view (bool alignWithTop);
public void scroll_into_view_if_needed (bool centerIfNeeded);
public void set_attribute (string name, string value) throws GLib.Error;
public unowned WebKit.DOM.Attr set_attribute_node (WebKit.DOM.Attr newAttr) throws GLib.Error;
public unowned WebKit.DOM.Attr set_attribute_node_ns (WebKit.DOM.Attr newAttr) throws GLib.Error;
public void set_attribute_ns (string? namespaceURI, string qualifiedName, string value) throws GLib.Error;
public void set_class_name (string value);
public void set_id (string value);
[Version (since = "2.8")]
public void set_inner_html (string value) throws GLib.Error;
[Version (since = "2.8")]
public void set_outer_html (string value) throws GLib.Error;
public void set_scroll_left (long value);
public void set_scroll_top (long value);
[Version (since = "2.16")]
public bool webkit_matches_selector (string selectors) throws GLib.Error;
[Version (since = "2.16")]
public void webkit_request_fullscreen ();
public WebKit.DOM.NamedNodeMap attributes { owned get; }
public ulong child_element_count { get; }
public WebKit.DOM.HTMLCollection children { owned get; }
public WebKit.DOM.DOMTokenList class_list { owned get; }
public string class_name { owned get; set; }
public double client_height { get; }
public double client_left { get; }
public double client_top { get; }
public double client_width { get; }
public WebKit.DOM.Element first_element_child { get; }
public string id { owned get; set; }
[NoAccessorMethod]
public string inner_html { owned get; set; }
public WebKit.DOM.Element last_element_child { get; }
public string local_name { owned get; }
public string namespace_uri { owned get; }
public WebKit.DOM.Element next_element_sibling { get; }
public double offset_height { get; }
public double offset_left { get; }
public WebKit.DOM.Element offset_parent { get; }
public double offset_top { get; }
public double offset_width { get; }
[NoAccessorMethod]
public string outer_html { owned get; set; }
public string prefix { owned get; }
public WebKit.DOM.Element previous_element_sibling { get; }
public long scroll_height { get; }
public long scroll_left { get; set; }
public long scroll_top { get; set; }
public long scroll_width { get; }
public WebKit.DOM.CSSStyleDeclaration style { owned get; }
public string tag_name { owned get; }
public string webkit_region_overset { owned get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_entity_reference_get_type ()")]
[GIR (name = "DOMEntityReference")]
public class EntityReference : WebKit.DOM.Node, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected EntityReference ();
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_event_get_type ()")]
[GIR (name = "DOMEvent")]
public class Event : WebKit.DOM.Object {
[CCode (has_construct_function = false)]
protected Event ();
public bool get_bubbles ();
public bool get_cancel_bubble ();
public bool get_cancelable ();
public WebKit.DOM.EventTarget get_current_target ();
public ushort get_event_phase ();
public string get_event_type ();
public bool get_return_value ();
public WebKit.DOM.EventTarget get_src_element ();
public WebKit.DOM.EventTarget get_target ();
public uint32 get_time_stamp ();
public void init_event (string eventTypeArg, bool canBubbleArg, bool cancelableArg);
public void prevent_default ();
public void set_cancel_bubble (bool value);
public void set_return_value (bool value);
public void stop_propagation ();
public bool bubbles { get; }
public bool cancel_bubble { get; set; }
public bool cancelable { get; }
public WebKit.DOM.EventTarget current_target { owned get; }
public uint event_phase { get; }
public bool return_value { get; set; }
public WebKit.DOM.EventTarget src_element { owned get; }
public WebKit.DOM.EventTarget target { owned get; }
public uint time_stamp { get; }
[NoAccessorMethod]
public string type { owned get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_file_get_type ()")]
[GIR (name = "DOMFile")]
public class File : WebKit.DOM.Blob {
[CCode (has_construct_function = false)]
protected File ();
public string get_name ();
public string name { owned get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_file_list_get_type ()")]
[GIR (name = "DOMFileList")]
public class FileList : WebKit.DOM.Object {
[CCode (has_construct_function = false)]
protected FileList ();
public ulong get_length ();
public WebKit.DOM.File item (ulong index);
public ulong length { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_anchor_element_get_type ()")]
[GIR (name = "DOMHTMLAnchorElement")]
public class HTMLAnchorElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLAnchorElement ();
public string get_charset ();
public string get_coords ();
public string get_hash ();
public string get_host ();
public string get_hostname ();
public string get_href ();
public string get_hreflang ();
public string get_name ();
public string get_pathname ();
public string get_port ();
public string get_protocol ();
public string get_rel ();
public string get_rev ();
public string get_search ();
public string get_shape ();
public string get_target ();
public string get_text ();
public string get_type_attr ();
public void set_charset (string value);
public void set_coords (string value);
public void set_hash (string value);
public void set_host (string value);
public void set_hostname (string value);
public void set_href (string value);
public void set_hreflang (string value);
public void set_name (string value);
public void set_pathname (string value);
public void set_port (string value);
public void set_protocol (string value);
public void set_rel (string value);
public void set_rev (string value);
public void set_search (string value);
public void set_shape (string value);
public void set_target (string value);
[Version (since = "2.16")]
public void set_text (string value);
public void set_type_attr (string value);
public string charset { owned get; set; }
public string coords { owned get; set; }
public string hash { owned get; set; }
public string host { owned get; set; }
public string hostname { owned get; set; }
public string href { owned get; set; }
public string hreflang { owned get; set; }
public string name { owned get; set; }
public string pathname { owned get; set; }
public string port { owned get; set; }
public string protocol { owned get; set; }
public string rel { owned get; set; }
public string rev { owned get; set; }
public string search { owned get; set; }
public string shape { owned get; set; }
public string target { owned get; set; }
public string text { owned get; set; }
[NoAccessorMethod]
public string type { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_applet_element_get_type ()")]
[GIR (name = "DOMHTMLAppletElement")]
public class HTMLAppletElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLAppletElement ();
public string get_align ();
public string get_alt ();
public string get_archive ();
public string get_code ();
public string get_code_base ();
public string get_height ();
public long get_hspace ();
public string get_name ();
public string get_object ();
public long get_vspace ();
public string get_width ();
public void set_align (string value);
public void set_alt (string value);
public void set_archive (string value);
public void set_code (string value);
public void set_code_base (string value);
public void set_height (string value);
public void set_hspace (long value);
public void set_name (string value);
public void set_object (string value);
public void set_vspace (long value);
public void set_width (string value);
public string align { owned get; set; }
public string alt { owned get; set; }
public string archive { owned get; set; }
public string code { owned get; set; }
public string code_base { owned get; set; }
public string height { owned get; set; }
public long hspace { get; set; }
public string name { owned get; set; }
public string object { owned get; set; }
public long vspace { get; set; }
public string width { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_area_element_get_type ()")]
[GIR (name = "DOMHTMLAreaElement")]
public class HTMLAreaElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLAreaElement ();
public string get_alt ();
public string get_coords ();
public string get_hash ();
public string get_host ();
public string get_hostname ();
public string get_href ();
public bool get_no_href ();
public string get_pathname ();
public string get_port ();
public string get_protocol ();
public string get_search ();
public string get_shape ();
public string get_target ();
public void set_alt (string value);
public void set_coords (string value);
public void set_hash (string value);
[Version (since = "2.16")]
public void set_host (string value);
[Version (since = "2.16")]
public void set_hostname (string value);
public void set_href (string value);
public void set_no_href (bool value);
[Version (since = "2.16")]
public void set_pathname (string value);
[Version (since = "2.16")]
public void set_port (string value);
[Version (since = "2.16")]
public void set_protocol (string value);
[Version (since = "2.16")]
public void set_search (string value);
public void set_shape (string value);
public void set_target (string value);
public string alt { owned get; set; }
public string coords { owned get; set; }
public string hash { owned get; set; }
public string host { owned get; set; }
public string hostname { owned get; set; }
public string href { owned get; set; }
public bool no_href { get; set; }
public string pathname { owned get; set; }
public string port { owned get; set; }
public string protocol { owned get; set; }
public string search { owned get; set; }
public string shape { owned get; set; }
public string target { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", lower_case_cprefix = "webkit_dom_html_br_element_", type_id = "webkit_dom_html_br_element_get_type ()")]
[GIR (name = "DOMHTMLBRElement")]
public class HTMLBRElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLBRElement ();
public string get_clear ();
public void set_clear (string value);
public string clear { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_base_element_get_type ()")]
[GIR (name = "DOMHTMLBaseElement")]
public class HTMLBaseElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLBaseElement ();
public string get_href ();
public string get_target ();
public void set_href (string value);
public void set_target (string value);
public string href { owned get; set; }
public string target { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_base_font_element_get_type ()")]
[GIR (name = "DOMHTMLBaseFontElement")]
public class HTMLBaseFontElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLBaseFontElement ();
[Version (deprecated = true, deprecated_since = "2.12")]
public string get_color ();
[Version (deprecated = true, deprecated_since = "2.12")]
public string get_face ();
[Version (deprecated = true, deprecated_since = "2.12")]
public long get_size ();
[Version (deprecated = true, deprecated_since = "2.12")]
public void set_color (string value);
[Version (deprecated = true, deprecated_since = "2.12")]
public void set_face (string value);
[Version (deprecated = true, deprecated_since = "2.12")]
public void set_size (long value);
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_body_element_get_type ()")]
[GIR (name = "DOMHTMLBodyElement")]
public class HTMLBodyElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLBodyElement ();
public string get_a_link ();
public string get_background ();
public string get_bg_color ();
public string get_link ();
public string get_text ();
public string get_v_link ();
public void set_a_link (string value);
public void set_background (string value);
public void set_bg_color (string value);
public void set_link (string value);
public void set_text (string value);
public void set_v_link (string value);
public string a_link { owned get; set; }
public string background { owned get; set; }
public string bg_color { owned get; set; }
public string link { owned get; set; }
public string text { owned get; set; }
public string v_link { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_button_element_get_type ()")]
[GIR (name = "DOMHTMLButtonElement")]
public class HTMLButtonElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLButtonElement ();
public bool get_autofocus ();
public string get_button_type ();
public bool get_disabled ();
public unowned WebKit.DOM.HTMLFormElement get_form ();
public string get_name ();
public string get_value ();
public bool get_will_validate ();
public void set_autofocus (bool value);
public void set_button_type (string value);
public void set_disabled (bool value);
public void set_name (string value);
public void set_value (string value);
public bool autofocus { get; set; }
public bool disabled { get; set; }
public WebKit.DOM.HTMLFormElement form { get; }
public string name { owned get; set; }
[NoAccessorMethod]
public string type { owned get; set; }
public string value { owned get; set; }
public bool will_validate { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_canvas_element_get_type ()")]
[GIR (name = "DOMHTMLCanvasElement")]
public class HTMLCanvasElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLCanvasElement ();
public long get_height ();
public long get_width ();
public void set_height (long value);
public void set_width (long value);
public long height { get; set; }
public long width { get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_collection_get_type ()")]
[GIR (name = "DOMHTMLCollection")]
public class HTMLCollection : WebKit.DOM.Object {
[CCode (has_construct_function = false)]
protected HTMLCollection ();
public ulong get_length ();
public unowned WebKit.DOM.Node item (ulong index);
public unowned WebKit.DOM.Node named_item (string name);
public ulong length { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", lower_case_cprefix = "webkit_dom_html_d_list_element_", type_id = "webkit_dom_html_d_list_element_get_type ()")]
[GIR (name = "DOMHTMLDListElement")]
public class HTMLDListElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLDListElement ();
public bool get_compact ();
public void set_compact (bool value);
public bool compact { get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_directory_element_get_type ()")]
[GIR (name = "DOMHTMLDirectoryElement")]
public class HTMLDirectoryElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLDirectoryElement ();
public bool get_compact ();
public void set_compact (bool value);
public bool compact { get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_div_element_get_type ()")]
[GIR (name = "DOMHTMLDivElement")]
public class HTMLDivElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLDivElement ();
public string get_align ();
public void set_align (string value);
public string align { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_document_get_type ()")]
[GIR (name = "DOMHTMLDocument")]
public class HTMLDocument : WebKit.DOM.Document, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLDocument ();
public void capture_events ();
public void clear ();
public void close ();
public string get_alink_color ();
public string get_bg_color ();
[Version (deprecated = true, deprecated_since = "2.14")]
public string get_compat_mode ();
[Version (deprecated = true, deprecated_since = "2.14")]
public string get_design_mode ();
public string get_dir ();
[Version (deprecated = true, deprecated_since = "2.14")]
public WebKit.DOM.HTMLCollection get_embeds ();
public string get_fg_color ();
public long get_height ();
public string get_link_color ();
[Version (deprecated = true, deprecated_since = "2.14")]
public WebKit.DOM.HTMLCollection get_plugins ();
[Version (deprecated = true, deprecated_since = "2.14")]
public WebKit.DOM.HTMLCollection get_scripts ();
public string get_vlink_color ();
public long get_width ();
public void release_events ();
public void set_alink_color (string value);
public void set_bg_color (string value);
[Version (deprecated = true, deprecated_since = "2.14")]
public void set_design_mode (string value);
public void set_dir (string value);
public void set_fg_color (string value);
public void set_link_color (string value);
public void set_vlink_color (string value);
public string alink_color { owned get; set; }
public string bg_color { owned get; set; }
public string dir { owned get; set; }
public string fg_color { owned get; set; }
public long height { get; }
public string link_color { owned get; set; }
public string vlink_color { owned get; set; }
public long width { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_element_get_type ()")]
[GIR (name = "DOMHTMLElement")]
public class HTMLElement : WebKit.DOM.Element, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLElement ();
public void click ();
public string get_access_key ();
[Version (deprecated = true, deprecated_since = "2.10")]
public WebKit.DOM.HTMLCollection get_children ();
public string get_content_editable ();
public string get_dir ();
[Version (since = "2.16")]
public bool get_draggable ();
[Version (since = "2.16")]
public bool get_hidden ();
[Version (deprecated = true, deprecated_since = "2.8")]
public string get_inner_html ();
public string get_inner_text ();
public bool get_is_content_editable ();
public string get_lang ();
[Version (deprecated = true, deprecated_since = "2.8")]
public string get_outer_html ();
public string get_outer_text ();
[Version (since = "2.16")]
public bool get_spellcheck ();
public long get_tab_index ();
public string get_title ();
[Version (since = "2.16")]
public bool get_translate ();
[Version (since = "2.16")]
public string get_webkitdropzone ();
public void set_access_key (string value);
public void set_content_editable (string value) throws GLib.Error;
public void set_dir (string value);
[Version (since = "2.16")]
public void set_draggable (bool value);
[Version (since = "2.16")]
public void set_hidden (bool value);
[Version (deprecated = true, deprecated_since = "2.8")]
public void set_inner_html (string contents) throws GLib.Error;
public void set_inner_text (string value) throws GLib.Error;
public void set_lang (string value);
[Version (deprecated = true, deprecated_since = "2.8")]
public void set_outer_html (string contents) throws GLib.Error;
public void set_outer_text (string value) throws GLib.Error;
[Version (since = "2.16")]
public void set_spellcheck (bool value);
public void set_tab_index (long value);
public void set_title (string value);
[Version (since = "2.16")]
public void set_translate (bool value);
[Version (since = "2.16")]
public void set_webkitdropzone (string value);
public string access_key { owned get; set; }
[NoAccessorMethod]
public string content_editable { owned get; set; }
public string dir { owned get; set; }
public bool draggable { get; set; }
public bool hidden { get; set; }
[NoAccessorMethod]
public string inner_text { owned get; set; }
public bool is_content_editable { get; }
public string lang { owned get; set; }
[NoAccessorMethod]
public string outer_text { owned get; set; }
public bool spellcheck { get; set; }
public long tab_index { get; set; }
public string title { owned get; set; }
public bool translate { get; set; }
public string webkitdropzone { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_embed_element_get_type ()")]
[GIR (name = "DOMHTMLEmbedElement")]
public class HTMLEmbedElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLEmbedElement ();
public string get_align ();
public long get_height ();
public string get_name ();
public string get_src ();
public string get_type_attr ();
public long get_width ();
public void set_align (string value);
public void set_height (long value);
public void set_name (string value);
public void set_src (string value);
public void set_type_attr (string value);
public void set_width (long value);
public string align { owned get; set; }
public long height { get; set; }
public string name { owned get; set; }
public string src { owned get; set; }
[NoAccessorMethod]
public string type { owned get; set; }
public long width { get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_field_set_element_get_type ()")]
[GIR (name = "DOMHTMLFieldSetElement")]
public class HTMLFieldSetElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLFieldSetElement ();
public unowned WebKit.DOM.HTMLFormElement get_form ();
public WebKit.DOM.HTMLFormElement form { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_font_element_get_type ()")]
[GIR (name = "DOMHTMLFontElement")]
public class HTMLFontElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLFontElement ();
public string get_color ();
public string get_face ();
public string get_size ();
public void set_color (string value);
public void set_face (string value);
public void set_size (string value);
public string color { owned get; set; }
public string face { owned get; set; }
public string size { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_form_element_get_type ()")]
[GIR (name = "DOMHTMLFormElement")]
public class HTMLFormElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLFormElement ();
public string get_accept_charset ();
public string get_action ();
public WebKit.DOM.HTMLCollection get_elements ();
public string get_encoding ();
public string get_enctype ();
public long get_length ();
public string get_method ();
public string get_name ();
public string get_target ();
public void reset ();
public void set_accept_charset (string value);
public void set_action (string value);
public void set_encoding (string value);
public void set_enctype (string value);
public void set_method (string value);
public void set_name (string value);
public void set_target (string value);
public void submit ();
public string accept_charset { owned get; set; }
public string action { owned get; set; }
public WebKit.DOM.HTMLCollection elements { owned get; }
public string encoding { owned get; set; }
public string enctype { owned get; set; }
public long length { get; }
public string method { owned get; set; }
public string name { owned get; set; }
public string target { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_frame_element_get_type ()")]
[GIR (name = "DOMHTMLFrameElement")]
public class HTMLFrameElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLFrameElement ();
public unowned WebKit.DOM.Document get_content_document ();
public WebKit.DOM.DOMWindow get_content_window ();
public string get_frame_border ();
public long get_height ();
public string get_long_desc ();
public string get_margin_height ();
public string get_margin_width ();
public string get_name ();
public bool get_no_resize ();
public string get_scrolling ();
public string get_src ();
public long get_width ();
public void set_frame_border (string value);
public void set_long_desc (string value);
public void set_margin_height (string value);
public void set_margin_width (string value);
public void set_name (string value);
public void set_no_resize (bool value);
public void set_scrolling (string value);
public void set_src (string value);
public WebKit.DOM.Document content_document { get; }
public WebKit.DOM.DOMWindow content_window { owned get; }
public string frame_border { owned get; set; }
public long height { get; }
public string long_desc { owned get; set; }
public string margin_height { owned get; set; }
public string margin_width { owned get; set; }
public string name { owned get; set; }
public bool no_resize { get; set; }
public string scrolling { owned get; set; }
public string src { owned get; set; }
public long width { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_frame_set_element_get_type ()")]
[GIR (name = "DOMHTMLFrameSetElement")]
public class HTMLFrameSetElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLFrameSetElement ();
public string get_cols ();
public string get_rows ();
public void set_cols (string value);
public void set_rows (string value);
public string cols { owned get; set; }
public string rows { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", lower_case_cprefix = "webkit_dom_html_hr_element_", type_id = "webkit_dom_html_hr_element_get_type ()")]
[GIR (name = "DOMHTMLHRElement")]
public class HTMLHRElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLHRElement ();
public string get_align ();
public bool get_no_shade ();
public string get_size ();
public string get_width ();
public void set_align (string value);
public void set_no_shade (bool value);
public void set_size (string value);
public void set_width (string value);
public string align { owned get; set; }
public bool no_shade { get; set; }
public string size { owned get; set; }
public string width { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_head_element_get_type ()")]
[GIR (name = "DOMHTMLHeadElement")]
public class HTMLHeadElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLHeadElement ();
public string get_profile ();
public void set_profile (string value);
public string profile { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_heading_element_get_type ()")]
[GIR (name = "DOMHTMLHeadingElement")]
public class HTMLHeadingElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLHeadingElement ();
public string get_align ();
public void set_align (string value);
public string align { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_html_element_get_type ()")]
[GIR (name = "DOMHTMLHtmlElement")]
public class HTMLHtmlElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLHtmlElement ();
public string get_version ();
public void set_version (string value);
public string version { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", lower_case_cprefix = "webkit_dom_html_iframe_element_", type_id = "webkit_dom_html_iframe_element_get_type ()")]
[GIR (name = "DOMHTMLIFrameElement")]
public class HTMLIFrameElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLIFrameElement ();
public string get_align ();
public unowned WebKit.DOM.Document get_content_document ();
public WebKit.DOM.DOMWindow get_content_window ();
public string get_frame_border ();
public string get_height ();
public string get_long_desc ();
public string get_margin_height ();
public string get_margin_width ();
public string get_name ();
public string get_scrolling ();
public string get_src ();
public string get_width ();
public void set_align (string value);
public void set_frame_border (string value);
public void set_height (string value);
public void set_long_desc (string value);
public void set_margin_height (string value);
public void set_margin_width (string value);
public void set_name (string value);
public void set_scrolling (string value);
public void set_src (string value);
public void set_width (string value);
public string align { owned get; set; }
public WebKit.DOM.Document content_document { get; }
public WebKit.DOM.DOMWindow content_window { owned get; }
public string frame_border { owned get; set; }
public string height { owned get; set; }
public string long_desc { owned get; set; }
public string margin_height { owned get; set; }
public string margin_width { owned get; set; }
public string name { owned get; set; }
public string scrolling { owned get; set; }
public string src { owned get; set; }
public string width { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_image_element_get_type ()")]
[GIR (name = "DOMHTMLImageElement")]
public class HTMLImageElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLImageElement ();
public string get_align ();
public string get_alt ();
public string get_border ();
public bool get_complete ();
public long get_height ();
public long get_hspace ();
public bool get_is_map ();
public string get_long_desc ();
public string get_lowsrc ();
public string get_name ();
public long get_natural_height ();
public long get_natural_width ();
public string get_src ();
public string get_use_map ();
public long get_vspace ();
public long get_width ();
public long get_x ();
public long get_y ();
public void set_align (string value);
public void set_alt (string value);
public void set_border (string value);
public void set_height (long value);
public void set_hspace (long value);
public void set_is_map (bool value);
public void set_long_desc (string value);
public void set_lowsrc (string value);
public void set_name (string value);
public void set_src (string value);
public void set_use_map (string value);
public void set_vspace (long value);
public void set_width (long value);
public string align { owned get; set; }
public string alt { owned get; set; }
public string border { owned get; set; }
public bool complete { get; }
public long height { get; set; }
public long hspace { get; set; }
public bool is_map { get; set; }
public string long_desc { owned get; set; }
public string lowsrc { owned get; set; }
public string name { owned get; set; }
public long natural_height { get; }
public long natural_width { get; }
public string src { owned get; set; }
public string use_map { owned get; set; }
public long vspace { get; set; }
public long width { get; set; }
public long x { get; }
public long y { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_input_element_get_type ()")]
[GIR (name = "DOMHTMLInputElement")]
public class HTMLInputElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLInputElement ();
public string get_accept ();
public string get_align ();
public string get_alt ();
[Version (since = "2.16")]
public bool get_auto_filled ();
public bool get_autofocus ();
[Version (deprecated = true, deprecated_since = "2.14")]
public bool get_capture ();
[Version (since = "2.14")]
public string get_capture_type ();
public bool get_checked ();
public bool get_default_checked ();
public string get_default_value ();
public bool get_disabled ();
public WebKit.DOM.FileList get_files ();
public unowned WebKit.DOM.HTMLFormElement get_form ();
public ulong get_height ();
public bool get_indeterminate ();
public string get_input_type ();
public long get_max_length ();
public bool get_multiple ();
public string get_name ();
[Version (since = "2.16")]
public bool get_read_only ();
public ulong get_size ();
public string get_src ();
public string get_use_map ();
public string get_value ();
public ulong get_width ();
public bool get_will_validate ();
public bool is_edited ();
public void select ();
public void set_accept (string value);
public void set_align (string value);
public void set_alt (string value);
[Version (since = "2.16")]
public void set_auto_filled (bool value);
public void set_autofocus (bool value);
[Version (since = "2.16")]
public void set_capture_type (string value);
public void set_checked (bool value);
[Version (since = "2.16")]
public void set_default_checked (bool value);
public void set_default_value (string value);
public void set_disabled (bool value);
[Version (since = "2.16")]
public void set_editing_value (string value);
public void set_files (WebKit.DOM.FileList value);
public void set_height (ulong value);
public void set_indeterminate (bool value);
public void set_input_type (string value);
public void set_max_length (long value) throws GLib.Error;
public void set_multiple (bool value);
public void set_name (string value);
public void set_read_only (bool value);
public void set_size (ulong value) throws GLib.Error;
public void set_src (string value);
public void set_use_map (string value);
public void set_value (string value);
public void set_width (ulong value);
public string accept { owned get; set; }
public string align { owned get; set; }
public string alt { owned get; set; }
public bool autofocus { get; set; }
[NoAccessorMethod]
public string capture { owned get; set; }
public bool checked { get; set; }
public bool default_checked { get; set; }
public string default_value { owned get; set; }
public bool disabled { get; set; }
public WebKit.DOM.FileList files { owned get; }
public WebKit.DOM.HTMLFormElement form { get; }
public ulong height { get; set; }
public bool indeterminate { get; set; }
[NoAccessorMethod]
public long max_length { get; set; }
public bool multiple { get; set; }
public string name { owned get; set; }
public bool read_only { get; set; }
[NoAccessorMethod]
public ulong size { get; set; }
public string src { owned get; set; }
[NoAccessorMethod]
public string type { owned get; set; }
public string use_map { owned get; set; }
public string value { owned get; set; }
public ulong width { get; set; }
public bool will_validate { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", lower_case_cprefix = "webkit_dom_html_li_element_", type_id = "webkit_dom_html_li_element_get_type ()")]
[GIR (name = "DOMHTMLLIElement")]
public class HTMLLIElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLLIElement ();
public string get_type_attr ();
public long get_value ();
public void set_type_attr (string value);
public void set_value (long value);
[NoAccessorMethod]
public string type { owned get; set; }
public long value { get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_label_element_get_type ()")]
[GIR (name = "DOMHTMLLabelElement")]
public class HTMLLabelElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLLabelElement ();
public unowned WebKit.DOM.HTMLFormElement get_form ();
public string get_html_for ();
public void set_html_for (string value);
public WebKit.DOM.HTMLFormElement form { get; }
public string html_for { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_legend_element_get_type ()")]
[GIR (name = "DOMHTMLLegendElement")]
public class HTMLLegendElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLLegendElement ();
public string get_align ();
public unowned WebKit.DOM.HTMLFormElement get_form ();
public void set_align (string value);
public string align { owned get; set; }
public WebKit.DOM.HTMLFormElement form { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_link_element_get_type ()")]
[GIR (name = "DOMHTMLLinkElement")]
public class HTMLLinkElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLLinkElement ();
public string get_charset ();
public bool get_disabled ();
public string get_href ();
public string get_hreflang ();
public string get_media ();
public string get_rel ();
public string get_rev ();
public WebKit.DOM.StyleSheet get_sheet ();
[Version (since = "2.16")]
public WebKit.DOM.DOMTokenList get_sizes ();
public string get_target ();
public string get_type_attr ();
public void set_charset (string value);
public void set_disabled (bool value);
public void set_href (string value);
public void set_hreflang (string value);
public void set_media (string value);
public void set_rel (string value);
public void set_rev (string value);
[Version (since = "2.16")]
public void set_sizes (string value);
public void set_target (string value);
public void set_type_attr (string value);
public string charset { owned get; set; }
public bool disabled { get; set; }
public string href { owned get; set; }
public string hreflang { owned get; set; }
public string media { owned get; set; }
public string rel { owned get; set; }
public string rev { owned get; set; }
public WebKit.DOM.StyleSheet sheet { owned get; }
public WebKit.DOM.DOMTokenList sizes { owned get; }
public string target { owned get; set; }
[NoAccessorMethod]
public string type { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_map_element_get_type ()")]
[GIR (name = "DOMHTMLMapElement")]
public class HTMLMapElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLMapElement ();
public WebKit.DOM.HTMLCollection get_areas ();
public string get_name ();
public void set_name (string value);
public WebKit.DOM.HTMLCollection areas { owned get; }
public string name { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_marquee_element_get_type ()")]
[GIR (name = "DOMHTMLMarqueeElement")]
public class HTMLMarqueeElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLMarqueeElement ();
public void start ();
public void stop ();
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_menu_element_get_type ()")]
[GIR (name = "DOMHTMLMenuElement")]
public class HTMLMenuElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLMenuElement ();
public bool get_compact ();
public void set_compact (bool value);
public bool compact { get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_meta_element_get_type ()")]
[GIR (name = "DOMHTMLMetaElement")]
public class HTMLMetaElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLMetaElement ();
public string get_content ();
public string get_http_equiv ();
public string get_name ();
public string get_scheme ();
public void set_content (string value);
public void set_http_equiv (string value);
public void set_name (string value);
public void set_scheme (string value);
public string content { owned get; set; }
public string http_equiv { owned get; set; }
public string name { owned get; set; }
public string scheme { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_mod_element_get_type ()")]
[GIR (name = "DOMHTMLModElement")]
public class HTMLModElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLModElement ();
public string get_cite ();
public string get_date_time ();
public void set_cite (string value);
public void set_date_time (string value);
public string cite { owned get; set; }
public string date_time { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", lower_case_cprefix = "webkit_dom_html_o_list_element_", type_id = "webkit_dom_html_o_list_element_get_type ()")]
[GIR (name = "DOMHTMLOListElement")]
public class HTMLOListElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLOListElement ();
public bool get_compact ();
public long get_start ();
public string get_type_attr ();
public void set_compact (bool value);
public void set_start (long value);
public void set_type_attr (string value);
public bool compact { get; set; }
public long start { get; set; }
[NoAccessorMethod]
public string type { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_object_element_get_type ()")]
[GIR (name = "DOMHTMLObjectElement")]
public class HTMLObjectElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLObjectElement ();
public string get_align ();
public string get_archive ();
public string get_border ();
public string get_code ();
public string get_code_base ();
public string get_code_type ();
public unowned WebKit.DOM.Document get_content_document ();
public string get_data ();
public bool get_declare ();
public unowned WebKit.DOM.HTMLFormElement get_form ();
public string get_height ();
public long get_hspace ();
public string get_name ();
public string get_standby ();
public string get_type_attr ();
public string get_use_map ();
public long get_vspace ();
public string get_width ();
public void set_align (string value);
public void set_archive (string value);
public void set_border (string value);
public void set_code (string value);
public void set_code_base (string value);
public void set_code_type (string value);
public void set_data (string value);
public void set_declare (bool value);
public void set_height (string value);
public void set_hspace (long value);
public void set_name (string value);
public void set_standby (string value);
public void set_type_attr (string value);
public void set_use_map (string value);
public void set_vspace (long value);
public void set_width (string value);
public string align { owned get; set; }
public string archive { owned get; set; }
public string border { owned get; set; }
public string code { owned get; set; }
public string code_base { owned get; set; }
public string code_type { owned get; set; }
public WebKit.DOM.Document content_document { get; }
public string data { owned get; set; }
public bool declare { get; set; }
public WebKit.DOM.HTMLFormElement form { get; }
public string height { owned get; set; }
public long hspace { get; set; }
public string name { owned get; set; }
public string standby { owned get; set; }
[NoAccessorMethod]
public string type { owned get; set; }
public string use_map { owned get; set; }
public long vspace { get; set; }
public string width { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_opt_group_element_get_type ()")]
[GIR (name = "DOMHTMLOptGroupElement")]
public class HTMLOptGroupElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLOptGroupElement ();
public bool get_disabled ();
public string get_label ();
public void set_disabled (bool value);
public void set_label (string value);
public bool disabled { get; set; }
public string label { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_option_element_get_type ()")]
[GIR (name = "DOMHTMLOptionElement")]
public class HTMLOptionElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLOptionElement ();
public bool get_default_selected ();
public bool get_disabled ();
public unowned WebKit.DOM.HTMLFormElement get_form ();
public long get_index ();
public string get_label ();
public bool get_selected ();
public string get_text ();
public string get_value ();
public void set_default_selected (bool value);
public void set_disabled (bool value);
public void set_label (string value);
public void set_selected (bool value);
public void set_value (string value);
public bool default_selected { get; set; }
public bool disabled { get; set; }
public WebKit.DOM.HTMLFormElement form { get; }
public long index { get; }
public string label { owned get; set; }
public bool selected { get; set; }
public string text { owned get; }
public string value { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_options_collection_get_type ()")]
[GIR (name = "DOMHTMLOptionsCollection")]
public class HTMLOptionsCollection : WebKit.DOM.HTMLCollection {
[CCode (has_construct_function = false)]
protected HTMLOptionsCollection ();
public ulong get_length ();
public long get_selected_index ();
public unowned WebKit.DOM.Node named_item (string name);
public void set_selected_index (long value);
public ulong length { get; }
public long selected_index { get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_paragraph_element_get_type ()")]
[GIR (name = "DOMHTMLParagraphElement")]
public class HTMLParagraphElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLParagraphElement ();
public string get_align ();
public void set_align (string value);
public string align { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_param_element_get_type ()")]
[GIR (name = "DOMHTMLParamElement")]
public class HTMLParamElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLParamElement ();
public string get_name ();
public string get_type_attr ();
public string get_value ();
public string get_value_type ();
public void set_name (string value);
public void set_type_attr (string value);
public void set_value (string value);
public void set_value_type (string value);
public string name { owned get; set; }
[NoAccessorMethod]
public string type { owned get; set; }
public string value { owned get; set; }
public string value_type { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_pre_element_get_type ()")]
[GIR (name = "DOMHTMLPreElement")]
public class HTMLPreElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLPreElement ();
public long get_width ();
public bool get_wrap ();
public void set_width (long value);
public void set_wrap (bool value);
public long width { get; set; }
public bool wrap { get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_quote_element_get_type ()")]
[GIR (name = "DOMHTMLQuoteElement")]
public class HTMLQuoteElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLQuoteElement ();
public string get_cite ();
public void set_cite (string value);
public string cite { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_script_element_get_type ()")]
[GIR (name = "DOMHTMLScriptElement")]
public class HTMLScriptElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLScriptElement ();
public string get_charset ();
public bool get_defer ();
public string get_event ();
public string get_html_for ();
public string get_src ();
public string get_text ();
public string get_type_attr ();
[Version (since = "2.16")]
public void set_charset (string value);
public void set_defer (bool value);
public void set_event (string value);
public void set_html_for (string value);
public void set_src (string value);
public void set_text (string value);
public void set_type_attr (string value);
public string charset { owned get; set; }
public bool defer { get; set; }
public string event { owned get; set; }
public string html_for { owned get; set; }
public string src { owned get; set; }
public string text { owned get; set; }
[NoAccessorMethod]
public string type { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_select_element_get_type ()")]
[GIR (name = "DOMHTMLSelectElement")]
public class HTMLSelectElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLSelectElement ();
public void add (WebKit.DOM.HTMLElement element, WebKit.DOM.HTMLElement before) throws GLib.Error;
public bool get_autofocus ();
public bool get_disabled ();
public unowned WebKit.DOM.HTMLFormElement get_form ();
public ulong get_length ();
public bool get_multiple ();
public string get_name ();
public WebKit.DOM.HTMLOptionsCollection get_options ();
public string get_select_type ();
public long get_selected_index ();
public long get_size ();
public string get_value ();
public bool get_will_validate ();
public unowned WebKit.DOM.Node item (ulong index);
public unowned WebKit.DOM.Node named_item (string name);
public void remove (long index);
public void set_autofocus (bool value);
public void set_disabled (bool value);
public void set_length (ulong value) throws GLib.Error;
public void set_multiple (bool value);
public void set_name (string value);
public void set_selected_index (long value);
public void set_size (long value);
public void set_value (string value);
public bool autofocus { get; set; }
public bool disabled { get; set; }
public WebKit.DOM.HTMLFormElement form { get; }
[NoAccessorMethod]
public ulong length { get; set; }
public bool multiple { get; set; }
public string name { owned get; set; }
public WebKit.DOM.HTMLOptionsCollection options { owned get; }
public long selected_index { get; set; }
public long size { get; set; }
[NoAccessorMethod]
public string type { owned get; }
public string value { owned get; set; }
public bool will_validate { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_style_element_get_type ()")]
[GIR (name = "DOMHTMLStyleElement")]
public class HTMLStyleElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLStyleElement ();
public bool get_disabled ();
public string get_media ();
public WebKit.DOM.StyleSheet get_sheet ();
public string get_type_attr ();
public void set_disabled (bool value);
public void set_media (string value);
public void set_type_attr (string value);
public bool disabled { get; set; }
public string media { owned get; set; }
public WebKit.DOM.StyleSheet sheet { owned get; }
[NoAccessorMethod]
public string type { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_table_caption_element_get_type ()")]
[GIR (name = "DOMHTMLTableCaptionElement")]
public class HTMLTableCaptionElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLTableCaptionElement ();
public string get_align ();
public void set_align (string value);
public string align { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_table_cell_element_get_type ()")]
[GIR (name = "DOMHTMLTableCellElement")]
public class HTMLTableCellElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLTableCellElement ();
public string get_abbr ();
public string get_align ();
public string get_axis ();
public string get_bg_color ();
public long get_cell_index ();
public string get_ch ();
public string get_ch_off ();
public long get_col_span ();
public string get_headers ();
public string get_height ();
public bool get_no_wrap ();
public long get_row_span ();
public string get_scope ();
public string get_v_align ();
public string get_width ();
public void set_abbr (string value);
public void set_align (string value);
public void set_axis (string value);
public void set_bg_color (string value);
public void set_ch (string value);
public void set_ch_off (string value);
public void set_col_span (long value);
public void set_headers (string value);
public void set_height (string value);
public void set_no_wrap (bool value);
public void set_row_span (long value);
public void set_scope (string value);
public void set_v_align (string value);
public void set_width (string value);
public string abbr { owned get; set; }
public string align { owned get; set; }
public string axis { owned get; set; }
public string bg_color { owned get; set; }
public long cell_index { get; }
public string ch { owned get; set; }
public string ch_off { owned get; set; }
public long col_span { get; set; }
public string headers { owned get; set; }
public string height { owned get; set; }
public bool no_wrap { get; set; }
public long row_span { get; set; }
public string scope { owned get; set; }
public string v_align { owned get; set; }
public string width { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_table_col_element_get_type ()")]
[GIR (name = "DOMHTMLTableColElement")]
public class HTMLTableColElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLTableColElement ();
public string get_align ();
public string get_ch ();
public string get_ch_off ();
public long get_span ();
public string get_v_align ();
public string get_width ();
public void set_align (string value);
public void set_ch (string value);
public void set_ch_off (string value);
public void set_span (long value);
public void set_v_align (string value);
public void set_width (string value);
public string align { owned get; set; }
public string ch { owned get; set; }
public string ch_off { owned get; set; }
public long span { get; set; }
public string v_align { owned get; set; }
public string width { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_table_element_get_type ()")]
[GIR (name = "DOMHTMLTableElement")]
public class HTMLTableElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLTableElement ();
public unowned WebKit.DOM.HTMLElement create_caption ();
public unowned WebKit.DOM.HTMLElement create_t_foot ();
public unowned WebKit.DOM.HTMLElement create_t_head ();
public void delete_caption ();
public void delete_row (long index) throws GLib.Error;
public void delete_t_foot ();
public void delete_t_head ();
public string get_align ();
public string get_bg_color ();
public string get_border ();
public unowned WebKit.DOM.HTMLTableCaptionElement get_caption ();
public string get_cell_padding ();
public string get_cell_spacing ();
public WebKit.DOM.HTMLCollection get_rows ();
public string get_rules ();
public string get_summary ();
public WebKit.DOM.HTMLCollection get_t_bodies ();
public unowned WebKit.DOM.HTMLTableSectionElement get_t_foot ();
public unowned WebKit.DOM.HTMLTableSectionElement get_t_head ();
public string get_width ();
public unowned WebKit.DOM.HTMLElement insert_row (long index) throws GLib.Error;
public void set_align (string value);
public void set_bg_color (string value);
public void set_border (string value);
public void set_caption (WebKit.DOM.HTMLTableCaptionElement value) throws GLib.Error;
public void set_cell_padding (string value);
public void set_cell_spacing (string value);
public void set_rules (string value);
public void set_summary (string value);
public void set_t_foot (WebKit.DOM.HTMLTableSectionElement value) throws GLib.Error;
public void set_t_head (WebKit.DOM.HTMLTableSectionElement value) throws GLib.Error;
public void set_width (string value);
public string align { owned get; set; }
public string bg_color { owned get; set; }
public string border { owned get; set; }
public WebKit.DOM.HTMLTableCaptionElement caption { get; }
public string cell_padding { owned get; set; }
public string cell_spacing { owned get; set; }
public WebKit.DOM.HTMLCollection rows { owned get; }
public string rules { owned get; set; }
public string summary { owned get; set; }
public WebKit.DOM.HTMLCollection t_bodies { owned get; }
public WebKit.DOM.HTMLTableSectionElement t_foot { get; }
public WebKit.DOM.HTMLTableSectionElement t_head { get; }
public string width { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_table_row_element_get_type ()")]
[GIR (name = "DOMHTMLTableRowElement")]
public class HTMLTableRowElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLTableRowElement ();
public void delete_cell (long index) throws GLib.Error;
public string get_align ();
public string get_bg_color ();
public WebKit.DOM.HTMLCollection get_cells ();
public string get_ch ();
public string get_ch_off ();
public long get_row_index ();
public long get_section_row_index ();
public string get_v_align ();
public unowned WebKit.DOM.HTMLElement insert_cell (long index) throws GLib.Error;
public void set_align (string value);
public void set_bg_color (string value);
public void set_ch (string value);
public void set_ch_off (string value);
public void set_v_align (string value);
public string align { owned get; set; }
public string bg_color { owned get; set; }
public WebKit.DOM.HTMLCollection cells { owned get; }
public string ch { owned get; set; }
public string ch_off { owned get; set; }
public long row_index { get; }
public long section_row_index { get; }
public string v_align { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_table_section_element_get_type ()")]
[GIR (name = "DOMHTMLTableSectionElement")]
public class HTMLTableSectionElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLTableSectionElement ();
public void delete_row (long index) throws GLib.Error;
public string get_align ();
public string get_ch ();
public string get_ch_off ();
public WebKit.DOM.HTMLCollection get_rows ();
public string get_v_align ();
public unowned WebKit.DOM.HTMLElement insert_row (long index) throws GLib.Error;
public void set_align (string value);
public void set_ch (string value);
public void set_ch_off (string value);
public void set_v_align (string value);
public string align { owned get; set; }
public string ch { owned get; set; }
public string ch_off { owned get; set; }
public WebKit.DOM.HTMLCollection rows { owned get; }
public string v_align { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_text_area_element_get_type ()")]
[GIR (name = "DOMHTMLTextAreaElement")]
public class HTMLTextAreaElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLTextAreaElement ();
public string get_area_type ();
public bool get_autofocus ();
public long get_cols ();
public string get_default_value ();
public bool get_disabled ();
public unowned WebKit.DOM.HTMLFormElement get_form ();
public string get_name ();
public bool get_read_only ();
public long get_rows ();
public long get_selection_end ();
public long get_selection_start ();
public string get_value ();
public bool get_will_validate ();
public bool is_edited ();
public void select ();
public void set_autofocus (bool value);
public void set_cols (long value);
public void set_default_value (string value);
public void set_disabled (bool value);
public void set_name (string value);
public void set_read_only (bool value);
public void set_rows (long value);
public void set_selection_end (long value);
public void set_selection_range (long start, long end, string direction);
public void set_selection_start (long value);
public void set_value (string value);
public bool autofocus { get; set; }
public long cols { get; set; }
public string default_value { owned get; set; }
public bool disabled { get; set; }
public WebKit.DOM.HTMLFormElement form { get; }
public string name { owned get; set; }
public bool read_only { get; set; }
public long rows { get; set; }
public long selection_end { get; set; }
public long selection_start { get; set; }
[NoAccessorMethod]
public string type { owned get; }
public string value { owned get; set; }
public bool will_validate { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_html_title_element_get_type ()")]
[GIR (name = "DOMHTMLTitleElement")]
public class HTMLTitleElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLTitleElement ();
public string get_text ();
public void set_text (string value);
public string text { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", lower_case_cprefix = "webkit_dom_html_u_list_element_", type_id = "webkit_dom_html_u_list_element_get_type ()")]
[GIR (name = "DOMHTMLUListElement")]
public class HTMLUListElement : WebKit.DOM.HTMLElement, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected HTMLUListElement ();
public bool get_compact ();
public string get_type_attr ();
public void set_compact (bool value);
public void set_type_attr (string value);
public bool compact { get; set; }
[NoAccessorMethod]
public string type { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_keyboard_event_get_type ()")]
[GIR (name = "DOMKeyboardEvent")]
public class KeyboardEvent : WebKit.DOM.UIEvent {
[CCode (has_construct_function = false)]
protected KeyboardEvent ();
public bool get_alt_graph_key ();
public bool get_alt_key ();
public bool get_ctrl_key ();
public string get_key_identifier ();
public ulong get_key_location ();
public bool get_meta_key ();
public bool get_modifier_state (string keyIdentifierArg);
public bool get_shift_key ();
public void init_keyboard_event (string type, bool canBubble, bool cancelable, WebKit.DOM.DOMWindow view, string keyIdentifier, ulong location, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey);
public bool alt_graph_key { get; }
public bool alt_key { get; }
public bool ctrl_key { get; }
public string key_identifier { owned get; }
public ulong key_location { get; }
public bool meta_key { get; }
public bool shift_key { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_media_list_get_type ()")]
[GIR (name = "DOMMediaList")]
public class MediaList : WebKit.DOM.Object {
[CCode (has_construct_function = false)]
protected MediaList ();
public void append_medium (string newMedium) throws GLib.Error;
public void delete_medium (string oldMedium) throws GLib.Error;
public ulong get_length ();
public string get_media_text ();
public string item (ulong index);
public void set_media_text (string value) throws GLib.Error;
public ulong length { get; }
[NoAccessorMethod]
public string media_text { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_mouse_event_get_type ()")]
[GIR (name = "DOMMouseEvent")]
public class MouseEvent : WebKit.DOM.UIEvent {
[CCode (has_construct_function = false)]
protected MouseEvent ();
public bool get_alt_key ();
public ushort get_button ();
public long get_client_x ();
public long get_client_y ();
public bool get_ctrl_key ();
public unowned WebKit.DOM.Node get_from_element ();
public bool get_meta_key ();
public long get_offset_x ();
public long get_offset_y ();
public WebKit.DOM.EventTarget get_related_target ();
public long get_screen_x ();
public long get_screen_y ();
public bool get_shift_key ();
public unowned WebKit.DOM.Node get_to_element ();
public long get_x ();
public long get_y ();
public void init_mouse_event (string type, bool canBubble, bool cancelable, WebKit.DOM.DOMWindow view, long detail, long screenX, long screenY, long clientX, long clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, ushort button, WebKit.DOM.EventTarget relatedTarget);
public bool alt_key { get; }
public uint button { get; }
public long client_x { get; }
public long client_y { get; }
public bool ctrl_key { get; }
public WebKit.DOM.Node from_element { get; }
public bool meta_key { get; }
public long offset_x { get; }
public long offset_y { get; }
public WebKit.DOM.EventTarget related_target { owned get; }
public long screen_x { get; }
public long screen_y { get; }
public bool shift_key { get; }
public WebKit.DOM.Node to_element { get; }
public long x { get; }
public long y { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_named_node_map_get_type ()")]
[GIR (name = "DOMNamedNodeMap")]
public class NamedNodeMap : WebKit.DOM.Object {
[CCode (has_construct_function = false)]
protected NamedNodeMap ();
public ulong get_length ();
public unowned WebKit.DOM.Node get_named_item (string name);
public unowned WebKit.DOM.Node get_named_item_ns (string namespaceURI, string localName);
public unowned WebKit.DOM.Node item (ulong index);
public unowned WebKit.DOM.Node remove_named_item (string name) throws GLib.Error;
public unowned WebKit.DOM.Node remove_named_item_ns (string namespaceURI, string localName) throws GLib.Error;
public unowned WebKit.DOM.Node set_named_item (WebKit.DOM.Node node) throws GLib.Error;
public unowned WebKit.DOM.Node set_named_item_ns (WebKit.DOM.Node node) throws GLib.Error;
public ulong length { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_node_get_type ()")]
[GIR (name = "DOMNode")]
public class Node : WebKit.DOM.Object, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected Node ();
public unowned WebKit.DOM.Node append_child (WebKit.DOM.Node newChild) throws GLib.Error;
[Version (deprecated = true, deprecated_since = "2.14")]
public unowned WebKit.DOM.Node clone_node (bool deep) throws GLib.Error;
[Version (since = "2.14")]
public unowned WebKit.DOM.Node clone_node_with_error (bool deep) throws GLib.Error;
public ushort compare_document_position (WebKit.DOM.Node other);
public bool contains (WebKit.DOM.Node other);
public string get_base_uri ();
public WebKit.DOM.NodeList get_child_nodes ();
public unowned WebKit.DOM.Node get_first_child ();
public unowned WebKit.DOM.Node get_last_child ();
[Version (deprecated = true, deprecated_since = "2.14")]
public string get_local_name ();
[Version (deprecated = true, deprecated_since = "2.14")]
public string get_namespace_uri ();
public unowned WebKit.DOM.Node get_next_sibling ();
public string get_node_name ();
public ushort get_node_type ();
public string get_node_value ();
public unowned WebKit.DOM.Document get_owner_document ();
public unowned WebKit.DOM.Element get_parent_element ();
public unowned WebKit.DOM.Node get_parent_node ();
[Version (deprecated = true, deprecated_since = "2.14")]
public string get_prefix ();
public unowned WebKit.DOM.Node get_previous_sibling ();
public string get_text_content ();
public bool has_child_nodes ();
public unowned WebKit.DOM.Node insert_before (WebKit.DOM.Node newChild, WebKit.DOM.Node? refChild) throws GLib.Error;
public bool is_default_namespace (string namespaceURI);
public bool is_equal_node (WebKit.DOM.Node other);
public bool is_same_node (WebKit.DOM.Node other);
public bool is_supported (string feature, string version);
public string lookup_namespace_uri (string prefix);
public string lookup_prefix (string namespaceURI);
public void normalize ();
public unowned WebKit.DOM.Node remove_child (WebKit.DOM.Node oldChild) throws GLib.Error;
public unowned WebKit.DOM.Node replace_child (WebKit.DOM.Node newChild, WebKit.DOM.Node oldChild) throws GLib.Error;
public void set_node_value (string value) throws GLib.Error;
[Version (deprecated = true, deprecated_since = "2.14")]
public void set_prefix (string value) throws GLib.Error;
public void set_text_content (string value) throws GLib.Error;
public string base_uri { owned get; }
public WebKit.DOM.NodeList child_nodes { owned get; }
public WebKit.DOM.Node first_child { get; }
public WebKit.DOM.Node last_child { get; }
public WebKit.DOM.Node next_sibling { get; }
public string node_name { owned get; }
public uint node_type { get; }
[NoAccessorMethod]
public string node_value { owned get; set; }
public WebKit.DOM.Document owner_document { get; }
public WebKit.DOM.Element parent_element { get; }
public WebKit.DOM.Node parent_node { get; }
public WebKit.DOM.Node previous_sibling { get; }
[NoAccessorMethod]
public string text_content { owned get; set; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_node_iterator_get_type ()")]
[GIR (name = "DOMNodeIterator")]
public class NodeIterator : WebKit.DOM.Object {
[CCode (has_construct_function = false)]
protected NodeIterator ();
public void detach ();
[Version (deprecated = true, deprecated_since = "2.12")]
public bool get_expand_entity_references ();
public WebKit.DOM.NodeFilter get_filter ();
public bool get_pointer_before_reference_node ();
public unowned WebKit.DOM.Node get_reference_node ();
public unowned WebKit.DOM.Node get_root ();
public ulong get_what_to_show ();
public unowned WebKit.DOM.Node next_node () throws GLib.Error;
public unowned WebKit.DOM.Node previous_node () throws GLib.Error;
public WebKit.DOM.NodeFilter filter { owned get; }
public bool pointer_before_reference_node { get; }
public WebKit.DOM.Node reference_node { get; }
public WebKit.DOM.Node root { get; }
public ulong what_to_show { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_node_list_get_type ()")]
[GIR (name = "DOMNodeList")]
public class NodeList : WebKit.DOM.Object {
[CCode (has_construct_function = false)]
protected NodeList ();
public ulong get_length ();
public unowned WebKit.DOM.Node item (ulong index);
public ulong length { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_object_get_type ()")]
[GIR (name = "DOMObject")]
public class Object : GLib.Object {
public void* coreObject;
[CCode (has_construct_function = false)]
protected Object ();
[NoAccessorMethod]
public void* core_object { construct; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_processing_instruction_get_type ()")]
[GIR (name = "DOMProcessingInstruction")]
public class ProcessingInstruction : WebKit.DOM.CharacterData, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected ProcessingInstruction ();
public WebKit.DOM.StyleSheet get_sheet ();
public string get_target ();
public WebKit.DOM.StyleSheet sheet { owned get; }
public string target { owned get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_range_get_type ()")]
[GIR (name = "DOMRange")]
public class Range : WebKit.DOM.Object {
[CCode (has_construct_function = false)]
protected Range ();
public unowned WebKit.DOM.DocumentFragment clone_contents () throws GLib.Error;
public WebKit.DOM.Range clone_range () throws GLib.Error;
public void collapse (bool toStart) throws GLib.Error;
public short compare_boundary_points (ushort how, WebKit.DOM.Range sourceRange) throws GLib.Error;
public short compare_node (WebKit.DOM.Node refNode) throws GLib.Error;
public short compare_point (WebKit.DOM.Node refNode, long offset) throws GLib.Error;
public unowned WebKit.DOM.DocumentFragment create_contextual_fragment (string html) throws GLib.Error;
public void delete_contents () throws GLib.Error;
public void detach () throws GLib.Error;
[Version (since = "2.16")]
public void expand (string unit) throws GLib.Error;
public unowned WebKit.DOM.DocumentFragment extract_contents () throws GLib.Error;
public bool get_collapsed () throws GLib.Error;
public unowned WebKit.DOM.Node get_common_ancestor_container () throws GLib.Error;
public unowned WebKit.DOM.Node get_end_container () throws GLib.Error;
public long get_end_offset () throws GLib.Error;
public unowned WebKit.DOM.Node get_start_container () throws GLib.Error;
public long get_start_offset () throws GLib.Error;
public string get_text ();
public void insert_node (WebKit.DOM.Node newNode) throws GLib.Error;
public bool intersects_node (WebKit.DOM.Node refNode) throws GLib.Error;
public bool is_point_in_range (WebKit.DOM.Node refNode, long offset) throws GLib.Error;
public void select_node (WebKit.DOM.Node refNode) throws GLib.Error;
public void select_node_contents (WebKit.DOM.Node refNode) throws GLib.Error;
public void set_end (WebKit.DOM.Node refNode, long offset) throws GLib.Error;
public void set_end_after (WebKit.DOM.Node refNode) throws GLib.Error;
public void set_end_before (WebKit.DOM.Node refNode) throws GLib.Error;
public void set_start (WebKit.DOM.Node refNode, long offset) throws GLib.Error;
public void set_start_after (WebKit.DOM.Node refNode) throws GLib.Error;
public void set_start_before (WebKit.DOM.Node refNode) throws GLib.Error;
public void surround_contents (WebKit.DOM.Node newParent) throws GLib.Error;
public string to_string () throws GLib.Error;
[NoAccessorMethod]
public bool collapsed { get; }
[NoAccessorMethod]
public WebKit.DOM.Node common_ancestor_container { owned get; }
[NoAccessorMethod]
public WebKit.DOM.Node end_container { owned get; }
[NoAccessorMethod]
public long end_offset { get; }
[NoAccessorMethod]
public WebKit.DOM.Node start_container { owned get; }
[NoAccessorMethod]
public long start_offset { get; }
public string text { owned get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_style_sheet_get_type ()")]
[GIR (name = "DOMStyleSheet")]
public class StyleSheet : WebKit.DOM.Object {
[CCode (has_construct_function = false)]
protected StyleSheet ();
public string get_content_type ();
public bool get_disabled ();
public string get_href ();
public WebKit.DOM.MediaList get_media ();
public unowned WebKit.DOM.Node get_owner_node ();
public WebKit.DOM.StyleSheet get_parent_style_sheet ();
public string get_title ();
public void set_disabled (bool value);
public bool disabled { get; set; }
public string href { owned get; }
public WebKit.DOM.MediaList media { owned get; }
public WebKit.DOM.Node owner_node { get; }
public WebKit.DOM.StyleSheet parent_style_sheet { owned get; }
public string title { owned get; }
[NoAccessorMethod]
public string type { owned get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_style_sheet_list_get_type ()")]
[GIR (name = "DOMStyleSheetList")]
public class StyleSheetList : WebKit.DOM.Object {
[CCode (has_construct_function = false)]
protected StyleSheetList ();
public ulong get_length ();
public WebKit.DOM.StyleSheet item (ulong index);
public ulong length { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_text_get_type ()")]
[GIR (name = "DOMText")]
public class Text : WebKit.DOM.CharacterData, WebKit.DOM.EventTarget {
[CCode (has_construct_function = false)]
protected Text ();
public string get_whole_text ();
[Version (deprecated = true, deprecated_since = "2.14")]
public unowned WebKit.DOM.Text replace_whole_text (string content) throws GLib.Error;
public unowned WebKit.DOM.Text split_text (ulong offset) throws GLib.Error;
public string whole_text { owned get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_tree_walker_get_type ()")]
[GIR (name = "DOMTreeWalker")]
public class TreeWalker : WebKit.DOM.Object {
[CCode (has_construct_function = false)]
protected TreeWalker ();
public unowned WebKit.DOM.Node first_child ();
public unowned WebKit.DOM.Node get_current_node ();
[Version (deprecated = true, deprecated_since = "2.12")]
public bool get_expand_entity_references ();
public WebKit.DOM.NodeFilter get_filter ();
public unowned WebKit.DOM.Node get_root ();
public ulong get_what_to_show ();
public unowned WebKit.DOM.Node last_child ();
public unowned WebKit.DOM.Node next_node ();
public unowned WebKit.DOM.Node next_sibling ();
public unowned WebKit.DOM.Node parent_node ();
public unowned WebKit.DOM.Node previous_node ();
public unowned WebKit.DOM.Node previous_sibling ();
public void set_current_node (WebKit.DOM.Node value) throws GLib.Error;
public WebKit.DOM.Node current_node { get; }
public WebKit.DOM.NodeFilter filter { owned get; }
public WebKit.DOM.Node root { get; }
public ulong what_to_show { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_ui_event_get_type ()")]
[GIR (name = "DOMUIEvent")]
public class UIEvent : WebKit.DOM.Event {
[CCode (has_construct_function = false)]
protected UIEvent ();
public long get_char_code ();
public long get_detail ();
public long get_key_code ();
public long get_layer_x ();
public long get_layer_y ();
public long get_page_x ();
public long get_page_y ();
public WebKit.DOM.DOMWindow get_view ();
public void init_ui_event (string type, bool canBubble, bool cancelable, WebKit.DOM.DOMWindow view, long detail);
public long char_code { get; }
public long detail { get; }
public long key_code { get; }
public long layer_x { get; }
public long layer_y { get; }
public long page_x { get; }
public long page_y { get; }
public WebKit.DOM.DOMWindow view { owned get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_wheel_event_get_type ()")]
[GIR (name = "DOMWheelEvent")]
public class WheelEvent : WebKit.DOM.MouseEvent {
[CCode (has_construct_function = false)]
protected WheelEvent ();
public long get_wheel_delta ();
public long get_wheel_delta_x ();
public long get_wheel_delta_y ();
public void init_wheel_event (long wheelDeltaX, long wheelDeltaY, WebKit.DOM.DOMWindow view, long screenX, long screenY, long clientX, long clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey);
public long wheel_delta { get; }
public long wheel_delta_x { get; }
public long wheel_delta_y { get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_xpath_expression_get_type ()")]
[GIR (name = "DOMXPathExpression")]
public class XPathExpression : WebKit.DOM.Object {
[CCode (has_construct_function = false)]
protected XPathExpression ();
public WebKit.DOM.XPathResult evaluate (WebKit.DOM.Node contextNode, ushort type, WebKit.DOM.XPathResult inResult) throws GLib.Error;
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_xpath_result_get_type ()")]
[GIR (name = "DOMXPathResult")]
public class XPathResult : WebKit.DOM.Object {
[CCode (has_construct_function = false)]
protected XPathResult ();
public bool get_boolean_value () throws GLib.Error;
public bool get_invalid_iterator_state ();
public double get_number_value () throws GLib.Error;
public ushort get_result_type ();
public unowned WebKit.DOM.Node get_single_node_value () throws GLib.Error;
public ulong get_snapshot_length () throws GLib.Error;
public string get_string_value () throws GLib.Error;
public unowned WebKit.DOM.Node iterate_next () throws GLib.Error;
public unowned WebKit.DOM.Node snapshot_item (ulong index) throws GLib.Error;
[NoAccessorMethod]
public bool boolean_value { get; }
public bool invalid_iterator_state { get; }
[NoAccessorMethod]
public double number_value { get; }
public uint result_type { get; }
[NoAccessorMethod]
public WebKit.DOM.Node single_node_value { owned get; }
[NoAccessorMethod]
public ulong snapshot_length { get; }
[NoAccessorMethod]
public string string_value { owned get; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_event_target_get_type ()")]
[GIR (name = "DOMEventTarget")]
public interface EventTarget : GLib.Object {
[CCode (vfunc_name = "add_event_listener")]
public abstract bool add_event_listener_with_closure (string event_name, [CCode (type = "GClosure*")] owned WebKit.DOM.EventTargetFunc handler, bool use_capture);
public abstract bool dispatch_event (WebKit.DOM.Event event) throws GLib.Error;
[CCode (vfunc_name = "remove_event_listener")]
public abstract bool remove_event_listener_with_closure (string event_name, [CCode (type = "GClosure*")] owned WebKit.DOM.EventTargetFunc handler, bool use_capture);
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_node_filter_get_type ()")]
[GIR (name = "DOMNodeFilter")]
public interface NodeFilter : GLib.Object {
public abstract short accept_node (WebKit.DOM.Node node);
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_dom_xpath_ns_resolver_get_type ()")]
[GIR (name = "DOMXPathNSResolver")]
public interface XPathNSResolver : GLib.Object {
public abstract string lookup_namespace_uri (string prefix);
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h")]
public delegate void EventTargetFunc (WebKit.DOM.EventTarget target, WebKit.DOM.Event event);
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_CSS_RULE_CHARSET_RULE")]
public const int _CSS_RULE_CHARSET_RULE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_CSS_RULE_FONT_FACE_RULE")]
public const int _CSS_RULE_FONT_FACE_RULE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_CSS_RULE_IMPORT_RULE")]
public const int _CSS_RULE_IMPORT_RULE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_CSS_RULE_MEDIA_RULE")]
public const int _CSS_RULE_MEDIA_RULE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_CSS_RULE_PAGE_RULE")]
public const int _CSS_RULE_PAGE_RULE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_CSS_RULE_STYLE_RULE")]
public const int _CSS_RULE_STYLE_RULE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_CSS_RULE_UNKNOWN_RULE")]
public const int _CSS_RULE_UNKNOWN_RULE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_CSS_VALUE_CSS_CUSTOM")]
public const int _CSS_VALUE_CSS_CUSTOM;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_CSS_VALUE_CSS_INHERIT")]
public const int _CSS_VALUE_CSS_INHERIT;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_CSS_VALUE_CSS_PRIMITIVE_VALUE")]
public const int _CSS_VALUE_CSS_PRIMITIVE_VALUE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_CSS_VALUE_CSS_VALUE_LIST")]
public const int _CSS_VALUE_CSS_VALUE_LIST;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_ELEMENT_ALLOW_KEYBOARD_INPUT")]
public const int _ELEMENT_ALLOW_KEYBOARD_INPUT;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_AT_TARGET")]
public const int _EVENT_AT_TARGET;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_BLUR")]
public const int _EVENT_BLUR;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_BUBBLING_PHASE")]
public const int _EVENT_BUBBLING_PHASE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_CAPTURING_PHASE")]
public const int _EVENT_CAPTURING_PHASE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_CHANGE")]
public const int _EVENT_CHANGE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_CLICK")]
public const int _EVENT_CLICK;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_DBLCLICK")]
public const int _EVENT_DBLCLICK;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_DRAGDROP")]
public const int _EVENT_DRAGDROP;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_FOCUS")]
public const int _EVENT_FOCUS;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_KEYDOWN")]
public const int _EVENT_KEYDOWN;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_KEYPRESS")]
public const int _EVENT_KEYPRESS;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_KEYUP")]
public const int _EVENT_KEYUP;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_MOUSEDOWN")]
public const int _EVENT_MOUSEDOWN;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_MOUSEDRAG")]
public const int _EVENT_MOUSEDRAG;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_MOUSEMOVE")]
public const int _EVENT_MOUSEMOVE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_MOUSEOUT")]
public const int _EVENT_MOUSEOUT;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_MOUSEOVER")]
public const int _EVENT_MOUSEOVER;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_MOUSEUP")]
public const int _EVENT_MOUSEUP;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_NONE")]
public const int _EVENT_NONE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_EVENT_SELECT")]
public const int _EVENT_SELECT;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_KEYBOARD_EVENT_KEY_LOCATION_LEFT")]
public const int _KEYBOARD_EVENT_KEY_LOCATION_LEFT;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_KEYBOARD_EVENT_KEY_LOCATION_NUMPAD")]
public const int _KEYBOARD_EVENT_KEY_LOCATION_NUMPAD;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_KEYBOARD_EVENT_KEY_LOCATION_RIGHT")]
public const int _KEYBOARD_EVENT_KEY_LOCATION_RIGHT;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_KEYBOARD_EVENT_KEY_LOCATION_STANDARD")]
public const int _KEYBOARD_EVENT_KEY_LOCATION_STANDARD;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_ATTRIBUTE_NODE")]
public const int _NODE_ATTRIBUTE_NODE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_CDATA_SECTION_NODE")]
public const int _NODE_CDATA_SECTION_NODE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_COMMENT_NODE")]
public const int _NODE_COMMENT_NODE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_DOCUMENT_FRAGMENT_NODE")]
public const int _NODE_DOCUMENT_FRAGMENT_NODE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_DOCUMENT_NODE")]
public const int _NODE_DOCUMENT_NODE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_DOCUMENT_POSITION_CONTAINED_BY")]
public const int _NODE_DOCUMENT_POSITION_CONTAINED_BY;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_DOCUMENT_POSITION_CONTAINS")]
public const int _NODE_DOCUMENT_POSITION_CONTAINS;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_DOCUMENT_POSITION_DISCONNECTED")]
public const int _NODE_DOCUMENT_POSITION_DISCONNECTED;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_DOCUMENT_POSITION_FOLLOWING")]
public const int _NODE_DOCUMENT_POSITION_FOLLOWING;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC")]
public const int _NODE_DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_DOCUMENT_POSITION_PRECEDING")]
public const int _NODE_DOCUMENT_POSITION_PRECEDING;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_DOCUMENT_TYPE_NODE")]
public const int _NODE_DOCUMENT_TYPE_NODE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_ELEMENT_NODE")]
public const int _NODE_ELEMENT_NODE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_ENTITY_NODE")]
public const int _NODE_ENTITY_NODE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_ENTITY_REFERENCE_NODE")]
public const int _NODE_ENTITY_REFERENCE_NODE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_ACCEPT")]
[Version (since = "2.6")]
public const int _NODE_FILTER_ACCEPT;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_REJECT")]
[Version (since = "2.6")]
public const int _NODE_FILTER_REJECT;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_ALL")]
[Version (since = "2.6")]
public const int _NODE_FILTER_SHOW_ALL;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_ATTRIBUTE")]
[Version (since = "2.6")]
public const int _NODE_FILTER_SHOW_ATTRIBUTE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_CDATA_SECTION")]
[Version (since = "2.6")]
public const int _NODE_FILTER_SHOW_CDATA_SECTION;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_COMMENT")]
[Version (since = "2.6")]
public const int _NODE_FILTER_SHOW_COMMENT;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT")]
[Version (since = "2.6")]
public const int _NODE_FILTER_SHOW_DOCUMENT;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT_FRAGMENT")]
[Version (since = "2.6")]
public const int _NODE_FILTER_SHOW_DOCUMENT_FRAGMENT;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_DOCUMENT_TYPE")]
[Version (since = "2.6")]
public const int _NODE_FILTER_SHOW_DOCUMENT_TYPE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_ELEMENT")]
[Version (since = "2.6")]
public const int _NODE_FILTER_SHOW_ELEMENT;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_ENTITY")]
[Version (since = "2.6")]
public const int _NODE_FILTER_SHOW_ENTITY;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_ENTITY_REFERENCE")]
[Version (since = "2.6")]
public const int _NODE_FILTER_SHOW_ENTITY_REFERENCE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_NOTATION")]
[Version (since = "2.6")]
public const int _NODE_FILTER_SHOW_NOTATION;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_PROCESSING_INSTRUCTION")]
[Version (since = "2.6")]
public const int _NODE_FILTER_SHOW_PROCESSING_INSTRUCTION;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SHOW_TEXT")]
[Version (since = "2.6")]
public const int _NODE_FILTER_SHOW_TEXT;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_FILTER_SKIP")]
[Version (since = "2.6")]
public const int _NODE_FILTER_SKIP;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_PROCESSING_INSTRUCTION_NODE")]
public const int _NODE_PROCESSING_INSTRUCTION_NODE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_NODE_TEXT_NODE")]
public const int _NODE_TEXT_NODE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_RANGE_END_TO_END")]
public const int _RANGE_END_TO_END;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_RANGE_END_TO_START")]
public const int _RANGE_END_TO_START;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_RANGE_NODE_AFTER")]
public const int _RANGE_NODE_AFTER;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_RANGE_NODE_BEFORE")]
public const int _RANGE_NODE_BEFORE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_RANGE_NODE_BEFORE_AND_AFTER")]
public const int _RANGE_NODE_BEFORE_AND_AFTER;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_RANGE_NODE_INSIDE")]
public const int _RANGE_NODE_INSIDE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_RANGE_START_TO_END")]
public const int _RANGE_START_TO_END;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_RANGE_START_TO_START")]
public const int _RANGE_START_TO_START;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_XPATH_RESULT_ANY_TYPE")]
public const int _XPATH_RESULT_ANY_TYPE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_XPATH_RESULT_ANY_UNORDERED_NODE_TYPE")]
public const int _XPATH_RESULT_ANY_UNORDERED_NODE_TYPE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_XPATH_RESULT_BOOLEAN_TYPE")]
public const int _XPATH_RESULT_BOOLEAN_TYPE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_XPATH_RESULT_FIRST_ORDERED_NODE_TYPE")]
public const int _XPATH_RESULT_FIRST_ORDERED_NODE_TYPE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_XPATH_RESULT_NUMBER_TYPE")]
public const int _XPATH_RESULT_NUMBER_TYPE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_XPATH_RESULT_ORDERED_NODE_ITERATOR_TYPE")]
public const int _XPATH_RESULT_ORDERED_NODE_ITERATOR_TYPE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_XPATH_RESULT_ORDERED_NODE_SNAPSHOT_TYPE")]
public const int _XPATH_RESULT_ORDERED_NODE_SNAPSHOT_TYPE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_XPATH_RESULT_STRING_TYPE")]
public const int _XPATH_RESULT_STRING_TYPE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_XPATH_RESULT_UNORDERED_NODE_ITERATOR_TYPE")]
public const int _XPATH_RESULT_UNORDERED_NODE_ITERATOR_TYPE;
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cname = "WEBKIT_DOM_XPATH_RESULT_UNORDERED_NODE_SNAPSHOT_TYPE")]
public const int _XPATH_RESULT_UNORDERED_NODE_SNAPSHOT_TYPE;
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "webkit_console_message_get_type ()")]
[Compact]
public class ConsoleMessage {
[Version (since = "2.12")]
public WebKit.ConsoleMessage copy ();
[Version (since = "2.12")]
public void free ();
[Version (since = "2.12")]
public WebKit.ConsoleMessageLevel get_level ();
[Version (since = "2.12")]
public uint get_line ();
[Version (since = "2.12")]
public WebKit.ConsoleMessageSource get_source ();
[Version (since = "2.12")]
public unowned string get_source_id ();
[Version (since = "2.12")]
public unowned string get_text ();
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.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/webkit-web-extension.h", type_id = "webkit_context_menu_item_get_type ()")]
public class ContextMenuItem : GLib.InitiallyUnowned {
[CCode (has_construct_function = false)]
[Version (deprecated = true, deprecated_since = "2.18")]
public ContextMenuItem (Gtk.Action action);
[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 (deprecated = true, deprecated_since = "2.18")]
public unowned Gtk.Action get_action ();
[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/webkit-web-extension.h", type_id = "webkit_frame_get_type ()")]
public class Frame : GLib.Object {
[CCode (has_construct_function = false)]
protected Frame ();
[Version (since = "2.2")]
public unowned JS.GlobalContext get_javascript_context_for_script_world (WebKit.ScriptWorld world);
[Version (since = "2.2")]
public unowned JS.GlobalContext get_javascript_global_context ();
[Version (since = "2.2")]
public unowned string get_uri ();
[Version (since = "2.2")]
public bool is_main_frame ();
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.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/webkit-web-extension.h", type_id = "webkit_script_world_get_type ()")]
public class ScriptWorld : GLib.Object {
[CCode (has_construct_function = false)]
[Version (since = "2.2")]
public ScriptWorld ();
[Version (since = "2.2")]
public static unowned WebKit.ScriptWorld get_default ();
[Version (since = "2.2")]
public signal void window_object_cleared (WebKit.WebPage page, WebKit.Frame frame);
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.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/webkit-web-extension.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/webkit-web-extension.h", type_id = "webkit_web_editor_get_type ()")]
public class WebEditor : GLib.Object {
[CCode (has_construct_function = false)]
protected WebEditor ();
[Version (since = "2.10")]
public unowned WebKit.WebPage get_page ();
[Version (since = "2.10")]
public signal void selection_changed ();
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_web_extension_get_type ()")]
public class WebExtension : GLib.Object {
[CCode (has_construct_function = false)]
protected WebExtension ();
public unowned WebKit.WebPage get_page (uint64 page_id);
public signal void page_created (WebKit.WebPage web_page);
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_web_hit_test_result_get_type ()")]
public class WebHitTestResult : WebKit.HitTestResult {
[CCode (has_construct_function = false)]
protected WebHitTestResult ();
[Version (since = "2.8")]
public unowned WebKit.DOM.Node get_node ();
public WebKit.DOM.Node node { get; construct; }
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", type_id = "webkit_web_page_get_type ()")]
public class WebPage : GLib.Object {
[CCode (has_construct_function = false)]
protected WebPage ();
public unowned WebKit.DOM.Document get_dom_document ();
[Version (since = "2.10")]
public unowned WebKit.WebEditor get_editor ();
public uint64 get_id ();
[Version (since = "2.2")]
public unowned WebKit.Frame get_main_frame ();
public unowned string get_uri ();
public string uri { get; }
[Version (since = "2.12")]
public signal void console_message_sent (WebKit.ConsoleMessage console_message);
[Version (since = "2.8")]
public signal bool context_menu (WebKit.ContextMenu context_menu, WebKit.WebHitTestResult hit_test_result);
public signal void document_loaded ();
[Version (since = "2.16")]
public signal void form_controls_associated (GLib.GenericArray<WebKit.DOM.Element> elements);
public signal bool send_request (WebKit.URIRequest request, WebKit.URIResponse redirected_response);
[Version (since = "2.20")]
public signal void will_submit_form (WebKit.DOM.Element form, WebKit.FormSubmissionStep step, WebKit.Frame source_frame, WebKit.Frame target_frame, GLib.GenericArray<string> text_field_names, GLib.GenericArray<string> text_field_values);
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cprefix = "WEBKIT_CONSOLE_MESSAGE_LEVEL_", type_id = "webkit_console_message_level_get_type ()")]
[Version (since = "2.12")]
public enum ConsoleMessageLevel {
INFO,
LOG,
WARNING,
ERROR,
DEBUG
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cprefix = "WEBKIT_CONSOLE_MESSAGE_SOURCE_", type_id = "webkit_console_message_source_get_type ()")]
[Version (since = "2.12")]
public enum ConsoleMessageSource {
JAVASCRIPT,
NETWORK,
CONSOLE_API,
SECURITY,
OTHER
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cprefix = "WEBKIT_CONTEXT_MENU_ACTION_", has_type_id = false)]
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,
CUSTOM
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cprefix = "WEBKIT_FORM_SUBMISSION_WILL_", type_id = "webkit_form_submission_step_get_type ()")]
[Version (since = "2.20")]
public enum FormSubmissionStep {
SEND_DOM_EVENT,
COMPLETE
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cprefix = "WEBKIT_HIT_TEST_RESULT_CONTEXT_", has_type_id = false)]
[Flags]
public enum HitTestResultContext {
DOCUMENT,
LINK,
IMAGE,
MEDIA,
EDITABLE,
SCROLLBAR,
SELECTION
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", has_target = false)]
public delegate void WebExtensionInitializeFunction (WebKit.WebExtension extension);
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", has_target = false)]
[Version (since = "2.4")]
public delegate void WebExtensionInitializeWithUserDataFunction (WebKit.WebExtension extension, GLib.Variant user_data);
}
|