1 module webkit2.c.types; 2 3 public import cairo.c.types; 4 public import gdk.c.types; 5 public import gio.c.types; 6 public import glib.c.types; 7 public import gobject.c.types; 8 public import gtk.c.types; 9 public import javascriptcore.c.types; 10 public import soup.c.types; 11 12 13 /** 14 * Enum values representing the authentication scheme. 15 * 16 * Since: 2.2 17 */ 18 public enum WebKitAuthenticationScheme 19 { 20 /** 21 * The default authentication scheme of WebKit. 22 */ 23 DEFAULT = 1, 24 /** 25 * Basic authentication scheme as defined in RFC 2617. 26 */ 27 HTTP_BASIC = 2, 28 /** 29 * Digest authentication scheme as defined in RFC 2617. 30 */ 31 HTTP_DIGEST = 3, 32 /** 33 * HTML Form authentication. 34 */ 35 HTML_FORM = 4, 36 /** 37 * NTLM Microsoft proprietary authentication scheme. 38 */ 39 NTLM = 5, 40 /** 41 * Negotiate (or SPNEGO) authentication scheme as defined in RFC 4559. 42 */ 43 NEGOTIATE = 6, 44 /** 45 * Client Certificate Authentication (see RFC 2246). 46 */ 47 CLIENT_CERTIFICATE_REQUESTED = 7, 48 /** 49 * Server Trust Authentication. 50 */ 51 SERVER_TRUST_EVALUATION_REQUESTED = 8, 52 /** 53 * Authentication scheme unknown. 54 */ 55 UNKNOWN = 100, 56 } 57 alias WebKitAuthenticationScheme AuthenticationScheme; 58 59 /** 60 * Enum values used for determining the automation browsing context presentation. 61 * 62 * Since: 2.28 63 */ 64 public enum WebKitAutomationBrowsingContextPresentation 65 { 66 /** 67 * a window 68 */ 69 WINDOW = 0, 70 /** 71 * a tab 72 */ 73 TAB = 1, 74 } 75 alias WebKitAutomationBrowsingContextPresentation AutomationBrowsingContextPresentation; 76 77 /** 78 * Enum values used to specify autoplay policies. 79 * 80 * Since: 2.30 81 */ 82 public enum WebKitAutoplayPolicy 83 { 84 /** 85 * Do not restrict autoplay. 86 */ 87 ALLOW = 0, 88 /** 89 * Allow videos to autoplay if 90 * they have no audio track, or if their audio track is muted. 91 */ 92 ALLOW_WITHOUT_SOUND = 1, 93 /** 94 * Never allow autoplay. 95 */ 96 DENY = 2, 97 } 98 alias WebKitAutoplayPolicy AutoplayPolicy; 99 100 /** 101 * Enum values used for determining the #WebKitWebContext cache model. 102 */ 103 public enum WebKitCacheModel 104 { 105 /** 106 * Disable the cache completely, which 107 * substantially reduces memory usage. Useful for applications that only 108 * access a single local file, with no navigation to other pages. No remote 109 * resources will be cached. 110 */ 111 DOCUMENT_VIEWER = 0, 112 /** 113 * Improve document load speed substantially 114 * by caching a very large number of resources and previously viewed content. 115 */ 116 WEB_BROWSER = 1, 117 /** 118 * A cache model optimized for viewing 119 * a series of local files -- for example, a documentation viewer or a website 120 * designer. WebKit will cache a moderate number of resources. 121 */ 122 DOCUMENT_BROWSER = 2, 123 } 124 alias WebKitCacheModel CacheModel; 125 126 /** 127 * Enum values used to denote the stock actions for 128 * #WebKitContextMenuItem<!-- -->s 129 */ 130 public enum WebKitContextMenuAction 131 { 132 /** 133 * No action, used by separator menu items. 134 */ 135 NO_ACTION = 0, 136 /** 137 * Open current link. 138 */ 139 OPEN_LINK = 1, 140 /** 141 * Open current link in a new window. 142 */ 143 OPEN_LINK_IN_NEW_WINDOW = 2, 144 /** 145 * Download link destination. 146 */ 147 DOWNLOAD_LINK_TO_DISK = 3, 148 /** 149 * Copy link location to the clipboard. 150 */ 151 COPY_LINK_TO_CLIPBOARD = 4, 152 /** 153 * Open current image in a new window. 154 */ 155 OPEN_IMAGE_IN_NEW_WINDOW = 5, 156 /** 157 * Download current image. 158 */ 159 DOWNLOAD_IMAGE_TO_DISK = 6, 160 /** 161 * Copy current image to the clipboard. 162 */ 163 COPY_IMAGE_TO_CLIPBOARD = 7, 164 /** 165 * Copy current image location to the clipboard. 166 */ 167 COPY_IMAGE_URL_TO_CLIPBOARD = 8, 168 /** 169 * Open current frame in a new window. 170 */ 171 OPEN_FRAME_IN_NEW_WINDOW = 9, 172 /** 173 * Load the previous history item. 174 */ 175 GO_BACK = 10, 176 /** 177 * Load the next history item. 178 */ 179 GO_FORWARD = 11, 180 /** 181 * Stop any ongoing loading operation. 182 */ 183 STOP = 12, 184 /** 185 * Reload the contents of current view. 186 */ 187 RELOAD = 13, 188 /** 189 * Copy current selection the clipboard. 190 */ 191 COPY = 14, 192 /** 193 * Cut current selection to the clipboard. 194 */ 195 CUT = 15, 196 /** 197 * Paste clipboard contents. 198 */ 199 PASTE = 16, 200 /** 201 * Delete current selection. 202 */ 203 DELETE = 17, 204 /** 205 * Select all text. 206 */ 207 SELECT_ALL = 18, 208 /** 209 * Input methods menu. 210 */ 211 INPUT_METHODS = 19, 212 /** 213 * Unicode menu. 214 */ 215 UNICODE = 20, 216 /** 217 * A proposed replacement for a misspelled word. 218 */ 219 SPELLING_GUESS = 21, 220 /** 221 * An indicator that spellchecking found no proposed replacements. 222 */ 223 NO_GUESSES_FOUND = 22, 224 /** 225 * Causes the spellchecker to ignore the word for this session. 226 */ 227 IGNORE_SPELLING = 23, 228 /** 229 * Causes the spellchecker to add the word to the dictionary. 230 */ 231 LEARN_SPELLING = 24, 232 /** 233 * Ignore grammar. 234 */ 235 IGNORE_GRAMMAR = 25, 236 /** 237 * Font options menu. 238 */ 239 FONT_MENU = 26, 240 /** 241 * Bold. 242 */ 243 BOLD = 27, 244 /** 245 * Italic. 246 */ 247 ITALIC = 28, 248 /** 249 * Underline. 250 */ 251 UNDERLINE = 29, 252 /** 253 * Outline. 254 */ 255 OUTLINE = 30, 256 /** 257 * Open current element in the inspector. 258 */ 259 INSPECT_ELEMENT = 31, 260 /** 261 * Open current video element in a new window. 262 */ 263 OPEN_VIDEO_IN_NEW_WINDOW = 32, 264 /** 265 * Open current audio element in a new window. 266 */ 267 OPEN_AUDIO_IN_NEW_WINDOW = 33, 268 /** 269 * Copy video link location in to the clipboard. 270 */ 271 COPY_VIDEO_LINK_TO_CLIPBOARD = 34, 272 /** 273 * Copy audio link location in to the clipboard. 274 */ 275 COPY_AUDIO_LINK_TO_CLIPBOARD = 35, 276 /** 277 * Enable or disable media controls. 278 */ 279 TOGGLE_MEDIA_CONTROLS = 36, 280 /** 281 * Enable or disable media loop. 282 */ 283 TOGGLE_MEDIA_LOOP = 37, 284 /** 285 * Show current video element in fullscreen mode. 286 */ 287 ENTER_VIDEO_FULLSCREEN = 38, 288 /** 289 * Play current media element. 290 */ 291 MEDIA_PLAY = 39, 292 /** 293 * Pause current media element. 294 */ 295 MEDIA_PAUSE = 40, 296 /** 297 * Mute current media element. 298 */ 299 MEDIA_MUTE = 41, 300 /** 301 * Download video to disk. Since 2.2 302 */ 303 DOWNLOAD_VIDEO_TO_DISK = 42, 304 /** 305 * Download audio to disk. Since 2.2 306 */ 307 DOWNLOAD_AUDIO_TO_DISK = 43, 308 /** 309 * Insert an emoji. Since 2.26 310 */ 311 INSERT_EMOJI = 44, 312 /** 313 * Paste clipboard contents as plain text. Since 2.30 314 */ 315 PASTE_AS_PLAIN_TEXT = 45, 316 /** 317 * Custom action defined by applications. 318 */ 319 CUSTOM = 10000, 320 } 321 alias WebKitContextMenuAction ContextMenuAction; 322 323 /** 324 * Enum values used to denote the cookie acceptance policies. 325 */ 326 public enum WebKitCookieAcceptPolicy 327 { 328 /** 329 * Accept all cookies unconditionally. 330 */ 331 ALWAYS = 0, 332 /** 333 * Reject all cookies unconditionally. 334 */ 335 NEVER = 1, 336 /** 337 * Accept only cookies set by the main document loaded. 338 */ 339 NO_THIRD_PARTY = 2, 340 } 341 alias WebKitCookieAcceptPolicy CookieAcceptPolicy; 342 343 /** 344 * Enum values used to denote the cookie persistent storage types. 345 */ 346 public enum WebKitCookiePersistentStorage 347 { 348 /** 349 * Cookies are stored in a text 350 * file in the Mozilla "cookies.txt" format. 351 */ 352 TEXT = 0, 353 /** 354 * Cookies are stored in a SQLite 355 * file in the current Mozilla format. 356 */ 357 SQLITE = 1, 358 } 359 alias WebKitCookiePersistentStorage CookiePersistentStorage; 360 361 /** 362 * Enum values representing the duration for which a credential persists. 363 * 364 * Since: 2.2 365 */ 366 public enum WebKitCredentialPersistence 367 { 368 /** 369 * Credential does not persist 370 */ 371 NONE = 0, 372 /** 373 * Credential persists for session only 374 */ 375 FOR_SESSION = 1, 376 /** 377 * Credential persists permanently 378 */ 379 PERMANENT = 2, 380 } 381 alias WebKitCredentialPersistence CredentialPersistence; 382 383 /** 384 * Enum values used to denote the various download errors. 385 */ 386 public enum WebKitDownloadError 387 { 388 /** 389 * Download failure due to network error 390 */ 391 NETWORK = 499, 392 /** 393 * Download was cancelled by user 394 */ 395 CANCELLED_BY_USER = 400, 396 /** 397 * Download failure due to destination error 398 */ 399 DESTINATION = 401, 400 } 401 alias WebKitDownloadError DownloadError; 402 403 /** 404 * Enum values with flags representing typing attributes. 405 * 406 * Since: 2.10 407 */ 408 public enum WebKitEditorTypingAttributes 409 { 410 /** 411 * No typing attributes. 412 */ 413 NONE = 2, 414 /** 415 * Bold typing attribute. 416 */ 417 BOLD = 4, 418 /** 419 * Italic typing attribute. 420 */ 421 ITALIC = 8, 422 /** 423 * Underline typing attribute. 424 */ 425 UNDERLINE = 16, 426 /** 427 * Strikethrough typing attribute. 428 */ 429 STRIKETHROUGH = 32, 430 } 431 alias WebKitEditorTypingAttributes EditorTypingAttributes; 432 433 /** 434 * Enum values used to denote the various errors related to the #WebKitFaviconDatabase. 435 */ 436 public enum WebKitFaviconDatabaseError 437 { 438 /** 439 * The #WebKitFaviconDatabase has not been initialized yet 440 */ 441 NOT_INITIALIZED = 0, 442 /** 443 * There is not an icon available for the requested URL 444 */ 445 FAVICON_NOT_FOUND = 1, 446 /** 447 * There might be an icon for the requested URL, but its data is unknown at the moment 448 */ 449 FAVICON_UNKNOWN = 2, 450 } 451 alias WebKitFaviconDatabaseError FaviconDatabaseError; 452 453 /** 454 * Enum values used to specify search options. 455 */ 456 public enum WebKitFindOptions 457 { 458 /** 459 * no search flags, this means a case 460 * sensitive, no wrap, forward only search. 461 */ 462 NONE = 0, 463 /** 464 * case insensitive search. 465 */ 466 CASE_INSENSITIVE = 1, 467 /** 468 * search text only at the 469 * begining of the words. 470 */ 471 AT_WORD_STARTS = 2, 472 /** 473 * treat 474 * capital letters in the middle of words as word start. 475 */ 476 TREAT_MEDIAL_CAPITAL_AS_WORD_START = 4, 477 /** 478 * search backwards. 479 */ 480 BACKWARDS = 8, 481 /** 482 * if not present search will stop 483 * at the end of the document. 484 */ 485 WRAP_AROUND = 16, 486 } 487 alias WebKitFindOptions FindOptions; 488 489 /** 490 * Enum values used for determining the hardware acceleration policy. 491 * 492 * Since: 2.16 493 */ 494 public enum WebKitHardwareAccelerationPolicy 495 { 496 /** 497 * Hardware acceleration is enabled/disabled as request by web contents. 498 */ 499 ON_DEMAND = 0, 500 /** 501 * Hardware acceleration is always enabled, even for websites not requesting it. 502 */ 503 ALWAYS = 1, 504 /** 505 * Hardware acceleration is always disabled, even for websites requesting it. 506 */ 507 NEVER = 2, 508 } 509 alias WebKitHardwareAccelerationPolicy HardwareAccelerationPolicy; 510 511 /** 512 * Enum values with flags representing the context of a #WebKitHitTestResult. 513 */ 514 public enum WebKitHitTestResultContext 515 { 516 /** 517 * anywhere in the document. 518 */ 519 DOCUMENT = 2, 520 /** 521 * a hyperlink element. 522 */ 523 LINK = 4, 524 /** 525 * an image element. 526 */ 527 IMAGE = 8, 528 /** 529 * a video or audio element. 530 */ 531 MEDIA = 16, 532 /** 533 * an editable element 534 */ 535 EDITABLE = 32, 536 /** 537 * a scrollbar element. 538 */ 539 SCROLLBAR = 64, 540 /** 541 * a selected element. Since 2.8 542 */ 543 SELECTION = 128, 544 } 545 alias WebKitHitTestResultContext HitTestResultContext; 546 547 /** 548 * Enum values used to describe hints that might be taken into account by input methods. 549 * 550 * Since: 2.28 551 */ 552 public enum WebKitInputHints 553 { 554 /** 555 * No special behavior suggested 556 */ 557 NONE = 0, 558 /** 559 * Suggest spell checking 560 */ 561 SPELLCHECK = 1, 562 /** 563 * Suggest to not autocapitlize 564 */ 565 LOWERCASE = 2, 566 /** 567 * Suggest to capitalize all text 568 */ 569 UPPERCASE_CHARS = 4, 570 /** 571 * Suggest to capitalize the first character of each word 572 */ 573 UPPERCASE_WORDS = 8, 574 /** 575 * Suggest to capitalize the first word of each sentence 576 */ 577 UPPERCASE_SENTENCES = 16, 578 /** 579 * Suggest to not show an onscreen keyboard 580 */ 581 INHIBIT_OSK = 32, 582 } 583 alias WebKitInputHints InputHints; 584 585 /** 586 * Enum values used to describe the primary purpose of the active editable element. 587 * 588 * Since: 2.28 589 */ 590 public enum WebKitInputPurpose 591 { 592 /** 593 * Editable element expects any characters 594 */ 595 FREE_FORM = 0, 596 /** 597 * Editable element expects digits 598 */ 599 DIGITS = 1, 600 /** 601 * Editable element expects a number 602 */ 603 NUMBER = 2, 604 /** 605 * Editable element expects a telephone 606 */ 607 PHONE = 3, 608 /** 609 * Editable element expects a URL 610 */ 611 URL = 4, 612 /** 613 * Editable element expects an email 614 */ 615 EMAIL = 5, 616 /** 617 * Editable element expects a password 618 */ 619 PASSWORD = 6, 620 } 621 alias WebKitInputPurpose InputPurpose; 622 623 /** 624 * Enum values used to denote the different events which can trigger 625 * the detection of insecure content. 626 */ 627 public enum WebKitInsecureContentEvent 628 { 629 /** 630 * Insecure content has been detected by 631 * trying to execute any kind of logic (e.g. a script) from an 632 * untrusted source. 633 */ 634 RUN = 0, 635 /** 636 * Insecure content has been 637 * detected by trying to display any kind of resource (e.g. an image) 638 * from an untrusted source. 639 */ 640 DISPLAYED = 1, 641 } 642 alias WebKitInsecureContentEvent InsecureContentEvent; 643 644 /** 645 * Enum values used to denote errors happening when executing JavaScript 646 */ 647 public enum WebKitJavascriptError 648 { 649 /** 650 * An exception was raised in JavaScript execution 651 */ 652 FAILED = 699, 653 } 654 alias WebKitJavascriptError JavascriptError; 655 656 /** 657 * Enum values used to denote the different events that happen during a 658 * #WebKitWebView load operation. 659 */ 660 public enum WebKitLoadEvent 661 { 662 /** 663 * A new load request has been made. 664 * No data has been received yet, empty structures have 665 * been allocated to perform the load; the load may still 666 * fail due to transport issues such as not being able to 667 * resolve a name, or connect to a port. 668 */ 669 STARTED = 0, 670 /** 671 * A provisional data source received 672 * a server redirect. 673 */ 674 REDIRECTED = 1, 675 /** 676 * The content started arriving for a page load. 677 * The necessary transport requirements are established, and the 678 * load is being performed. 679 */ 680 COMMITTED = 2, 681 /** 682 * Load completed. All resources are done loading 683 * or there was an error during the load operation. 684 */ 685 FINISHED = 3, 686 } 687 alias WebKitLoadEvent LoadEvent; 688 689 /** 690 * Enum values used to denote the various navigation types. 691 */ 692 public enum WebKitNavigationType 693 { 694 /** 695 * The navigation was triggered by clicking a link. 696 */ 697 LINK_CLICKED = 0, 698 /** 699 * The navigation was triggered by submitting a form. 700 */ 701 FORM_SUBMITTED = 1, 702 /** 703 * The navigation was triggered by navigating forward or backward. 704 */ 705 BACK_FORWARD = 2, 706 /** 707 * The navigation was triggered by reloading. 708 */ 709 RELOAD = 3, 710 /** 711 * The navigation was triggered by resubmitting a form. 712 */ 713 FORM_RESUBMITTED = 4, 714 /** 715 * The navigation was triggered by some other action. 716 */ 717 OTHER = 5, 718 } 719 alias WebKitNavigationType NavigationType; 720 721 /** 722 * Enum values used to denote the various network errors. 723 */ 724 public enum WebKitNetworkError 725 { 726 /** 727 * Generic load failure 728 */ 729 FAILED = 399, 730 /** 731 * Load failure due to transport error 732 */ 733 TRANSPORT = 300, 734 /** 735 * Load failure due to unknown protocol 736 */ 737 UNKNOWN_PROTOCOL = 301, 738 /** 739 * Load failure due to cancellation 740 */ 741 CANCELLED = 302, 742 /** 743 * Load failure due to missing file 744 */ 745 FILE_DOES_NOT_EXIST = 303, 746 } 747 alias WebKitNetworkError NetworkError; 748 749 /** 750 * Enum values used to set the network proxy mode. 751 * 752 * Since: 2.16 753 */ 754 public enum WebKitNetworkProxyMode 755 { 756 /** 757 * Use the default proxy of the system. 758 */ 759 DEFAULT = 0, 760 /** 761 * Do not use any proxy. 762 */ 763 NO_PROXY = 1, 764 /** 765 * Use custom proxy settings. 766 */ 767 CUSTOM = 2, 768 } 769 alias WebKitNetworkProxyMode NetworkProxyMode; 770 771 /** 772 * Enum values used to denote the various plugin errors. 773 */ 774 public enum WebKitPluginError 775 { 776 /** 777 * Generic plugin load failure 778 */ 779 FAILED = 299, 780 /** 781 * Load failure due to missing plugin 782 */ 783 CANNOT_FIND_PLUGIN = 200, 784 /** 785 * Load failure due to inability to load plugin 786 */ 787 CANNOT_LOAD_PLUGIN = 201, 788 /** 789 * Load failure due to missing Java support that is required to load plugin 790 */ 791 JAVA_UNAVAILABLE = 202, 792 /** 793 * Load failure due to connection cancellation 794 */ 795 CONNECTION_CANCELLED = 203, 796 /** 797 * Load failure since plugin handles the load 798 */ 799 WILL_HANDLE_LOAD = 204, 800 } 801 alias WebKitPluginError PluginError; 802 803 /** 804 * Enum values used for determining the type of a policy decision during 805 * #WebKitWebView::decide-policy. 806 */ 807 public enum WebKitPolicyDecisionType 808 { 809 /** 810 * This type of policy decision 811 * is requested when WebKit is about to navigate to a new page in either the 812 * main frame or a subframe. Acceptable policy decisions are either 813 * webkit_policy_decision_use() or webkit_policy_decision_ignore(). This 814 * type of policy decision is always a #WebKitNavigationPolicyDecision. 815 */ 816 NAVIGATION_ACTION = 0, 817 /** 818 * This type of policy decision 819 * is requested when WebKit is about to create a new window. Acceptable policy 820 * decisions are either webkit_policy_decision_use() or 821 * webkit_policy_decision_ignore(). This type of policy decision is always 822 * a #WebKitNavigationPolicyDecision. These decisions are useful for implementing 823 * special actions for new windows, such as forcing the new window to open 824 * in a tab when a keyboard modifier is active or handling a special 825 * target attribute on <a> elements. 826 */ 827 NEW_WINDOW_ACTION = 1, 828 /** 829 * This type of decision is used when WebKit has 830 * received a response for a network resource and is about to start the load. 831 * Note that these resources include all subresources of a page such as images 832 * and stylesheets as well as main documents. Appropriate policy responses to 833 * this decision are webkit_policy_decision_use(), webkit_policy_decision_ignore(), 834 * or webkit_policy_decision_download(). This type of policy decision is always 835 * a #WebKitResponsePolicyDecision. This decision is useful for forcing 836 * some types of resources to be downloaded rather than rendered in the WebView 837 * or to block the transfer of resources entirely. 838 */ 839 RESPONSE = 2, 840 } 841 alias WebKitPolicyDecisionType PolicyDecisionType; 842 843 /** 844 * Enum values used to denote the various policy errors. 845 */ 846 public enum WebKitPolicyError 847 { 848 /** 849 * Generic load failure due to policy error 850 */ 851 FAILED = 199, 852 /** 853 * Load failure due to unsupported mime type 854 */ 855 CANNOT_SHOW_MIME_TYPE = 100, 856 /** 857 * Load failure due to URI that can not be shown 858 */ 859 CANNOT_SHOW_URI = 101, 860 /** 861 * Load failure due to frame load interruption by policy change 862 */ 863 FRAME_LOAD_INTERRUPTED_BY_POLICY_CHANGE = 102, 864 /** 865 * Load failure due to port restriction 866 */ 867 CANNOT_USE_RESTRICTED_PORT = 103, 868 } 869 alias WebKitPolicyError PolicyError; 870 871 /** 872 * Enum values used to denote the various print errors. 873 */ 874 public enum WebKitPrintError 875 { 876 /** 877 * Unspecified error during a print operation 878 */ 879 GENERAL = 599, 880 /** 881 * Selected printer cannot be found 882 */ 883 PRINTER_NOT_FOUND = 500, 884 /** 885 * Invalid page range 886 */ 887 INVALID_PAGE_RANGE = 501, 888 } 889 alias WebKitPrintError PrintError; 890 891 /** 892 * Enum values representing the response of the print dialog shown with 893 * webkit_print_operation_run_dialog(). 894 */ 895 public enum WebKitPrintOperationResponse 896 { 897 /** 898 * Print button was clicked in print dialog 899 */ 900 PRINT = 0, 901 /** 902 * Print dialog was cancelled 903 */ 904 CANCEL = 1, 905 } 906 alias WebKitPrintOperationResponse PrintOperationResponse; 907 908 /** 909 * Enum values used for determining the #WebKitWebContext process model. 910 * 911 * Since: 2.4 912 */ 913 public enum WebKitProcessModel 914 { 915 /** 916 * Deprecated 2.26. 917 */ 918 SHARED_SECONDARY_PROCESS = 0, 919 /** 920 * Use one process 921 * for each #WebKitWebView, while still allowing for some of them to 922 * share a process in certain situations. The main advantage 923 * of this process model is that the rendering process for a web view 924 * can crash while the rest of the views keep working normally. This 925 * process model is indicated for applications which may use a number 926 * of web views and the content of in each must not interfere with the 927 * rest — for example a full-fledged web browser with support for 928 * multiple tabs. 929 */ 930 MULTIPLE_SECONDARY_PROCESSES = 1, 931 } 932 alias WebKitProcessModel ProcessModel; 933 934 /** 935 * Enum values to specify the different ways in which a #WebKitWebView 936 * can save its current web page into a self-contained file. 937 */ 938 public enum WebKitSaveMode 939 { 940 /** 941 * Save the current page using the MHTML format. 942 */ 943 MHTML = 0, 944 } 945 alias WebKitSaveMode SaveMode; 946 947 /** 948 * Enum values used for determining the type of #WebKitScriptDialog 949 */ 950 public enum WebKitScriptDialogType 951 { 952 /** 953 * Alert script dialog, used to show a 954 * message to the user. 955 */ 956 ALERT = 0, 957 /** 958 * Confirm script dialog, used to ask 959 * confirmation to the user. 960 */ 961 CONFIRM = 1, 962 /** 963 * Prompt script dialog, used to ask 964 * information to the user. 965 */ 966 PROMPT = 2, 967 /** 968 * Before unload confirm dialog, 969 * used to ask confirmation to leave the current page to the user. Since 2.12 970 */ 971 BEFORE_UNLOAD_CONFIRM = 3, 972 } 973 alias WebKitScriptDialogType ScriptDialogType; 974 975 /** 976 * Enum values used to denote errors happening when creating snapshots of #WebKitWebView 977 */ 978 public enum WebKitSnapshotError 979 { 980 /** 981 * An error occurred when creating a webpage snapshot. 982 */ 983 CREATE = 799, 984 } 985 alias WebKitSnapshotError SnapshotError; 986 987 /** 988 * Enum values used to specify options when taking a snapshot 989 * from a #WebKitWebView. 990 */ 991 public enum WebKitSnapshotOptions 992 { 993 /** 994 * Do not include any special options. 995 */ 996 NONE = 0, 997 /** 998 * Whether to include in the 999 * snapshot the highlight of the selected content. 1000 */ 1001 INCLUDE_SELECTION_HIGHLIGHTING = 1, 1002 /** 1003 * Do not fill the background with white before 1004 * rendering the snapshot. Since 2.8 1005 */ 1006 TRANSPARENT_BACKGROUND = 2, 1007 } 1008 alias WebKitSnapshotOptions SnapshotOptions; 1009 1010 /** 1011 * Enum values used to specify the region from which to get a #WebKitWebView 1012 * snapshot 1013 */ 1014 public enum WebKitSnapshotRegion 1015 { 1016 /** 1017 * Specifies a snapshot only for the area that is 1018 * visible in the webview 1019 */ 1020 VISIBLE = 0, 1021 /** 1022 * A snapshot of the entire document. 1023 */ 1024 FULL_DOCUMENT = 1, 1025 } 1026 alias WebKitSnapshotRegion SnapshotRegion; 1027 1028 /** 1029 * Enum values used to denote the TLS errors policy. 1030 */ 1031 public enum WebKitTLSErrorsPolicy 1032 { 1033 /** 1034 * Ignore TLS errors. 1035 */ 1036 IGNORE = 0, 1037 /** 1038 * TLS errors will emit 1039 * #WebKitWebView::load-failed-with-tls-errors and, if the signal is handled, 1040 * finish the load. In case the signal is not handled, 1041 * #WebKitWebView::load-failed is emitted before the load finishes. 1042 */ 1043 FAIL = 1, 1044 } 1045 alias WebKitTLSErrorsPolicy TLSErrorsPolicy; 1046 1047 public enum WebKitUserContentFilterError 1048 { 1049 /** 1050 * The JSON source for a content filter is invalid. 1051 */ 1052 INVALID_SOURCE = 0, 1053 /** 1054 * The requested content filter could not be found. 1055 */ 1056 NOT_FOUND = 1, 1057 } 1058 alias WebKitUserContentFilterError UserContentFilterError; 1059 1060 /** 1061 * Specifies in which frames user style sheets are to be inserted in. 1062 * 1063 * Since: 2.6 1064 */ 1065 public enum WebKitUserContentInjectedFrames 1066 { 1067 /** 1068 * Insert the user style 1069 * sheet in all the frames loaded by the web view, including 1070 * nested frames. This is the default. 1071 */ 1072 ALL_FRAMES = 0, 1073 /** 1074 * Insert the user style 1075 * sheet *only* in the top-level frame loaded by the web view, 1076 * and *not* in the nested frames. 1077 */ 1078 TOP_FRAME = 1, 1079 } 1080 alias WebKitUserContentInjectedFrames UserContentInjectedFrames; 1081 1082 /** 1083 * Enum values used to denote errors happening when sending user messages. 1084 * 1085 * Since: 2.28 1086 */ 1087 public enum WebKitUserMessageError 1088 { 1089 /** 1090 * The message was not handled by the receiver. 1091 */ 1092 MESSAGE = 0, 1093 } 1094 alias WebKitUserMessageError UserMessageError; 1095 1096 /** 1097 * Specifies at which place of documents an user script will be inserted. 1098 * 1099 * Since: 2.6 1100 */ 1101 public enum WebKitUserScriptInjectionTime 1102 { 1103 /** 1104 * Insert the code of the user 1105 * script at the beginning of loaded documents. This is the default. 1106 */ 1107 START = 0, 1108 /** 1109 * Insert the code of the user 1110 * script at the end of the loaded documents. 1111 */ 1112 END = 1, 1113 } 1114 alias WebKitUserScriptInjectionTime UserScriptInjectionTime; 1115 1116 /** 1117 * Specifies how to treat an user style sheet. 1118 * 1119 * Since: 2.6 1120 */ 1121 public enum WebKitUserStyleLevel 1122 { 1123 /** 1124 * The style sheet is an user style sheet, 1125 * its contents always override other style sheets. This is the default. 1126 */ 1127 USER = 0, 1128 /** 1129 * The style sheet will be treated as if 1130 * it was provided by the loaded documents. That means other user style 1131 * sheets may still override it. 1132 */ 1133 AUTHOR = 1, 1134 } 1135 alias WebKitUserStyleLevel UserStyleLevel; 1136 1137 /** 1138 * Enum values used to specify the reason why the web process terminated abnormally. 1139 * 1140 * Since: 2.20 1141 */ 1142 public enum WebKitWebProcessTerminationReason 1143 { 1144 /** 1145 * the web process crashed. 1146 */ 1147 CRASHED = 0, 1148 /** 1149 * the web process exceeded the memory limit. 1150 */ 1151 EXCEEDED_MEMORY_LIMIT = 1, 1152 } 1153 alias WebKitWebProcessTerminationReason WebProcessTerminationReason; 1154 1155 /** 1156 * Enum values with flags representing types of Website data. 1157 * 1158 * Since: 2.16 1159 */ 1160 public enum WebKitWebsiteDataTypes 1161 { 1162 /** 1163 * Memory cache. 1164 */ 1165 MEMORY_CACHE = 1, 1166 /** 1167 * HTTP disk cache. 1168 */ 1169 DISK_CACHE = 2, 1170 /** 1171 * Offline web application cache. 1172 */ 1173 OFFLINE_APPLICATION_CACHE = 4, 1174 /** 1175 * Session storage data. 1176 */ 1177 SESSION_STORAGE = 8, 1178 /** 1179 * Local storage data. 1180 */ 1181 LOCAL_STORAGE = 16, 1182 /** 1183 * WebSQL databases. Deprecated 2.24 1184 */ 1185 WEBSQL_DATABASES = 32, 1186 /** 1187 * IndexedDB databases. 1188 */ 1189 INDEXEDDB_DATABASES = 64, 1190 /** 1191 * Plugins data. 1192 */ 1193 PLUGIN_DATA = 128, 1194 /** 1195 * Cookies. 1196 */ 1197 COOKIES = 256, 1198 /** 1199 * Hash salt used to generate the device ids used by webpages. Since 2.24 1200 */ 1201 DEVICE_ID_HASH_SALT = 512, 1202 /** 1203 * HSTS cache. Since 2.26 1204 */ 1205 HSTS_CACHE = 1024, 1206 /** 1207 * Intelligent Tracking Prevention data. Since 2.30. 1208 */ 1209 ITP = 2048, 1210 /** 1211 * Service worker registrations. Since 2.30 1212 */ 1213 SERVICE_WORKER_REGISTRATIONS = 4096, 1214 /** 1215 * DOM (CacheStorage) cache. Since 2.30 1216 */ 1217 DOM_CACHE = 8192, 1218 /** 1219 * All types. 1220 */ 1221 ALL = 16383, 1222 } 1223 alias WebKitWebsiteDataTypes WebsiteDataTypes; 1224 1225 struct WebKitApplicationInfo; 1226 1227 struct WebKitAuthenticationRequest 1228 { 1229 GObject parent; 1230 WebKitAuthenticationRequestPrivate* priv; 1231 } 1232 1233 struct WebKitAuthenticationRequestClass 1234 { 1235 GObjectClass parentClass; 1236 /** */ 1237 extern(C) void function() WebkitReserved0; 1238 /** */ 1239 extern(C) void function() WebkitReserved1; 1240 /** */ 1241 extern(C) void function() WebkitReserved2; 1242 /** */ 1243 extern(C) void function() WebkitReserved3; 1244 } 1245 1246 struct WebKitAuthenticationRequestPrivate; 1247 1248 struct WebKitAutomationSession 1249 { 1250 GObject parent; 1251 WebKitAutomationSessionPrivate* priv; 1252 } 1253 1254 struct WebKitAutomationSessionClass 1255 { 1256 GObjectClass parentClass; 1257 /** */ 1258 extern(C) void function() WebkitReserved0; 1259 /** */ 1260 extern(C) void function() WebkitReserved1; 1261 /** */ 1262 extern(C) void function() WebkitReserved2; 1263 /** */ 1264 extern(C) void function() WebkitReserved3; 1265 } 1266 1267 struct WebKitAutomationSessionPrivate; 1268 1269 struct WebKitBackForwardList 1270 { 1271 GObject parent; 1272 WebKitBackForwardListPrivate* priv; 1273 } 1274 1275 struct WebKitBackForwardListClass 1276 { 1277 GObjectClass parentClass; 1278 /** */ 1279 extern(C) void function() WebkitReserved0; 1280 /** */ 1281 extern(C) void function() WebkitReserved1; 1282 /** */ 1283 extern(C) void function() WebkitReserved2; 1284 /** */ 1285 extern(C) void function() WebkitReserved3; 1286 } 1287 1288 struct WebKitBackForwardListItem 1289 { 1290 GObject parent; 1291 WebKitBackForwardListItemPrivate* priv; 1292 } 1293 1294 struct WebKitBackForwardListItemClass 1295 { 1296 GObjectClass parentClass; 1297 /** */ 1298 extern(C) void function() WebkitReserved0; 1299 /** */ 1300 extern(C) void function() WebkitReserved1; 1301 /** */ 1302 extern(C) void function() WebkitReserved2; 1303 /** */ 1304 extern(C) void function() WebkitReserved3; 1305 } 1306 1307 struct WebKitBackForwardListItemPrivate; 1308 1309 struct WebKitBackForwardListPrivate; 1310 1311 struct WebKitColorChooserRequest 1312 { 1313 GObject parent; 1314 WebKitColorChooserRequestPrivate* priv; 1315 } 1316 1317 struct WebKitColorChooserRequestClass 1318 { 1319 GObjectClass parentClass; 1320 } 1321 1322 struct WebKitColorChooserRequestPrivate; 1323 1324 struct WebKitContextMenu 1325 { 1326 GObject parent; 1327 WebKitContextMenuPrivate* priv; 1328 } 1329 1330 struct WebKitContextMenuClass 1331 { 1332 GObjectClass parentClass; 1333 /** */ 1334 extern(C) void function() WebkitReserved0; 1335 /** */ 1336 extern(C) void function() WebkitReserved1; 1337 /** */ 1338 extern(C) void function() WebkitReserved2; 1339 /** */ 1340 extern(C) void function() WebkitReserved3; 1341 } 1342 1343 struct WebKitContextMenuItem 1344 { 1345 GObject parent; 1346 WebKitContextMenuItemPrivate* priv; 1347 } 1348 1349 struct WebKitContextMenuItemClass 1350 { 1351 GObjectClass parentClass; 1352 /** */ 1353 extern(C) void function() WebkitReserved0; 1354 /** */ 1355 extern(C) void function() WebkitReserved1; 1356 /** */ 1357 extern(C) void function() WebkitReserved2; 1358 /** */ 1359 extern(C) void function() WebkitReserved3; 1360 } 1361 1362 struct WebKitContextMenuItemPrivate; 1363 1364 struct WebKitContextMenuPrivate; 1365 1366 struct WebKitCookieManager 1367 { 1368 GObject parent; 1369 WebKitCookieManagerPrivate* priv; 1370 } 1371 1372 struct WebKitCookieManagerClass 1373 { 1374 GObjectClass parentClass; 1375 /** */ 1376 extern(C) void function() WebkitReserved0; 1377 /** */ 1378 extern(C) void function() WebkitReserved1; 1379 /** */ 1380 extern(C) void function() WebkitReserved2; 1381 /** */ 1382 extern(C) void function() WebkitReserved3; 1383 } 1384 1385 struct WebKitCookieManagerPrivate; 1386 1387 struct WebKitCredential; 1388 1389 struct WebKitDeviceInfoPermissionRequest 1390 { 1391 GObject parent; 1392 WebKitDeviceInfoPermissionRequestPrivate* priv; 1393 } 1394 1395 struct WebKitDeviceInfoPermissionRequestClass 1396 { 1397 GObjectClass parentClass; 1398 /** */ 1399 extern(C) void function() WebkitReserved0; 1400 /** */ 1401 extern(C) void function() WebkitReserved1; 1402 /** */ 1403 extern(C) void function() WebkitReserved2; 1404 /** */ 1405 extern(C) void function() WebkitReserved3; 1406 } 1407 1408 struct WebKitDeviceInfoPermissionRequestPrivate; 1409 1410 struct WebKitDownload 1411 { 1412 GObject parent; 1413 WebKitDownloadPrivate* priv; 1414 } 1415 1416 struct WebKitDownloadClass 1417 { 1418 GObjectClass parentClass; 1419 /** */ 1420 extern(C) int function(WebKitDownload* download, const(char)* suggestedFilename) decideDestination; 1421 /** */ 1422 extern(C) void function() WebkitReserved0; 1423 /** */ 1424 extern(C) void function() WebkitReserved1; 1425 /** */ 1426 extern(C) void function() WebkitReserved2; 1427 /** */ 1428 extern(C) void function() WebkitReserved3; 1429 } 1430 1431 struct WebKitDownloadPrivate; 1432 1433 struct WebKitEditorState 1434 { 1435 GObject parent; 1436 WebKitEditorStatePrivate* priv; 1437 } 1438 1439 struct WebKitEditorStateClass 1440 { 1441 GObjectClass parentClass; 1442 /** */ 1443 extern(C) void function() WebkitReserved0; 1444 /** */ 1445 extern(C) void function() WebkitReserved1; 1446 /** */ 1447 extern(C) void function() WebkitReserved2; 1448 /** */ 1449 extern(C) void function() WebkitReserved3; 1450 } 1451 1452 struct WebKitEditorStatePrivate; 1453 1454 struct WebKitFaviconDatabase 1455 { 1456 GObject parent; 1457 WebKitFaviconDatabasePrivate* priv; 1458 } 1459 1460 struct WebKitFaviconDatabaseClass 1461 { 1462 GObjectClass parentClass; 1463 /** */ 1464 extern(C) void function() WebkitReserved0; 1465 /** */ 1466 extern(C) void function() WebkitReserved1; 1467 /** */ 1468 extern(C) void function() WebkitReserved2; 1469 /** */ 1470 extern(C) void function() WebkitReserved3; 1471 } 1472 1473 struct WebKitFaviconDatabasePrivate; 1474 1475 struct WebKitFileChooserRequest 1476 { 1477 GObject parent; 1478 WebKitFileChooserRequestPrivate* priv; 1479 } 1480 1481 struct WebKitFileChooserRequestClass 1482 { 1483 GObjectClass parentClass; 1484 /** */ 1485 extern(C) void function() WebkitReserved0; 1486 /** */ 1487 extern(C) void function() WebkitReserved1; 1488 /** */ 1489 extern(C) void function() WebkitReserved2; 1490 /** */ 1491 extern(C) void function() WebkitReserved3; 1492 } 1493 1494 struct WebKitFileChooserRequestPrivate; 1495 1496 struct WebKitFindController 1497 { 1498 GObject parent; 1499 WebKitFindControllerPrivate* priv; 1500 } 1501 1502 struct WebKitFindControllerClass 1503 { 1504 GObjectClass parentClass; 1505 /** */ 1506 extern(C) void function() WebkitReserved0; 1507 /** */ 1508 extern(C) void function() WebkitReserved1; 1509 /** */ 1510 extern(C) void function() WebkitReserved2; 1511 /** */ 1512 extern(C) void function() WebkitReserved3; 1513 } 1514 1515 struct WebKitFindControllerPrivate; 1516 1517 struct WebKitFormSubmissionRequest 1518 { 1519 GObject parent; 1520 WebKitFormSubmissionRequestPrivate* priv; 1521 } 1522 1523 struct WebKitFormSubmissionRequestClass 1524 { 1525 GObjectClass parentClass; 1526 /** */ 1527 extern(C) void function() WebkitReserved0; 1528 /** */ 1529 extern(C) void function() WebkitReserved1; 1530 /** */ 1531 extern(C) void function() WebkitReserved2; 1532 /** */ 1533 extern(C) void function() WebkitReserved3; 1534 } 1535 1536 struct WebKitFormSubmissionRequestPrivate; 1537 1538 struct WebKitGeolocationManager 1539 { 1540 GObject parent; 1541 WebKitGeolocationManagerPrivate* priv; 1542 } 1543 1544 struct WebKitGeolocationManagerClass 1545 { 1546 GObjectClass parentClass; 1547 /** */ 1548 extern(C) void function() WebkitReserved0; 1549 /** */ 1550 extern(C) void function() WebkitReserved1; 1551 /** */ 1552 extern(C) void function() WebkitReserved2; 1553 /** */ 1554 extern(C) void function() WebkitReserved3; 1555 } 1556 1557 struct WebKitGeolocationManagerPrivate; 1558 1559 struct WebKitGeolocationPermissionRequest 1560 { 1561 GObject parent; 1562 WebKitGeolocationPermissionRequestPrivate* priv; 1563 } 1564 1565 struct WebKitGeolocationPermissionRequestClass 1566 { 1567 GObjectClass parentClass; 1568 /** */ 1569 extern(C) void function() WebkitReserved0; 1570 /** */ 1571 extern(C) void function() WebkitReserved1; 1572 /** */ 1573 extern(C) void function() WebkitReserved2; 1574 /** */ 1575 extern(C) void function() WebkitReserved3; 1576 } 1577 1578 struct WebKitGeolocationPermissionRequestPrivate; 1579 1580 struct WebKitGeolocationPosition; 1581 1582 struct WebKitHitTestResult 1583 { 1584 GObject parent; 1585 WebKitHitTestResultPrivate* priv; 1586 } 1587 1588 struct WebKitHitTestResultClass 1589 { 1590 GObjectClass parentClass; 1591 /** */ 1592 extern(C) void function() WebkitReserved0; 1593 /** */ 1594 extern(C) void function() WebkitReserved1; 1595 /** */ 1596 extern(C) void function() WebkitReserved2; 1597 /** */ 1598 extern(C) void function() WebkitReserved3; 1599 } 1600 1601 struct WebKitHitTestResultPrivate; 1602 1603 struct WebKitITPFirstParty; 1604 1605 struct WebKitITPThirdParty; 1606 1607 struct WebKitInputMethodContext 1608 { 1609 GObject parent; 1610 WebKitInputMethodContextPrivate* priv; 1611 } 1612 1613 struct WebKitInputMethodContextClass 1614 { 1615 GObjectClass parentClass; 1616 /** */ 1617 extern(C) void function(WebKitInputMethodContext* context) preeditStarted; 1618 /** */ 1619 extern(C) void function(WebKitInputMethodContext* context) preeditChanged; 1620 /** */ 1621 extern(C) void function(WebKitInputMethodContext* context) preeditFinished; 1622 /** */ 1623 extern(C) void function(WebKitInputMethodContext* context, const(char)* text) committed; 1624 /** */ 1625 extern(C) void function(WebKitInputMethodContext* context, int offset, uint nChars) deleteSurrounding; 1626 /** */ 1627 extern(C) void function(WebKitInputMethodContext* context, int enabled) setEnablePreedit; 1628 /** */ 1629 extern(C) void function(WebKitInputMethodContext* context, char** text, GList** underlines, uint* cursorOffset) getPreedit; 1630 /** 1631 * 1632 * Params: 1633 * context = a #WebKitInputMethodContext 1634 * keyEvent = the key event to filter 1635 * Returns: %TRUE if the key event was handled, or %FALSE otherwise 1636 */ 1637 extern(C) int function(WebKitInputMethodContext* context, GdkEventKey* keyEvent) filterKeyEvent; 1638 /** */ 1639 extern(C) void function(WebKitInputMethodContext* context) notifyFocusIn; 1640 /** */ 1641 extern(C) void function(WebKitInputMethodContext* context) notifyFocusOut; 1642 /** */ 1643 extern(C) void function(WebKitInputMethodContext* context, int x, int y, int width, int height) notifyCursorArea; 1644 /** */ 1645 extern(C) void function(WebKitInputMethodContext* context, const(char)* text, uint length, uint cursorIndex, uint selectionIndex) notifySurrounding; 1646 /** */ 1647 extern(C) void function(WebKitInputMethodContext* context) reset; 1648 /** */ 1649 extern(C) void function() WebkitReserved0; 1650 /** */ 1651 extern(C) void function() WebkitReserved1; 1652 /** */ 1653 extern(C) void function() WebkitReserved2; 1654 /** */ 1655 extern(C) void function() WebkitReserved3; 1656 /** */ 1657 extern(C) void function() WebkitReserved4; 1658 /** */ 1659 extern(C) void function() WebkitReserved5; 1660 /** */ 1661 extern(C) void function() WebkitReserved6; 1662 /** */ 1663 extern(C) void function() WebkitReserved7; 1664 } 1665 1666 struct WebKitInputMethodContextPrivate; 1667 1668 struct WebKitInputMethodUnderline; 1669 1670 struct WebKitInstallMissingMediaPluginsPermissionRequest 1671 { 1672 GObject parent; 1673 WebKitInstallMissingMediaPluginsPermissionRequestPrivate* priv; 1674 } 1675 1676 struct WebKitInstallMissingMediaPluginsPermissionRequestClass 1677 { 1678 GObjectClass parentClass; 1679 /** */ 1680 extern(C) void function() WebkitReserved0; 1681 /** */ 1682 extern(C) void function() WebkitReserved1; 1683 /** */ 1684 extern(C) void function() WebkitReserved2; 1685 /** */ 1686 extern(C) void function() WebkitReserved3; 1687 } 1688 1689 struct WebKitInstallMissingMediaPluginsPermissionRequestPrivate; 1690 1691 struct WebKitJavascriptResult; 1692 1693 struct WebKitMimeInfo; 1694 1695 struct WebKitNavigationAction; 1696 1697 struct WebKitNavigationPolicyDecision 1698 { 1699 WebKitPolicyDecision parent; 1700 WebKitNavigationPolicyDecisionPrivate* priv; 1701 } 1702 1703 struct WebKitNavigationPolicyDecisionClass 1704 { 1705 WebKitPolicyDecisionClass parentClass; 1706 /** */ 1707 extern(C) void function() WebkitReserved0; 1708 /** */ 1709 extern(C) void function() WebkitReserved1; 1710 /** */ 1711 extern(C) void function() WebkitReserved2; 1712 /** */ 1713 extern(C) void function() WebkitReserved3; 1714 } 1715 1716 struct WebKitNavigationPolicyDecisionPrivate; 1717 1718 struct WebKitNetworkProxySettings; 1719 1720 struct WebKitNotification 1721 { 1722 GObject parent; 1723 WebKitNotificationPrivate* priv; 1724 } 1725 1726 struct WebKitNotificationClass 1727 { 1728 GObjectClass parentClass; 1729 /** */ 1730 extern(C) void function() WebkitReserved0; 1731 /** */ 1732 extern(C) void function() WebkitReserved1; 1733 /** */ 1734 extern(C) void function() WebkitReserved2; 1735 /** */ 1736 extern(C) void function() WebkitReserved3; 1737 /** */ 1738 extern(C) void function() WebkitReserved4; 1739 /** */ 1740 extern(C) void function() WebkitReserved5; 1741 } 1742 1743 struct WebKitNotificationPermissionRequest 1744 { 1745 GObject parent; 1746 WebKitNotificationPermissionRequestPrivate* priv; 1747 } 1748 1749 struct WebKitNotificationPermissionRequestClass 1750 { 1751 GObjectClass parentClass; 1752 } 1753 1754 struct WebKitNotificationPermissionRequestPrivate; 1755 1756 struct WebKitNotificationPrivate; 1757 1758 struct WebKitOptionMenu 1759 { 1760 GObject parent; 1761 WebKitOptionMenuPrivate* priv; 1762 } 1763 1764 struct WebKitOptionMenuClass 1765 { 1766 GObjectClass parentClass; 1767 /** */ 1768 extern(C) void function() WebkitReserved0; 1769 /** */ 1770 extern(C) void function() WebkitReserved1; 1771 /** */ 1772 extern(C) void function() WebkitReserved2; 1773 /** */ 1774 extern(C) void function() WebkitReserved3; 1775 } 1776 1777 struct WebKitOptionMenuItem; 1778 1779 struct WebKitOptionMenuPrivate; 1780 1781 struct WebKitPermissionRequest; 1782 1783 struct WebKitPermissionRequestIface 1784 { 1785 GTypeInterface parentInterface; 1786 /** */ 1787 extern(C) void function(WebKitPermissionRequest* request) allow; 1788 /** */ 1789 extern(C) void function(WebKitPermissionRequest* request) deny; 1790 } 1791 1792 struct WebKitPlugin 1793 { 1794 GObject parent; 1795 WebKitPluginPrivate* priv; 1796 } 1797 1798 struct WebKitPluginClass 1799 { 1800 GObjectClass parentClass; 1801 /** */ 1802 extern(C) void function() WebkitReserved0; 1803 /** */ 1804 extern(C) void function() WebkitReserved1; 1805 /** */ 1806 extern(C) void function() WebkitReserved2; 1807 /** */ 1808 extern(C) void function() WebkitReserved3; 1809 } 1810 1811 struct WebKitPluginPrivate; 1812 1813 struct WebKitPointerLockPermissionRequest 1814 { 1815 GObject parent; 1816 WebKitPointerLockPermissionRequestPrivate* priv; 1817 } 1818 1819 struct WebKitPointerLockPermissionRequestClass 1820 { 1821 GObjectClass parentClass; 1822 /** */ 1823 extern(C) void function() WebkitReserved0; 1824 /** */ 1825 extern(C) void function() WebkitReserved1; 1826 /** */ 1827 extern(C) void function() WebkitReserved2; 1828 /** */ 1829 extern(C) void function() WebkitReserved3; 1830 } 1831 1832 struct WebKitPointerLockPermissionRequestPrivate; 1833 1834 struct WebKitPolicyDecision 1835 { 1836 GObject parent; 1837 WebKitPolicyDecisionPrivate* priv; 1838 } 1839 1840 struct WebKitPolicyDecisionClass 1841 { 1842 GObjectClass parentClass; 1843 /** */ 1844 extern(C) void function() WebkitReserved0; 1845 /** */ 1846 extern(C) void function() WebkitReserved1; 1847 /** */ 1848 extern(C) void function() WebkitReserved2; 1849 /** */ 1850 extern(C) void function() WebkitReserved3; 1851 } 1852 1853 struct WebKitPolicyDecisionPrivate; 1854 1855 struct WebKitPrintCustomWidget 1856 { 1857 GObject parent; 1858 WebKitPrintCustomWidgetPrivate* priv; 1859 } 1860 1861 struct WebKitPrintCustomWidgetClass 1862 { 1863 GObjectClass parentClass; 1864 /** */ 1865 extern(C) void function(WebKitPrintCustomWidget* printCustomWidget, GtkWidget* widget) apply; 1866 /** */ 1867 extern(C) void function(WebKitPrintCustomWidget* printCustomWidget, GtkWidget* widget, GtkPageSetup* pageSetup, GtkPrintSettings* printSettings) update; 1868 /** */ 1869 extern(C) void function() WebkitReserved0; 1870 /** */ 1871 extern(C) void function() WebkitReserved1; 1872 /** */ 1873 extern(C) void function() WebkitReserved2; 1874 /** */ 1875 extern(C) void function() WebkitReserved3; 1876 } 1877 1878 struct WebKitPrintCustomWidgetPrivate; 1879 1880 struct WebKitPrintOperation 1881 { 1882 GObject parent; 1883 WebKitPrintOperationPrivate* priv; 1884 } 1885 1886 struct WebKitPrintOperationClass 1887 { 1888 GObjectClass parentClass; 1889 /** */ 1890 extern(C) void function() WebkitReserved0; 1891 /** */ 1892 extern(C) void function() WebkitReserved1; 1893 /** */ 1894 extern(C) void function() WebkitReserved2; 1895 /** */ 1896 extern(C) void function() WebkitReserved3; 1897 } 1898 1899 struct WebKitPrintOperationPrivate; 1900 1901 struct WebKitResponsePolicyDecision 1902 { 1903 WebKitPolicyDecision parent; 1904 WebKitResponsePolicyDecisionPrivate* priv; 1905 } 1906 1907 struct WebKitResponsePolicyDecisionClass 1908 { 1909 WebKitPolicyDecisionClass parentClass; 1910 /** */ 1911 extern(C) void function() WebkitReserved0; 1912 /** */ 1913 extern(C) void function() WebkitReserved1; 1914 /** */ 1915 extern(C) void function() WebkitReserved2; 1916 /** */ 1917 extern(C) void function() WebkitReserved3; 1918 } 1919 1920 struct WebKitResponsePolicyDecisionPrivate; 1921 1922 struct WebKitScriptDialog; 1923 1924 struct WebKitSecurityManager 1925 { 1926 GObject parent; 1927 WebKitSecurityManagerPrivate* priv; 1928 } 1929 1930 struct WebKitSecurityManagerClass 1931 { 1932 GObjectClass parentClass; 1933 /** */ 1934 extern(C) void function() WebkitReserved0; 1935 /** */ 1936 extern(C) void function() WebkitReserved1; 1937 /** */ 1938 extern(C) void function() WebkitReserved2; 1939 /** */ 1940 extern(C) void function() WebkitReserved3; 1941 } 1942 1943 struct WebKitSecurityManagerPrivate; 1944 1945 struct WebKitSecurityOrigin; 1946 1947 struct WebKitSettings 1948 { 1949 GObject parentInstance; 1950 WebKitSettingsPrivate* priv; 1951 } 1952 1953 struct WebKitSettingsClass 1954 { 1955 GObjectClass parentClass; 1956 /** */ 1957 extern(C) void function() WebkitReserved0; 1958 /** */ 1959 extern(C) void function() WebkitReserved1; 1960 /** */ 1961 extern(C) void function() WebkitReserved2; 1962 /** */ 1963 extern(C) void function() WebkitReserved3; 1964 } 1965 1966 struct WebKitSettingsPrivate; 1967 1968 struct WebKitURIRequest 1969 { 1970 GObject parent; 1971 WebKitURIRequestPrivate* priv; 1972 } 1973 1974 struct WebKitURIRequestClass 1975 { 1976 GObjectClass parentClass; 1977 /** */ 1978 extern(C) void function() WebkitReserved0; 1979 /** */ 1980 extern(C) void function() WebkitReserved1; 1981 /** */ 1982 extern(C) void function() WebkitReserved2; 1983 /** */ 1984 extern(C) void function() WebkitReserved3; 1985 } 1986 1987 struct WebKitURIRequestPrivate; 1988 1989 struct WebKitURIResponse 1990 { 1991 GObject parent; 1992 WebKitURIResponsePrivate* priv; 1993 } 1994 1995 struct WebKitURIResponseClass 1996 { 1997 GObjectClass parentClass; 1998 /** */ 1999 extern(C) void function() WebkitReserved0; 2000 /** */ 2001 extern(C) void function() WebkitReserved1; 2002 /** */ 2003 extern(C) void function() WebkitReserved2; 2004 /** */ 2005 extern(C) void function() WebkitReserved3; 2006 } 2007 2008 struct WebKitURIResponsePrivate; 2009 2010 struct WebKitURISchemeRequest 2011 { 2012 GObject parent; 2013 WebKitURISchemeRequestPrivate* priv; 2014 } 2015 2016 struct WebKitURISchemeRequestClass 2017 { 2018 GObjectClass parentClass; 2019 /** */ 2020 extern(C) void function() WebkitReserved0; 2021 /** */ 2022 extern(C) void function() WebkitReserved1; 2023 /** */ 2024 extern(C) void function() WebkitReserved2; 2025 /** */ 2026 extern(C) void function() WebkitReserved3; 2027 } 2028 2029 struct WebKitURISchemeRequestPrivate; 2030 2031 struct WebKitUserContentFilter; 2032 2033 struct WebKitUserContentFilterStore 2034 { 2035 GObject parent; 2036 WebKitUserContentFilterStorePrivate* priv; 2037 } 2038 2039 struct WebKitUserContentFilterStoreClass 2040 { 2041 GObjectClass parentClass; 2042 /** */ 2043 extern(C) void function() WebkitReserved0; 2044 /** */ 2045 extern(C) void function() WebkitReserved1; 2046 /** */ 2047 extern(C) void function() WebkitReserved2; 2048 /** */ 2049 extern(C) void function() WebkitReserved3; 2050 } 2051 2052 struct WebKitUserContentFilterStorePrivate; 2053 2054 struct WebKitUserContentManager 2055 { 2056 GObject parent; 2057 WebKitUserContentManagerPrivate* priv; 2058 } 2059 2060 struct WebKitUserContentManagerClass 2061 { 2062 GObjectClass parentClass; 2063 /** */ 2064 extern(C) void function() WebkitReserved0; 2065 /** */ 2066 extern(C) void function() WebkitReserved1; 2067 /** */ 2068 extern(C) void function() WebkitReserved2; 2069 /** */ 2070 extern(C) void function() WebkitReserved3; 2071 } 2072 2073 struct WebKitUserContentManagerPrivate; 2074 2075 struct WebKitUserMediaPermissionRequest 2076 { 2077 GObject parent; 2078 WebKitUserMediaPermissionRequestPrivate* priv; 2079 } 2080 2081 struct WebKitUserMediaPermissionRequestClass 2082 { 2083 GObjectClass parentClass; 2084 /** */ 2085 extern(C) void function() WebkitReserved0; 2086 /** */ 2087 extern(C) void function() WebkitReserved1; 2088 /** */ 2089 extern(C) void function() WebkitReserved2; 2090 /** */ 2091 extern(C) void function() WebkitReserved3; 2092 } 2093 2094 struct WebKitUserMediaPermissionRequestPrivate; 2095 2096 struct WebKitUserMessage 2097 { 2098 GObject parent; 2099 WebKitUserMessagePrivate* priv; 2100 } 2101 2102 struct WebKitUserMessageClass 2103 { 2104 GObjectClass parentClass; 2105 /** */ 2106 extern(C) void function() WebkitReserved0; 2107 /** */ 2108 extern(C) void function() WebkitReserved1; 2109 /** */ 2110 extern(C) void function() WebkitReserved2; 2111 /** */ 2112 extern(C) void function() WebkitReserved3; 2113 } 2114 2115 struct WebKitUserMessagePrivate; 2116 2117 struct WebKitUserScript; 2118 2119 struct WebKitUserStyleSheet; 2120 2121 struct WebKitWebContext 2122 { 2123 GObject parent; 2124 WebKitWebContextPrivate* priv; 2125 } 2126 2127 struct WebKitWebContextClass 2128 { 2129 GObjectClass parent; 2130 /** */ 2131 extern(C) void function(WebKitWebContext* context, WebKitDownload* download) downloadStarted; 2132 /** */ 2133 extern(C) void function(WebKitWebContext* context) initializeWebExtensions; 2134 /** */ 2135 extern(C) void function(WebKitWebContext* context) initializeNotificationPermissions; 2136 /** */ 2137 extern(C) void function(WebKitWebContext* context, WebKitAutomationSession* session) automationStarted; 2138 /** */ 2139 extern(C) int function(WebKitWebContext* context, WebKitUserMessage* message) userMessageReceived; 2140 /** */ 2141 extern(C) void function() WebkitReserved0; 2142 /** */ 2143 extern(C) void function() WebkitReserved1; 2144 /** */ 2145 extern(C) void function() WebkitReserved2; 2146 } 2147 2148 struct WebKitWebContextPrivate; 2149 2150 struct WebKitWebInspector 2151 { 2152 GObject parent; 2153 WebKitWebInspectorPrivate* priv; 2154 } 2155 2156 struct WebKitWebInspectorClass 2157 { 2158 GObjectClass parentClass; 2159 /** */ 2160 extern(C) void function() WebkitReserved0; 2161 /** */ 2162 extern(C) void function() WebkitReserved1; 2163 /** */ 2164 extern(C) void function() WebkitReserved2; 2165 /** */ 2166 extern(C) void function() WebkitReserved3; 2167 } 2168 2169 struct WebKitWebInspectorPrivate; 2170 2171 struct WebKitWebResource 2172 { 2173 GObject parent; 2174 WebKitWebResourcePrivate* priv; 2175 } 2176 2177 struct WebKitWebResourceClass 2178 { 2179 GObjectClass parentClass; 2180 /** */ 2181 extern(C) void function() WebkitReserved0; 2182 /** */ 2183 extern(C) void function() WebkitReserved1; 2184 /** */ 2185 extern(C) void function() WebkitReserved2; 2186 /** */ 2187 extern(C) void function() WebkitReserved3; 2188 } 2189 2190 struct WebKitWebResourcePrivate; 2191 2192 struct WebKitWebView 2193 { 2194 WebKitWebViewBase parent; 2195 WebKitWebViewPrivate* priv; 2196 } 2197 2198 struct WebKitWebViewBase 2199 { 2200 GtkContainer parentInstance; 2201 WebKitWebViewBasePrivate* priv; 2202 } 2203 2204 struct WebKitWebViewBaseClass 2205 { 2206 GtkContainerClass parentClass; 2207 /** */ 2208 extern(C) void function() WebkitReserved0; 2209 /** */ 2210 extern(C) void function() WebkitReserved1; 2211 /** */ 2212 extern(C) void function() WebkitReserved2; 2213 /** */ 2214 extern(C) void function() WebkitReserved3; 2215 } 2216 2217 struct WebKitWebViewBasePrivate; 2218 2219 struct WebKitWebViewClass 2220 { 2221 WebKitWebViewBaseClass parent; 2222 /** */ 2223 extern(C) void function(WebKitWebView* webView, WebKitLoadEvent loadEvent) loadChanged; 2224 /** */ 2225 extern(C) int function(WebKitWebView* webView, WebKitLoadEvent loadEvent, const(char)* failingUri, GError* error) loadFailed; 2226 /** */ 2227 extern(C) GtkWidget* function(WebKitWebView* webView, WebKitNavigationAction* navigationAction) create; 2228 /** */ 2229 extern(C) void function(WebKitWebView* webView) readyToShow; 2230 /** */ 2231 extern(C) void function(WebKitWebView* webView) runAsModal; 2232 /** */ 2233 extern(C) void function(WebKitWebView* webView) close; 2234 /** */ 2235 extern(C) int function(WebKitWebView* webView, WebKitScriptDialog* dialog) scriptDialog; 2236 /** */ 2237 extern(C) int function(WebKitWebView* webView, WebKitPolicyDecision* decision, WebKitPolicyDecisionType type) decidePolicy; 2238 /** */ 2239 extern(C) int function(WebKitWebView* webView, WebKitPermissionRequest* permissionRequest) permissionRequest; 2240 /** */ 2241 extern(C) void function(WebKitWebView* webView, WebKitHitTestResult* hitTestResult, uint modifiers) mouseTargetChanged; 2242 /** */ 2243 extern(C) int function(WebKitWebView* webView, WebKitPrintOperation* printOperation) print; 2244 /** */ 2245 extern(C) void function(WebKitWebView* webView, WebKitWebResource* resource, WebKitURIRequest* request) resourceLoadStarted; 2246 /** */ 2247 extern(C) int function(WebKitWebView* webView) enterFullscreen; 2248 /** */ 2249 extern(C) int function(WebKitWebView* webView) leaveFullscreen; 2250 /** */ 2251 extern(C) int function(WebKitWebView* webView, WebKitFileChooserRequest* request) runFileChooser; 2252 /** */ 2253 extern(C) int function(WebKitWebView* webView, WebKitContextMenu* contextMenu, GdkEvent* event, WebKitHitTestResult* hitTestResult) contextMenu; 2254 /** */ 2255 extern(C) void function(WebKitWebView* webView) contextMenuDismissed; 2256 /** */ 2257 extern(C) void function(WebKitWebView* webView, WebKitFormSubmissionRequest* request) submitForm; 2258 /** */ 2259 extern(C) void function(WebKitWebView* webView, WebKitInsecureContentEvent event) insecureContentDetected; 2260 /** */ 2261 extern(C) int function(WebKitWebView* webView) webProcessCrashed; 2262 /** */ 2263 extern(C) int function(WebKitWebView* webView, WebKitAuthenticationRequest* request) authenticate; 2264 /** */ 2265 extern(C) int function(WebKitWebView* webView, const(char)* failingUri, GTlsCertificate* certificate, GTlsCertificateFlags errors) loadFailedWithTlsErrors; 2266 /** */ 2267 extern(C) int function(WebKitWebView* webView, WebKitNotification* notification) showNotification; 2268 /** */ 2269 extern(C) int function(WebKitWebView* webView, WebKitColorChooserRequest* request) runColorChooser; 2270 /** */ 2271 extern(C) int function(WebKitWebView* webView, GdkRectangle* rectangle, WebKitOptionMenu* menu) showOptionMenu; 2272 /** */ 2273 extern(C) void function(WebKitWebView* webView, WebKitWebProcessTerminationReason reason) webProcessTerminated; 2274 /** */ 2275 extern(C) int function(WebKitWebView* webView, WebKitUserMessage* message) userMessageReceived; 2276 /** */ 2277 extern(C) void function() WebkitReserved0; 2278 } 2279 2280 struct WebKitWebViewPrivate; 2281 2282 struct WebKitWebViewSessionState; 2283 2284 struct WebKitWebsiteData; 2285 2286 struct WebKitWebsiteDataAccessPermissionRequest 2287 { 2288 GObject parent; 2289 WebKitWebsiteDataAccessPermissionRequestPrivate* priv; 2290 } 2291 2292 struct WebKitWebsiteDataAccessPermissionRequestClass 2293 { 2294 GObjectClass parentClass; 2295 /** */ 2296 extern(C) void function() WebkitReserved0; 2297 /** */ 2298 extern(C) void function() WebkitReserved1; 2299 /** */ 2300 extern(C) void function() WebkitReserved2; 2301 /** */ 2302 extern(C) void function() WebkitReserved3; 2303 } 2304 2305 struct WebKitWebsiteDataAccessPermissionRequestPrivate; 2306 2307 struct WebKitWebsiteDataManager 2308 { 2309 GObject parent; 2310 WebKitWebsiteDataManagerPrivate* priv; 2311 } 2312 2313 struct WebKitWebsiteDataManagerClass 2314 { 2315 GObjectClass parentClass; 2316 /** */ 2317 extern(C) void function() WebkitReserved0; 2318 /** */ 2319 extern(C) void function() WebkitReserved1; 2320 /** */ 2321 extern(C) void function() WebkitReserved2; 2322 /** */ 2323 extern(C) void function() WebkitReserved3; 2324 } 2325 2326 struct WebKitWebsiteDataManagerPrivate; 2327 2328 struct WebKitWebsitePolicies 2329 { 2330 GObject parent; 2331 WebKitWebsitePoliciesPrivate* priv; 2332 } 2333 2334 struct WebKitWebsitePoliciesClass 2335 { 2336 GObjectClass parentClass; 2337 /** */ 2338 extern(C) void function() WebkitReserved0; 2339 /** */ 2340 extern(C) void function() WebkitReserved1; 2341 /** */ 2342 extern(C) void function() WebkitReserved2; 2343 /** */ 2344 extern(C) void function() WebkitReserved3; 2345 } 2346 2347 struct WebKitWebsitePoliciesPrivate; 2348 2349 struct WebKitWindowProperties 2350 { 2351 GObject parent; 2352 WebKitWindowPropertiesPrivate* priv; 2353 } 2354 2355 struct WebKitWindowPropertiesClass 2356 { 2357 GObjectClass parentClass; 2358 /** */ 2359 extern(C) void function() WebkitReserved0; 2360 /** */ 2361 extern(C) void function() WebkitReserved1; 2362 /** */ 2363 extern(C) void function() WebkitReserved2; 2364 /** */ 2365 extern(C) void function() WebkitReserved3; 2366 } 2367 2368 struct WebKitWindowPropertiesPrivate; 2369 2370 /** 2371 * Type definition for a function that will be called back when an URI request is 2372 * made for a user registered URI scheme. 2373 * 2374 * Params: 2375 * request = the #WebKitURISchemeRequest 2376 * userData = user data passed to the callback 2377 */ 2378 public alias extern(C) void function(WebKitURISchemeRequest* request, void* userData) WebKitURISchemeRequestCallback; 2379 2380 /** 2381 * The copy clipboard command. Copies the current selection inside 2382 * a #WebKitWebView to the clipboard. 2383 * You can check whether it's possible to execute the command with 2384 * webkit_web_view_can_execute_editing_command(). In general it's 2385 * possible to copy to the clipboard when there is an active selection 2386 * inside the #WebKitWebView. 2387 */ 2388 enum EDITING_COMMAND_COPY = "Copy"; 2389 alias WEBKIT_EDITING_COMMAND_COPY = EDITING_COMMAND_COPY; 2390 2391 /** 2392 * The create link command. Creates a link element that is inserted at 2393 * the current cursor position. If there's a selection, the selected text 2394 * will be used as the link text, otherwise the URL itself will be used. 2395 * It receives the link URL as argument. This command should be executed 2396 * with webkit_web_view_execute_editing_command_with_argument() 2397 */ 2398 enum EDITING_COMMAND_CREATE_LINK = "CreateLink"; 2399 alias WEBKIT_EDITING_COMMAND_CREATE_LINK = EDITING_COMMAND_CREATE_LINK; 2400 2401 /** 2402 * The cut clipboard command. Copies the current selection inside 2403 * a #WebKitWebView to the clipboard and deletes the selected content. 2404 * You can check whether it's possible to execute the command with 2405 * webkit_web_view_can_execute_editing_command(). In general it's 2406 * possible to cut to the clipboard when the #WebKitWebView content is 2407 * editable and there is an active selection. 2408 */ 2409 enum EDITING_COMMAND_CUT = "Cut"; 2410 alias WEBKIT_EDITING_COMMAND_CUT = EDITING_COMMAND_CUT; 2411 2412 /** 2413 * The insert image command. Creates an image element that is inserted at 2414 * the current cursor position. It receives an URI as argument, 2415 * that is used as the image source. This command should be executed with 2416 * webkit_web_view_execute_editing_command_with_argument(). 2417 */ 2418 enum EDITING_COMMAND_INSERT_IMAGE = "InsertImage"; 2419 alias WEBKIT_EDITING_COMMAND_INSERT_IMAGE = EDITING_COMMAND_INSERT_IMAGE; 2420 2421 /** 2422 * The paste clipboard command. Pastes the contents of the clipboard to 2423 * a #WebKitWebView. 2424 * You can check whether it's possible to execute the command with 2425 * webkit_web_view_can_execute_editing_command(). In general it's possible 2426 * to paste from the clipboard when the #WebKitWebView content is editable 2427 * and clipboard is not empty. 2428 */ 2429 enum EDITING_COMMAND_PASTE = "Paste"; 2430 alias WEBKIT_EDITING_COMMAND_PASTE = EDITING_COMMAND_PASTE; 2431 2432 /** 2433 * The paste as plaintext clipboard command. Pastes the contents of the 2434 * clipboard to a #WebKitWebView, with formatting removed. 2435 * You can check whether it's possible to execute the command with 2436 * webkit_web_view_can_execute_editing_command(). In general it's possible 2437 * to paste from the clipboard when the #WebKitWebView content is editable 2438 * and clipboard is not empty. 2439 */ 2440 enum EDITING_COMMAND_PASTE_AS_PLAIN_TEXT = "PasteAsPlainText"; 2441 alias WEBKIT_EDITING_COMMAND_PASTE_AS_PLAIN_TEXT = EDITING_COMMAND_PASTE_AS_PLAIN_TEXT; 2442 2443 /** 2444 * The redo command. Redoes a previously undone editing command in 2445 * a #WebKitWebView. 2446 * You can check whether it's possible to execute the command with 2447 * webkit_web_view_can_execute_editing_command(). It's only possible 2448 * to redo a command when it has been previously undone. 2449 */ 2450 enum EDITING_COMMAND_REDO = "Redo"; 2451 alias WEBKIT_EDITING_COMMAND_REDO = EDITING_COMMAND_REDO; 2452 2453 /** 2454 * The select all command. Selects all the content of the current text field in 2455 * a #WebKitWebView. 2456 * It is always possible to select all text, no matter whether the 2457 * #WebKitWebView content is editable or not. You can still check it 2458 * with webkit_web_view_can_execute_editing_command(). 2459 */ 2460 enum EDITING_COMMAND_SELECT_ALL = "SelectAll"; 2461 alias WEBKIT_EDITING_COMMAND_SELECT_ALL = EDITING_COMMAND_SELECT_ALL; 2462 2463 /** 2464 * The undo command. Undoes the last editing command in a #WebKitWebView. 2465 * You can check whether it's possible to execute the command with 2466 * webkit_web_view_can_execute_editing_command(). It's only possible 2467 * to undo a command after a previously executed editing operation. 2468 */ 2469 enum EDITING_COMMAND_UNDO = "Undo"; 2470 alias WEBKIT_EDITING_COMMAND_UNDO = EDITING_COMMAND_UNDO; 2471 2472 /** 2473 * Like webkit_get_major_version(), but from the headers used at 2474 * application compile time, rather than from the library linked 2475 * against at application run time. 2476 */ 2477 enum MAJOR_VERSION = 2; 2478 alias WEBKIT_MAJOR_VERSION = MAJOR_VERSION; 2479 2480 /** 2481 * Like webkit_get_micro_version(), but from the headers used at 2482 * application compile time, rather than from the library linked 2483 * against at application run time. 2484 */ 2485 enum MICRO_VERSION = 1; 2486 alias WEBKIT_MICRO_VERSION = MICRO_VERSION; 2487 2488 /** 2489 * Like webkit_get_minor_version(), but from the headers used at 2490 * application compile time, rather than from the library linked 2491 * against at application run time. 2492 */ 2493 enum MINOR_VERSION = 30; 2494 alias WEBKIT_MINOR_VERSION = MINOR_VERSION;