webkit6_sys/
lib.rs

1// This file was generated by gir (https://github.com/gtk-rs/gir)
2// from gir-files (https://github.com/gtk-rs/gir-files)
3// from webkit-gir-files
4// DO NOT EDIT
5
6#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
7#![allow(
8    clippy::approx_constant,
9    clippy::type_complexity,
10    clippy::unreadable_literal,
11    clippy::upper_case_acronyms
12)]
13#![cfg_attr(docsrs, feature(doc_cfg))]
14
15use gdk_sys as gdk;
16use gio_sys as gio;
17use glib_sys as glib;
18use gobject_sys as gobject;
19use gtk_sys as gtk;
20use javascriptcore_sys as javascriptcore;
21use soup_sys as soup;
22
23#[cfg(unix)]
24#[allow(unused_imports)]
25use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t};
26#[allow(unused_imports)]
27use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE};
28#[allow(unused_imports)]
29use std::ffi::{
30    c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void,
31};
32
33#[allow(unused_imports)]
34use glib::{gboolean, gconstpointer, gpointer, GType};
35
36// Enums
37pub type WebKitAuthenticationScheme = c_int;
38pub const WEBKIT_AUTHENTICATION_SCHEME_DEFAULT: WebKitAuthenticationScheme = 1;
39pub const WEBKIT_AUTHENTICATION_SCHEME_HTTP_BASIC: WebKitAuthenticationScheme = 2;
40pub const WEBKIT_AUTHENTICATION_SCHEME_HTTP_DIGEST: WebKitAuthenticationScheme = 3;
41pub const WEBKIT_AUTHENTICATION_SCHEME_HTML_FORM: WebKitAuthenticationScheme = 4;
42pub const WEBKIT_AUTHENTICATION_SCHEME_NTLM: WebKitAuthenticationScheme = 5;
43pub const WEBKIT_AUTHENTICATION_SCHEME_NEGOTIATE: WebKitAuthenticationScheme = 6;
44pub const WEBKIT_AUTHENTICATION_SCHEME_CLIENT_CERTIFICATE_REQUESTED: WebKitAuthenticationScheme = 7;
45pub const WEBKIT_AUTHENTICATION_SCHEME_SERVER_TRUST_EVALUATION_REQUESTED:
46    WebKitAuthenticationScheme = 8;
47pub const WEBKIT_AUTHENTICATION_SCHEME_CLIENT_CERTIFICATE_PIN_REQUESTED:
48    WebKitAuthenticationScheme = 9;
49pub const WEBKIT_AUTHENTICATION_SCHEME_UNKNOWN: WebKitAuthenticationScheme = 100;
50
51pub type WebKitAutomationBrowsingContextPresentation = c_int;
52pub const WEBKIT_AUTOMATION_BROWSING_CONTEXT_PRESENTATION_WINDOW:
53    WebKitAutomationBrowsingContextPresentation = 0;
54pub const WEBKIT_AUTOMATION_BROWSING_CONTEXT_PRESENTATION_TAB:
55    WebKitAutomationBrowsingContextPresentation = 1;
56
57pub type WebKitAutoplayPolicy = c_int;
58pub const WEBKIT_AUTOPLAY_ALLOW: WebKitAutoplayPolicy = 0;
59pub const WEBKIT_AUTOPLAY_ALLOW_WITHOUT_SOUND: WebKitAutoplayPolicy = 1;
60pub const WEBKIT_AUTOPLAY_DENY: WebKitAutoplayPolicy = 2;
61
62pub type WebKitCacheModel = c_int;
63pub const WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER: WebKitCacheModel = 0;
64pub const WEBKIT_CACHE_MODEL_WEB_BROWSER: WebKitCacheModel = 1;
65pub const WEBKIT_CACHE_MODEL_DOCUMENT_BROWSER: WebKitCacheModel = 2;
66
67pub type WebKitContextMenuAction = c_int;
68pub const WEBKIT_CONTEXT_MENU_ACTION_NO_ACTION: WebKitContextMenuAction = 0;
69pub const WEBKIT_CONTEXT_MENU_ACTION_OPEN_LINK: WebKitContextMenuAction = 1;
70pub const WEBKIT_CONTEXT_MENU_ACTION_OPEN_LINK_IN_NEW_WINDOW: WebKitContextMenuAction = 2;
71pub const WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_LINK_TO_DISK: WebKitContextMenuAction = 3;
72pub const WEBKIT_CONTEXT_MENU_ACTION_COPY_LINK_TO_CLIPBOARD: WebKitContextMenuAction = 4;
73pub const WEBKIT_CONTEXT_MENU_ACTION_OPEN_IMAGE_IN_NEW_WINDOW: WebKitContextMenuAction = 5;
74pub const WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_IMAGE_TO_DISK: WebKitContextMenuAction = 6;
75pub const WEBKIT_CONTEXT_MENU_ACTION_COPY_IMAGE_TO_CLIPBOARD: WebKitContextMenuAction = 7;
76pub const WEBKIT_CONTEXT_MENU_ACTION_COPY_IMAGE_URL_TO_CLIPBOARD: WebKitContextMenuAction = 8;
77pub const WEBKIT_CONTEXT_MENU_ACTION_OPEN_FRAME_IN_NEW_WINDOW: WebKitContextMenuAction = 9;
78pub const WEBKIT_CONTEXT_MENU_ACTION_GO_BACK: WebKitContextMenuAction = 10;
79pub const WEBKIT_CONTEXT_MENU_ACTION_GO_FORWARD: WebKitContextMenuAction = 11;
80pub const WEBKIT_CONTEXT_MENU_ACTION_STOP: WebKitContextMenuAction = 12;
81pub const WEBKIT_CONTEXT_MENU_ACTION_RELOAD: WebKitContextMenuAction = 13;
82pub const WEBKIT_CONTEXT_MENU_ACTION_COPY: WebKitContextMenuAction = 14;
83pub const WEBKIT_CONTEXT_MENU_ACTION_CUT: WebKitContextMenuAction = 15;
84pub const WEBKIT_CONTEXT_MENU_ACTION_PASTE: WebKitContextMenuAction = 16;
85pub const WEBKIT_CONTEXT_MENU_ACTION_DELETE: WebKitContextMenuAction = 17;
86pub const WEBKIT_CONTEXT_MENU_ACTION_SELECT_ALL: WebKitContextMenuAction = 18;
87pub const WEBKIT_CONTEXT_MENU_ACTION_INPUT_METHODS: WebKitContextMenuAction = 19;
88pub const WEBKIT_CONTEXT_MENU_ACTION_UNICODE: WebKitContextMenuAction = 20;
89pub const WEBKIT_CONTEXT_MENU_ACTION_SPELLING_GUESS: WebKitContextMenuAction = 21;
90pub const WEBKIT_CONTEXT_MENU_ACTION_NO_GUESSES_FOUND: WebKitContextMenuAction = 22;
91pub const WEBKIT_CONTEXT_MENU_ACTION_IGNORE_SPELLING: WebKitContextMenuAction = 23;
92pub const WEBKIT_CONTEXT_MENU_ACTION_LEARN_SPELLING: WebKitContextMenuAction = 24;
93pub const WEBKIT_CONTEXT_MENU_ACTION_IGNORE_GRAMMAR: WebKitContextMenuAction = 25;
94pub const WEBKIT_CONTEXT_MENU_ACTION_FONT_MENU: WebKitContextMenuAction = 26;
95pub const WEBKIT_CONTEXT_MENU_ACTION_BOLD: WebKitContextMenuAction = 27;
96pub const WEBKIT_CONTEXT_MENU_ACTION_ITALIC: WebKitContextMenuAction = 28;
97pub const WEBKIT_CONTEXT_MENU_ACTION_UNDERLINE: WebKitContextMenuAction = 29;
98pub const WEBKIT_CONTEXT_MENU_ACTION_OUTLINE: WebKitContextMenuAction = 30;
99pub const WEBKIT_CONTEXT_MENU_ACTION_INSPECT_ELEMENT: WebKitContextMenuAction = 31;
100pub const WEBKIT_CONTEXT_MENU_ACTION_OPEN_VIDEO_IN_NEW_WINDOW: WebKitContextMenuAction = 32;
101pub const WEBKIT_CONTEXT_MENU_ACTION_OPEN_AUDIO_IN_NEW_WINDOW: WebKitContextMenuAction = 33;
102pub const WEBKIT_CONTEXT_MENU_ACTION_COPY_VIDEO_LINK_TO_CLIPBOARD: WebKitContextMenuAction = 34;
103pub const WEBKIT_CONTEXT_MENU_ACTION_COPY_AUDIO_LINK_TO_CLIPBOARD: WebKitContextMenuAction = 35;
104pub const WEBKIT_CONTEXT_MENU_ACTION_TOGGLE_MEDIA_CONTROLS: WebKitContextMenuAction = 36;
105pub const WEBKIT_CONTEXT_MENU_ACTION_TOGGLE_MEDIA_LOOP: WebKitContextMenuAction = 37;
106pub const WEBKIT_CONTEXT_MENU_ACTION_ENTER_VIDEO_FULLSCREEN: WebKitContextMenuAction = 38;
107pub const WEBKIT_CONTEXT_MENU_ACTION_MEDIA_PLAY: WebKitContextMenuAction = 39;
108pub const WEBKIT_CONTEXT_MENU_ACTION_MEDIA_PAUSE: WebKitContextMenuAction = 40;
109pub const WEBKIT_CONTEXT_MENU_ACTION_MEDIA_MUTE: WebKitContextMenuAction = 41;
110pub const WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_VIDEO_TO_DISK: WebKitContextMenuAction = 42;
111pub const WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_AUDIO_TO_DISK: WebKitContextMenuAction = 43;
112pub const WEBKIT_CONTEXT_MENU_ACTION_INSERT_EMOJI: WebKitContextMenuAction = 44;
113pub const WEBKIT_CONTEXT_MENU_ACTION_PASTE_AS_PLAIN_TEXT: WebKitContextMenuAction = 45;
114pub const WEBKIT_CONTEXT_MENU_ACTION_CUSTOM: WebKitContextMenuAction = 10000;
115
116pub type WebKitCookieAcceptPolicy = c_int;
117pub const WEBKIT_COOKIE_POLICY_ACCEPT_ALWAYS: WebKitCookieAcceptPolicy = 0;
118pub const WEBKIT_COOKIE_POLICY_ACCEPT_NEVER: WebKitCookieAcceptPolicy = 1;
119pub const WEBKIT_COOKIE_POLICY_ACCEPT_NO_THIRD_PARTY: WebKitCookieAcceptPolicy = 2;
120
121pub type WebKitCookiePersistentStorage = c_int;
122pub const WEBKIT_COOKIE_PERSISTENT_STORAGE_TEXT: WebKitCookiePersistentStorage = 0;
123pub const WEBKIT_COOKIE_PERSISTENT_STORAGE_SQLITE: WebKitCookiePersistentStorage = 1;
124
125pub type WebKitCredentialPersistence = c_int;
126pub const WEBKIT_CREDENTIAL_PERSISTENCE_NONE: WebKitCredentialPersistence = 0;
127pub const WEBKIT_CREDENTIAL_PERSISTENCE_FOR_SESSION: WebKitCredentialPersistence = 1;
128pub const WEBKIT_CREDENTIAL_PERSISTENCE_PERMANENT: WebKitCredentialPersistence = 2;
129
130pub type WebKitDownloadError = c_int;
131pub const WEBKIT_DOWNLOAD_ERROR_NETWORK: WebKitDownloadError = 499;
132pub const WEBKIT_DOWNLOAD_ERROR_CANCELLED_BY_USER: WebKitDownloadError = 400;
133pub const WEBKIT_DOWNLOAD_ERROR_DESTINATION: WebKitDownloadError = 401;
134
135pub type WebKitFaviconDatabaseError = c_int;
136pub const WEBKIT_FAVICON_DATABASE_ERROR_NOT_INITIALIZED: WebKitFaviconDatabaseError = 0;
137pub const WEBKIT_FAVICON_DATABASE_ERROR_FAVICON_NOT_FOUND: WebKitFaviconDatabaseError = 1;
138pub const WEBKIT_FAVICON_DATABASE_ERROR_FAVICON_UNKNOWN: WebKitFaviconDatabaseError = 2;
139
140pub type WebKitFeatureStatus = c_int;
141pub const WEBKIT_FEATURE_STATUS_EMBEDDER: WebKitFeatureStatus = 0;
142pub const WEBKIT_FEATURE_STATUS_UNSTABLE: WebKitFeatureStatus = 1;
143pub const WEBKIT_FEATURE_STATUS_INTERNAL: WebKitFeatureStatus = 2;
144pub const WEBKIT_FEATURE_STATUS_DEVELOPER: WebKitFeatureStatus = 3;
145pub const WEBKIT_FEATURE_STATUS_TESTABLE: WebKitFeatureStatus = 4;
146pub const WEBKIT_FEATURE_STATUS_PREVIEW: WebKitFeatureStatus = 5;
147pub const WEBKIT_FEATURE_STATUS_STABLE: WebKitFeatureStatus = 6;
148pub const WEBKIT_FEATURE_STATUS_MATURE: WebKitFeatureStatus = 7;
149
150pub type WebKitHardwareAccelerationPolicy = c_int;
151pub const WEBKIT_HARDWARE_ACCELERATION_POLICY_ALWAYS: WebKitHardwareAccelerationPolicy = 0;
152pub const WEBKIT_HARDWARE_ACCELERATION_POLICY_NEVER: WebKitHardwareAccelerationPolicy = 1;
153
154pub type WebKitInputPurpose = c_int;
155pub const WEBKIT_INPUT_PURPOSE_FREE_FORM: WebKitInputPurpose = 0;
156pub const WEBKIT_INPUT_PURPOSE_DIGITS: WebKitInputPurpose = 1;
157pub const WEBKIT_INPUT_PURPOSE_NUMBER: WebKitInputPurpose = 2;
158pub const WEBKIT_INPUT_PURPOSE_PHONE: WebKitInputPurpose = 3;
159pub const WEBKIT_INPUT_PURPOSE_URL: WebKitInputPurpose = 4;
160pub const WEBKIT_INPUT_PURPOSE_EMAIL: WebKitInputPurpose = 5;
161pub const WEBKIT_INPUT_PURPOSE_PASSWORD: WebKitInputPurpose = 6;
162
163pub type WebKitInsecureContentEvent = c_int;
164pub const WEBKIT_INSECURE_CONTENT_RUN: WebKitInsecureContentEvent = 0;
165pub const WEBKIT_INSECURE_CONTENT_DISPLAYED: WebKitInsecureContentEvent = 1;
166
167pub type WebKitJavascriptError = c_int;
168pub const WEBKIT_JAVASCRIPT_ERROR_SCRIPT_FAILED: WebKitJavascriptError = 699;
169pub const WEBKIT_JAVASCRIPT_ERROR_INVALID_PARAMETER: WebKitJavascriptError = 600;
170pub const WEBKIT_JAVASCRIPT_ERROR_INVALID_RESULT: WebKitJavascriptError = 601;
171
172pub type WebKitLoadEvent = c_int;
173pub const WEBKIT_LOAD_STARTED: WebKitLoadEvent = 0;
174pub const WEBKIT_LOAD_REDIRECTED: WebKitLoadEvent = 1;
175pub const WEBKIT_LOAD_COMMITTED: WebKitLoadEvent = 2;
176pub const WEBKIT_LOAD_FINISHED: WebKitLoadEvent = 3;
177
178pub type WebKitMediaCaptureState = c_int;
179pub const WEBKIT_MEDIA_CAPTURE_STATE_NONE: WebKitMediaCaptureState = 0;
180pub const WEBKIT_MEDIA_CAPTURE_STATE_ACTIVE: WebKitMediaCaptureState = 1;
181pub const WEBKIT_MEDIA_CAPTURE_STATE_MUTED: WebKitMediaCaptureState = 2;
182
183pub type WebKitMediaError = c_int;
184pub const WEBKIT_MEDIA_ERROR_WILL_HANDLE_LOAD: WebKitMediaError = 204;
185
186pub type WebKitNavigationType = c_int;
187pub const WEBKIT_NAVIGATION_TYPE_LINK_CLICKED: WebKitNavigationType = 0;
188pub const WEBKIT_NAVIGATION_TYPE_FORM_SUBMITTED: WebKitNavigationType = 1;
189pub const WEBKIT_NAVIGATION_TYPE_BACK_FORWARD: WebKitNavigationType = 2;
190pub const WEBKIT_NAVIGATION_TYPE_RELOAD: WebKitNavigationType = 3;
191pub const WEBKIT_NAVIGATION_TYPE_FORM_RESUBMITTED: WebKitNavigationType = 4;
192pub const WEBKIT_NAVIGATION_TYPE_OTHER: WebKitNavigationType = 5;
193
194pub type WebKitNetworkError = c_int;
195pub const WEBKIT_NETWORK_ERROR_FAILED: WebKitNetworkError = 399;
196pub const WEBKIT_NETWORK_ERROR_TRANSPORT: WebKitNetworkError = 300;
197pub const WEBKIT_NETWORK_ERROR_UNKNOWN_PROTOCOL: WebKitNetworkError = 301;
198pub const WEBKIT_NETWORK_ERROR_CANCELLED: WebKitNetworkError = 302;
199pub const WEBKIT_NETWORK_ERROR_FILE_DOES_NOT_EXIST: WebKitNetworkError = 303;
200
201pub type WebKitNetworkProxyMode = c_int;
202pub const WEBKIT_NETWORK_PROXY_MODE_DEFAULT: WebKitNetworkProxyMode = 0;
203pub const WEBKIT_NETWORK_PROXY_MODE_NO_PROXY: WebKitNetworkProxyMode = 1;
204pub const WEBKIT_NETWORK_PROXY_MODE_CUSTOM: WebKitNetworkProxyMode = 2;
205
206pub type WebKitPermissionState = c_int;
207pub const WEBKIT_PERMISSION_STATE_GRANTED: WebKitPermissionState = 0;
208pub const WEBKIT_PERMISSION_STATE_DENIED: WebKitPermissionState = 1;
209pub const WEBKIT_PERMISSION_STATE_PROMPT: WebKitPermissionState = 2;
210
211pub type WebKitPolicyDecisionType = c_int;
212pub const WEBKIT_POLICY_DECISION_TYPE_NAVIGATION_ACTION: WebKitPolicyDecisionType = 0;
213pub const WEBKIT_POLICY_DECISION_TYPE_NEW_WINDOW_ACTION: WebKitPolicyDecisionType = 1;
214pub const WEBKIT_POLICY_DECISION_TYPE_RESPONSE: WebKitPolicyDecisionType = 2;
215
216pub type WebKitPolicyError = c_int;
217pub const WEBKIT_POLICY_ERROR_FAILED: WebKitPolicyError = 199;
218pub const WEBKIT_POLICY_ERROR_CANNOT_SHOW_MIME_TYPE: WebKitPolicyError = 100;
219pub const WEBKIT_POLICY_ERROR_CANNOT_SHOW_URI: WebKitPolicyError = 101;
220pub const WEBKIT_POLICY_ERROR_FRAME_LOAD_INTERRUPTED_BY_POLICY_CHANGE: WebKitPolicyError = 102;
221pub const WEBKIT_POLICY_ERROR_CANNOT_USE_RESTRICTED_PORT: WebKitPolicyError = 103;
222
223pub type WebKitPrintError = c_int;
224pub const WEBKIT_PRINT_ERROR_GENERAL: WebKitPrintError = 599;
225pub const WEBKIT_PRINT_ERROR_PRINTER_NOT_FOUND: WebKitPrintError = 500;
226pub const WEBKIT_PRINT_ERROR_INVALID_PAGE_RANGE: WebKitPrintError = 501;
227
228pub type WebKitPrintOperationResponse = c_int;
229pub const WEBKIT_PRINT_OPERATION_RESPONSE_PRINT: WebKitPrintOperationResponse = 0;
230pub const WEBKIT_PRINT_OPERATION_RESPONSE_CANCEL: WebKitPrintOperationResponse = 1;
231
232pub type WebKitSaveMode = c_int;
233pub const WEBKIT_SAVE_MODE_MHTML: WebKitSaveMode = 0;
234
235pub type WebKitScriptDialogType = c_int;
236pub const WEBKIT_SCRIPT_DIALOG_ALERT: WebKitScriptDialogType = 0;
237pub const WEBKIT_SCRIPT_DIALOG_CONFIRM: WebKitScriptDialogType = 1;
238pub const WEBKIT_SCRIPT_DIALOG_PROMPT: WebKitScriptDialogType = 2;
239pub const WEBKIT_SCRIPT_DIALOG_BEFORE_UNLOAD_CONFIRM: WebKitScriptDialogType = 3;
240
241pub type WebKitSnapshotError = c_int;
242pub const WEBKIT_SNAPSHOT_ERROR_FAILED_TO_CREATE: WebKitSnapshotError = 799;
243
244pub type WebKitSnapshotRegion = c_int;
245pub const WEBKIT_SNAPSHOT_REGION_VISIBLE: WebKitSnapshotRegion = 0;
246pub const WEBKIT_SNAPSHOT_REGION_FULL_DOCUMENT: WebKitSnapshotRegion = 1;
247
248pub type WebKitTLSErrorsPolicy = c_int;
249pub const WEBKIT_TLS_ERRORS_POLICY_IGNORE: WebKitTLSErrorsPolicy = 0;
250pub const WEBKIT_TLS_ERRORS_POLICY_FAIL: WebKitTLSErrorsPolicy = 1;
251
252pub type WebKitUserContentFilterError = c_int;
253pub const WEBKIT_USER_CONTENT_FILTER_ERROR_INVALID_SOURCE: WebKitUserContentFilterError = 0;
254pub const WEBKIT_USER_CONTENT_FILTER_ERROR_NOT_FOUND: WebKitUserContentFilterError = 1;
255
256pub type WebKitUserContentInjectedFrames = c_int;
257pub const WEBKIT_USER_CONTENT_INJECT_ALL_FRAMES: WebKitUserContentInjectedFrames = 0;
258pub const WEBKIT_USER_CONTENT_INJECT_TOP_FRAME: WebKitUserContentInjectedFrames = 1;
259
260pub type WebKitUserMessageError = c_int;
261pub const WEBKIT_USER_MESSAGE_UNHANDLED_MESSAGE: WebKitUserMessageError = 0;
262
263pub type WebKitUserScriptInjectionTime = c_int;
264pub const WEBKIT_USER_SCRIPT_INJECT_AT_DOCUMENT_START: WebKitUserScriptInjectionTime = 0;
265pub const WEBKIT_USER_SCRIPT_INJECT_AT_DOCUMENT_END: WebKitUserScriptInjectionTime = 1;
266
267pub type WebKitUserStyleLevel = c_int;
268pub const WEBKIT_USER_STYLE_LEVEL_USER: WebKitUserStyleLevel = 0;
269pub const WEBKIT_USER_STYLE_LEVEL_AUTHOR: WebKitUserStyleLevel = 1;
270
271pub type WebKitWebExtensionMatchPatternError = c_int;
272pub const WEBKIT_WEB_EXTENSION_MATCH_PATTERN_ERROR_UNKNOWN: WebKitWebExtensionMatchPatternError =
273    899;
274pub const WEBKIT_WEB_EXTENSION_MATCH_PATTERN_ERROR_INVALID_SCHEME:
275    WebKitWebExtensionMatchPatternError = 808;
276pub const WEBKIT_WEB_EXTENSION_MATCH_PATTERN_ERROR_INVALID_HOST:
277    WebKitWebExtensionMatchPatternError = 809;
278pub const WEBKIT_WEB_EXTENSION_MATCH_PATTERN_ERROR_INVALID_PATH:
279    WebKitWebExtensionMatchPatternError = 810;
280
281pub type WebKitWebExtensionMode = c_int;
282pub const WEBKIT_WEB_EXTENSION_MODE_NONE: WebKitWebExtensionMode = 0;
283pub const WEBKIT_WEB_EXTENSION_MODE_MANIFESTV2: WebKitWebExtensionMode = 1;
284pub const WEBKIT_WEB_EXTENSION_MODE_MANIFESTV3: WebKitWebExtensionMode = 2;
285
286pub type WebKitWebProcessTerminationReason = c_int;
287pub const WEBKIT_WEB_PROCESS_CRASHED: WebKitWebProcessTerminationReason = 0;
288pub const WEBKIT_WEB_PROCESS_EXCEEDED_MEMORY_LIMIT: WebKitWebProcessTerminationReason = 1;
289pub const WEBKIT_WEB_PROCESS_TERMINATED_BY_API: WebKitWebProcessTerminationReason = 2;
290
291// Constants
292pub const WEBKIT_EDITING_COMMAND_COPY: &[u8] = b"Copy\0";
293pub const WEBKIT_EDITING_COMMAND_CREATE_LINK: &[u8] = b"CreateLink\0";
294pub const WEBKIT_EDITING_COMMAND_CUT: &[u8] = b"Cut\0";
295pub const WEBKIT_EDITING_COMMAND_INSERT_IMAGE: &[u8] = b"InsertImage\0";
296pub const WEBKIT_EDITING_COMMAND_PASTE: &[u8] = b"Paste\0";
297pub const WEBKIT_EDITING_COMMAND_PASTE_AS_PLAIN_TEXT: &[u8] = b"PasteAsPlainText\0";
298pub const WEBKIT_EDITING_COMMAND_REDO: &[u8] = b"Redo\0";
299pub const WEBKIT_EDITING_COMMAND_SELECT_ALL: &[u8] = b"SelectAll\0";
300pub const WEBKIT_EDITING_COMMAND_UNDO: &[u8] = b"Undo\0";
301
302// Flags
303pub type WebKitEditorTypingAttributes = c_uint;
304pub const WEBKIT_EDITOR_TYPING_ATTRIBUTE_NONE: WebKitEditorTypingAttributes = 2;
305pub const WEBKIT_EDITOR_TYPING_ATTRIBUTE_BOLD: WebKitEditorTypingAttributes = 4;
306pub const WEBKIT_EDITOR_TYPING_ATTRIBUTE_ITALIC: WebKitEditorTypingAttributes = 8;
307pub const WEBKIT_EDITOR_TYPING_ATTRIBUTE_UNDERLINE: WebKitEditorTypingAttributes = 16;
308pub const WEBKIT_EDITOR_TYPING_ATTRIBUTE_STRIKETHROUGH: WebKitEditorTypingAttributes = 32;
309
310pub type WebKitFindOptions = c_uint;
311pub const WEBKIT_FIND_OPTIONS_NONE: WebKitFindOptions = 0;
312pub const WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE: WebKitFindOptions = 1;
313pub const WEBKIT_FIND_OPTIONS_AT_WORD_STARTS: WebKitFindOptions = 2;
314pub const WEBKIT_FIND_OPTIONS_TREAT_MEDIAL_CAPITAL_AS_WORD_START: WebKitFindOptions = 4;
315pub const WEBKIT_FIND_OPTIONS_BACKWARDS: WebKitFindOptions = 8;
316pub const WEBKIT_FIND_OPTIONS_WRAP_AROUND: WebKitFindOptions = 16;
317
318pub type WebKitHitTestResultContext = c_uint;
319pub const WEBKIT_HIT_TEST_RESULT_CONTEXT_DOCUMENT: WebKitHitTestResultContext = 2;
320pub const WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK: WebKitHitTestResultContext = 4;
321pub const WEBKIT_HIT_TEST_RESULT_CONTEXT_IMAGE: WebKitHitTestResultContext = 8;
322pub const WEBKIT_HIT_TEST_RESULT_CONTEXT_MEDIA: WebKitHitTestResultContext = 16;
323pub const WEBKIT_HIT_TEST_RESULT_CONTEXT_EDITABLE: WebKitHitTestResultContext = 32;
324pub const WEBKIT_HIT_TEST_RESULT_CONTEXT_SCROLLBAR: WebKitHitTestResultContext = 64;
325pub const WEBKIT_HIT_TEST_RESULT_CONTEXT_SELECTION: WebKitHitTestResultContext = 128;
326
327pub type WebKitInputHints = c_uint;
328pub const WEBKIT_INPUT_HINT_NONE: WebKitInputHints = 0;
329pub const WEBKIT_INPUT_HINT_SPELLCHECK: WebKitInputHints = 1;
330pub const WEBKIT_INPUT_HINT_LOWERCASE: WebKitInputHints = 2;
331pub const WEBKIT_INPUT_HINT_UPPERCASE_CHARS: WebKitInputHints = 4;
332pub const WEBKIT_INPUT_HINT_UPPERCASE_WORDS: WebKitInputHints = 8;
333pub const WEBKIT_INPUT_HINT_UPPERCASE_SENTENCES: WebKitInputHints = 16;
334pub const WEBKIT_INPUT_HINT_INHIBIT_OSK: WebKitInputHints = 32;
335
336pub type WebKitSnapshotOptions = c_uint;
337pub const WEBKIT_SNAPSHOT_OPTIONS_NONE: WebKitSnapshotOptions = 0;
338pub const WEBKIT_SNAPSHOT_OPTIONS_INCLUDE_SELECTION_HIGHLIGHTING: WebKitSnapshotOptions = 1;
339pub const WEBKIT_SNAPSHOT_OPTIONS_TRANSPARENT_BACKGROUND: WebKitSnapshotOptions = 2;
340
341pub type WebKitWebExtensionMatchPatternOptions = c_uint;
342pub const WEBKIT_WEB_EXTENSION_MATCH_PATTERN_OPTIONS_NONE: WebKitWebExtensionMatchPatternOptions =
343    1;
344pub const WEBKIT_WEB_EXTENSION_MATCH_PATTERN_OPTIONS_IGNORE_SCHEMES:
345    WebKitWebExtensionMatchPatternOptions = 2;
346pub const WEBKIT_WEB_EXTENSION_MATCH_PATTERN_OPTIONS_IGNORE_PATHS:
347    WebKitWebExtensionMatchPatternOptions = 4;
348pub const WEBKIT_WEB_EXTENSION_MATCH_PATTERN_OPTIONS_MATCH_BIDIRECTIONALLY:
349    WebKitWebExtensionMatchPatternOptions = 8;
350
351pub type WebKitWebsiteDataTypes = c_uint;
352pub const WEBKIT_WEBSITE_DATA_MEMORY_CACHE: WebKitWebsiteDataTypes = 1;
353pub const WEBKIT_WEBSITE_DATA_DISK_CACHE: WebKitWebsiteDataTypes = 2;
354pub const WEBKIT_WEBSITE_DATA_OFFLINE_APPLICATION_CACHE: WebKitWebsiteDataTypes = 4;
355pub const WEBKIT_WEBSITE_DATA_SESSION_STORAGE: WebKitWebsiteDataTypes = 8;
356pub const WEBKIT_WEBSITE_DATA_LOCAL_STORAGE: WebKitWebsiteDataTypes = 16;
357pub const WEBKIT_WEBSITE_DATA_INDEXEDDB_DATABASES: WebKitWebsiteDataTypes = 32;
358pub const WEBKIT_WEBSITE_DATA_COOKIES: WebKitWebsiteDataTypes = 64;
359pub const WEBKIT_WEBSITE_DATA_DEVICE_ID_HASH_SALT: WebKitWebsiteDataTypes = 128;
360pub const WEBKIT_WEBSITE_DATA_HSTS_CACHE: WebKitWebsiteDataTypes = 256;
361pub const WEBKIT_WEBSITE_DATA_ITP: WebKitWebsiteDataTypes = 512;
362pub const WEBKIT_WEBSITE_DATA_SERVICE_WORKER_REGISTRATIONS: WebKitWebsiteDataTypes = 1024;
363pub const WEBKIT_WEBSITE_DATA_DOM_CACHE: WebKitWebsiteDataTypes = 2048;
364pub const WEBKIT_WEBSITE_DATA_ALL: WebKitWebsiteDataTypes = 4095;
365
366// Callbacks
367pub type WebKitURISchemeRequestCallback =
368    Option<unsafe extern "C" fn(*mut WebKitURISchemeRequest, gpointer)>;
369
370// Records
371#[repr(C)]
372#[allow(dead_code)]
373pub struct WebKitApplicationInfo {
374    _data: [u8; 0],
375    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
376}
377
378impl ::std::fmt::Debug for WebKitApplicationInfo {
379    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
380        f.debug_struct(&format!("WebKitApplicationInfo @ {self:p}"))
381            .finish()
382    }
383}
384
385#[derive(Copy, Clone)]
386#[repr(C)]
387pub struct WebKitAuthenticationRequestClass {
388    pub parent_class: gobject::GObjectClass,
389}
390
391impl ::std::fmt::Debug for WebKitAuthenticationRequestClass {
392    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
393        f.debug_struct(&format!("WebKitAuthenticationRequestClass @ {self:p}"))
394            .field("parent_class", &self.parent_class)
395            .finish()
396    }
397}
398
399#[derive(Copy, Clone)]
400#[repr(C)]
401pub struct WebKitAutomationSessionClass {
402    pub parent_class: gobject::GObjectClass,
403}
404
405impl ::std::fmt::Debug for WebKitAutomationSessionClass {
406    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
407        f.debug_struct(&format!("WebKitAutomationSessionClass @ {self:p}"))
408            .field("parent_class", &self.parent_class)
409            .finish()
410    }
411}
412
413#[derive(Copy, Clone)]
414#[repr(C)]
415pub struct WebKitBackForwardListClass {
416    pub parent_class: gobject::GObjectClass,
417}
418
419impl ::std::fmt::Debug for WebKitBackForwardListClass {
420    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
421        f.debug_struct(&format!("WebKitBackForwardListClass @ {self:p}"))
422            .field("parent_class", &self.parent_class)
423            .finish()
424    }
425}
426
427#[derive(Copy, Clone)]
428#[repr(C)]
429pub struct WebKitBackForwardListItemClass {
430    pub parent_class: gobject::GInitiallyUnownedClass,
431}
432
433impl ::std::fmt::Debug for WebKitBackForwardListItemClass {
434    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
435        f.debug_struct(&format!("WebKitBackForwardListItemClass @ {self:p}"))
436            .field("parent_class", &self.parent_class)
437            .finish()
438    }
439}
440
441#[derive(Copy, Clone)]
442#[repr(C)]
443pub struct WebKitClipboardPermissionRequestClass {
444    pub parent_class: gobject::GObjectClass,
445}
446
447impl ::std::fmt::Debug for WebKitClipboardPermissionRequestClass {
448    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
449        f.debug_struct(&format!("WebKitClipboardPermissionRequestClass @ {self:p}"))
450            .field("parent_class", &self.parent_class)
451            .finish()
452    }
453}
454
455#[derive(Copy, Clone)]
456#[repr(C)]
457pub struct WebKitColorChooserRequestClass {
458    pub parent_class: gobject::GObjectClass,
459}
460
461impl ::std::fmt::Debug for WebKitColorChooserRequestClass {
462    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
463        f.debug_struct(&format!("WebKitColorChooserRequestClass @ {self:p}"))
464            .field("parent_class", &self.parent_class)
465            .finish()
466    }
467}
468
469#[derive(Copy, Clone)]
470#[repr(C)]
471pub struct WebKitContextMenuClass {
472    pub parent_class: gobject::GObjectClass,
473}
474
475impl ::std::fmt::Debug for WebKitContextMenuClass {
476    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
477        f.debug_struct(&format!("WebKitContextMenuClass @ {self:p}"))
478            .field("parent_class", &self.parent_class)
479            .finish()
480    }
481}
482
483#[derive(Copy, Clone)]
484#[repr(C)]
485pub struct WebKitContextMenuItemClass {
486    pub parent_class: gobject::GInitiallyUnownedClass,
487}
488
489impl ::std::fmt::Debug for WebKitContextMenuItemClass {
490    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
491        f.debug_struct(&format!("WebKitContextMenuItemClass @ {self:p}"))
492            .field("parent_class", &self.parent_class)
493            .finish()
494    }
495}
496
497#[derive(Copy, Clone)]
498#[repr(C)]
499pub struct WebKitCookieManagerClass {
500    pub parent_class: gobject::GObjectClass,
501}
502
503impl ::std::fmt::Debug for WebKitCookieManagerClass {
504    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
505        f.debug_struct(&format!("WebKitCookieManagerClass @ {self:p}"))
506            .field("parent_class", &self.parent_class)
507            .finish()
508    }
509}
510
511#[repr(C)]
512#[allow(dead_code)]
513pub struct WebKitCredential {
514    _data: [u8; 0],
515    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
516}
517
518impl ::std::fmt::Debug for WebKitCredential {
519    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
520        f.debug_struct(&format!("WebKitCredential @ {self:p}"))
521            .finish()
522    }
523}
524
525#[derive(Copy, Clone)]
526#[repr(C)]
527pub struct WebKitDeviceInfoPermissionRequestClass {
528    pub parent_class: gobject::GObjectClass,
529}
530
531impl ::std::fmt::Debug for WebKitDeviceInfoPermissionRequestClass {
532    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
533        f.debug_struct(&format!(
534            "WebKitDeviceInfoPermissionRequestClass @ {self:p}"
535        ))
536        .field("parent_class", &self.parent_class)
537        .finish()
538    }
539}
540
541#[derive(Copy, Clone)]
542#[repr(C)]
543pub struct WebKitDownloadClass {
544    pub parent_class: gobject::GObjectClass,
545}
546
547impl ::std::fmt::Debug for WebKitDownloadClass {
548    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
549        f.debug_struct(&format!("WebKitDownloadClass @ {self:p}"))
550            .field("parent_class", &self.parent_class)
551            .finish()
552    }
553}
554
555#[derive(Copy, Clone)]
556#[repr(C)]
557pub struct WebKitEditorStateClass {
558    pub parent_class: gobject::GObjectClass,
559}
560
561impl ::std::fmt::Debug for WebKitEditorStateClass {
562    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
563        f.debug_struct(&format!("WebKitEditorStateClass @ {self:p}"))
564            .field("parent_class", &self.parent_class)
565            .finish()
566    }
567}
568
569#[derive(Copy, Clone)]
570#[repr(C)]
571pub struct WebKitFaviconDatabaseClass {
572    pub parent_class: gobject::GObjectClass,
573}
574
575impl ::std::fmt::Debug for WebKitFaviconDatabaseClass {
576    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
577        f.debug_struct(&format!("WebKitFaviconDatabaseClass @ {self:p}"))
578            .field("parent_class", &self.parent_class)
579            .finish()
580    }
581}
582
583#[repr(C)]
584#[allow(dead_code)]
585pub struct WebKitFeature {
586    _data: [u8; 0],
587    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
588}
589
590impl ::std::fmt::Debug for WebKitFeature {
591    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
592        f.debug_struct(&format!("WebKitFeature @ {self:p}"))
593            .finish()
594    }
595}
596
597#[repr(C)]
598#[allow(dead_code)]
599pub struct WebKitFeatureList {
600    _data: [u8; 0],
601    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
602}
603
604impl ::std::fmt::Debug for WebKitFeatureList {
605    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
606        f.debug_struct(&format!("WebKitFeatureList @ {self:p}"))
607            .finish()
608    }
609}
610
611#[derive(Copy, Clone)]
612#[repr(C)]
613pub struct WebKitFileChooserRequestClass {
614    pub parent_class: gobject::GObjectClass,
615}
616
617impl ::std::fmt::Debug for WebKitFileChooserRequestClass {
618    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
619        f.debug_struct(&format!("WebKitFileChooserRequestClass @ {self:p}"))
620            .field("parent_class", &self.parent_class)
621            .finish()
622    }
623}
624
625#[derive(Copy, Clone)]
626#[repr(C)]
627pub struct WebKitFindControllerClass {
628    pub parent_class: gobject::GObjectClass,
629}
630
631impl ::std::fmt::Debug for WebKitFindControllerClass {
632    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
633        f.debug_struct(&format!("WebKitFindControllerClass @ {self:p}"))
634            .field("parent_class", &self.parent_class)
635            .finish()
636    }
637}
638
639#[derive(Copy, Clone)]
640#[repr(C)]
641pub struct WebKitFormSubmissionRequestClass {
642    pub parent_class: gobject::GObjectClass,
643}
644
645impl ::std::fmt::Debug for WebKitFormSubmissionRequestClass {
646    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
647        f.debug_struct(&format!("WebKitFormSubmissionRequestClass @ {self:p}"))
648            .field("parent_class", &self.parent_class)
649            .finish()
650    }
651}
652
653#[derive(Copy, Clone)]
654#[repr(C)]
655pub struct WebKitGeolocationManagerClass {
656    pub parent_class: gobject::GObjectClass,
657}
658
659impl ::std::fmt::Debug for WebKitGeolocationManagerClass {
660    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
661        f.debug_struct(&format!("WebKitGeolocationManagerClass @ {self:p}"))
662            .field("parent_class", &self.parent_class)
663            .finish()
664    }
665}
666
667#[derive(Copy, Clone)]
668#[repr(C)]
669pub struct WebKitGeolocationPermissionRequestClass {
670    pub parent_class: gobject::GObjectClass,
671}
672
673impl ::std::fmt::Debug for WebKitGeolocationPermissionRequestClass {
674    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
675        f.debug_struct(&format!(
676            "WebKitGeolocationPermissionRequestClass @ {self:p}"
677        ))
678        .field("parent_class", &self.parent_class)
679        .finish()
680    }
681}
682
683#[repr(C)]
684#[allow(dead_code)]
685pub struct WebKitGeolocationPosition {
686    _data: [u8; 0],
687    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
688}
689
690impl ::std::fmt::Debug for WebKitGeolocationPosition {
691    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
692        f.debug_struct(&format!("WebKitGeolocationPosition @ {self:p}"))
693            .finish()
694    }
695}
696
697#[derive(Copy, Clone)]
698#[repr(C)]
699pub struct WebKitHitTestResultClass {
700    pub parent_class: gobject::GObjectClass,
701}
702
703impl ::std::fmt::Debug for WebKitHitTestResultClass {
704    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
705        f.debug_struct(&format!("WebKitHitTestResultClass @ {self:p}"))
706            .field("parent_class", &self.parent_class)
707            .finish()
708    }
709}
710
711#[repr(C)]
712#[allow(dead_code)]
713pub struct WebKitITPFirstParty {
714    _data: [u8; 0],
715    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
716}
717
718impl ::std::fmt::Debug for WebKitITPFirstParty {
719    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
720        f.debug_struct(&format!("WebKitITPFirstParty @ {self:p}"))
721            .finish()
722    }
723}
724
725#[repr(C)]
726#[allow(dead_code)]
727pub struct WebKitITPThirdParty {
728    _data: [u8; 0],
729    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
730}
731
732impl ::std::fmt::Debug for WebKitITPThirdParty {
733    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
734        f.debug_struct(&format!("WebKitITPThirdParty @ {self:p}"))
735            .finish()
736    }
737}
738
739#[derive(Copy, Clone)]
740#[repr(C)]
741pub struct WebKitInputMethodContextClass {
742    pub parent_class: gobject::GObjectClass,
743    pub preedit_started: Option<unsafe extern "C" fn(*mut WebKitInputMethodContext)>,
744    pub preedit_changed: Option<unsafe extern "C" fn(*mut WebKitInputMethodContext)>,
745    pub preedit_finished: Option<unsafe extern "C" fn(*mut WebKitInputMethodContext)>,
746    pub committed: Option<unsafe extern "C" fn(*mut WebKitInputMethodContext, *const c_char)>,
747    pub delete_surrounding:
748        Option<unsafe extern "C" fn(*mut WebKitInputMethodContext, c_int, c_uint)>,
749    pub set_enable_preedit: Option<unsafe extern "C" fn(*mut WebKitInputMethodContext, gboolean)>,
750    pub get_preedit: Option<
751        unsafe extern "C" fn(
752            *mut WebKitInputMethodContext,
753            *mut *mut c_char,
754            *mut *mut glib::GList,
755            *mut c_uint,
756        ),
757    >,
758    pub filter_key_event:
759        Option<unsafe extern "C" fn(*mut WebKitInputMethodContext, *mut gdk::GdkEvent) -> gboolean>,
760    pub notify_focus_in: Option<unsafe extern "C" fn(*mut WebKitInputMethodContext)>,
761    pub notify_focus_out: Option<unsafe extern "C" fn(*mut WebKitInputMethodContext)>,
762    pub notify_cursor_area:
763        Option<unsafe extern "C" fn(*mut WebKitInputMethodContext, c_int, c_int, c_int, c_int)>,
764    pub notify_surrounding: Option<
765        unsafe extern "C" fn(*mut WebKitInputMethodContext, *const c_char, c_uint, c_uint, c_uint),
766    >,
767    pub reset: Option<unsafe extern "C" fn(*mut WebKitInputMethodContext)>,
768    pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
769    pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
770    pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
771    pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
772    pub _webkit_reserved4: Option<unsafe extern "C" fn()>,
773    pub _webkit_reserved5: Option<unsafe extern "C" fn()>,
774    pub _webkit_reserved6: Option<unsafe extern "C" fn()>,
775    pub _webkit_reserved7: Option<unsafe extern "C" fn()>,
776    pub _webkit_reserved8: Option<unsafe extern "C" fn()>,
777    pub _webkit_reserved9: Option<unsafe extern "C" fn()>,
778    pub _webkit_reserved10: Option<unsafe extern "C" fn()>,
779    pub _webkit_reserved11: Option<unsafe extern "C" fn()>,
780    pub _webkit_reserved12: Option<unsafe extern "C" fn()>,
781    pub _webkit_reserved13: Option<unsafe extern "C" fn()>,
782    pub _webkit_reserved14: Option<unsafe extern "C" fn()>,
783    pub _webkit_reserved15: Option<unsafe extern "C" fn()>,
784}
785
786impl ::std::fmt::Debug for WebKitInputMethodContextClass {
787    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
788        f.debug_struct(&format!("WebKitInputMethodContextClass @ {self:p}"))
789            .field("parent_class", &self.parent_class)
790            .field("preedit_started", &self.preedit_started)
791            .field("preedit_changed", &self.preedit_changed)
792            .field("preedit_finished", &self.preedit_finished)
793            .field("committed", &self.committed)
794            .field("delete_surrounding", &self.delete_surrounding)
795            .field("set_enable_preedit", &self.set_enable_preedit)
796            .field("get_preedit", &self.get_preedit)
797            .field("filter_key_event", &self.filter_key_event)
798            .field("notify_focus_in", &self.notify_focus_in)
799            .field("notify_focus_out", &self.notify_focus_out)
800            .field("notify_cursor_area", &self.notify_cursor_area)
801            .field("notify_surrounding", &self.notify_surrounding)
802            .field("reset", &self.reset)
803            .field("_webkit_reserved0", &self._webkit_reserved0)
804            .field("_webkit_reserved1", &self._webkit_reserved1)
805            .field("_webkit_reserved2", &self._webkit_reserved2)
806            .field("_webkit_reserved3", &self._webkit_reserved3)
807            .field("_webkit_reserved4", &self._webkit_reserved4)
808            .field("_webkit_reserved5", &self._webkit_reserved5)
809            .field("_webkit_reserved6", &self._webkit_reserved6)
810            .field("_webkit_reserved7", &self._webkit_reserved7)
811            .field("_webkit_reserved8", &self._webkit_reserved8)
812            .field("_webkit_reserved9", &self._webkit_reserved9)
813            .field("_webkit_reserved10", &self._webkit_reserved10)
814            .field("_webkit_reserved11", &self._webkit_reserved11)
815            .field("_webkit_reserved12", &self._webkit_reserved12)
816            .field("_webkit_reserved13", &self._webkit_reserved13)
817            .field("_webkit_reserved14", &self._webkit_reserved14)
818            .field("_webkit_reserved15", &self._webkit_reserved15)
819            .finish()
820    }
821}
822
823#[repr(C)]
824#[allow(dead_code)]
825pub struct _WebKitInputMethodContextPrivate {
826    _data: [u8; 0],
827    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
828}
829
830pub type WebKitInputMethodContextPrivate = _WebKitInputMethodContextPrivate;
831
832#[repr(C)]
833#[allow(dead_code)]
834pub struct WebKitInputMethodUnderline {
835    _data: [u8; 0],
836    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
837}
838
839impl ::std::fmt::Debug for WebKitInputMethodUnderline {
840    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
841        f.debug_struct(&format!("WebKitInputMethodUnderline @ {self:p}"))
842            .finish()
843    }
844}
845
846#[derive(Copy, Clone)]
847#[repr(C)]
848pub struct WebKitMediaKeySystemPermissionRequestClass {
849    pub parent_class: gobject::GObjectClass,
850}
851
852impl ::std::fmt::Debug for WebKitMediaKeySystemPermissionRequestClass {
853    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
854        f.debug_struct(&format!(
855            "WebKitMediaKeySystemPermissionRequestClass @ {self:p}"
856        ))
857        .field("parent_class", &self.parent_class)
858        .finish()
859    }
860}
861
862#[repr(C)]
863#[allow(dead_code)]
864pub struct WebKitMemoryPressureSettings {
865    _data: [u8; 0],
866    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
867}
868
869impl ::std::fmt::Debug for WebKitMemoryPressureSettings {
870    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
871        f.debug_struct(&format!("WebKitMemoryPressureSettings @ {self:p}"))
872            .finish()
873    }
874}
875
876#[repr(C)]
877#[allow(dead_code)]
878pub struct WebKitNavigationAction {
879    _data: [u8; 0],
880    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
881}
882
883impl ::std::fmt::Debug for WebKitNavigationAction {
884    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
885        f.debug_struct(&format!("WebKitNavigationAction @ {self:p}"))
886            .finish()
887    }
888}
889
890#[derive(Copy, Clone)]
891#[repr(C)]
892pub struct WebKitNavigationPolicyDecisionClass {
893    pub parent_class: WebKitPolicyDecisionClass,
894}
895
896impl ::std::fmt::Debug for WebKitNavigationPolicyDecisionClass {
897    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
898        f.debug_struct(&format!("WebKitNavigationPolicyDecisionClass @ {self:p}"))
899            .field("parent_class", &self.parent_class)
900            .finish()
901    }
902}
903
904#[repr(C)]
905#[allow(dead_code)]
906pub struct WebKitNetworkProxySettings {
907    _data: [u8; 0],
908    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
909}
910
911impl ::std::fmt::Debug for WebKitNetworkProxySettings {
912    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
913        f.debug_struct(&format!("WebKitNetworkProxySettings @ {self:p}"))
914            .finish()
915    }
916}
917
918#[derive(Copy, Clone)]
919#[repr(C)]
920pub struct WebKitNetworkSessionClass {
921    pub parent_class: gobject::GObjectClass,
922}
923
924impl ::std::fmt::Debug for WebKitNetworkSessionClass {
925    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
926        f.debug_struct(&format!("WebKitNetworkSessionClass @ {self:p}"))
927            .field("parent_class", &self.parent_class)
928            .finish()
929    }
930}
931
932#[derive(Copy, Clone)]
933#[repr(C)]
934pub struct WebKitNotificationClass {
935    pub parent_class: gobject::GObjectClass,
936}
937
938impl ::std::fmt::Debug for WebKitNotificationClass {
939    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
940        f.debug_struct(&format!("WebKitNotificationClass @ {self:p}"))
941            .field("parent_class", &self.parent_class)
942            .finish()
943    }
944}
945
946#[derive(Copy, Clone)]
947#[repr(C)]
948pub struct WebKitNotificationPermissionRequestClass {
949    pub parent_class: gobject::GObjectClass,
950}
951
952impl ::std::fmt::Debug for WebKitNotificationPermissionRequestClass {
953    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
954        f.debug_struct(&format!(
955            "WebKitNotificationPermissionRequestClass @ {self:p}"
956        ))
957        .field("parent_class", &self.parent_class)
958        .finish()
959    }
960}
961
962#[derive(Copy, Clone)]
963#[repr(C)]
964pub struct WebKitOptionMenuClass {
965    pub parent_class: gobject::GObjectClass,
966}
967
968impl ::std::fmt::Debug for WebKitOptionMenuClass {
969    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
970        f.debug_struct(&format!("WebKitOptionMenuClass @ {self:p}"))
971            .field("parent_class", &self.parent_class)
972            .finish()
973    }
974}
975
976#[repr(C)]
977#[allow(dead_code)]
978pub struct WebKitOptionMenuItem {
979    _data: [u8; 0],
980    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
981}
982
983impl ::std::fmt::Debug for WebKitOptionMenuItem {
984    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
985        f.debug_struct(&format!("WebKitOptionMenuItem @ {self:p}"))
986            .finish()
987    }
988}
989
990#[derive(Copy, Clone)]
991#[repr(C)]
992pub struct WebKitPermissionRequestInterface {
993    pub parent_interface: gobject::GTypeInterface,
994    pub allow: Option<unsafe extern "C" fn(*mut WebKitPermissionRequest)>,
995    pub deny: Option<unsafe extern "C" fn(*mut WebKitPermissionRequest)>,
996}
997
998impl ::std::fmt::Debug for WebKitPermissionRequestInterface {
999    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1000        f.debug_struct(&format!("WebKitPermissionRequestInterface @ {self:p}"))
1001            .field("parent_interface", &self.parent_interface)
1002            .field("allow", &self.allow)
1003            .field("deny", &self.deny)
1004            .finish()
1005    }
1006}
1007
1008#[repr(C)]
1009#[allow(dead_code)]
1010pub struct WebKitPermissionStateQuery {
1011    _data: [u8; 0],
1012    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1013}
1014
1015impl ::std::fmt::Debug for WebKitPermissionStateQuery {
1016    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1017        f.debug_struct(&format!("WebKitPermissionStateQuery @ {self:p}"))
1018            .finish()
1019    }
1020}
1021
1022#[derive(Copy, Clone)]
1023#[repr(C)]
1024pub struct WebKitPointerLockPermissionRequestClass {
1025    pub parent_class: gobject::GObjectClass,
1026}
1027
1028impl ::std::fmt::Debug for WebKitPointerLockPermissionRequestClass {
1029    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1030        f.debug_struct(&format!(
1031            "WebKitPointerLockPermissionRequestClass @ {self:p}"
1032        ))
1033        .field("parent_class", &self.parent_class)
1034        .finish()
1035    }
1036}
1037
1038#[derive(Copy, Clone)]
1039#[repr(C)]
1040pub struct WebKitPolicyDecisionClass {
1041    pub parent_class: gobject::GObjectClass,
1042    pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1043    pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1044    pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1045    pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
1046    pub _webkit_reserved4: Option<unsafe extern "C" fn()>,
1047    pub _webkit_reserved5: Option<unsafe extern "C" fn()>,
1048    pub _webkit_reserved6: Option<unsafe extern "C" fn()>,
1049    pub _webkit_reserved7: Option<unsafe extern "C" fn()>,
1050}
1051
1052impl ::std::fmt::Debug for WebKitPolicyDecisionClass {
1053    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1054        f.debug_struct(&format!("WebKitPolicyDecisionClass @ {self:p}"))
1055            .field("parent_class", &self.parent_class)
1056            .field("_webkit_reserved0", &self._webkit_reserved0)
1057            .field("_webkit_reserved1", &self._webkit_reserved1)
1058            .field("_webkit_reserved2", &self._webkit_reserved2)
1059            .field("_webkit_reserved3", &self._webkit_reserved3)
1060            .field("_webkit_reserved4", &self._webkit_reserved4)
1061            .field("_webkit_reserved5", &self._webkit_reserved5)
1062            .field("_webkit_reserved6", &self._webkit_reserved6)
1063            .field("_webkit_reserved7", &self._webkit_reserved7)
1064            .finish()
1065    }
1066}
1067
1068#[repr(C)]
1069#[allow(dead_code)]
1070pub struct _WebKitPolicyDecisionPrivate {
1071    _data: [u8; 0],
1072    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1073}
1074
1075pub type WebKitPolicyDecisionPrivate = _WebKitPolicyDecisionPrivate;
1076
1077#[derive(Copy, Clone)]
1078#[repr(C)]
1079pub struct WebKitPrintOperationClass {
1080    pub parent_class: gobject::GObjectClass,
1081}
1082
1083impl ::std::fmt::Debug for WebKitPrintOperationClass {
1084    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1085        f.debug_struct(&format!("WebKitPrintOperationClass @ {self:p}"))
1086            .field("parent_class", &self.parent_class)
1087            .finish()
1088    }
1089}
1090
1091#[derive(Copy, Clone)]
1092#[repr(C)]
1093pub struct WebKitResponsePolicyDecisionClass {
1094    pub parent_class: WebKitPolicyDecisionClass,
1095}
1096
1097impl ::std::fmt::Debug for WebKitResponsePolicyDecisionClass {
1098    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1099        f.debug_struct(&format!("WebKitResponsePolicyDecisionClass @ {self:p}"))
1100            .field("parent_class", &self.parent_class)
1101            .finish()
1102    }
1103}
1104
1105#[repr(C)]
1106#[allow(dead_code)]
1107pub struct WebKitScriptDialog {
1108    _data: [u8; 0],
1109    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1110}
1111
1112impl ::std::fmt::Debug for WebKitScriptDialog {
1113    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1114        f.debug_struct(&format!("WebKitScriptDialog @ {self:p}"))
1115            .finish()
1116    }
1117}
1118
1119#[repr(C)]
1120#[allow(dead_code)]
1121pub struct WebKitScriptMessageReply {
1122    _data: [u8; 0],
1123    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1124}
1125
1126impl ::std::fmt::Debug for WebKitScriptMessageReply {
1127    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1128        f.debug_struct(&format!("WebKitScriptMessageReply @ {self:p}"))
1129            .finish()
1130    }
1131}
1132
1133#[derive(Copy, Clone)]
1134#[repr(C)]
1135pub struct WebKitSecurityManagerClass {
1136    pub parent_class: gobject::GObjectClass,
1137}
1138
1139impl ::std::fmt::Debug for WebKitSecurityManagerClass {
1140    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1141        f.debug_struct(&format!("WebKitSecurityManagerClass @ {self:p}"))
1142            .field("parent_class", &self.parent_class)
1143            .finish()
1144    }
1145}
1146
1147#[repr(C)]
1148#[allow(dead_code)]
1149pub struct WebKitSecurityOrigin {
1150    _data: [u8; 0],
1151    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1152}
1153
1154impl ::std::fmt::Debug for WebKitSecurityOrigin {
1155    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1156        f.debug_struct(&format!("WebKitSecurityOrigin @ {self:p}"))
1157            .finish()
1158    }
1159}
1160
1161#[derive(Copy, Clone)]
1162#[repr(C)]
1163pub struct WebKitSettingsClass {
1164    pub parent_class: gobject::GObjectClass,
1165}
1166
1167impl ::std::fmt::Debug for WebKitSettingsClass {
1168    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1169        f.debug_struct(&format!("WebKitSettingsClass @ {self:p}"))
1170            .field("parent_class", &self.parent_class)
1171            .finish()
1172    }
1173}
1174
1175#[derive(Copy, Clone)]
1176#[repr(C)]
1177pub struct WebKitURIRequestClass {
1178    pub parent_class: gobject::GObjectClass,
1179}
1180
1181impl ::std::fmt::Debug for WebKitURIRequestClass {
1182    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1183        f.debug_struct(&format!("WebKitURIRequestClass @ {self:p}"))
1184            .field("parent_class", &self.parent_class)
1185            .finish()
1186    }
1187}
1188
1189#[derive(Copy, Clone)]
1190#[repr(C)]
1191pub struct WebKitURIResponseClass {
1192    pub parent_class: gobject::GObjectClass,
1193}
1194
1195impl ::std::fmt::Debug for WebKitURIResponseClass {
1196    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1197        f.debug_struct(&format!("WebKitURIResponseClass @ {self:p}"))
1198            .field("parent_class", &self.parent_class)
1199            .finish()
1200    }
1201}
1202
1203#[derive(Copy, Clone)]
1204#[repr(C)]
1205pub struct WebKitURISchemeRequestClass {
1206    pub parent_class: gobject::GObjectClass,
1207}
1208
1209impl ::std::fmt::Debug for WebKitURISchemeRequestClass {
1210    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1211        f.debug_struct(&format!("WebKitURISchemeRequestClass @ {self:p}"))
1212            .field("parent_class", &self.parent_class)
1213            .finish()
1214    }
1215}
1216
1217#[derive(Copy, Clone)]
1218#[repr(C)]
1219pub struct WebKitURISchemeResponseClass {
1220    pub parent_class: gobject::GObjectClass,
1221}
1222
1223impl ::std::fmt::Debug for WebKitURISchemeResponseClass {
1224    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1225        f.debug_struct(&format!("WebKitURISchemeResponseClass @ {self:p}"))
1226            .field("parent_class", &self.parent_class)
1227            .finish()
1228    }
1229}
1230
1231#[repr(C)]
1232#[allow(dead_code)]
1233pub struct WebKitUserContentFilter {
1234    _data: [u8; 0],
1235    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1236}
1237
1238impl ::std::fmt::Debug for WebKitUserContentFilter {
1239    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1240        f.debug_struct(&format!("WebKitUserContentFilter @ {self:p}"))
1241            .finish()
1242    }
1243}
1244
1245#[derive(Copy, Clone)]
1246#[repr(C)]
1247pub struct WebKitUserContentFilterStoreClass {
1248    pub parent_class: gobject::GObjectClass,
1249}
1250
1251impl ::std::fmt::Debug for WebKitUserContentFilterStoreClass {
1252    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1253        f.debug_struct(&format!("WebKitUserContentFilterStoreClass @ {self:p}"))
1254            .field("parent_class", &self.parent_class)
1255            .finish()
1256    }
1257}
1258
1259#[derive(Copy, Clone)]
1260#[repr(C)]
1261pub struct WebKitUserContentManagerClass {
1262    pub parent_class: gobject::GObjectClass,
1263}
1264
1265impl ::std::fmt::Debug for WebKitUserContentManagerClass {
1266    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1267        f.debug_struct(&format!("WebKitUserContentManagerClass @ {self:p}"))
1268            .field("parent_class", &self.parent_class)
1269            .finish()
1270    }
1271}
1272
1273#[derive(Copy, Clone)]
1274#[repr(C)]
1275pub struct WebKitUserMediaPermissionRequestClass {
1276    pub parent_class: gobject::GObjectClass,
1277}
1278
1279impl ::std::fmt::Debug for WebKitUserMediaPermissionRequestClass {
1280    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1281        f.debug_struct(&format!("WebKitUserMediaPermissionRequestClass @ {self:p}"))
1282            .field("parent_class", &self.parent_class)
1283            .finish()
1284    }
1285}
1286
1287#[derive(Copy, Clone)]
1288#[repr(C)]
1289pub struct WebKitUserMessageClass {
1290    pub parent_class: gobject::GInitiallyUnownedClass,
1291}
1292
1293impl ::std::fmt::Debug for WebKitUserMessageClass {
1294    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1295        f.debug_struct(&format!("WebKitUserMessageClass @ {self:p}"))
1296            .field("parent_class", &self.parent_class)
1297            .finish()
1298    }
1299}
1300
1301#[repr(C)]
1302#[allow(dead_code)]
1303pub struct WebKitUserScript {
1304    _data: [u8; 0],
1305    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1306}
1307
1308impl ::std::fmt::Debug for WebKitUserScript {
1309    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1310        f.debug_struct(&format!("WebKitUserScript @ {self:p}"))
1311            .finish()
1312    }
1313}
1314
1315#[repr(C)]
1316#[allow(dead_code)]
1317pub struct WebKitUserStyleSheet {
1318    _data: [u8; 0],
1319    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1320}
1321
1322impl ::std::fmt::Debug for WebKitUserStyleSheet {
1323    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1324        f.debug_struct(&format!("WebKitUserStyleSheet @ {self:p}"))
1325            .finish()
1326    }
1327}
1328
1329#[derive(Copy, Clone)]
1330#[repr(C)]
1331pub struct WebKitWebContextClass {
1332    pub parent_class: gobject::GObjectClass,
1333}
1334
1335impl ::std::fmt::Debug for WebKitWebContextClass {
1336    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1337        f.debug_struct(&format!("WebKitWebContextClass @ {self:p}"))
1338            .field("parent_class", &self.parent_class)
1339            .finish()
1340    }
1341}
1342
1343#[repr(C)]
1344#[allow(dead_code)]
1345pub struct WebKitWebExtensionMatchPattern {
1346    _data: [u8; 0],
1347    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1348}
1349
1350impl ::std::fmt::Debug for WebKitWebExtensionMatchPattern {
1351    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1352        f.debug_struct(&format!("WebKitWebExtensionMatchPattern @ {self:p}"))
1353            .finish()
1354    }
1355}
1356
1357#[derive(Copy, Clone)]
1358#[repr(C)]
1359pub struct WebKitWebInspectorClass {
1360    pub parent_class: gobject::GObjectClass,
1361}
1362
1363impl ::std::fmt::Debug for WebKitWebInspectorClass {
1364    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1365        f.debug_struct(&format!("WebKitWebInspectorClass @ {self:p}"))
1366            .field("parent_class", &self.parent_class)
1367            .finish()
1368    }
1369}
1370
1371#[derive(Copy, Clone)]
1372#[repr(C)]
1373pub struct WebKitWebResourceClass {
1374    pub parent_class: gobject::GObjectClass,
1375}
1376
1377impl ::std::fmt::Debug for WebKitWebResourceClass {
1378    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1379        f.debug_struct(&format!("WebKitWebResourceClass @ {self:p}"))
1380            .field("parent_class", &self.parent_class)
1381            .finish()
1382    }
1383}
1384
1385#[derive(Copy, Clone)]
1386#[repr(C)]
1387pub struct WebKitWebViewBaseClass {
1388    pub parentClass: gtk::GtkWidgetClass,
1389    pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1390    pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1391    pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1392    pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
1393}
1394
1395impl ::std::fmt::Debug for WebKitWebViewBaseClass {
1396    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1397        f.debug_struct(&format!("WebKitWebViewBaseClass @ {self:p}"))
1398            .field("parentClass", &self.parentClass)
1399            .field("_webkit_reserved0", &self._webkit_reserved0)
1400            .field("_webkit_reserved1", &self._webkit_reserved1)
1401            .field("_webkit_reserved2", &self._webkit_reserved2)
1402            .field("_webkit_reserved3", &self._webkit_reserved3)
1403            .finish()
1404    }
1405}
1406
1407#[repr(C)]
1408#[allow(dead_code)]
1409pub struct _WebKitWebViewBasePrivate {
1410    _data: [u8; 0],
1411    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1412}
1413
1414pub type WebKitWebViewBasePrivate = _WebKitWebViewBasePrivate;
1415
1416#[derive(Copy, Clone)]
1417#[repr(C)]
1418pub struct WebKitWebViewClass {
1419    pub parent: WebKitWebViewBaseClass,
1420    pub load_changed: Option<unsafe extern "C" fn(*mut WebKitWebView, WebKitLoadEvent)>,
1421    pub load_failed: Option<
1422        unsafe extern "C" fn(
1423            *mut WebKitWebView,
1424            WebKitLoadEvent,
1425            *const c_char,
1426            *mut glib::GError,
1427        ) -> gboolean,
1428    >,
1429    pub create: Option<
1430        unsafe extern "C" fn(
1431            *mut WebKitWebView,
1432            *mut WebKitNavigationAction,
1433        ) -> *mut gtk::GtkWidget,
1434    >,
1435    pub ready_to_show: Option<unsafe extern "C" fn(*mut WebKitWebView)>,
1436    pub run_as_modal: Option<unsafe extern "C" fn(*mut WebKitWebView)>,
1437    pub close: Option<unsafe extern "C" fn(*mut WebKitWebView)>,
1438    pub script_dialog:
1439        Option<unsafe extern "C" fn(*mut WebKitWebView, *mut WebKitScriptDialog) -> gboolean>,
1440    pub decide_policy: Option<
1441        unsafe extern "C" fn(
1442            *mut WebKitWebView,
1443            *mut WebKitPolicyDecision,
1444            WebKitPolicyDecisionType,
1445        ) -> gboolean,
1446    >,
1447    pub permission_request:
1448        Option<unsafe extern "C" fn(*mut WebKitWebView, *mut WebKitPermissionRequest) -> gboolean>,
1449    pub mouse_target_changed:
1450        Option<unsafe extern "C" fn(*mut WebKitWebView, *mut WebKitHitTestResult, c_uint)>,
1451    pub print:
1452        Option<unsafe extern "C" fn(*mut WebKitWebView, *mut WebKitPrintOperation) -> gboolean>,
1453    pub resource_load_started: Option<
1454        unsafe extern "C" fn(*mut WebKitWebView, *mut WebKitWebResource, *mut WebKitURIRequest),
1455    >,
1456    pub enter_fullscreen: Option<unsafe extern "C" fn(*mut WebKitWebView) -> gboolean>,
1457    pub leave_fullscreen: Option<unsafe extern "C" fn(*mut WebKitWebView) -> gboolean>,
1458    pub run_file_chooser:
1459        Option<unsafe extern "C" fn(*mut WebKitWebView, *mut WebKitFileChooserRequest) -> gboolean>,
1460    pub context_menu: Option<
1461        unsafe extern "C" fn(
1462            *mut WebKitWebView,
1463            *mut WebKitContextMenu,
1464            *mut WebKitHitTestResult,
1465        ) -> gboolean,
1466    >,
1467    pub context_menu_dismissed: Option<unsafe extern "C" fn(*mut WebKitWebView)>,
1468    pub submit_form:
1469        Option<unsafe extern "C" fn(*mut WebKitWebView, *mut WebKitFormSubmissionRequest)>,
1470    pub insecure_content_detected:
1471        Option<unsafe extern "C" fn(*mut WebKitWebView, WebKitInsecureContentEvent)>,
1472    pub web_process_crashed: Option<unsafe extern "C" fn(*mut WebKitWebView) -> gboolean>,
1473    pub authenticate: Option<
1474        unsafe extern "C" fn(*mut WebKitWebView, *mut WebKitAuthenticationRequest) -> gboolean,
1475    >,
1476    pub load_failed_with_tls_errors: Option<
1477        unsafe extern "C" fn(
1478            *mut WebKitWebView,
1479            *const c_char,
1480            *mut gio::GTlsCertificate,
1481            gio::GTlsCertificateFlags,
1482        ) -> gboolean,
1483    >,
1484    pub show_notification:
1485        Option<unsafe extern "C" fn(*mut WebKitWebView, *mut WebKitNotification) -> gboolean>,
1486    pub run_color_chooser: Option<
1487        unsafe extern "C" fn(*mut WebKitWebView, *mut WebKitColorChooserRequest) -> gboolean,
1488    >,
1489    pub show_option_menu: Option<
1490        unsafe extern "C" fn(
1491            *mut WebKitWebView,
1492            *mut WebKitOptionMenu,
1493            *mut gdk::GdkRectangle,
1494        ) -> gboolean,
1495    >,
1496    pub web_process_terminated:
1497        Option<unsafe extern "C" fn(*mut WebKitWebView, WebKitWebProcessTerminationReason)>,
1498    pub user_message_received:
1499        Option<unsafe extern "C" fn(*mut WebKitWebView, *mut WebKitUserMessage) -> gboolean>,
1500    pub query_permission_state: Option<
1501        unsafe extern "C" fn(*mut WebKitWebView, *mut WebKitPermissionStateQuery) -> gboolean,
1502    >,
1503    pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1504    pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1505    pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1506    pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
1507    pub _webkit_reserved4: Option<unsafe extern "C" fn()>,
1508    pub _webkit_reserved5: Option<unsafe extern "C" fn()>,
1509    pub _webkit_reserved6: Option<unsafe extern "C" fn()>,
1510    pub _webkit_reserved7: Option<unsafe extern "C" fn()>,
1511    pub _webkit_reserved8: Option<unsafe extern "C" fn()>,
1512    pub _webkit_reserved9: Option<unsafe extern "C" fn()>,
1513    pub _webkit_reserved10: Option<unsafe extern "C" fn()>,
1514    pub _webkit_reserved11: Option<unsafe extern "C" fn()>,
1515    pub _webkit_reserved12: Option<unsafe extern "C" fn()>,
1516    pub _webkit_reserved13: Option<unsafe extern "C" fn()>,
1517    pub _webkit_reserved14: Option<unsafe extern "C" fn()>,
1518    pub _webkit_reserved15: Option<unsafe extern "C" fn()>,
1519    pub _webkit_reserved16: Option<unsafe extern "C" fn()>,
1520    pub _webkit_reserved17: Option<unsafe extern "C" fn()>,
1521    pub _webkit_reserved18: Option<unsafe extern "C" fn()>,
1522    pub _webkit_reserved19: Option<unsafe extern "C" fn()>,
1523    pub _webkit_reserved20: Option<unsafe extern "C" fn()>,
1524    pub _webkit_reserved21: Option<unsafe extern "C" fn()>,
1525    pub _webkit_reserved22: Option<unsafe extern "C" fn()>,
1526    pub _webkit_reserved23: Option<unsafe extern "C" fn()>,
1527    pub _webkit_reserved24: Option<unsafe extern "C" fn()>,
1528    pub _webkit_reserved25: Option<unsafe extern "C" fn()>,
1529    pub _webkit_reserved26: Option<unsafe extern "C" fn()>,
1530    pub _webkit_reserved27: Option<unsafe extern "C" fn()>,
1531    pub _webkit_reserved28: Option<unsafe extern "C" fn()>,
1532    pub _webkit_reserved29: Option<unsafe extern "C" fn()>,
1533    pub _webkit_reserved30: Option<unsafe extern "C" fn()>,
1534}
1535
1536impl ::std::fmt::Debug for WebKitWebViewClass {
1537    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1538        f.debug_struct(&format!("WebKitWebViewClass @ {self:p}"))
1539            .field("parent", &self.parent)
1540            .field("load_changed", &self.load_changed)
1541            .field("load_failed", &self.load_failed)
1542            .field("create", &self.create)
1543            .field("ready_to_show", &self.ready_to_show)
1544            .field("run_as_modal", &self.run_as_modal)
1545            .field("close", &self.close)
1546            .field("script_dialog", &self.script_dialog)
1547            .field("decide_policy", &self.decide_policy)
1548            .field("permission_request", &self.permission_request)
1549            .field("mouse_target_changed", &self.mouse_target_changed)
1550            .field("print", &self.print)
1551            .field("resource_load_started", &self.resource_load_started)
1552            .field("enter_fullscreen", &self.enter_fullscreen)
1553            .field("leave_fullscreen", &self.leave_fullscreen)
1554            .field("run_file_chooser", &self.run_file_chooser)
1555            .field("context_menu", &self.context_menu)
1556            .field("context_menu_dismissed", &self.context_menu_dismissed)
1557            .field("submit_form", &self.submit_form)
1558            .field("insecure_content_detected", &self.insecure_content_detected)
1559            .field("web_process_crashed", &self.web_process_crashed)
1560            .field("authenticate", &self.authenticate)
1561            .field(
1562                "load_failed_with_tls_errors",
1563                &self.load_failed_with_tls_errors,
1564            )
1565            .field("show_notification", &self.show_notification)
1566            .field("run_color_chooser", &self.run_color_chooser)
1567            .field("show_option_menu", &self.show_option_menu)
1568            .field("web_process_terminated", &self.web_process_terminated)
1569            .field("user_message_received", &self.user_message_received)
1570            .field("query_permission_state", &self.query_permission_state)
1571            .field("_webkit_reserved0", &self._webkit_reserved0)
1572            .field("_webkit_reserved1", &self._webkit_reserved1)
1573            .field("_webkit_reserved2", &self._webkit_reserved2)
1574            .field("_webkit_reserved3", &self._webkit_reserved3)
1575            .field("_webkit_reserved4", &self._webkit_reserved4)
1576            .field("_webkit_reserved5", &self._webkit_reserved5)
1577            .field("_webkit_reserved6", &self._webkit_reserved6)
1578            .field("_webkit_reserved7", &self._webkit_reserved7)
1579            .field("_webkit_reserved8", &self._webkit_reserved8)
1580            .field("_webkit_reserved9", &self._webkit_reserved9)
1581            .field("_webkit_reserved10", &self._webkit_reserved10)
1582            .field("_webkit_reserved11", &self._webkit_reserved11)
1583            .field("_webkit_reserved12", &self._webkit_reserved12)
1584            .field("_webkit_reserved13", &self._webkit_reserved13)
1585            .field("_webkit_reserved14", &self._webkit_reserved14)
1586            .field("_webkit_reserved15", &self._webkit_reserved15)
1587            .field("_webkit_reserved16", &self._webkit_reserved16)
1588            .field("_webkit_reserved17", &self._webkit_reserved17)
1589            .field("_webkit_reserved18", &self._webkit_reserved18)
1590            .field("_webkit_reserved19", &self._webkit_reserved19)
1591            .field("_webkit_reserved20", &self._webkit_reserved20)
1592            .field("_webkit_reserved21", &self._webkit_reserved21)
1593            .field("_webkit_reserved22", &self._webkit_reserved22)
1594            .field("_webkit_reserved23", &self._webkit_reserved23)
1595            .field("_webkit_reserved24", &self._webkit_reserved24)
1596            .field("_webkit_reserved25", &self._webkit_reserved25)
1597            .field("_webkit_reserved26", &self._webkit_reserved26)
1598            .field("_webkit_reserved27", &self._webkit_reserved27)
1599            .field("_webkit_reserved28", &self._webkit_reserved28)
1600            .field("_webkit_reserved29", &self._webkit_reserved29)
1601            .field("_webkit_reserved30", &self._webkit_reserved30)
1602            .finish()
1603    }
1604}
1605
1606#[repr(C)]
1607#[allow(dead_code)]
1608pub struct _WebKitWebViewPrivate {
1609    _data: [u8; 0],
1610    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1611}
1612
1613pub type WebKitWebViewPrivate = _WebKitWebViewPrivate;
1614
1615#[repr(C)]
1616#[allow(dead_code)]
1617pub struct WebKitWebViewSessionState {
1618    _data: [u8; 0],
1619    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1620}
1621
1622impl ::std::fmt::Debug for WebKitWebViewSessionState {
1623    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1624        f.debug_struct(&format!("WebKitWebViewSessionState @ {self:p}"))
1625            .finish()
1626    }
1627}
1628
1629#[repr(C)]
1630#[allow(dead_code)]
1631pub struct WebKitWebsiteData {
1632    _data: [u8; 0],
1633    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1634}
1635
1636impl ::std::fmt::Debug for WebKitWebsiteData {
1637    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1638        f.debug_struct(&format!("WebKitWebsiteData @ {self:p}"))
1639            .finish()
1640    }
1641}
1642
1643#[derive(Copy, Clone)]
1644#[repr(C)]
1645pub struct WebKitWebsiteDataAccessPermissionRequestClass {
1646    pub parent_class: gobject::GObjectClass,
1647}
1648
1649impl ::std::fmt::Debug for WebKitWebsiteDataAccessPermissionRequestClass {
1650    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1651        f.debug_struct(&format!(
1652            "WebKitWebsiteDataAccessPermissionRequestClass @ {self:p}"
1653        ))
1654        .field("parent_class", &self.parent_class)
1655        .finish()
1656    }
1657}
1658
1659#[derive(Copy, Clone)]
1660#[repr(C)]
1661pub struct WebKitWebsiteDataManagerClass {
1662    pub parent_class: gobject::GObjectClass,
1663}
1664
1665impl ::std::fmt::Debug for WebKitWebsiteDataManagerClass {
1666    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1667        f.debug_struct(&format!("WebKitWebsiteDataManagerClass @ {self:p}"))
1668            .field("parent_class", &self.parent_class)
1669            .finish()
1670    }
1671}
1672
1673#[derive(Copy, Clone)]
1674#[repr(C)]
1675pub struct WebKitWebsitePoliciesClass {
1676    pub parent_class: gobject::GObjectClass,
1677}
1678
1679impl ::std::fmt::Debug for WebKitWebsitePoliciesClass {
1680    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1681        f.debug_struct(&format!("WebKitWebsitePoliciesClass @ {self:p}"))
1682            .field("parent_class", &self.parent_class)
1683            .finish()
1684    }
1685}
1686
1687#[derive(Copy, Clone)]
1688#[repr(C)]
1689pub struct WebKitWindowPropertiesClass {
1690    pub parent_class: gobject::GObjectClass,
1691}
1692
1693impl ::std::fmt::Debug for WebKitWindowPropertiesClass {
1694    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1695        f.debug_struct(&format!("WebKitWindowPropertiesClass @ {self:p}"))
1696            .field("parent_class", &self.parent_class)
1697            .finish()
1698    }
1699}
1700
1701// Classes
1702#[repr(C)]
1703#[allow(dead_code)]
1704pub struct WebKitAuthenticationRequest {
1705    _data: [u8; 0],
1706    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1707}
1708
1709impl ::std::fmt::Debug for WebKitAuthenticationRequest {
1710    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1711        f.debug_struct(&format!("WebKitAuthenticationRequest @ {self:p}"))
1712            .finish()
1713    }
1714}
1715
1716#[repr(C)]
1717#[allow(dead_code)]
1718pub struct WebKitAutomationSession {
1719    _data: [u8; 0],
1720    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1721}
1722
1723impl ::std::fmt::Debug for WebKitAutomationSession {
1724    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1725        f.debug_struct(&format!("WebKitAutomationSession @ {self:p}"))
1726            .finish()
1727    }
1728}
1729
1730#[repr(C)]
1731#[allow(dead_code)]
1732pub struct WebKitBackForwardList {
1733    _data: [u8; 0],
1734    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1735}
1736
1737impl ::std::fmt::Debug for WebKitBackForwardList {
1738    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1739        f.debug_struct(&format!("WebKitBackForwardList @ {self:p}"))
1740            .finish()
1741    }
1742}
1743
1744#[repr(C)]
1745#[allow(dead_code)]
1746pub struct WebKitBackForwardListItem {
1747    _data: [u8; 0],
1748    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1749}
1750
1751impl ::std::fmt::Debug for WebKitBackForwardListItem {
1752    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1753        f.debug_struct(&format!("WebKitBackForwardListItem @ {self:p}"))
1754            .finish()
1755    }
1756}
1757
1758#[repr(C)]
1759#[allow(dead_code)]
1760pub struct WebKitClipboardPermissionRequest {
1761    _data: [u8; 0],
1762    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1763}
1764
1765impl ::std::fmt::Debug for WebKitClipboardPermissionRequest {
1766    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1767        f.debug_struct(&format!("WebKitClipboardPermissionRequest @ {self:p}"))
1768            .finish()
1769    }
1770}
1771
1772#[repr(C)]
1773#[allow(dead_code)]
1774pub struct WebKitColorChooserRequest {
1775    _data: [u8; 0],
1776    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1777}
1778
1779impl ::std::fmt::Debug for WebKitColorChooserRequest {
1780    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1781        f.debug_struct(&format!("WebKitColorChooserRequest @ {self:p}"))
1782            .finish()
1783    }
1784}
1785
1786#[repr(C)]
1787#[allow(dead_code)]
1788pub struct WebKitContextMenu {
1789    _data: [u8; 0],
1790    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1791}
1792
1793impl ::std::fmt::Debug for WebKitContextMenu {
1794    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1795        f.debug_struct(&format!("WebKitContextMenu @ {self:p}"))
1796            .finish()
1797    }
1798}
1799
1800#[repr(C)]
1801#[allow(dead_code)]
1802pub struct WebKitContextMenuItem {
1803    _data: [u8; 0],
1804    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1805}
1806
1807impl ::std::fmt::Debug for WebKitContextMenuItem {
1808    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1809        f.debug_struct(&format!("WebKitContextMenuItem @ {self:p}"))
1810            .finish()
1811    }
1812}
1813
1814#[repr(C)]
1815#[allow(dead_code)]
1816pub struct WebKitCookieManager {
1817    _data: [u8; 0],
1818    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1819}
1820
1821impl ::std::fmt::Debug for WebKitCookieManager {
1822    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1823        f.debug_struct(&format!("WebKitCookieManager @ {self:p}"))
1824            .finish()
1825    }
1826}
1827
1828#[repr(C)]
1829#[allow(dead_code)]
1830pub struct WebKitDeviceInfoPermissionRequest {
1831    _data: [u8; 0],
1832    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1833}
1834
1835impl ::std::fmt::Debug for WebKitDeviceInfoPermissionRequest {
1836    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1837        f.debug_struct(&format!("WebKitDeviceInfoPermissionRequest @ {self:p}"))
1838            .finish()
1839    }
1840}
1841
1842#[repr(C)]
1843#[allow(dead_code)]
1844pub struct WebKitDownload {
1845    _data: [u8; 0],
1846    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1847}
1848
1849impl ::std::fmt::Debug for WebKitDownload {
1850    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1851        f.debug_struct(&format!("WebKitDownload @ {self:p}"))
1852            .finish()
1853    }
1854}
1855
1856#[repr(C)]
1857#[allow(dead_code)]
1858pub struct WebKitEditorState {
1859    _data: [u8; 0],
1860    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1861}
1862
1863impl ::std::fmt::Debug for WebKitEditorState {
1864    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1865        f.debug_struct(&format!("WebKitEditorState @ {self:p}"))
1866            .finish()
1867    }
1868}
1869
1870#[repr(C)]
1871#[allow(dead_code)]
1872pub struct WebKitFaviconDatabase {
1873    _data: [u8; 0],
1874    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1875}
1876
1877impl ::std::fmt::Debug for WebKitFaviconDatabase {
1878    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1879        f.debug_struct(&format!("WebKitFaviconDatabase @ {self:p}"))
1880            .finish()
1881    }
1882}
1883
1884#[repr(C)]
1885#[allow(dead_code)]
1886pub struct WebKitFileChooserRequest {
1887    _data: [u8; 0],
1888    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1889}
1890
1891impl ::std::fmt::Debug for WebKitFileChooserRequest {
1892    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1893        f.debug_struct(&format!("WebKitFileChooserRequest @ {self:p}"))
1894            .finish()
1895    }
1896}
1897
1898#[repr(C)]
1899#[allow(dead_code)]
1900pub struct WebKitFindController {
1901    _data: [u8; 0],
1902    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1903}
1904
1905impl ::std::fmt::Debug for WebKitFindController {
1906    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1907        f.debug_struct(&format!("WebKitFindController @ {self:p}"))
1908            .finish()
1909    }
1910}
1911
1912#[repr(C)]
1913#[allow(dead_code)]
1914pub struct WebKitFormSubmissionRequest {
1915    _data: [u8; 0],
1916    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1917}
1918
1919impl ::std::fmt::Debug for WebKitFormSubmissionRequest {
1920    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1921        f.debug_struct(&format!("WebKitFormSubmissionRequest @ {self:p}"))
1922            .finish()
1923    }
1924}
1925
1926#[repr(C)]
1927#[allow(dead_code)]
1928pub struct WebKitGeolocationManager {
1929    _data: [u8; 0],
1930    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1931}
1932
1933impl ::std::fmt::Debug for WebKitGeolocationManager {
1934    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1935        f.debug_struct(&format!("WebKitGeolocationManager @ {self:p}"))
1936            .finish()
1937    }
1938}
1939
1940#[repr(C)]
1941#[allow(dead_code)]
1942pub struct WebKitGeolocationPermissionRequest {
1943    _data: [u8; 0],
1944    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1945}
1946
1947impl ::std::fmt::Debug for WebKitGeolocationPermissionRequest {
1948    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1949        f.debug_struct(&format!("WebKitGeolocationPermissionRequest @ {self:p}"))
1950            .finish()
1951    }
1952}
1953
1954#[repr(C)]
1955#[allow(dead_code)]
1956pub struct WebKitHitTestResult {
1957    _data: [u8; 0],
1958    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1959}
1960
1961impl ::std::fmt::Debug for WebKitHitTestResult {
1962    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1963        f.debug_struct(&format!("WebKitHitTestResult @ {self:p}"))
1964            .finish()
1965    }
1966}
1967
1968#[derive(Copy, Clone)]
1969#[repr(C)]
1970pub struct WebKitInputMethodContext {
1971    pub parent_instance: gobject::GObject,
1972    pub priv_: *mut WebKitInputMethodContextPrivate,
1973}
1974
1975impl ::std::fmt::Debug for WebKitInputMethodContext {
1976    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1977        f.debug_struct(&format!("WebKitInputMethodContext @ {self:p}"))
1978            .field("parent_instance", &self.parent_instance)
1979            .field("priv_", &self.priv_)
1980            .finish()
1981    }
1982}
1983
1984#[repr(C)]
1985#[allow(dead_code)]
1986pub struct WebKitMediaKeySystemPermissionRequest {
1987    _data: [u8; 0],
1988    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1989}
1990
1991impl ::std::fmt::Debug for WebKitMediaKeySystemPermissionRequest {
1992    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1993        f.debug_struct(&format!("WebKitMediaKeySystemPermissionRequest @ {self:p}"))
1994            .finish()
1995    }
1996}
1997
1998#[repr(C)]
1999#[allow(dead_code)]
2000pub struct WebKitNavigationPolicyDecision {
2001    _data: [u8; 0],
2002    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2003}
2004
2005impl ::std::fmt::Debug for WebKitNavigationPolicyDecision {
2006    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2007        f.debug_struct(&format!("WebKitNavigationPolicyDecision @ {self:p}"))
2008            .finish()
2009    }
2010}
2011
2012#[repr(C)]
2013#[allow(dead_code)]
2014pub struct WebKitNetworkSession {
2015    _data: [u8; 0],
2016    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2017}
2018
2019impl ::std::fmt::Debug for WebKitNetworkSession {
2020    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2021        f.debug_struct(&format!("WebKitNetworkSession @ {self:p}"))
2022            .finish()
2023    }
2024}
2025
2026#[repr(C)]
2027#[allow(dead_code)]
2028pub struct WebKitNotification {
2029    _data: [u8; 0],
2030    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2031}
2032
2033impl ::std::fmt::Debug for WebKitNotification {
2034    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2035        f.debug_struct(&format!("WebKitNotification @ {self:p}"))
2036            .finish()
2037    }
2038}
2039
2040#[repr(C)]
2041#[allow(dead_code)]
2042pub struct WebKitNotificationPermissionRequest {
2043    _data: [u8; 0],
2044    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2045}
2046
2047impl ::std::fmt::Debug for WebKitNotificationPermissionRequest {
2048    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2049        f.debug_struct(&format!("WebKitNotificationPermissionRequest @ {self:p}"))
2050            .finish()
2051    }
2052}
2053
2054#[repr(C)]
2055#[allow(dead_code)]
2056pub struct WebKitOptionMenu {
2057    _data: [u8; 0],
2058    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2059}
2060
2061impl ::std::fmt::Debug for WebKitOptionMenu {
2062    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2063        f.debug_struct(&format!("WebKitOptionMenu @ {self:p}"))
2064            .finish()
2065    }
2066}
2067
2068#[repr(C)]
2069#[allow(dead_code)]
2070pub struct WebKitPointerLockPermissionRequest {
2071    _data: [u8; 0],
2072    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2073}
2074
2075impl ::std::fmt::Debug for WebKitPointerLockPermissionRequest {
2076    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2077        f.debug_struct(&format!("WebKitPointerLockPermissionRequest @ {self:p}"))
2078            .finish()
2079    }
2080}
2081
2082#[derive(Copy, Clone)]
2083#[repr(C)]
2084pub struct WebKitPolicyDecision {
2085    pub parent_instance: gobject::GObject,
2086    pub priv_: *mut WebKitPolicyDecisionPrivate,
2087}
2088
2089impl ::std::fmt::Debug for WebKitPolicyDecision {
2090    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2091        f.debug_struct(&format!("WebKitPolicyDecision @ {self:p}"))
2092            .field("parent_instance", &self.parent_instance)
2093            .field("priv_", &self.priv_)
2094            .finish()
2095    }
2096}
2097
2098#[repr(C)]
2099#[allow(dead_code)]
2100pub struct WebKitPrintOperation {
2101    _data: [u8; 0],
2102    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2103}
2104
2105impl ::std::fmt::Debug for WebKitPrintOperation {
2106    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2107        f.debug_struct(&format!("WebKitPrintOperation @ {self:p}"))
2108            .finish()
2109    }
2110}
2111
2112#[repr(C)]
2113#[allow(dead_code)]
2114pub struct WebKitResponsePolicyDecision {
2115    _data: [u8; 0],
2116    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2117}
2118
2119impl ::std::fmt::Debug for WebKitResponsePolicyDecision {
2120    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2121        f.debug_struct(&format!("WebKitResponsePolicyDecision @ {self:p}"))
2122            .finish()
2123    }
2124}
2125
2126#[repr(C)]
2127#[allow(dead_code)]
2128pub struct WebKitSecurityManager {
2129    _data: [u8; 0],
2130    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2131}
2132
2133impl ::std::fmt::Debug for WebKitSecurityManager {
2134    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2135        f.debug_struct(&format!("WebKitSecurityManager @ {self:p}"))
2136            .finish()
2137    }
2138}
2139
2140#[repr(C)]
2141#[allow(dead_code)]
2142pub struct WebKitSettings {
2143    _data: [u8; 0],
2144    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2145}
2146
2147impl ::std::fmt::Debug for WebKitSettings {
2148    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2149        f.debug_struct(&format!("WebKitSettings @ {self:p}"))
2150            .finish()
2151    }
2152}
2153
2154#[repr(C)]
2155#[allow(dead_code)]
2156pub struct WebKitURIRequest {
2157    _data: [u8; 0],
2158    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2159}
2160
2161impl ::std::fmt::Debug for WebKitURIRequest {
2162    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2163        f.debug_struct(&format!("WebKitURIRequest @ {self:p}"))
2164            .finish()
2165    }
2166}
2167
2168#[repr(C)]
2169#[allow(dead_code)]
2170pub struct WebKitURIResponse {
2171    _data: [u8; 0],
2172    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2173}
2174
2175impl ::std::fmt::Debug for WebKitURIResponse {
2176    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2177        f.debug_struct(&format!("WebKitURIResponse @ {self:p}"))
2178            .finish()
2179    }
2180}
2181
2182#[repr(C)]
2183#[allow(dead_code)]
2184pub struct WebKitURISchemeRequest {
2185    _data: [u8; 0],
2186    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2187}
2188
2189impl ::std::fmt::Debug for WebKitURISchemeRequest {
2190    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2191        f.debug_struct(&format!("WebKitURISchemeRequest @ {self:p}"))
2192            .finish()
2193    }
2194}
2195
2196#[repr(C)]
2197#[allow(dead_code)]
2198pub struct WebKitURISchemeResponse {
2199    _data: [u8; 0],
2200    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2201}
2202
2203impl ::std::fmt::Debug for WebKitURISchemeResponse {
2204    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2205        f.debug_struct(&format!("WebKitURISchemeResponse @ {self:p}"))
2206            .finish()
2207    }
2208}
2209
2210#[repr(C)]
2211#[allow(dead_code)]
2212pub struct WebKitUserContentFilterStore {
2213    _data: [u8; 0],
2214    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2215}
2216
2217impl ::std::fmt::Debug for WebKitUserContentFilterStore {
2218    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2219        f.debug_struct(&format!("WebKitUserContentFilterStore @ {self:p}"))
2220            .finish()
2221    }
2222}
2223
2224#[repr(C)]
2225#[allow(dead_code)]
2226pub struct WebKitUserContentManager {
2227    _data: [u8; 0],
2228    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2229}
2230
2231impl ::std::fmt::Debug for WebKitUserContentManager {
2232    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2233        f.debug_struct(&format!("WebKitUserContentManager @ {self:p}"))
2234            .finish()
2235    }
2236}
2237
2238#[repr(C)]
2239#[allow(dead_code)]
2240pub struct WebKitUserMediaPermissionRequest {
2241    _data: [u8; 0],
2242    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2243}
2244
2245impl ::std::fmt::Debug for WebKitUserMediaPermissionRequest {
2246    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2247        f.debug_struct(&format!("WebKitUserMediaPermissionRequest @ {self:p}"))
2248            .finish()
2249    }
2250}
2251
2252#[repr(C)]
2253#[allow(dead_code)]
2254pub struct WebKitUserMessage {
2255    _data: [u8; 0],
2256    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2257}
2258
2259impl ::std::fmt::Debug for WebKitUserMessage {
2260    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2261        f.debug_struct(&format!("WebKitUserMessage @ {self:p}"))
2262            .finish()
2263    }
2264}
2265
2266#[repr(C)]
2267#[allow(dead_code)]
2268pub struct WebKitWebContext {
2269    _data: [u8; 0],
2270    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2271}
2272
2273impl ::std::fmt::Debug for WebKitWebContext {
2274    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2275        f.debug_struct(&format!("WebKitWebContext @ {self:p}"))
2276            .finish()
2277    }
2278}
2279
2280#[repr(C)]
2281#[allow(dead_code)]
2282pub struct WebKitWebInspector {
2283    _data: [u8; 0],
2284    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2285}
2286
2287impl ::std::fmt::Debug for WebKitWebInspector {
2288    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2289        f.debug_struct(&format!("WebKitWebInspector @ {self:p}"))
2290            .finish()
2291    }
2292}
2293
2294#[repr(C)]
2295#[allow(dead_code)]
2296pub struct WebKitWebResource {
2297    _data: [u8; 0],
2298    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2299}
2300
2301impl ::std::fmt::Debug for WebKitWebResource {
2302    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2303        f.debug_struct(&format!("WebKitWebResource @ {self:p}"))
2304            .finish()
2305    }
2306}
2307
2308#[derive(Copy, Clone)]
2309#[repr(C)]
2310pub struct WebKitWebView {
2311    pub parent_instance: WebKitWebViewBase,
2312    pub priv_: *mut WebKitWebViewPrivate,
2313}
2314
2315impl ::std::fmt::Debug for WebKitWebView {
2316    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2317        f.debug_struct(&format!("WebKitWebView @ {self:p}"))
2318            .field("parent_instance", &self.parent_instance)
2319            .field("priv_", &self.priv_)
2320            .finish()
2321    }
2322}
2323
2324#[derive(Copy, Clone)]
2325#[repr(C)]
2326pub struct WebKitWebViewBase {
2327    pub parent_instance: gtk::GtkWidget,
2328    pub priv_: *mut WebKitWebViewBasePrivate,
2329}
2330
2331impl ::std::fmt::Debug for WebKitWebViewBase {
2332    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2333        f.debug_struct(&format!("WebKitWebViewBase @ {self:p}"))
2334            .field("parent_instance", &self.parent_instance)
2335            .field("priv_", &self.priv_)
2336            .finish()
2337    }
2338}
2339
2340#[repr(C)]
2341#[allow(dead_code)]
2342pub struct WebKitWebsiteDataAccessPermissionRequest {
2343    _data: [u8; 0],
2344    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2345}
2346
2347impl ::std::fmt::Debug for WebKitWebsiteDataAccessPermissionRequest {
2348    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2349        f.debug_struct(&format!(
2350            "WebKitWebsiteDataAccessPermissionRequest @ {self:p}"
2351        ))
2352        .finish()
2353    }
2354}
2355
2356#[repr(C)]
2357#[allow(dead_code)]
2358pub struct WebKitWebsiteDataManager {
2359    _data: [u8; 0],
2360    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2361}
2362
2363impl ::std::fmt::Debug for WebKitWebsiteDataManager {
2364    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2365        f.debug_struct(&format!("WebKitWebsiteDataManager @ {self:p}"))
2366            .finish()
2367    }
2368}
2369
2370#[repr(C)]
2371#[allow(dead_code)]
2372pub struct WebKitWebsitePolicies {
2373    _data: [u8; 0],
2374    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2375}
2376
2377impl ::std::fmt::Debug for WebKitWebsitePolicies {
2378    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2379        f.debug_struct(&format!("WebKitWebsitePolicies @ {self:p}"))
2380            .finish()
2381    }
2382}
2383
2384#[repr(C)]
2385#[allow(dead_code)]
2386pub struct WebKitWindowProperties {
2387    _data: [u8; 0],
2388    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2389}
2390
2391impl ::std::fmt::Debug for WebKitWindowProperties {
2392    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2393        f.debug_struct(&format!("WebKitWindowProperties @ {self:p}"))
2394            .finish()
2395    }
2396}
2397
2398// Interfaces
2399#[repr(C)]
2400#[allow(dead_code)]
2401pub struct WebKitPermissionRequest {
2402    _data: [u8; 0],
2403    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2404}
2405
2406impl ::std::fmt::Debug for WebKitPermissionRequest {
2407    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2408        write!(f, "WebKitPermissionRequest @ {self:p}")
2409    }
2410}
2411
2412extern "C" {
2413
2414    //=========================================================================
2415    // WebKitAuthenticationScheme
2416    //=========================================================================
2417    pub fn webkit_authentication_scheme_get_type() -> GType;
2418
2419    //=========================================================================
2420    // WebKitAutomationBrowsingContextPresentation
2421    //=========================================================================
2422    pub fn webkit_automation_browsing_context_presentation_get_type() -> GType;
2423
2424    //=========================================================================
2425    // WebKitAutoplayPolicy
2426    //=========================================================================
2427    pub fn webkit_autoplay_policy_get_type() -> GType;
2428
2429    //=========================================================================
2430    // WebKitCacheModel
2431    //=========================================================================
2432    pub fn webkit_cache_model_get_type() -> GType;
2433
2434    //=========================================================================
2435    // WebKitContextMenuAction
2436    //=========================================================================
2437    pub fn webkit_context_menu_action_get_type() -> GType;
2438
2439    //=========================================================================
2440    // WebKitCookieAcceptPolicy
2441    //=========================================================================
2442    pub fn webkit_cookie_accept_policy_get_type() -> GType;
2443
2444    //=========================================================================
2445    // WebKitCookiePersistentStorage
2446    //=========================================================================
2447    pub fn webkit_cookie_persistent_storage_get_type() -> GType;
2448
2449    //=========================================================================
2450    // WebKitCredentialPersistence
2451    //=========================================================================
2452    pub fn webkit_credential_persistence_get_type() -> GType;
2453
2454    //=========================================================================
2455    // WebKitDownloadError
2456    //=========================================================================
2457    pub fn webkit_download_error_get_type() -> GType;
2458    pub fn webkit_download_error_quark() -> glib::GQuark;
2459
2460    //=========================================================================
2461    // WebKitFaviconDatabaseError
2462    //=========================================================================
2463    pub fn webkit_favicon_database_error_get_type() -> GType;
2464    pub fn webkit_favicon_database_error_quark() -> glib::GQuark;
2465
2466    //=========================================================================
2467    // WebKitFeatureStatus
2468    //=========================================================================
2469    #[cfg(feature = "v2_42")]
2470    #[cfg_attr(docsrs, doc(cfg(feature = "v2_42")))]
2471    pub fn webkit_feature_status_get_type() -> GType;
2472
2473    //=========================================================================
2474    // WebKitHardwareAccelerationPolicy
2475    //=========================================================================
2476    pub fn webkit_hardware_acceleration_policy_get_type() -> GType;
2477
2478    //=========================================================================
2479    // WebKitInputPurpose
2480    //=========================================================================
2481    pub fn webkit_input_purpose_get_type() -> GType;
2482
2483    //=========================================================================
2484    // WebKitInsecureContentEvent
2485    //=========================================================================
2486    pub fn webkit_insecure_content_event_get_type() -> GType;
2487
2488    //=========================================================================
2489    // WebKitJavascriptError
2490    //=========================================================================
2491    pub fn webkit_javascript_error_get_type() -> GType;
2492    pub fn webkit_javascript_error_quark() -> glib::GQuark;
2493
2494    //=========================================================================
2495    // WebKitLoadEvent
2496    //=========================================================================
2497    pub fn webkit_load_event_get_type() -> GType;
2498
2499    //=========================================================================
2500    // WebKitMediaCaptureState
2501    //=========================================================================
2502    pub fn webkit_media_capture_state_get_type() -> GType;
2503
2504    //=========================================================================
2505    // WebKitMediaError
2506    //=========================================================================
2507    pub fn webkit_media_error_get_type() -> GType;
2508    pub fn webkit_media_error_quark() -> glib::GQuark;
2509
2510    //=========================================================================
2511    // WebKitNavigationType
2512    //=========================================================================
2513    pub fn webkit_navigation_type_get_type() -> GType;
2514
2515    //=========================================================================
2516    // WebKitNetworkError
2517    //=========================================================================
2518    pub fn webkit_network_error_get_type() -> GType;
2519    pub fn webkit_network_error_quark() -> glib::GQuark;
2520
2521    //=========================================================================
2522    // WebKitNetworkProxyMode
2523    //=========================================================================
2524    pub fn webkit_network_proxy_mode_get_type() -> GType;
2525
2526    //=========================================================================
2527    // WebKitPermissionState
2528    //=========================================================================
2529    pub fn webkit_permission_state_get_type() -> GType;
2530
2531    //=========================================================================
2532    // WebKitPolicyDecisionType
2533    //=========================================================================
2534    pub fn webkit_policy_decision_type_get_type() -> GType;
2535
2536    //=========================================================================
2537    // WebKitPolicyError
2538    //=========================================================================
2539    pub fn webkit_policy_error_get_type() -> GType;
2540    pub fn webkit_policy_error_quark() -> glib::GQuark;
2541
2542    //=========================================================================
2543    // WebKitPrintError
2544    //=========================================================================
2545    pub fn webkit_print_error_get_type() -> GType;
2546    pub fn webkit_print_error_quark() -> glib::GQuark;
2547
2548    //=========================================================================
2549    // WebKitPrintOperationResponse
2550    //=========================================================================
2551    pub fn webkit_print_operation_response_get_type() -> GType;
2552
2553    //=========================================================================
2554    // WebKitSaveMode
2555    //=========================================================================
2556    pub fn webkit_save_mode_get_type() -> GType;
2557
2558    //=========================================================================
2559    // WebKitScriptDialogType
2560    //=========================================================================
2561    pub fn webkit_script_dialog_type_get_type() -> GType;
2562
2563    //=========================================================================
2564    // WebKitSnapshotError
2565    //=========================================================================
2566    pub fn webkit_snapshot_error_get_type() -> GType;
2567    pub fn webkit_snapshot_error_quark() -> glib::GQuark;
2568
2569    //=========================================================================
2570    // WebKitSnapshotRegion
2571    //=========================================================================
2572    pub fn webkit_snapshot_region_get_type() -> GType;
2573
2574    //=========================================================================
2575    // WebKitTLSErrorsPolicy
2576    //=========================================================================
2577    pub fn webkit_tls_errors_policy_get_type() -> GType;
2578
2579    //=========================================================================
2580    // WebKitUserContentFilterError
2581    //=========================================================================
2582    pub fn webkit_user_content_filter_error_get_type() -> GType;
2583    pub fn webkit_user_content_filter_error_quark() -> glib::GQuark;
2584
2585    //=========================================================================
2586    // WebKitUserContentInjectedFrames
2587    //=========================================================================
2588    pub fn webkit_user_content_injected_frames_get_type() -> GType;
2589
2590    //=========================================================================
2591    // WebKitUserMessageError
2592    //=========================================================================
2593    pub fn webkit_user_message_error_get_type() -> GType;
2594    pub fn webkit_user_message_error_quark() -> glib::GQuark;
2595
2596    //=========================================================================
2597    // WebKitUserScriptInjectionTime
2598    //=========================================================================
2599    pub fn webkit_user_script_injection_time_get_type() -> GType;
2600
2601    //=========================================================================
2602    // WebKitUserStyleLevel
2603    //=========================================================================
2604    pub fn webkit_user_style_level_get_type() -> GType;
2605
2606    //=========================================================================
2607    // WebKitWebExtensionMatchPatternError
2608    //=========================================================================
2609    pub fn webkit_web_extension_match_pattern_error_get_type() -> GType;
2610    pub fn webkit_web_extension_match_pattern_error_quark() -> glib::GQuark;
2611
2612    //=========================================================================
2613    // WebKitWebExtensionMode
2614    //=========================================================================
2615    pub fn webkit_web_extension_mode_get_type() -> GType;
2616
2617    //=========================================================================
2618    // WebKitWebProcessTerminationReason
2619    //=========================================================================
2620    pub fn webkit_web_process_termination_reason_get_type() -> GType;
2621
2622    //=========================================================================
2623    // WebKitEditorTypingAttributes
2624    //=========================================================================
2625    pub fn webkit_editor_typing_attributes_get_type() -> GType;
2626
2627    //=========================================================================
2628    // WebKitFindOptions
2629    //=========================================================================
2630    pub fn webkit_find_options_get_type() -> GType;
2631
2632    //=========================================================================
2633    // WebKitHitTestResultContext
2634    //=========================================================================
2635    pub fn webkit_hit_test_result_context_get_type() -> GType;
2636
2637    //=========================================================================
2638    // WebKitInputHints
2639    //=========================================================================
2640    pub fn webkit_input_hints_get_type() -> GType;
2641
2642    //=========================================================================
2643    // WebKitSnapshotOptions
2644    //=========================================================================
2645    pub fn webkit_snapshot_options_get_type() -> GType;
2646
2647    //=========================================================================
2648    // WebKitWebExtensionMatchPatternOptions
2649    //=========================================================================
2650    #[cfg(feature = "v2_48")]
2651    #[cfg_attr(docsrs, doc(cfg(feature = "v2_48")))]
2652    pub fn webkit_web_extension_match_pattern_options_get_type() -> GType;
2653
2654    //=========================================================================
2655    // WebKitWebsiteDataTypes
2656    //=========================================================================
2657    pub fn webkit_website_data_types_get_type() -> GType;
2658
2659    //=========================================================================
2660    // WebKitApplicationInfo
2661    //=========================================================================
2662    pub fn webkit_application_info_get_type() -> GType;
2663    pub fn webkit_application_info_new() -> *mut WebKitApplicationInfo;
2664    pub fn webkit_application_info_get_name(info: *mut WebKitApplicationInfo) -> *const c_char;
2665    pub fn webkit_application_info_get_version(
2666        info: *mut WebKitApplicationInfo,
2667        major: *mut u64,
2668        minor: *mut u64,
2669        micro: *mut u64,
2670    );
2671    pub fn webkit_application_info_ref(
2672        info: *mut WebKitApplicationInfo,
2673    ) -> *mut WebKitApplicationInfo;
2674    pub fn webkit_application_info_set_name(info: *mut WebKitApplicationInfo, name: *const c_char);
2675    pub fn webkit_application_info_set_version(
2676        info: *mut WebKitApplicationInfo,
2677        major: u64,
2678        minor: u64,
2679        micro: u64,
2680    );
2681    pub fn webkit_application_info_unref(info: *mut WebKitApplicationInfo);
2682
2683    //=========================================================================
2684    // WebKitCredential
2685    //=========================================================================
2686    pub fn webkit_credential_get_type() -> GType;
2687    pub fn webkit_credential_new(
2688        username: *const c_char,
2689        password: *const c_char,
2690        persistence: WebKitCredentialPersistence,
2691    ) -> *mut WebKitCredential;
2692    pub fn webkit_credential_new_for_certificate(
2693        certificate: *mut gio::GTlsCertificate,
2694        persistence: WebKitCredentialPersistence,
2695    ) -> *mut WebKitCredential;
2696    pub fn webkit_credential_new_for_certificate_pin(
2697        pin: *const c_char,
2698        persistence: WebKitCredentialPersistence,
2699    ) -> *mut WebKitCredential;
2700    pub fn webkit_credential_copy(credential: *mut WebKitCredential) -> *mut WebKitCredential;
2701    pub fn webkit_credential_free(credential: *mut WebKitCredential);
2702    pub fn webkit_credential_get_certificate(
2703        credential: *mut WebKitCredential,
2704    ) -> *mut gio::GTlsCertificate;
2705    pub fn webkit_credential_get_password(credential: *mut WebKitCredential) -> *const c_char;
2706    pub fn webkit_credential_get_persistence(
2707        credential: *mut WebKitCredential,
2708    ) -> WebKitCredentialPersistence;
2709    pub fn webkit_credential_get_username(credential: *mut WebKitCredential) -> *const c_char;
2710    pub fn webkit_credential_has_password(credential: *mut WebKitCredential) -> gboolean;
2711
2712    //=========================================================================
2713    // WebKitFeature
2714    //=========================================================================
2715    #[cfg(feature = "v2_42")]
2716    #[cfg_attr(docsrs, doc(cfg(feature = "v2_42")))]
2717    pub fn webkit_feature_get_type() -> GType;
2718    #[cfg(feature = "v2_42")]
2719    #[cfg_attr(docsrs, doc(cfg(feature = "v2_42")))]
2720    pub fn webkit_feature_get_category(feature: *mut WebKitFeature) -> *const c_char;
2721    #[cfg(feature = "v2_42")]
2722    #[cfg_attr(docsrs, doc(cfg(feature = "v2_42")))]
2723    pub fn webkit_feature_get_default_value(feature: *mut WebKitFeature) -> gboolean;
2724    #[cfg(feature = "v2_42")]
2725    #[cfg_attr(docsrs, doc(cfg(feature = "v2_42")))]
2726    pub fn webkit_feature_get_details(feature: *mut WebKitFeature) -> *const c_char;
2727    #[cfg(feature = "v2_42")]
2728    #[cfg_attr(docsrs, doc(cfg(feature = "v2_42")))]
2729    pub fn webkit_feature_get_identifier(feature: *mut WebKitFeature) -> *const c_char;
2730    #[cfg(feature = "v2_42")]
2731    #[cfg_attr(docsrs, doc(cfg(feature = "v2_42")))]
2732    pub fn webkit_feature_get_name(feature: *mut WebKitFeature) -> *const c_char;
2733    #[cfg(feature = "v2_42")]
2734    #[cfg_attr(docsrs, doc(cfg(feature = "v2_42")))]
2735    pub fn webkit_feature_get_status(feature: *mut WebKitFeature) -> WebKitFeatureStatus;
2736    #[cfg(feature = "v2_42")]
2737    #[cfg_attr(docsrs, doc(cfg(feature = "v2_42")))]
2738    pub fn webkit_feature_ref(feature: *mut WebKitFeature) -> *mut WebKitFeature;
2739    #[cfg(feature = "v2_42")]
2740    #[cfg_attr(docsrs, doc(cfg(feature = "v2_42")))]
2741    pub fn webkit_feature_unref(feature: *mut WebKitFeature);
2742
2743    //=========================================================================
2744    // WebKitFeatureList
2745    //=========================================================================
2746    #[cfg(feature = "v2_42")]
2747    #[cfg_attr(docsrs, doc(cfg(feature = "v2_42")))]
2748    pub fn webkit_feature_list_get_type() -> GType;
2749    #[cfg(feature = "v2_42")]
2750    #[cfg_attr(docsrs, doc(cfg(feature = "v2_42")))]
2751    pub fn webkit_feature_list_get(
2752        feature_list: *mut WebKitFeatureList,
2753        index: size_t,
2754    ) -> *mut WebKitFeature;
2755    #[cfg(feature = "v2_42")]
2756    #[cfg_attr(docsrs, doc(cfg(feature = "v2_42")))]
2757    pub fn webkit_feature_list_get_length(feature_list: *mut WebKitFeatureList) -> size_t;
2758    #[cfg(feature = "v2_42")]
2759    #[cfg_attr(docsrs, doc(cfg(feature = "v2_42")))]
2760    pub fn webkit_feature_list_ref(feature_list: *mut WebKitFeatureList) -> *mut WebKitFeatureList;
2761    #[cfg(feature = "v2_42")]
2762    #[cfg_attr(docsrs, doc(cfg(feature = "v2_42")))]
2763    pub fn webkit_feature_list_unref(feature_list: *mut WebKitFeatureList);
2764
2765    //=========================================================================
2766    // WebKitGeolocationPosition
2767    //=========================================================================
2768    pub fn webkit_geolocation_position_get_type() -> GType;
2769    pub fn webkit_geolocation_position_new(
2770        latitude: c_double,
2771        longitude: c_double,
2772        accuracy: c_double,
2773    ) -> *mut WebKitGeolocationPosition;
2774    pub fn webkit_geolocation_position_copy(
2775        position: *mut WebKitGeolocationPosition,
2776    ) -> *mut WebKitGeolocationPosition;
2777    pub fn webkit_geolocation_position_free(position: *mut WebKitGeolocationPosition);
2778    pub fn webkit_geolocation_position_set_altitude(
2779        position: *mut WebKitGeolocationPosition,
2780        altitude: c_double,
2781    );
2782    pub fn webkit_geolocation_position_set_altitude_accuracy(
2783        position: *mut WebKitGeolocationPosition,
2784        altitude_accuracy: c_double,
2785    );
2786    pub fn webkit_geolocation_position_set_heading(
2787        position: *mut WebKitGeolocationPosition,
2788        heading: c_double,
2789    );
2790    pub fn webkit_geolocation_position_set_speed(
2791        position: *mut WebKitGeolocationPosition,
2792        speed: c_double,
2793    );
2794    pub fn webkit_geolocation_position_set_timestamp(
2795        position: *mut WebKitGeolocationPosition,
2796        timestamp: u64,
2797    );
2798
2799    //=========================================================================
2800    // WebKitITPFirstParty
2801    //=========================================================================
2802    pub fn webkit_itp_first_party_get_type() -> GType;
2803    pub fn webkit_itp_first_party_get_domain(
2804        itp_first_party: *mut WebKitITPFirstParty,
2805    ) -> *const c_char;
2806    pub fn webkit_itp_first_party_get_last_update_time(
2807        itp_first_party: *mut WebKitITPFirstParty,
2808    ) -> *mut glib::GDateTime;
2809    pub fn webkit_itp_first_party_get_website_data_access_allowed(
2810        itp_first_party: *mut WebKitITPFirstParty,
2811    ) -> gboolean;
2812    pub fn webkit_itp_first_party_ref(
2813        itp_first_party: *mut WebKitITPFirstParty,
2814    ) -> *mut WebKitITPFirstParty;
2815    pub fn webkit_itp_first_party_unref(itp_first_party: *mut WebKitITPFirstParty);
2816
2817    //=========================================================================
2818    // WebKitITPThirdParty
2819    //=========================================================================
2820    pub fn webkit_itp_third_party_get_type() -> GType;
2821    pub fn webkit_itp_third_party_get_domain(
2822        itp_third_party: *mut WebKitITPThirdParty,
2823    ) -> *const c_char;
2824    pub fn webkit_itp_third_party_get_first_parties(
2825        itp_third_party: *mut WebKitITPThirdParty,
2826    ) -> *mut glib::GList;
2827    pub fn webkit_itp_third_party_ref(
2828        itp_third_party: *mut WebKitITPThirdParty,
2829    ) -> *mut WebKitITPThirdParty;
2830    pub fn webkit_itp_third_party_unref(itp_third_party: *mut WebKitITPThirdParty);
2831
2832    //=========================================================================
2833    // WebKitInputMethodUnderline
2834    //=========================================================================
2835    pub fn webkit_input_method_underline_get_type() -> GType;
2836    pub fn webkit_input_method_underline_new(
2837        start_offset: c_uint,
2838        end_offset: c_uint,
2839    ) -> *mut WebKitInputMethodUnderline;
2840    pub fn webkit_input_method_underline_copy(
2841        underline: *mut WebKitInputMethodUnderline,
2842    ) -> *mut WebKitInputMethodUnderline;
2843    pub fn webkit_input_method_underline_free(underline: *mut WebKitInputMethodUnderline);
2844    pub fn webkit_input_method_underline_set_color(
2845        underline: *mut WebKitInputMethodUnderline,
2846        rgba: *const gdk::GdkRGBA,
2847    );
2848
2849    //=========================================================================
2850    // WebKitMemoryPressureSettings
2851    //=========================================================================
2852    pub fn webkit_memory_pressure_settings_get_type() -> GType;
2853    pub fn webkit_memory_pressure_settings_new() -> *mut WebKitMemoryPressureSettings;
2854    pub fn webkit_memory_pressure_settings_copy(
2855        settings: *mut WebKitMemoryPressureSettings,
2856    ) -> *mut WebKitMemoryPressureSettings;
2857    pub fn webkit_memory_pressure_settings_free(settings: *mut WebKitMemoryPressureSettings);
2858    pub fn webkit_memory_pressure_settings_get_conservative_threshold(
2859        settings: *mut WebKitMemoryPressureSettings,
2860    ) -> c_double;
2861    pub fn webkit_memory_pressure_settings_get_kill_threshold(
2862        settings: *mut WebKitMemoryPressureSettings,
2863    ) -> c_double;
2864    pub fn webkit_memory_pressure_settings_get_memory_limit(
2865        settings: *mut WebKitMemoryPressureSettings,
2866    ) -> c_uint;
2867    pub fn webkit_memory_pressure_settings_get_poll_interval(
2868        settings: *mut WebKitMemoryPressureSettings,
2869    ) -> c_double;
2870    pub fn webkit_memory_pressure_settings_get_strict_threshold(
2871        settings: *mut WebKitMemoryPressureSettings,
2872    ) -> c_double;
2873    pub fn webkit_memory_pressure_settings_set_conservative_threshold(
2874        settings: *mut WebKitMemoryPressureSettings,
2875        value: c_double,
2876    );
2877    pub fn webkit_memory_pressure_settings_set_kill_threshold(
2878        settings: *mut WebKitMemoryPressureSettings,
2879        value: c_double,
2880    );
2881    pub fn webkit_memory_pressure_settings_set_memory_limit(
2882        settings: *mut WebKitMemoryPressureSettings,
2883        memory_limit: c_uint,
2884    );
2885    pub fn webkit_memory_pressure_settings_set_poll_interval(
2886        settings: *mut WebKitMemoryPressureSettings,
2887        value: c_double,
2888    );
2889    pub fn webkit_memory_pressure_settings_set_strict_threshold(
2890        settings: *mut WebKitMemoryPressureSettings,
2891        value: c_double,
2892    );
2893
2894    //=========================================================================
2895    // WebKitNavigationAction
2896    //=========================================================================
2897    pub fn webkit_navigation_action_get_type() -> GType;
2898    pub fn webkit_navigation_action_copy(
2899        navigation: *mut WebKitNavigationAction,
2900    ) -> *mut WebKitNavigationAction;
2901    pub fn webkit_navigation_action_free(navigation: *mut WebKitNavigationAction);
2902    pub fn webkit_navigation_action_get_frame_name(
2903        navigation: *mut WebKitNavigationAction,
2904    ) -> *const c_char;
2905    pub fn webkit_navigation_action_get_modifiers(
2906        navigation: *mut WebKitNavigationAction,
2907    ) -> c_uint;
2908    pub fn webkit_navigation_action_get_mouse_button(
2909        navigation: *mut WebKitNavigationAction,
2910    ) -> c_uint;
2911    pub fn webkit_navigation_action_get_navigation_type(
2912        navigation: *mut WebKitNavigationAction,
2913    ) -> WebKitNavigationType;
2914    pub fn webkit_navigation_action_get_request(
2915        navigation: *mut WebKitNavigationAction,
2916    ) -> *mut WebKitURIRequest;
2917    pub fn webkit_navigation_action_is_redirect(
2918        navigation: *mut WebKitNavigationAction,
2919    ) -> gboolean;
2920    pub fn webkit_navigation_action_is_user_gesture(
2921        navigation: *mut WebKitNavigationAction,
2922    ) -> gboolean;
2923
2924    //=========================================================================
2925    // WebKitNetworkProxySettings
2926    //=========================================================================
2927    pub fn webkit_network_proxy_settings_get_type() -> GType;
2928    pub fn webkit_network_proxy_settings_new(
2929        default_proxy_uri: *const c_char,
2930        ignore_hosts: *const *const c_char,
2931    ) -> *mut WebKitNetworkProxySettings;
2932    pub fn webkit_network_proxy_settings_add_proxy_for_scheme(
2933        proxy_settings: *mut WebKitNetworkProxySettings,
2934        scheme: *const c_char,
2935        proxy_uri: *const c_char,
2936    );
2937    pub fn webkit_network_proxy_settings_copy(
2938        proxy_settings: *mut WebKitNetworkProxySettings,
2939    ) -> *mut WebKitNetworkProxySettings;
2940    pub fn webkit_network_proxy_settings_free(proxy_settings: *mut WebKitNetworkProxySettings);
2941
2942    //=========================================================================
2943    // WebKitOptionMenuItem
2944    //=========================================================================
2945    pub fn webkit_option_menu_item_get_type() -> GType;
2946    pub fn webkit_option_menu_item_copy(
2947        item: *mut WebKitOptionMenuItem,
2948    ) -> *mut WebKitOptionMenuItem;
2949    pub fn webkit_option_menu_item_free(item: *mut WebKitOptionMenuItem);
2950    pub fn webkit_option_menu_item_get_label(item: *mut WebKitOptionMenuItem) -> *const c_char;
2951    pub fn webkit_option_menu_item_get_tooltip(item: *mut WebKitOptionMenuItem) -> *const c_char;
2952    pub fn webkit_option_menu_item_is_enabled(item: *mut WebKitOptionMenuItem) -> gboolean;
2953    pub fn webkit_option_menu_item_is_group_child(item: *mut WebKitOptionMenuItem) -> gboolean;
2954    pub fn webkit_option_menu_item_is_group_label(item: *mut WebKitOptionMenuItem) -> gboolean;
2955    pub fn webkit_option_menu_item_is_selected(item: *mut WebKitOptionMenuItem) -> gboolean;
2956
2957    //=========================================================================
2958    // WebKitPermissionStateQuery
2959    //=========================================================================
2960    pub fn webkit_permission_state_query_get_type() -> GType;
2961    pub fn webkit_permission_state_query_finish(
2962        query: *mut WebKitPermissionStateQuery,
2963        state: WebKitPermissionState,
2964    );
2965    pub fn webkit_permission_state_query_get_name(
2966        query: *mut WebKitPermissionStateQuery,
2967    ) -> *const c_char;
2968    pub fn webkit_permission_state_query_get_security_origin(
2969        query: *mut WebKitPermissionStateQuery,
2970    ) -> *mut WebKitSecurityOrigin;
2971    pub fn webkit_permission_state_query_ref(
2972        query: *mut WebKitPermissionStateQuery,
2973    ) -> *mut WebKitPermissionStateQuery;
2974    pub fn webkit_permission_state_query_unref(query: *mut WebKitPermissionStateQuery);
2975
2976    //=========================================================================
2977    // WebKitScriptDialog
2978    //=========================================================================
2979    pub fn webkit_script_dialog_get_type() -> GType;
2980    pub fn webkit_script_dialog_close(dialog: *mut WebKitScriptDialog);
2981    pub fn webkit_script_dialog_confirm_set_confirmed(
2982        dialog: *mut WebKitScriptDialog,
2983        confirmed: gboolean,
2984    );
2985    pub fn webkit_script_dialog_get_dialog_type(
2986        dialog: *mut WebKitScriptDialog,
2987    ) -> WebKitScriptDialogType;
2988    pub fn webkit_script_dialog_get_message(dialog: *mut WebKitScriptDialog) -> *const c_char;
2989    pub fn webkit_script_dialog_prompt_get_default_text(
2990        dialog: *mut WebKitScriptDialog,
2991    ) -> *const c_char;
2992    pub fn webkit_script_dialog_prompt_set_text(
2993        dialog: *mut WebKitScriptDialog,
2994        text: *const c_char,
2995    );
2996    pub fn webkit_script_dialog_ref(dialog: *mut WebKitScriptDialog) -> *mut WebKitScriptDialog;
2997    pub fn webkit_script_dialog_unref(dialog: *mut WebKitScriptDialog);
2998
2999    //=========================================================================
3000    // WebKitScriptMessageReply
3001    //=========================================================================
3002    pub fn webkit_script_message_reply_get_type() -> GType;
3003    pub fn webkit_script_message_reply_ref(
3004        script_message_reply: *mut WebKitScriptMessageReply,
3005    ) -> *mut WebKitScriptMessageReply;
3006    pub fn webkit_script_message_reply_return_error_message(
3007        script_message_reply: *mut WebKitScriptMessageReply,
3008        error_message: *const c_char,
3009    );
3010    pub fn webkit_script_message_reply_return_value(
3011        script_message_reply: *mut WebKitScriptMessageReply,
3012        reply_value: *mut javascriptcore::JSCValue,
3013    );
3014    pub fn webkit_script_message_reply_unref(script_message_reply: *mut WebKitScriptMessageReply);
3015
3016    //=========================================================================
3017    // WebKitSecurityOrigin
3018    //=========================================================================
3019    pub fn webkit_security_origin_get_type() -> GType;
3020    pub fn webkit_security_origin_new(
3021        protocol: *const c_char,
3022        host: *const c_char,
3023        port: u16,
3024    ) -> *mut WebKitSecurityOrigin;
3025    pub fn webkit_security_origin_new_for_uri(uri: *const c_char) -> *mut WebKitSecurityOrigin;
3026    pub fn webkit_security_origin_get_host(origin: *mut WebKitSecurityOrigin) -> *const c_char;
3027    pub fn webkit_security_origin_get_port(origin: *mut WebKitSecurityOrigin) -> u16;
3028    pub fn webkit_security_origin_get_protocol(origin: *mut WebKitSecurityOrigin) -> *const c_char;
3029    pub fn webkit_security_origin_ref(
3030        origin: *mut WebKitSecurityOrigin,
3031    ) -> *mut WebKitSecurityOrigin;
3032    pub fn webkit_security_origin_to_string(origin: *mut WebKitSecurityOrigin) -> *mut c_char;
3033    pub fn webkit_security_origin_unref(origin: *mut WebKitSecurityOrigin);
3034
3035    //=========================================================================
3036    // WebKitUserContentFilter
3037    //=========================================================================
3038    pub fn webkit_user_content_filter_get_type() -> GType;
3039    pub fn webkit_user_content_filter_get_identifier(
3040        user_content_filter: *mut WebKitUserContentFilter,
3041    ) -> *const c_char;
3042    pub fn webkit_user_content_filter_ref(
3043        user_content_filter: *mut WebKitUserContentFilter,
3044    ) -> *mut WebKitUserContentFilter;
3045    pub fn webkit_user_content_filter_unref(user_content_filter: *mut WebKitUserContentFilter);
3046
3047    //=========================================================================
3048    // WebKitUserScript
3049    //=========================================================================
3050    pub fn webkit_user_script_get_type() -> GType;
3051    pub fn webkit_user_script_new(
3052        source: *const c_char,
3053        injected_frames: WebKitUserContentInjectedFrames,
3054        injection_time: WebKitUserScriptInjectionTime,
3055        allow_list: *const *const c_char,
3056        block_list: *const *const c_char,
3057    ) -> *mut WebKitUserScript;
3058    pub fn webkit_user_script_new_for_world(
3059        source: *const c_char,
3060        injected_frames: WebKitUserContentInjectedFrames,
3061        injection_time: WebKitUserScriptInjectionTime,
3062        world_name: *const c_char,
3063        allow_list: *const *const c_char,
3064        block_list: *const *const c_char,
3065    ) -> *mut WebKitUserScript;
3066    pub fn webkit_user_script_ref(user_script: *mut WebKitUserScript) -> *mut WebKitUserScript;
3067    pub fn webkit_user_script_unref(user_script: *mut WebKitUserScript);
3068
3069    //=========================================================================
3070    // WebKitUserStyleSheet
3071    //=========================================================================
3072    pub fn webkit_user_style_sheet_get_type() -> GType;
3073    pub fn webkit_user_style_sheet_new(
3074        source: *const c_char,
3075        injected_frames: WebKitUserContentInjectedFrames,
3076        level: WebKitUserStyleLevel,
3077        allow_list: *const *const c_char,
3078        block_list: *const *const c_char,
3079    ) -> *mut WebKitUserStyleSheet;
3080    pub fn webkit_user_style_sheet_new_for_world(
3081        source: *const c_char,
3082        injected_frames: WebKitUserContentInjectedFrames,
3083        level: WebKitUserStyleLevel,
3084        world_name: *const c_char,
3085        allow_list: *const *const c_char,
3086        block_list: *const *const c_char,
3087    ) -> *mut WebKitUserStyleSheet;
3088    pub fn webkit_user_style_sheet_ref(
3089        user_style_sheet: *mut WebKitUserStyleSheet,
3090    ) -> *mut WebKitUserStyleSheet;
3091    pub fn webkit_user_style_sheet_unref(user_style_sheet: *mut WebKitUserStyleSheet);
3092
3093    //=========================================================================
3094    // WebKitWebExtensionMatchPattern
3095    //=========================================================================
3096    #[cfg(feature = "v2_48")]
3097    #[cfg_attr(docsrs, doc(cfg(feature = "v2_48")))]
3098    pub fn webkit_web_extension_match_pattern_get_type() -> GType;
3099    #[cfg(feature = "v2_48")]
3100    #[cfg_attr(docsrs, doc(cfg(feature = "v2_48")))]
3101    pub fn webkit_web_extension_match_pattern_new_all_hosts_and_schemes(
3102    ) -> *mut WebKitWebExtensionMatchPattern;
3103    #[cfg(feature = "v2_48")]
3104    #[cfg_attr(docsrs, doc(cfg(feature = "v2_48")))]
3105    pub fn webkit_web_extension_match_pattern_new_all_urls() -> *mut WebKitWebExtensionMatchPattern;
3106    #[cfg(feature = "v2_48")]
3107    #[cfg_attr(docsrs, doc(cfg(feature = "v2_48")))]
3108    pub fn webkit_web_extension_match_pattern_new_with_scheme(
3109        scheme: *const c_char,
3110        host: *const c_char,
3111        path: *const c_char,
3112        error: *mut *mut glib::GError,
3113    ) -> *mut WebKitWebExtensionMatchPattern;
3114    #[cfg(feature = "v2_48")]
3115    #[cfg_attr(docsrs, doc(cfg(feature = "v2_48")))]
3116    pub fn webkit_web_extension_match_pattern_new_with_string(
3117        string: *const c_char,
3118        error: *mut *mut glib::GError,
3119    ) -> *mut WebKitWebExtensionMatchPattern;
3120    #[cfg(feature = "v2_48")]
3121    #[cfg_attr(docsrs, doc(cfg(feature = "v2_48")))]
3122    pub fn webkit_web_extension_match_pattern_get_host(
3123        matchPattern: *mut WebKitWebExtensionMatchPattern,
3124    ) -> *const c_char;
3125    #[cfg(feature = "v2_48")]
3126    #[cfg_attr(docsrs, doc(cfg(feature = "v2_48")))]
3127    pub fn webkit_web_extension_match_pattern_get_matches_all_hosts(
3128        matchPattern: *mut WebKitWebExtensionMatchPattern,
3129    ) -> gboolean;
3130    #[cfg(feature = "v2_48")]
3131    #[cfg_attr(docsrs, doc(cfg(feature = "v2_48")))]
3132    pub fn webkit_web_extension_match_pattern_get_matches_all_urls(
3133        matchPattern: *mut WebKitWebExtensionMatchPattern,
3134    ) -> gboolean;
3135    #[cfg(feature = "v2_48")]
3136    #[cfg_attr(docsrs, doc(cfg(feature = "v2_48")))]
3137    pub fn webkit_web_extension_match_pattern_get_path(
3138        matchPattern: *mut WebKitWebExtensionMatchPattern,
3139    ) -> *const c_char;
3140    #[cfg(feature = "v2_48")]
3141    #[cfg_attr(docsrs, doc(cfg(feature = "v2_48")))]
3142    pub fn webkit_web_extension_match_pattern_get_scheme(
3143        matchPattern: *mut WebKitWebExtensionMatchPattern,
3144    ) -> *const c_char;
3145    #[cfg(feature = "v2_48")]
3146    #[cfg_attr(docsrs, doc(cfg(feature = "v2_48")))]
3147    pub fn webkit_web_extension_match_pattern_get_string(
3148        matchPattern: *mut WebKitWebExtensionMatchPattern,
3149    ) -> *const c_char;
3150    #[cfg(feature = "v2_48")]
3151    #[cfg_attr(docsrs, doc(cfg(feature = "v2_48")))]
3152    pub fn webkit_web_extension_match_pattern_matches_pattern(
3153        matchPattern: *mut WebKitWebExtensionMatchPattern,
3154        pattern: *mut WebKitWebExtensionMatchPattern,
3155        options: WebKitWebExtensionMatchPatternOptions,
3156    ) -> gboolean;
3157    #[cfg(feature = "v2_48")]
3158    #[cfg_attr(docsrs, doc(cfg(feature = "v2_48")))]
3159    pub fn webkit_web_extension_match_pattern_matches_url(
3160        matchPattern: *mut WebKitWebExtensionMatchPattern,
3161        url: *const c_char,
3162        options: WebKitWebExtensionMatchPatternOptions,
3163    ) -> gboolean;
3164    #[cfg(feature = "v2_48")]
3165    #[cfg_attr(docsrs, doc(cfg(feature = "v2_48")))]
3166    pub fn webkit_web_extension_match_pattern_ref(
3167        matchPattern: *mut WebKitWebExtensionMatchPattern,
3168    ) -> *mut WebKitWebExtensionMatchPattern;
3169    #[cfg(feature = "v2_48")]
3170    #[cfg_attr(docsrs, doc(cfg(feature = "v2_48")))]
3171    pub fn webkit_web_extension_match_pattern_unref(
3172        matchPattern: *mut WebKitWebExtensionMatchPattern,
3173    );
3174    #[cfg(feature = "v2_48")]
3175    #[cfg_attr(docsrs, doc(cfg(feature = "v2_48")))]
3176    pub fn webkit_web_extension_match_pattern_register_custom_URL_scheme(urlScheme: *const c_char);
3177
3178    //=========================================================================
3179    // WebKitWebViewSessionState
3180    //=========================================================================
3181    pub fn webkit_web_view_session_state_get_type() -> GType;
3182    pub fn webkit_web_view_session_state_new(
3183        data: *mut glib::GBytes,
3184    ) -> *mut WebKitWebViewSessionState;
3185    pub fn webkit_web_view_session_state_ref(
3186        state: *mut WebKitWebViewSessionState,
3187    ) -> *mut WebKitWebViewSessionState;
3188    pub fn webkit_web_view_session_state_serialize(
3189        state: *mut WebKitWebViewSessionState,
3190    ) -> *mut glib::GBytes;
3191    pub fn webkit_web_view_session_state_unref(state: *mut WebKitWebViewSessionState);
3192
3193    //=========================================================================
3194    // WebKitWebsiteData
3195    //=========================================================================
3196    pub fn webkit_website_data_get_type() -> GType;
3197    pub fn webkit_website_data_get_name(website_data: *mut WebKitWebsiteData) -> *const c_char;
3198    pub fn webkit_website_data_get_size(
3199        website_data: *mut WebKitWebsiteData,
3200        types: WebKitWebsiteDataTypes,
3201    ) -> u64;
3202    pub fn webkit_website_data_get_types(
3203        website_data: *mut WebKitWebsiteData,
3204    ) -> WebKitWebsiteDataTypes;
3205    pub fn webkit_website_data_ref(website_data: *mut WebKitWebsiteData) -> *mut WebKitWebsiteData;
3206    pub fn webkit_website_data_unref(website_data: *mut WebKitWebsiteData);
3207
3208    //=========================================================================
3209    // WebKitAuthenticationRequest
3210    //=========================================================================
3211    pub fn webkit_authentication_request_get_type() -> GType;
3212    pub fn webkit_authentication_request_authenticate(
3213        request: *mut WebKitAuthenticationRequest,
3214        credential: *mut WebKitCredential,
3215    );
3216    pub fn webkit_authentication_request_can_save_credentials(
3217        request: *mut WebKitAuthenticationRequest,
3218    ) -> gboolean;
3219    pub fn webkit_authentication_request_cancel(request: *mut WebKitAuthenticationRequest);
3220    pub fn webkit_authentication_request_get_certificate_pin_flags(
3221        request: *mut WebKitAuthenticationRequest,
3222    ) -> gio::GTlsPasswordFlags;
3223    pub fn webkit_authentication_request_get_host(
3224        request: *mut WebKitAuthenticationRequest,
3225    ) -> *const c_char;
3226    pub fn webkit_authentication_request_get_port(
3227        request: *mut WebKitAuthenticationRequest,
3228    ) -> c_uint;
3229    pub fn webkit_authentication_request_get_proposed_credential(
3230        request: *mut WebKitAuthenticationRequest,
3231    ) -> *mut WebKitCredential;
3232    pub fn webkit_authentication_request_get_realm(
3233        request: *mut WebKitAuthenticationRequest,
3234    ) -> *const c_char;
3235    pub fn webkit_authentication_request_get_scheme(
3236        request: *mut WebKitAuthenticationRequest,
3237    ) -> WebKitAuthenticationScheme;
3238    pub fn webkit_authentication_request_get_security_origin(
3239        request: *mut WebKitAuthenticationRequest,
3240    ) -> *mut WebKitSecurityOrigin;
3241    pub fn webkit_authentication_request_is_for_proxy(
3242        request: *mut WebKitAuthenticationRequest,
3243    ) -> gboolean;
3244    pub fn webkit_authentication_request_is_retry(
3245        request: *mut WebKitAuthenticationRequest,
3246    ) -> gboolean;
3247    pub fn webkit_authentication_request_set_can_save_credentials(
3248        request: *mut WebKitAuthenticationRequest,
3249        enabled: gboolean,
3250    );
3251    pub fn webkit_authentication_request_set_proposed_credential(
3252        request: *mut WebKitAuthenticationRequest,
3253        credential: *mut WebKitCredential,
3254    );
3255
3256    //=========================================================================
3257    // WebKitAutomationSession
3258    //=========================================================================
3259    pub fn webkit_automation_session_get_type() -> GType;
3260    pub fn webkit_automation_session_get_application_info(
3261        session: *mut WebKitAutomationSession,
3262    ) -> *mut WebKitApplicationInfo;
3263    pub fn webkit_automation_session_get_id(session: *mut WebKitAutomationSession)
3264        -> *const c_char;
3265    pub fn webkit_automation_session_set_application_info(
3266        session: *mut WebKitAutomationSession,
3267        info: *mut WebKitApplicationInfo,
3268    );
3269
3270    //=========================================================================
3271    // WebKitBackForwardList
3272    //=========================================================================
3273    pub fn webkit_back_forward_list_get_type() -> GType;
3274    pub fn webkit_back_forward_list_get_back_item(
3275        back_forward_list: *mut WebKitBackForwardList,
3276    ) -> *mut WebKitBackForwardListItem;
3277    pub fn webkit_back_forward_list_get_back_list(
3278        back_forward_list: *mut WebKitBackForwardList,
3279    ) -> *mut glib::GList;
3280    pub fn webkit_back_forward_list_get_back_list_with_limit(
3281        back_forward_list: *mut WebKitBackForwardList,
3282        limit: c_uint,
3283    ) -> *mut glib::GList;
3284    pub fn webkit_back_forward_list_get_current_item(
3285        back_forward_list: *mut WebKitBackForwardList,
3286    ) -> *mut WebKitBackForwardListItem;
3287    pub fn webkit_back_forward_list_get_forward_item(
3288        back_forward_list: *mut WebKitBackForwardList,
3289    ) -> *mut WebKitBackForwardListItem;
3290    pub fn webkit_back_forward_list_get_forward_list(
3291        back_forward_list: *mut WebKitBackForwardList,
3292    ) -> *mut glib::GList;
3293    pub fn webkit_back_forward_list_get_forward_list_with_limit(
3294        back_forward_list: *mut WebKitBackForwardList,
3295        limit: c_uint,
3296    ) -> *mut glib::GList;
3297    pub fn webkit_back_forward_list_get_length(
3298        back_forward_list: *mut WebKitBackForwardList,
3299    ) -> c_uint;
3300    pub fn webkit_back_forward_list_get_nth_item(
3301        back_forward_list: *mut WebKitBackForwardList,
3302        index: c_int,
3303    ) -> *mut WebKitBackForwardListItem;
3304
3305    //=========================================================================
3306    // WebKitBackForwardListItem
3307    //=========================================================================
3308    pub fn webkit_back_forward_list_item_get_type() -> GType;
3309    pub fn webkit_back_forward_list_item_get_original_uri(
3310        list_item: *mut WebKitBackForwardListItem,
3311    ) -> *const c_char;
3312    pub fn webkit_back_forward_list_item_get_title(
3313        list_item: *mut WebKitBackForwardListItem,
3314    ) -> *const c_char;
3315    pub fn webkit_back_forward_list_item_get_uri(
3316        list_item: *mut WebKitBackForwardListItem,
3317    ) -> *const c_char;
3318
3319    //=========================================================================
3320    // WebKitClipboardPermissionRequest
3321    //=========================================================================
3322    #[cfg(feature = "v2_42")]
3323    #[cfg_attr(docsrs, doc(cfg(feature = "v2_42")))]
3324    pub fn webkit_clipboard_permission_request_get_type() -> GType;
3325
3326    //=========================================================================
3327    // WebKitColorChooserRequest
3328    //=========================================================================
3329    pub fn webkit_color_chooser_request_get_type() -> GType;
3330    pub fn webkit_color_chooser_request_cancel(request: *mut WebKitColorChooserRequest);
3331    pub fn webkit_color_chooser_request_finish(request: *mut WebKitColorChooserRequest);
3332    pub fn webkit_color_chooser_request_get_element_rectangle(
3333        request: *mut WebKitColorChooserRequest,
3334        rect: *mut gdk::GdkRectangle,
3335    );
3336    pub fn webkit_color_chooser_request_get_rgba(
3337        request: *mut WebKitColorChooserRequest,
3338        rgba: *mut gdk::GdkRGBA,
3339    );
3340    pub fn webkit_color_chooser_request_set_rgba(
3341        request: *mut WebKitColorChooserRequest,
3342        rgba: *const gdk::GdkRGBA,
3343    );
3344
3345    //=========================================================================
3346    // WebKitContextMenu
3347    //=========================================================================
3348    pub fn webkit_context_menu_get_type() -> GType;
3349    pub fn webkit_context_menu_new() -> *mut WebKitContextMenu;
3350    pub fn webkit_context_menu_new_with_items(items: *mut glib::GList) -> *mut WebKitContextMenu;
3351    pub fn webkit_context_menu_append(
3352        menu: *mut WebKitContextMenu,
3353        item: *mut WebKitContextMenuItem,
3354    );
3355    pub fn webkit_context_menu_first(menu: *mut WebKitContextMenu) -> *mut WebKitContextMenuItem;
3356    pub fn webkit_context_menu_get_event(menu: *mut WebKitContextMenu) -> *mut gdk::GdkEvent;
3357    pub fn webkit_context_menu_get_item_at_position(
3358        menu: *mut WebKitContextMenu,
3359        position: c_uint,
3360    ) -> *mut WebKitContextMenuItem;
3361    pub fn webkit_context_menu_get_items(menu: *mut WebKitContextMenu) -> *mut glib::GList;
3362    pub fn webkit_context_menu_get_n_items(menu: *mut WebKitContextMenu) -> c_uint;
3363    pub fn webkit_context_menu_get_user_data(menu: *mut WebKitContextMenu) -> *mut glib::GVariant;
3364    pub fn webkit_context_menu_insert(
3365        menu: *mut WebKitContextMenu,
3366        item: *mut WebKitContextMenuItem,
3367        position: c_int,
3368    );
3369    pub fn webkit_context_menu_last(menu: *mut WebKitContextMenu) -> *mut WebKitContextMenuItem;
3370    pub fn webkit_context_menu_move_item(
3371        menu: *mut WebKitContextMenu,
3372        item: *mut WebKitContextMenuItem,
3373        position: c_int,
3374    );
3375    pub fn webkit_context_menu_prepend(
3376        menu: *mut WebKitContextMenu,
3377        item: *mut WebKitContextMenuItem,
3378    );
3379    pub fn webkit_context_menu_remove(
3380        menu: *mut WebKitContextMenu,
3381        item: *mut WebKitContextMenuItem,
3382    );
3383    pub fn webkit_context_menu_remove_all(menu: *mut WebKitContextMenu);
3384    pub fn webkit_context_menu_set_user_data(
3385        menu: *mut WebKitContextMenu,
3386        user_data: *mut glib::GVariant,
3387    );
3388
3389    //=========================================================================
3390    // WebKitContextMenuItem
3391    //=========================================================================
3392    pub fn webkit_context_menu_item_get_type() -> GType;
3393    pub fn webkit_context_menu_item_new_from_gaction(
3394        action: *mut gio::GAction,
3395        label: *const c_char,
3396        target: *mut glib::GVariant,
3397    ) -> *mut WebKitContextMenuItem;
3398    pub fn webkit_context_menu_item_new_from_stock_action(
3399        action: WebKitContextMenuAction,
3400    ) -> *mut WebKitContextMenuItem;
3401    pub fn webkit_context_menu_item_new_from_stock_action_with_label(
3402        action: WebKitContextMenuAction,
3403        label: *const c_char,
3404    ) -> *mut WebKitContextMenuItem;
3405    pub fn webkit_context_menu_item_new_separator() -> *mut WebKitContextMenuItem;
3406    pub fn webkit_context_menu_item_new_with_submenu(
3407        label: *const c_char,
3408        submenu: *mut WebKitContextMenu,
3409    ) -> *mut WebKitContextMenuItem;
3410    pub fn webkit_context_menu_item_get_gaction(
3411        item: *mut WebKitContextMenuItem,
3412    ) -> *mut gio::GAction;
3413    pub fn webkit_context_menu_item_get_stock_action(
3414        item: *mut WebKitContextMenuItem,
3415    ) -> WebKitContextMenuAction;
3416    pub fn webkit_context_menu_item_get_submenu(
3417        item: *mut WebKitContextMenuItem,
3418    ) -> *mut WebKitContextMenu;
3419    pub fn webkit_context_menu_item_is_separator(item: *mut WebKitContextMenuItem) -> gboolean;
3420    pub fn webkit_context_menu_item_set_submenu(
3421        item: *mut WebKitContextMenuItem,
3422        submenu: *mut WebKitContextMenu,
3423    );
3424
3425    //=========================================================================
3426    // WebKitCookieManager
3427    //=========================================================================
3428    pub fn webkit_cookie_manager_get_type() -> GType;
3429    pub fn webkit_cookie_manager_add_cookie(
3430        cookie_manager: *mut WebKitCookieManager,
3431        cookie: *mut soup::SoupCookie,
3432        cancellable: *mut gio::GCancellable,
3433        callback: gio::GAsyncReadyCallback,
3434        user_data: gpointer,
3435    );
3436    pub fn webkit_cookie_manager_add_cookie_finish(
3437        cookie_manager: *mut WebKitCookieManager,
3438        result: *mut gio::GAsyncResult,
3439        error: *mut *mut glib::GError,
3440    ) -> gboolean;
3441    pub fn webkit_cookie_manager_delete_cookie(
3442        cookie_manager: *mut WebKitCookieManager,
3443        cookie: *mut soup::SoupCookie,
3444        cancellable: *mut gio::GCancellable,
3445        callback: gio::GAsyncReadyCallback,
3446        user_data: gpointer,
3447    );
3448    pub fn webkit_cookie_manager_delete_cookie_finish(
3449        cookie_manager: *mut WebKitCookieManager,
3450        result: *mut gio::GAsyncResult,
3451        error: *mut *mut glib::GError,
3452    ) -> gboolean;
3453    pub fn webkit_cookie_manager_get_accept_policy(
3454        cookie_manager: *mut WebKitCookieManager,
3455        cancellable: *mut gio::GCancellable,
3456        callback: gio::GAsyncReadyCallback,
3457        user_data: gpointer,
3458    );
3459    pub fn webkit_cookie_manager_get_accept_policy_finish(
3460        cookie_manager: *mut WebKitCookieManager,
3461        result: *mut gio::GAsyncResult,
3462        error: *mut *mut glib::GError,
3463    ) -> WebKitCookieAcceptPolicy;
3464    #[cfg(feature = "v2_42")]
3465    #[cfg_attr(docsrs, doc(cfg(feature = "v2_42")))]
3466    pub fn webkit_cookie_manager_get_all_cookies(
3467        cookie_manager: *mut WebKitCookieManager,
3468        cancellable: *mut gio::GCancellable,
3469        callback: gio::GAsyncReadyCallback,
3470        user_data: gpointer,
3471    );
3472    #[cfg(feature = "v2_42")]
3473    #[cfg_attr(docsrs, doc(cfg(feature = "v2_42")))]
3474    pub fn webkit_cookie_manager_get_all_cookies_finish(
3475        cookie_manager: *mut WebKitCookieManager,
3476        result: *mut gio::GAsyncResult,
3477        error: *mut *mut glib::GError,
3478    ) -> *mut glib::GList;
3479    pub fn webkit_cookie_manager_get_cookies(
3480        cookie_manager: *mut WebKitCookieManager,
3481        uri: *const c_char,
3482        cancellable: *mut gio::GCancellable,
3483        callback: gio::GAsyncReadyCallback,
3484        user_data: gpointer,
3485    );
3486    pub fn webkit_cookie_manager_get_cookies_finish(
3487        cookie_manager: *mut WebKitCookieManager,
3488        result: *mut gio::GAsyncResult,
3489        error: *mut *mut glib::GError,
3490    ) -> *mut glib::GList;
3491    #[cfg(feature = "v2_42")]
3492    #[cfg_attr(docsrs, doc(cfg(feature = "v2_42")))]
3493    pub fn webkit_cookie_manager_replace_cookies(
3494        cookie_manager: *mut WebKitCookieManager,
3495        cookies: *mut glib::GList,
3496        cancellable: *mut gio::GCancellable,
3497        callback: gio::GAsyncReadyCallback,
3498        user_data: gpointer,
3499    );
3500    #[cfg(feature = "v2_42")]
3501    #[cfg_attr(docsrs, doc(cfg(feature = "v2_42")))]
3502    pub fn webkit_cookie_manager_replace_cookies_finish(
3503        cookie_manager: *mut WebKitCookieManager,
3504        result: *mut gio::GAsyncResult,
3505        error: *mut *mut glib::GError,
3506    ) -> gboolean;
3507    pub fn webkit_cookie_manager_set_accept_policy(
3508        cookie_manager: *mut WebKitCookieManager,
3509        policy: WebKitCookieAcceptPolicy,
3510    );
3511    pub fn webkit_cookie_manager_set_persistent_storage(
3512        cookie_manager: *mut WebKitCookieManager,
3513        filename: *const c_char,
3514        storage: WebKitCookiePersistentStorage,
3515    );
3516
3517    //=========================================================================
3518    // WebKitDeviceInfoPermissionRequest
3519    //=========================================================================
3520    pub fn webkit_device_info_permission_request_get_type() -> GType;
3521
3522    //=========================================================================
3523    // WebKitDownload
3524    //=========================================================================
3525    pub fn webkit_download_get_type() -> GType;
3526    pub fn webkit_download_cancel(download: *mut WebKitDownload);
3527    pub fn webkit_download_get_allow_overwrite(download: *mut WebKitDownload) -> gboolean;
3528    pub fn webkit_download_get_destination(download: *mut WebKitDownload) -> *const c_char;
3529    pub fn webkit_download_get_elapsed_time(download: *mut WebKitDownload) -> c_double;
3530    pub fn webkit_download_get_estimated_progress(download: *mut WebKitDownload) -> c_double;
3531    pub fn webkit_download_get_received_data_length(download: *mut WebKitDownload) -> u64;
3532    pub fn webkit_download_get_request(download: *mut WebKitDownload) -> *mut WebKitURIRequest;
3533    pub fn webkit_download_get_response(download: *mut WebKitDownload) -> *mut WebKitURIResponse;
3534    pub fn webkit_download_get_web_view(download: *mut WebKitDownload) -> *mut WebKitWebView;
3535    pub fn webkit_download_set_allow_overwrite(download: *mut WebKitDownload, allowed: gboolean);
3536    pub fn webkit_download_set_destination(
3537        download: *mut WebKitDownload,
3538        destination: *const c_char,
3539    );
3540
3541    //=========================================================================
3542    // WebKitEditorState
3543    //=========================================================================
3544    pub fn webkit_editor_state_get_type() -> GType;
3545    pub fn webkit_editor_state_get_typing_attributes(
3546        editor_state: *mut WebKitEditorState,
3547    ) -> c_uint;
3548    pub fn webkit_editor_state_is_copy_available(editor_state: *mut WebKitEditorState) -> gboolean;
3549    pub fn webkit_editor_state_is_cut_available(editor_state: *mut WebKitEditorState) -> gboolean;
3550    pub fn webkit_editor_state_is_paste_available(editor_state: *mut WebKitEditorState)
3551        -> gboolean;
3552    pub fn webkit_editor_state_is_redo_available(editor_state: *mut WebKitEditorState) -> gboolean;
3553    pub fn webkit_editor_state_is_undo_available(editor_state: *mut WebKitEditorState) -> gboolean;
3554
3555    //=========================================================================
3556    // WebKitFaviconDatabase
3557    //=========================================================================
3558    pub fn webkit_favicon_database_get_type() -> GType;
3559    pub fn webkit_favicon_database_clear(database: *mut WebKitFaviconDatabase);
3560    pub fn webkit_favicon_database_get_favicon(
3561        database: *mut WebKitFaviconDatabase,
3562        page_uri: *const c_char,
3563        cancellable: *mut gio::GCancellable,
3564        callback: gio::GAsyncReadyCallback,
3565        user_data: gpointer,
3566    );
3567    pub fn webkit_favicon_database_get_favicon_finish(
3568        database: *mut WebKitFaviconDatabase,
3569        result: *mut gio::GAsyncResult,
3570        error: *mut *mut glib::GError,
3571    ) -> *mut gdk::GdkTexture;
3572    pub fn webkit_favicon_database_get_favicon_uri(
3573        database: *mut WebKitFaviconDatabase,
3574        page_uri: *const c_char,
3575    ) -> *mut c_char;
3576
3577    //=========================================================================
3578    // WebKitFileChooserRequest
3579    //=========================================================================
3580    pub fn webkit_file_chooser_request_get_type() -> GType;
3581    pub fn webkit_file_chooser_request_cancel(request: *mut WebKitFileChooserRequest);
3582    pub fn webkit_file_chooser_request_get_mime_types(
3583        request: *mut WebKitFileChooserRequest,
3584    ) -> *const *const c_char;
3585    pub fn webkit_file_chooser_request_get_mime_types_filter(
3586        request: *mut WebKitFileChooserRequest,
3587    ) -> *mut gtk::GtkFileFilter;
3588    pub fn webkit_file_chooser_request_get_select_multiple(
3589        request: *mut WebKitFileChooserRequest,
3590    ) -> gboolean;
3591    pub fn webkit_file_chooser_request_get_selected_files(
3592        request: *mut WebKitFileChooserRequest,
3593    ) -> *const *const c_char;
3594    pub fn webkit_file_chooser_request_select_files(
3595        request: *mut WebKitFileChooserRequest,
3596        files: *const *const c_char,
3597    );
3598
3599    //=========================================================================
3600    // WebKitFindController
3601    //=========================================================================
3602    pub fn webkit_find_controller_get_type() -> GType;
3603    pub fn webkit_find_controller_count_matches(
3604        find_controller: *mut WebKitFindController,
3605        search_text: *const c_char,
3606        find_options: u32,
3607        max_match_count: c_uint,
3608    );
3609    pub fn webkit_find_controller_get_max_match_count(
3610        find_controller: *mut WebKitFindController,
3611    ) -> c_uint;
3612    pub fn webkit_find_controller_get_options(find_controller: *mut WebKitFindController) -> u32;
3613    pub fn webkit_find_controller_get_search_text(
3614        find_controller: *mut WebKitFindController,
3615    ) -> *const c_char;
3616    pub fn webkit_find_controller_get_web_view(
3617        find_controller: *mut WebKitFindController,
3618    ) -> *mut WebKitWebView;
3619    pub fn webkit_find_controller_search(
3620        find_controller: *mut WebKitFindController,
3621        search_text: *const c_char,
3622        find_options: u32,
3623        max_match_count: c_uint,
3624    );
3625    pub fn webkit_find_controller_search_finish(find_controller: *mut WebKitFindController);
3626    pub fn webkit_find_controller_search_next(find_controller: *mut WebKitFindController);
3627    pub fn webkit_find_controller_search_previous(find_controller: *mut WebKitFindController);
3628
3629    //=========================================================================
3630    // WebKitFormSubmissionRequest
3631    //=========================================================================
3632    pub fn webkit_form_submission_request_get_type() -> GType;
3633    pub fn webkit_form_submission_request_list_text_fields(
3634        request: *mut WebKitFormSubmissionRequest,
3635        field_names: *mut *mut glib::GPtrArray,
3636        field_values: *mut *mut glib::GPtrArray,
3637    ) -> gboolean;
3638    pub fn webkit_form_submission_request_submit(request: *mut WebKitFormSubmissionRequest);
3639
3640    //=========================================================================
3641    // WebKitGeolocationManager
3642    //=========================================================================
3643    pub fn webkit_geolocation_manager_get_type() -> GType;
3644    pub fn webkit_geolocation_manager_failed(
3645        manager: *mut WebKitGeolocationManager,
3646        error_message: *const c_char,
3647    );
3648    pub fn webkit_geolocation_manager_get_enable_high_accuracy(
3649        manager: *mut WebKitGeolocationManager,
3650    ) -> gboolean;
3651    pub fn webkit_geolocation_manager_update_position(
3652        manager: *mut WebKitGeolocationManager,
3653        position: *mut WebKitGeolocationPosition,
3654    );
3655
3656    //=========================================================================
3657    // WebKitGeolocationPermissionRequest
3658    //=========================================================================
3659    pub fn webkit_geolocation_permission_request_get_type() -> GType;
3660
3661    //=========================================================================
3662    // WebKitHitTestResult
3663    //=========================================================================
3664    pub fn webkit_hit_test_result_get_type() -> GType;
3665    pub fn webkit_hit_test_result_context_is_editable(
3666        hit_test_result: *mut WebKitHitTestResult,
3667    ) -> gboolean;
3668    pub fn webkit_hit_test_result_context_is_image(
3669        hit_test_result: *mut WebKitHitTestResult,
3670    ) -> gboolean;
3671    pub fn webkit_hit_test_result_context_is_link(
3672        hit_test_result: *mut WebKitHitTestResult,
3673    ) -> gboolean;
3674    pub fn webkit_hit_test_result_context_is_media(
3675        hit_test_result: *mut WebKitHitTestResult,
3676    ) -> gboolean;
3677    pub fn webkit_hit_test_result_context_is_scrollbar(
3678        hit_test_result: *mut WebKitHitTestResult,
3679    ) -> gboolean;
3680    pub fn webkit_hit_test_result_context_is_selection(
3681        hit_test_result: *mut WebKitHitTestResult,
3682    ) -> gboolean;
3683    pub fn webkit_hit_test_result_get_context(hit_test_result: *mut WebKitHitTestResult) -> c_uint;
3684    pub fn webkit_hit_test_result_get_image_uri(
3685        hit_test_result: *mut WebKitHitTestResult,
3686    ) -> *const c_char;
3687    pub fn webkit_hit_test_result_get_link_label(
3688        hit_test_result: *mut WebKitHitTestResult,
3689    ) -> *const c_char;
3690    pub fn webkit_hit_test_result_get_link_title(
3691        hit_test_result: *mut WebKitHitTestResult,
3692    ) -> *const c_char;
3693    pub fn webkit_hit_test_result_get_link_uri(
3694        hit_test_result: *mut WebKitHitTestResult,
3695    ) -> *const c_char;
3696    pub fn webkit_hit_test_result_get_media_uri(
3697        hit_test_result: *mut WebKitHitTestResult,
3698    ) -> *const c_char;
3699
3700    //=========================================================================
3701    // WebKitInputMethodContext
3702    //=========================================================================
3703    pub fn webkit_input_method_context_get_type() -> GType;
3704    pub fn webkit_input_method_context_filter_key_event(
3705        context: *mut WebKitInputMethodContext,
3706        key_event: *mut gdk::GdkEvent,
3707    ) -> gboolean;
3708    pub fn webkit_input_method_context_get_input_hints(
3709        context: *mut WebKitInputMethodContext,
3710    ) -> WebKitInputHints;
3711    pub fn webkit_input_method_context_get_input_purpose(
3712        context: *mut WebKitInputMethodContext,
3713    ) -> WebKitInputPurpose;
3714    pub fn webkit_input_method_context_get_preedit(
3715        context: *mut WebKitInputMethodContext,
3716        text: *mut *mut c_char,
3717        underlines: *mut *mut glib::GList,
3718        cursor_offset: *mut c_uint,
3719    );
3720    pub fn webkit_input_method_context_notify_cursor_area(
3721        context: *mut WebKitInputMethodContext,
3722        x: c_int,
3723        y: c_int,
3724        width: c_int,
3725        height: c_int,
3726    );
3727    pub fn webkit_input_method_context_notify_focus_in(context: *mut WebKitInputMethodContext);
3728    pub fn webkit_input_method_context_notify_focus_out(context: *mut WebKitInputMethodContext);
3729    pub fn webkit_input_method_context_notify_surrounding(
3730        context: *mut WebKitInputMethodContext,
3731        text: *const c_char,
3732        length: c_int,
3733        cursor_index: c_uint,
3734        selection_index: c_uint,
3735    );
3736    pub fn webkit_input_method_context_reset(context: *mut WebKitInputMethodContext);
3737    pub fn webkit_input_method_context_set_enable_preedit(
3738        context: *mut WebKitInputMethodContext,
3739        enabled: gboolean,
3740    );
3741    pub fn webkit_input_method_context_set_input_hints(
3742        context: *mut WebKitInputMethodContext,
3743        hints: WebKitInputHints,
3744    );
3745    pub fn webkit_input_method_context_set_input_purpose(
3746        context: *mut WebKitInputMethodContext,
3747        purpose: WebKitInputPurpose,
3748    );
3749
3750    //=========================================================================
3751    // WebKitMediaKeySystemPermissionRequest
3752    //=========================================================================
3753    pub fn webkit_media_key_system_permission_request_get_type() -> GType;
3754
3755    //=========================================================================
3756    // WebKitNavigationPolicyDecision
3757    //=========================================================================
3758    pub fn webkit_navigation_policy_decision_get_type() -> GType;
3759    pub fn webkit_navigation_policy_decision_get_navigation_action(
3760        decision: *mut WebKitNavigationPolicyDecision,
3761    ) -> *mut WebKitNavigationAction;
3762
3763    //=========================================================================
3764    // WebKitNetworkSession
3765    //=========================================================================
3766    pub fn webkit_network_session_get_type() -> GType;
3767    pub fn webkit_network_session_new(
3768        data_directory: *const c_char,
3769        cache_directory: *const c_char,
3770    ) -> *mut WebKitNetworkSession;
3771    pub fn webkit_network_session_new_ephemeral() -> *mut WebKitNetworkSession;
3772    pub fn webkit_network_session_get_default() -> *mut WebKitNetworkSession;
3773    pub fn webkit_network_session_set_memory_pressure_settings(
3774        settings: *mut WebKitMemoryPressureSettings,
3775    );
3776    pub fn webkit_network_session_allow_tls_certificate_for_host(
3777        session: *mut WebKitNetworkSession,
3778        certificate: *mut gio::GTlsCertificate,
3779        host: *const c_char,
3780    );
3781    pub fn webkit_network_session_download_uri(
3782        session: *mut WebKitNetworkSession,
3783        uri: *const c_char,
3784    ) -> *mut WebKitDownload;
3785    pub fn webkit_network_session_get_cookie_manager(
3786        session: *mut WebKitNetworkSession,
3787    ) -> *mut WebKitCookieManager;
3788    pub fn webkit_network_session_get_itp_enabled(session: *mut WebKitNetworkSession) -> gboolean;
3789    pub fn webkit_network_session_get_itp_summary(
3790        session: *mut WebKitNetworkSession,
3791        cancellable: *mut gio::GCancellable,
3792        callback: gio::GAsyncReadyCallback,
3793        user_data: gpointer,
3794    );
3795    pub fn webkit_network_session_get_itp_summary_finish(
3796        session: *mut WebKitNetworkSession,
3797        result: *mut gio::GAsyncResult,
3798        error: *mut *mut glib::GError,
3799    ) -> *mut glib::GList;
3800    pub fn webkit_network_session_get_persistent_credential_storage_enabled(
3801        session: *mut WebKitNetworkSession,
3802    ) -> gboolean;
3803    pub fn webkit_network_session_get_tls_errors_policy(
3804        session: *mut WebKitNetworkSession,
3805    ) -> WebKitTLSErrorsPolicy;
3806    pub fn webkit_network_session_get_website_data_manager(
3807        session: *mut WebKitNetworkSession,
3808    ) -> *mut WebKitWebsiteDataManager;
3809    pub fn webkit_network_session_is_ephemeral(session: *mut WebKitNetworkSession) -> gboolean;
3810    pub fn webkit_network_session_prefetch_dns(
3811        session: *mut WebKitNetworkSession,
3812        hostname: *const c_char,
3813    );
3814    pub fn webkit_network_session_set_itp_enabled(
3815        session: *mut WebKitNetworkSession,
3816        enabled: gboolean,
3817    );
3818    pub fn webkit_network_session_set_persistent_credential_storage_enabled(
3819        session: *mut WebKitNetworkSession,
3820        enabled: gboolean,
3821    );
3822    pub fn webkit_network_session_set_proxy_settings(
3823        session: *mut WebKitNetworkSession,
3824        proxy_mode: WebKitNetworkProxyMode,
3825        proxy_settings: *mut WebKitNetworkProxySettings,
3826    );
3827    pub fn webkit_network_session_set_tls_errors_policy(
3828        session: *mut WebKitNetworkSession,
3829        policy: WebKitTLSErrorsPolicy,
3830    );
3831
3832    //=========================================================================
3833    // WebKitNotification
3834    //=========================================================================
3835    pub fn webkit_notification_get_type() -> GType;
3836    pub fn webkit_notification_clicked(notification: *mut WebKitNotification);
3837    pub fn webkit_notification_close(notification: *mut WebKitNotification);
3838    pub fn webkit_notification_get_body(notification: *mut WebKitNotification) -> *const c_char;
3839    pub fn webkit_notification_get_id(notification: *mut WebKitNotification) -> u64;
3840    pub fn webkit_notification_get_tag(notification: *mut WebKitNotification) -> *const c_char;
3841    pub fn webkit_notification_get_title(notification: *mut WebKitNotification) -> *const c_char;
3842
3843    //=========================================================================
3844    // WebKitNotificationPermissionRequest
3845    //=========================================================================
3846    pub fn webkit_notification_permission_request_get_type() -> GType;
3847
3848    //=========================================================================
3849    // WebKitOptionMenu
3850    //=========================================================================
3851    pub fn webkit_option_menu_get_type() -> GType;
3852    pub fn webkit_option_menu_activate_item(menu: *mut WebKitOptionMenu, index: c_uint);
3853    pub fn webkit_option_menu_close(menu: *mut WebKitOptionMenu);
3854    pub fn webkit_option_menu_get_event(menu: *mut WebKitOptionMenu) -> *mut gdk::GdkEvent;
3855    pub fn webkit_option_menu_get_item(
3856        menu: *mut WebKitOptionMenu,
3857        index: c_uint,
3858    ) -> *mut WebKitOptionMenuItem;
3859    pub fn webkit_option_menu_get_n_items(menu: *mut WebKitOptionMenu) -> c_uint;
3860    pub fn webkit_option_menu_select_item(menu: *mut WebKitOptionMenu, index: c_uint);
3861
3862    //=========================================================================
3863    // WebKitPointerLockPermissionRequest
3864    //=========================================================================
3865    pub fn webkit_pointer_lock_permission_request_get_type() -> GType;
3866
3867    //=========================================================================
3868    // WebKitPolicyDecision
3869    //=========================================================================
3870    pub fn webkit_policy_decision_get_type() -> GType;
3871    pub fn webkit_policy_decision_download(decision: *mut WebKitPolicyDecision);
3872    pub fn webkit_policy_decision_ignore(decision: *mut WebKitPolicyDecision);
3873    pub fn webkit_policy_decision_use(decision: *mut WebKitPolicyDecision);
3874    pub fn webkit_policy_decision_use_with_policies(
3875        decision: *mut WebKitPolicyDecision,
3876        policies: *mut WebKitWebsitePolicies,
3877    );
3878
3879    //=========================================================================
3880    // WebKitPrintOperation
3881    //=========================================================================
3882    pub fn webkit_print_operation_get_type() -> GType;
3883    pub fn webkit_print_operation_new(web_view: *mut WebKitWebView) -> *mut WebKitPrintOperation;
3884    pub fn webkit_print_operation_get_page_setup(
3885        print_operation: *mut WebKitPrintOperation,
3886    ) -> *mut gtk::GtkPageSetup;
3887    pub fn webkit_print_operation_get_print_settings(
3888        print_operation: *mut WebKitPrintOperation,
3889    ) -> *mut gtk::GtkPrintSettings;
3890    pub fn webkit_print_operation_print(print_operation: *mut WebKitPrintOperation);
3891    pub fn webkit_print_operation_run_dialog(
3892        print_operation: *mut WebKitPrintOperation,
3893        parent: *mut gtk::GtkWindow,
3894    ) -> WebKitPrintOperationResponse;
3895    pub fn webkit_print_operation_set_page_setup(
3896        print_operation: *mut WebKitPrintOperation,
3897        page_setup: *mut gtk::GtkPageSetup,
3898    );
3899    pub fn webkit_print_operation_set_print_settings(
3900        print_operation: *mut WebKitPrintOperation,
3901        print_settings: *mut gtk::GtkPrintSettings,
3902    );
3903
3904    //=========================================================================
3905    // WebKitResponsePolicyDecision
3906    //=========================================================================
3907    pub fn webkit_response_policy_decision_get_type() -> GType;
3908    pub fn webkit_response_policy_decision_get_request(
3909        decision: *mut WebKitResponsePolicyDecision,
3910    ) -> *mut WebKitURIRequest;
3911    pub fn webkit_response_policy_decision_get_response(
3912        decision: *mut WebKitResponsePolicyDecision,
3913    ) -> *mut WebKitURIResponse;
3914    pub fn webkit_response_policy_decision_is_main_frame_main_resource(
3915        decision: *mut WebKitResponsePolicyDecision,
3916    ) -> gboolean;
3917    pub fn webkit_response_policy_decision_is_mime_type_supported(
3918        decision: *mut WebKitResponsePolicyDecision,
3919    ) -> gboolean;
3920
3921    //=========================================================================
3922    // WebKitSecurityManager
3923    //=========================================================================
3924    pub fn webkit_security_manager_get_type() -> GType;
3925    pub fn webkit_security_manager_register_uri_scheme_as_cors_enabled(
3926        security_manager: *mut WebKitSecurityManager,
3927        scheme: *const c_char,
3928    );
3929    pub fn webkit_security_manager_register_uri_scheme_as_display_isolated(
3930        security_manager: *mut WebKitSecurityManager,
3931        scheme: *const c_char,
3932    );
3933    pub fn webkit_security_manager_register_uri_scheme_as_empty_document(
3934        security_manager: *mut WebKitSecurityManager,
3935        scheme: *const c_char,
3936    );
3937    pub fn webkit_security_manager_register_uri_scheme_as_local(
3938        security_manager: *mut WebKitSecurityManager,
3939        scheme: *const c_char,
3940    );
3941    pub fn webkit_security_manager_register_uri_scheme_as_no_access(
3942        security_manager: *mut WebKitSecurityManager,
3943        scheme: *const c_char,
3944    );
3945    pub fn webkit_security_manager_register_uri_scheme_as_secure(
3946        security_manager: *mut WebKitSecurityManager,
3947        scheme: *const c_char,
3948    );
3949    pub fn webkit_security_manager_uri_scheme_is_cors_enabled(
3950        security_manager: *mut WebKitSecurityManager,
3951        scheme: *const c_char,
3952    ) -> gboolean;
3953    pub fn webkit_security_manager_uri_scheme_is_display_isolated(
3954        security_manager: *mut WebKitSecurityManager,
3955        scheme: *const c_char,
3956    ) -> gboolean;
3957    pub fn webkit_security_manager_uri_scheme_is_empty_document(
3958        security_manager: *mut WebKitSecurityManager,
3959        scheme: *const c_char,
3960    ) -> gboolean;
3961    pub fn webkit_security_manager_uri_scheme_is_local(
3962        security_manager: *mut WebKitSecurityManager,
3963        scheme: *const c_char,
3964    ) -> gboolean;
3965    pub fn webkit_security_manager_uri_scheme_is_no_access(
3966        security_manager: *mut WebKitSecurityManager,
3967        scheme: *const c_char,
3968    ) -> gboolean;
3969    pub fn webkit_security_manager_uri_scheme_is_secure(
3970        security_manager: *mut WebKitSecurityManager,
3971        scheme: *const c_char,
3972    ) -> gboolean;
3973
3974    //=========================================================================
3975    // WebKitSettings
3976    //=========================================================================
3977    pub fn webkit_settings_get_type() -> GType;
3978    pub fn webkit_settings_new() -> *mut WebKitSettings;
3979    pub fn webkit_settings_new_with_settings(
3980        first_setting_name: *const c_char,
3981        ...
3982    ) -> *mut WebKitSettings;
3983    pub fn webkit_settings_font_size_to_pixels(points: u32) -> u32;
3984    pub fn webkit_settings_font_size_to_points(pixels: u32) -> u32;
3985    #[cfg(feature = "v2_42")]
3986    #[cfg_attr(docsrs, doc(cfg(feature = "v2_42")))]
3987    pub fn webkit_settings_get_all_features() -> *mut WebKitFeatureList;
3988    #[cfg(feature = "v2_42")]
3989    #[cfg_attr(docsrs, doc(cfg(feature = "v2_42")))]
3990    pub fn webkit_settings_get_development_features() -> *mut WebKitFeatureList;
3991    #[cfg(feature = "v2_42")]
3992    #[cfg_attr(docsrs, doc(cfg(feature = "v2_42")))]
3993    pub fn webkit_settings_get_experimental_features() -> *mut WebKitFeatureList;
3994    #[cfg(feature = "v2_46")]
3995    #[cfg_attr(docsrs, doc(cfg(feature = "v2_46")))]
3996    pub fn webkit_settings_apply_from_key_file(
3997        settings: *mut WebKitSettings,
3998        key_file: *mut glib::GKeyFile,
3999        group_name: *const c_char,
4000        error: *mut *mut glib::GError,
4001    ) -> gboolean;
4002    pub fn webkit_settings_get_allow_file_access_from_file_urls(
4003        settings: *mut WebKitSettings,
4004    ) -> gboolean;
4005    pub fn webkit_settings_get_allow_modal_dialogs(settings: *mut WebKitSettings) -> gboolean;
4006    pub fn webkit_settings_get_allow_top_navigation_to_data_urls(
4007        settings: *mut WebKitSettings,
4008    ) -> gboolean;
4009    pub fn webkit_settings_get_allow_universal_access_from_file_urls(
4010        settings: *mut WebKitSettings,
4011    ) -> gboolean;
4012    pub fn webkit_settings_get_auto_load_images(settings: *mut WebKitSettings) -> gboolean;
4013    pub fn webkit_settings_get_cursive_font_family(settings: *mut WebKitSettings) -> *const c_char;
4014    pub fn webkit_settings_get_default_charset(settings: *mut WebKitSettings) -> *const c_char;
4015    pub fn webkit_settings_get_default_font_family(settings: *mut WebKitSettings) -> *const c_char;
4016    pub fn webkit_settings_get_default_font_size(settings: *mut WebKitSettings) -> u32;
4017    pub fn webkit_settings_get_default_monospace_font_size(settings: *mut WebKitSettings) -> u32;
4018    pub fn webkit_settings_get_disable_web_security(settings: *mut WebKitSettings) -> gboolean;
4019    pub fn webkit_settings_get_draw_compositing_indicators(
4020        settings: *mut WebKitSettings,
4021    ) -> gboolean;
4022    #[cfg(feature = "v2_46")]
4023    #[cfg_attr(docsrs, doc(cfg(feature = "v2_46")))]
4024    pub fn webkit_settings_get_enable_2d_canvas_acceleration(
4025        settings: *mut WebKitSettings,
4026    ) -> gboolean;
4027    pub fn webkit_settings_get_enable_back_forward_navigation_gestures(
4028        settings: *mut WebKitSettings,
4029    ) -> gboolean;
4030    pub fn webkit_settings_get_enable_caret_browsing(settings: *mut WebKitSettings) -> gboolean;
4031    pub fn webkit_settings_get_enable_developer_extras(settings: *mut WebKitSettings) -> gboolean;
4032    pub fn webkit_settings_get_enable_dns_prefetching(settings: *mut WebKitSettings) -> gboolean;
4033    pub fn webkit_settings_get_enable_encrypted_media(settings: *mut WebKitSettings) -> gboolean;
4034    pub fn webkit_settings_get_enable_fullscreen(settings: *mut WebKitSettings) -> gboolean;
4035    pub fn webkit_settings_get_enable_html5_database(settings: *mut WebKitSettings) -> gboolean;
4036    pub fn webkit_settings_get_enable_html5_local_storage(
4037        settings: *mut WebKitSettings,
4038    ) -> gboolean;
4039    pub fn webkit_settings_get_enable_hyperlink_auditing(settings: *mut WebKitSettings)
4040        -> gboolean;
4041    pub fn webkit_settings_get_enable_javascript(settings: *mut WebKitSettings) -> gboolean;
4042    pub fn webkit_settings_get_enable_javascript_markup(settings: *mut WebKitSettings) -> gboolean;
4043    pub fn webkit_settings_get_enable_media(settings: *mut WebKitSettings) -> gboolean;
4044    pub fn webkit_settings_get_enable_media_capabilities(settings: *mut WebKitSettings)
4045        -> gboolean;
4046    pub fn webkit_settings_get_enable_media_stream(settings: *mut WebKitSettings) -> gboolean;
4047    pub fn webkit_settings_get_enable_mediasource(settings: *mut WebKitSettings) -> gboolean;
4048    pub fn webkit_settings_get_enable_mock_capture_devices(
4049        settings: *mut WebKitSettings,
4050    ) -> gboolean;
4051    pub fn webkit_settings_get_enable_offline_web_application_cache(
4052        settings: *mut WebKitSettings,
4053    ) -> gboolean;
4054    pub fn webkit_settings_get_enable_page_cache(settings: *mut WebKitSettings) -> gboolean;
4055    pub fn webkit_settings_get_enable_resizable_text_areas(
4056        settings: *mut WebKitSettings,
4057    ) -> gboolean;
4058    pub fn webkit_settings_get_enable_site_specific_quirks(
4059        settings: *mut WebKitSettings,
4060    ) -> gboolean;
4061    pub fn webkit_settings_get_enable_smooth_scrolling(settings: *mut WebKitSettings) -> gboolean;
4062    pub fn webkit_settings_get_enable_spatial_navigation(settings: *mut WebKitSettings)
4063        -> gboolean;
4064    pub fn webkit_settings_get_enable_tabs_to_links(settings: *mut WebKitSettings) -> gboolean;
4065    pub fn webkit_settings_get_enable_webaudio(settings: *mut WebKitSettings) -> gboolean;
4066    pub fn webkit_settings_get_enable_webgl(settings: *mut WebKitSettings) -> gboolean;
4067    pub fn webkit_settings_get_enable_webrtc(settings: *mut WebKitSettings) -> gboolean;
4068    pub fn webkit_settings_get_enable_write_console_messages_to_stdout(
4069        settings: *mut WebKitSettings,
4070    ) -> gboolean;
4071    pub fn webkit_settings_get_fantasy_font_family(settings: *mut WebKitSettings) -> *const c_char;
4072    #[cfg(feature = "v2_42")]
4073    #[cfg_attr(docsrs, doc(cfg(feature = "v2_42")))]
4074    pub fn webkit_settings_get_feature_enabled(
4075        settings: *mut WebKitSettings,
4076        feature: *mut WebKitFeature,
4077    ) -> gboolean;
4078    pub fn webkit_settings_get_hardware_acceleration_policy(
4079        settings: *mut WebKitSettings,
4080    ) -> WebKitHardwareAccelerationPolicy;
4081    pub fn webkit_settings_get_javascript_can_access_clipboard(
4082        settings: *mut WebKitSettings,
4083    ) -> gboolean;
4084    pub fn webkit_settings_get_javascript_can_open_windows_automatically(
4085        settings: *mut WebKitSettings,
4086    ) -> gboolean;
4087    pub fn webkit_settings_get_load_icons_ignoring_image_load_setting(
4088        settings: *mut WebKitSettings,
4089    ) -> gboolean;
4090    pub fn webkit_settings_get_media_content_types_requiring_hardware_support(
4091        settings: *mut WebKitSettings,
4092    ) -> *const c_char;
4093    pub fn webkit_settings_get_media_playback_allows_inline(
4094        settings: *mut WebKitSettings,
4095    ) -> gboolean;
4096    pub fn webkit_settings_get_media_playback_requires_user_gesture(
4097        settings: *mut WebKitSettings,
4098    ) -> gboolean;
4099    pub fn webkit_settings_get_minimum_font_size(settings: *mut WebKitSettings) -> u32;
4100    pub fn webkit_settings_get_monospace_font_family(
4101        settings: *mut WebKitSettings,
4102    ) -> *const c_char;
4103    pub fn webkit_settings_get_pictograph_font_family(
4104        settings: *mut WebKitSettings,
4105    ) -> *const c_char;
4106    pub fn webkit_settings_get_print_backgrounds(settings: *mut WebKitSettings) -> gboolean;
4107    pub fn webkit_settings_get_sans_serif_font_family(
4108        settings: *mut WebKitSettings,
4109    ) -> *const c_char;
4110    pub fn webkit_settings_get_serif_font_family(settings: *mut WebKitSettings) -> *const c_char;
4111    pub fn webkit_settings_get_user_agent(settings: *mut WebKitSettings) -> *const c_char;
4112    #[cfg(feature = "v2_48")]
4113    #[cfg_attr(docsrs, doc(cfg(feature = "v2_48")))]
4114    pub fn webkit_settings_get_webrtc_udp_ports_range(
4115        settings: *mut WebKitSettings,
4116    ) -> *const c_char;
4117    pub fn webkit_settings_get_zoom_text_only(settings: *mut WebKitSettings) -> gboolean;
4118    pub fn webkit_settings_set_allow_file_access_from_file_urls(
4119        settings: *mut WebKitSettings,
4120        allowed: gboolean,
4121    );
4122    pub fn webkit_settings_set_allow_modal_dialogs(
4123        settings: *mut WebKitSettings,
4124        allowed: gboolean,
4125    );
4126    pub fn webkit_settings_set_allow_top_navigation_to_data_urls(
4127        settings: *mut WebKitSettings,
4128        allowed: gboolean,
4129    );
4130    pub fn webkit_settings_set_allow_universal_access_from_file_urls(
4131        settings: *mut WebKitSettings,
4132        allowed: gboolean,
4133    );
4134    pub fn webkit_settings_set_auto_load_images(settings: *mut WebKitSettings, enabled: gboolean);
4135    pub fn webkit_settings_set_cursive_font_family(
4136        settings: *mut WebKitSettings,
4137        cursive_font_family: *const c_char,
4138    );
4139    pub fn webkit_settings_set_default_charset(
4140        settings: *mut WebKitSettings,
4141        default_charset: *const c_char,
4142    );
4143    pub fn webkit_settings_set_default_font_family(
4144        settings: *mut WebKitSettings,
4145        default_font_family: *const c_char,
4146    );
4147    pub fn webkit_settings_set_default_font_size(settings: *mut WebKitSettings, font_size: u32);
4148    pub fn webkit_settings_set_default_monospace_font_size(
4149        settings: *mut WebKitSettings,
4150        font_size: u32,
4151    );
4152    pub fn webkit_settings_set_disable_web_security(
4153        settings: *mut WebKitSettings,
4154        disabled: gboolean,
4155    );
4156    pub fn webkit_settings_set_draw_compositing_indicators(
4157        settings: *mut WebKitSettings,
4158        enabled: gboolean,
4159    );
4160    #[cfg(feature = "v2_46")]
4161    #[cfg_attr(docsrs, doc(cfg(feature = "v2_46")))]
4162    pub fn webkit_settings_set_enable_2d_canvas_acceleration(
4163        settings: *mut WebKitSettings,
4164        enabled: gboolean,
4165    );
4166    pub fn webkit_settings_set_enable_back_forward_navigation_gestures(
4167        settings: *mut WebKitSettings,
4168        enabled: gboolean,
4169    );
4170    pub fn webkit_settings_set_enable_caret_browsing(
4171        settings: *mut WebKitSettings,
4172        enabled: gboolean,
4173    );
4174    pub fn webkit_settings_set_enable_developer_extras(
4175        settings: *mut WebKitSettings,
4176        enabled: gboolean,
4177    );
4178    pub fn webkit_settings_set_enable_dns_prefetching(
4179        settings: *mut WebKitSettings,
4180        enabled: gboolean,
4181    );
4182    pub fn webkit_settings_set_enable_encrypted_media(
4183        settings: *mut WebKitSettings,
4184        enabled: gboolean,
4185    );
4186    pub fn webkit_settings_set_enable_fullscreen(settings: *mut WebKitSettings, enabled: gboolean);
4187    pub fn webkit_settings_set_enable_html5_database(
4188        settings: *mut WebKitSettings,
4189        enabled: gboolean,
4190    );
4191    pub fn webkit_settings_set_enable_html5_local_storage(
4192        settings: *mut WebKitSettings,
4193        enabled: gboolean,
4194    );
4195    pub fn webkit_settings_set_enable_hyperlink_auditing(
4196        settings: *mut WebKitSettings,
4197        enabled: gboolean,
4198    );
4199    pub fn webkit_settings_set_enable_javascript(settings: *mut WebKitSettings, enabled: gboolean);
4200    pub fn webkit_settings_set_enable_javascript_markup(
4201        settings: *mut WebKitSettings,
4202        enabled: gboolean,
4203    );
4204    pub fn webkit_settings_set_enable_media(settings: *mut WebKitSettings, enabled: gboolean);
4205    pub fn webkit_settings_set_enable_media_capabilities(
4206        settings: *mut WebKitSettings,
4207        enabled: gboolean,
4208    );
4209    pub fn webkit_settings_set_enable_media_stream(
4210        settings: *mut WebKitSettings,
4211        enabled: gboolean,
4212    );
4213    pub fn webkit_settings_set_enable_mediasource(settings: *mut WebKitSettings, enabled: gboolean);
4214    pub fn webkit_settings_set_enable_mock_capture_devices(
4215        settings: *mut WebKitSettings,
4216        enabled: gboolean,
4217    );
4218    pub fn webkit_settings_set_enable_offline_web_application_cache(
4219        settings: *mut WebKitSettings,
4220        enabled: gboolean,
4221    );
4222    pub fn webkit_settings_set_enable_page_cache(settings: *mut WebKitSettings, enabled: gboolean);
4223    pub fn webkit_settings_set_enable_resizable_text_areas(
4224        settings: *mut WebKitSettings,
4225        enabled: gboolean,
4226    );
4227    pub fn webkit_settings_set_enable_site_specific_quirks(
4228        settings: *mut WebKitSettings,
4229        enabled: gboolean,
4230    );
4231    pub fn webkit_settings_set_enable_smooth_scrolling(
4232        settings: *mut WebKitSettings,
4233        enabled: gboolean,
4234    );
4235    pub fn webkit_settings_set_enable_spatial_navigation(
4236        settings: *mut WebKitSettings,
4237        enabled: gboolean,
4238    );
4239    pub fn webkit_settings_set_enable_tabs_to_links(
4240        settings: *mut WebKitSettings,
4241        enabled: gboolean,
4242    );
4243    pub fn webkit_settings_set_enable_webaudio(settings: *mut WebKitSettings, enabled: gboolean);
4244    pub fn webkit_settings_set_enable_webgl(settings: *mut WebKitSettings, enabled: gboolean);
4245    pub fn webkit_settings_set_enable_webrtc(settings: *mut WebKitSettings, enabled: gboolean);
4246    pub fn webkit_settings_set_enable_write_console_messages_to_stdout(
4247        settings: *mut WebKitSettings,
4248        enabled: gboolean,
4249    );
4250    pub fn webkit_settings_set_fantasy_font_family(
4251        settings: *mut WebKitSettings,
4252        fantasy_font_family: *const c_char,
4253    );
4254    #[cfg(feature = "v2_42")]
4255    #[cfg_attr(docsrs, doc(cfg(feature = "v2_42")))]
4256    pub fn webkit_settings_set_feature_enabled(
4257        settings: *mut WebKitSettings,
4258        feature: *mut WebKitFeature,
4259        enabled: gboolean,
4260    );
4261    pub fn webkit_settings_set_hardware_acceleration_policy(
4262        settings: *mut WebKitSettings,
4263        policy: WebKitHardwareAccelerationPolicy,
4264    );
4265    pub fn webkit_settings_set_javascript_can_access_clipboard(
4266        settings: *mut WebKitSettings,
4267        enabled: gboolean,
4268    );
4269    pub fn webkit_settings_set_javascript_can_open_windows_automatically(
4270        settings: *mut WebKitSettings,
4271        enabled: gboolean,
4272    );
4273    pub fn webkit_settings_set_load_icons_ignoring_image_load_setting(
4274        settings: *mut WebKitSettings,
4275        enabled: gboolean,
4276    );
4277    pub fn webkit_settings_set_media_content_types_requiring_hardware_support(
4278        settings: *mut WebKitSettings,
4279        content_types: *const c_char,
4280    );
4281    pub fn webkit_settings_set_media_playback_allows_inline(
4282        settings: *mut WebKitSettings,
4283        enabled: gboolean,
4284    );
4285    pub fn webkit_settings_set_media_playback_requires_user_gesture(
4286        settings: *mut WebKitSettings,
4287        enabled: gboolean,
4288    );
4289    pub fn webkit_settings_set_minimum_font_size(settings: *mut WebKitSettings, font_size: u32);
4290    pub fn webkit_settings_set_monospace_font_family(
4291        settings: *mut WebKitSettings,
4292        monospace_font_family: *const c_char,
4293    );
4294    pub fn webkit_settings_set_pictograph_font_family(
4295        settings: *mut WebKitSettings,
4296        pictograph_font_family: *const c_char,
4297    );
4298    pub fn webkit_settings_set_print_backgrounds(
4299        settings: *mut WebKitSettings,
4300        print_backgrounds: gboolean,
4301    );
4302    pub fn webkit_settings_set_sans_serif_font_family(
4303        settings: *mut WebKitSettings,
4304        sans_serif_font_family: *const c_char,
4305    );
4306    pub fn webkit_settings_set_serif_font_family(
4307        settings: *mut WebKitSettings,
4308        serif_font_family: *const c_char,
4309    );
4310    pub fn webkit_settings_set_user_agent(settings: *mut WebKitSettings, user_agent: *const c_char);
4311    pub fn webkit_settings_set_user_agent_with_application_details(
4312        settings: *mut WebKitSettings,
4313        application_name: *const c_char,
4314        application_version: *const c_char,
4315    );
4316    #[cfg(feature = "v2_48")]
4317    #[cfg_attr(docsrs, doc(cfg(feature = "v2_48")))]
4318    pub fn webkit_settings_set_webrtc_udp_ports_range(
4319        settings: *mut WebKitSettings,
4320        udp_port_range: *const c_char,
4321    );
4322    pub fn webkit_settings_set_zoom_text_only(
4323        settings: *mut WebKitSettings,
4324        zoom_text_only: gboolean,
4325    );
4326
4327    //=========================================================================
4328    // WebKitURIRequest
4329    //=========================================================================
4330    pub fn webkit_uri_request_get_type() -> GType;
4331    pub fn webkit_uri_request_new(uri: *const c_char) -> *mut WebKitURIRequest;
4332    pub fn webkit_uri_request_get_http_headers(
4333        request: *mut WebKitURIRequest,
4334    ) -> *mut soup::SoupMessageHeaders;
4335    pub fn webkit_uri_request_get_http_method(request: *mut WebKitURIRequest) -> *const c_char;
4336    pub fn webkit_uri_request_get_uri(request: *mut WebKitURIRequest) -> *const c_char;
4337    pub fn webkit_uri_request_set_uri(request: *mut WebKitURIRequest, uri: *const c_char);
4338
4339    //=========================================================================
4340    // WebKitURIResponse
4341    //=========================================================================
4342    pub fn webkit_uri_response_get_type() -> GType;
4343    pub fn webkit_uri_response_get_content_length(response: *mut WebKitURIResponse) -> u64;
4344    pub fn webkit_uri_response_get_http_headers(
4345        response: *mut WebKitURIResponse,
4346    ) -> *mut soup::SoupMessageHeaders;
4347    pub fn webkit_uri_response_get_mime_type(response: *mut WebKitURIResponse) -> *const c_char;
4348    pub fn webkit_uri_response_get_status_code(response: *mut WebKitURIResponse) -> c_uint;
4349    pub fn webkit_uri_response_get_suggested_filename(
4350        response: *mut WebKitURIResponse,
4351    ) -> *const c_char;
4352    pub fn webkit_uri_response_get_uri(response: *mut WebKitURIResponse) -> *const c_char;
4353
4354    //=========================================================================
4355    // WebKitURISchemeRequest
4356    //=========================================================================
4357    pub fn webkit_uri_scheme_request_get_type() -> GType;
4358    pub fn webkit_uri_scheme_request_finish(
4359        request: *mut WebKitURISchemeRequest,
4360        stream: *mut gio::GInputStream,
4361        stream_length: i64,
4362        content_type: *const c_char,
4363    );
4364    pub fn webkit_uri_scheme_request_finish_error(
4365        request: *mut WebKitURISchemeRequest,
4366        error: *mut glib::GError,
4367    );
4368    pub fn webkit_uri_scheme_request_finish_with_response(
4369        request: *mut WebKitURISchemeRequest,
4370        response: *mut WebKitURISchemeResponse,
4371    );
4372    pub fn webkit_uri_scheme_request_get_http_body(
4373        request: *mut WebKitURISchemeRequest,
4374    ) -> *mut gio::GInputStream;
4375    pub fn webkit_uri_scheme_request_get_http_headers(
4376        request: *mut WebKitURISchemeRequest,
4377    ) -> *mut soup::SoupMessageHeaders;
4378    pub fn webkit_uri_scheme_request_get_http_method(
4379        request: *mut WebKitURISchemeRequest,
4380    ) -> *const c_char;
4381    pub fn webkit_uri_scheme_request_get_path(
4382        request: *mut WebKitURISchemeRequest,
4383    ) -> *const c_char;
4384    pub fn webkit_uri_scheme_request_get_scheme(
4385        request: *mut WebKitURISchemeRequest,
4386    ) -> *const c_char;
4387    pub fn webkit_uri_scheme_request_get_uri(request: *mut WebKitURISchemeRequest)
4388        -> *const c_char;
4389    pub fn webkit_uri_scheme_request_get_web_view(
4390        request: *mut WebKitURISchemeRequest,
4391    ) -> *mut WebKitWebView;
4392
4393    //=========================================================================
4394    // WebKitURISchemeResponse
4395    //=========================================================================
4396    pub fn webkit_uri_scheme_response_get_type() -> GType;
4397    pub fn webkit_uri_scheme_response_new(
4398        input_stream: *mut gio::GInputStream,
4399        stream_length: i64,
4400    ) -> *mut WebKitURISchemeResponse;
4401    pub fn webkit_uri_scheme_response_set_content_type(
4402        response: *mut WebKitURISchemeResponse,
4403        content_type: *const c_char,
4404    );
4405    pub fn webkit_uri_scheme_response_set_http_headers(
4406        response: *mut WebKitURISchemeResponse,
4407        headers: *mut soup::SoupMessageHeaders,
4408    );
4409    pub fn webkit_uri_scheme_response_set_status(
4410        response: *mut WebKitURISchemeResponse,
4411        status_code: c_uint,
4412        reason_phrase: *const c_char,
4413    );
4414
4415    //=========================================================================
4416    // WebKitUserContentFilterStore
4417    //=========================================================================
4418    pub fn webkit_user_content_filter_store_get_type() -> GType;
4419    pub fn webkit_user_content_filter_store_new(
4420        storage_path: *const c_char,
4421    ) -> *mut WebKitUserContentFilterStore;
4422    pub fn webkit_user_content_filter_store_fetch_identifiers(
4423        store: *mut WebKitUserContentFilterStore,
4424        cancellable: *mut gio::GCancellable,
4425        callback: gio::GAsyncReadyCallback,
4426        user_data: gpointer,
4427    );
4428    pub fn webkit_user_content_filter_store_fetch_identifiers_finish(
4429        store: *mut WebKitUserContentFilterStore,
4430        result: *mut gio::GAsyncResult,
4431    ) -> *mut *mut c_char;
4432    pub fn webkit_user_content_filter_store_get_path(
4433        store: *mut WebKitUserContentFilterStore,
4434    ) -> *const c_char;
4435    pub fn webkit_user_content_filter_store_load(
4436        store: *mut WebKitUserContentFilterStore,
4437        identifier: *const c_char,
4438        cancellable: *mut gio::GCancellable,
4439        callback: gio::GAsyncReadyCallback,
4440        user_data: gpointer,
4441    );
4442    pub fn webkit_user_content_filter_store_load_finish(
4443        store: *mut WebKitUserContentFilterStore,
4444        result: *mut gio::GAsyncResult,
4445        error: *mut *mut glib::GError,
4446    ) -> *mut WebKitUserContentFilter;
4447    pub fn webkit_user_content_filter_store_remove(
4448        store: *mut WebKitUserContentFilterStore,
4449        identifier: *const c_char,
4450        cancellable: *mut gio::GCancellable,
4451        callback: gio::GAsyncReadyCallback,
4452        user_data: gpointer,
4453    );
4454    pub fn webkit_user_content_filter_store_remove_finish(
4455        store: *mut WebKitUserContentFilterStore,
4456        result: *mut gio::GAsyncResult,
4457        error: *mut *mut glib::GError,
4458    ) -> gboolean;
4459    pub fn webkit_user_content_filter_store_save(
4460        store: *mut WebKitUserContentFilterStore,
4461        identifier: *const c_char,
4462        source: *mut glib::GBytes,
4463        cancellable: *mut gio::GCancellable,
4464        callback: gio::GAsyncReadyCallback,
4465        user_data: gpointer,
4466    );
4467    pub fn webkit_user_content_filter_store_save_finish(
4468        store: *mut WebKitUserContentFilterStore,
4469        result: *mut gio::GAsyncResult,
4470        error: *mut *mut glib::GError,
4471    ) -> *mut WebKitUserContentFilter;
4472    pub fn webkit_user_content_filter_store_save_from_file(
4473        store: *mut WebKitUserContentFilterStore,
4474        identifier: *const c_char,
4475        file: *mut gio::GFile,
4476        cancellable: *mut gio::GCancellable,
4477        callback: gio::GAsyncReadyCallback,
4478        user_data: gpointer,
4479    );
4480    pub fn webkit_user_content_filter_store_save_from_file_finish(
4481        store: *mut WebKitUserContentFilterStore,
4482        result: *mut gio::GAsyncResult,
4483        error: *mut *mut glib::GError,
4484    ) -> *mut WebKitUserContentFilter;
4485
4486    //=========================================================================
4487    // WebKitUserContentManager
4488    //=========================================================================
4489    pub fn webkit_user_content_manager_get_type() -> GType;
4490    pub fn webkit_user_content_manager_new() -> *mut WebKitUserContentManager;
4491    pub fn webkit_user_content_manager_add_filter(
4492        manager: *mut WebKitUserContentManager,
4493        filter: *mut WebKitUserContentFilter,
4494    );
4495    pub fn webkit_user_content_manager_add_script(
4496        manager: *mut WebKitUserContentManager,
4497        script: *mut WebKitUserScript,
4498    );
4499    pub fn webkit_user_content_manager_add_style_sheet(
4500        manager: *mut WebKitUserContentManager,
4501        stylesheet: *mut WebKitUserStyleSheet,
4502    );
4503    pub fn webkit_user_content_manager_register_script_message_handler(
4504        manager: *mut WebKitUserContentManager,
4505        name: *const c_char,
4506        world_name: *const c_char,
4507    ) -> gboolean;
4508    pub fn webkit_user_content_manager_register_script_message_handler_with_reply(
4509        manager: *mut WebKitUserContentManager,
4510        name: *const c_char,
4511        world_name: *const c_char,
4512    ) -> gboolean;
4513    pub fn webkit_user_content_manager_remove_all_filters(manager: *mut WebKitUserContentManager);
4514    pub fn webkit_user_content_manager_remove_all_scripts(manager: *mut WebKitUserContentManager);
4515    pub fn webkit_user_content_manager_remove_all_style_sheets(
4516        manager: *mut WebKitUserContentManager,
4517    );
4518    pub fn webkit_user_content_manager_remove_filter(
4519        manager: *mut WebKitUserContentManager,
4520        filter: *mut WebKitUserContentFilter,
4521    );
4522    pub fn webkit_user_content_manager_remove_filter_by_id(
4523        manager: *mut WebKitUserContentManager,
4524        filter_id: *const c_char,
4525    );
4526    pub fn webkit_user_content_manager_remove_script(
4527        manager: *mut WebKitUserContentManager,
4528        script: *mut WebKitUserScript,
4529    );
4530    pub fn webkit_user_content_manager_remove_style_sheet(
4531        manager: *mut WebKitUserContentManager,
4532        stylesheet: *mut WebKitUserStyleSheet,
4533    );
4534    pub fn webkit_user_content_manager_unregister_script_message_handler(
4535        manager: *mut WebKitUserContentManager,
4536        name: *const c_char,
4537        world_name: *const c_char,
4538    );
4539
4540    //=========================================================================
4541    // WebKitUserMediaPermissionRequest
4542    //=========================================================================
4543    pub fn webkit_user_media_permission_request_get_type() -> GType;
4544
4545    //=========================================================================
4546    // WebKitUserMessage
4547    //=========================================================================
4548    pub fn webkit_user_message_get_type() -> GType;
4549    pub fn webkit_user_message_new(
4550        name: *const c_char,
4551        parameters: *mut glib::GVariant,
4552    ) -> *mut WebKitUserMessage;
4553    pub fn webkit_user_message_new_with_fd_list(
4554        name: *const c_char,
4555        parameters: *mut glib::GVariant,
4556        fd_list: *mut gio::GUnixFDList,
4557    ) -> *mut WebKitUserMessage;
4558    pub fn webkit_user_message_get_fd_list(
4559        message: *mut WebKitUserMessage,
4560    ) -> *mut gio::GUnixFDList;
4561    pub fn webkit_user_message_get_name(message: *mut WebKitUserMessage) -> *const c_char;
4562    pub fn webkit_user_message_get_parameters(
4563        message: *mut WebKitUserMessage,
4564    ) -> *mut glib::GVariant;
4565    pub fn webkit_user_message_send_reply(
4566        message: *mut WebKitUserMessage,
4567        reply: *mut WebKitUserMessage,
4568    );
4569
4570    //=========================================================================
4571    // WebKitWebContext
4572    //=========================================================================
4573    pub fn webkit_web_context_get_type() -> GType;
4574    pub fn webkit_web_context_new() -> *mut WebKitWebContext;
4575    pub fn webkit_web_context_get_default() -> *mut WebKitWebContext;
4576    pub fn webkit_web_context_add_path_to_sandbox(
4577        context: *mut WebKitWebContext,
4578        path: *const c_char,
4579        read_only: gboolean,
4580    );
4581    pub fn webkit_web_context_get_cache_model(context: *mut WebKitWebContext) -> WebKitCacheModel;
4582    pub fn webkit_web_context_get_geolocation_manager(
4583        context: *mut WebKitWebContext,
4584    ) -> *mut WebKitGeolocationManager;
4585    pub fn webkit_web_context_get_network_session_for_automation(
4586        context: *mut WebKitWebContext,
4587    ) -> *mut WebKitNetworkSession;
4588    pub fn webkit_web_context_get_security_manager(
4589        context: *mut WebKitWebContext,
4590    ) -> *mut WebKitSecurityManager;
4591    pub fn webkit_web_context_get_spell_checking_enabled(
4592        context: *mut WebKitWebContext,
4593    ) -> gboolean;
4594    pub fn webkit_web_context_get_spell_checking_languages(
4595        context: *mut WebKitWebContext,
4596    ) -> *const *const c_char;
4597    pub fn webkit_web_context_get_time_zone_override(
4598        context: *mut WebKitWebContext,
4599    ) -> *const c_char;
4600    pub fn webkit_web_context_initialize_notification_permissions(
4601        context: *mut WebKitWebContext,
4602        allowed_origins: *mut glib::GList,
4603        disallowed_origins: *mut glib::GList,
4604    );
4605    pub fn webkit_web_context_is_automation_allowed(context: *mut WebKitWebContext) -> gboolean;
4606    pub fn webkit_web_context_register_uri_scheme(
4607        context: *mut WebKitWebContext,
4608        scheme: *const c_char,
4609        callback: WebKitURISchemeRequestCallback,
4610        user_data: gpointer,
4611        user_data_destroy_func: glib::GDestroyNotify,
4612    );
4613    pub fn webkit_web_context_send_message_to_all_extensions(
4614        context: *mut WebKitWebContext,
4615        message: *mut WebKitUserMessage,
4616    );
4617    pub fn webkit_web_context_set_automation_allowed(
4618        context: *mut WebKitWebContext,
4619        allowed: gboolean,
4620    );
4621    pub fn webkit_web_context_set_cache_model(
4622        context: *mut WebKitWebContext,
4623        cache_model: WebKitCacheModel,
4624    );
4625    pub fn webkit_web_context_set_preferred_languages(
4626        context: *mut WebKitWebContext,
4627        languages: *const *const c_char,
4628    );
4629    pub fn webkit_web_context_set_spell_checking_enabled(
4630        context: *mut WebKitWebContext,
4631        enabled: gboolean,
4632    );
4633    pub fn webkit_web_context_set_spell_checking_languages(
4634        context: *mut WebKitWebContext,
4635        languages: *const *const c_char,
4636    );
4637    pub fn webkit_web_context_set_web_process_extensions_directory(
4638        context: *mut WebKitWebContext,
4639        directory: *const c_char,
4640    );
4641    pub fn webkit_web_context_set_web_process_extensions_initialization_user_data(
4642        context: *mut WebKitWebContext,
4643        user_data: *mut glib::GVariant,
4644    );
4645
4646    //=========================================================================
4647    // WebKitWebInspector
4648    //=========================================================================
4649    pub fn webkit_web_inspector_get_type() -> GType;
4650    pub fn webkit_web_inspector_attach(inspector: *mut WebKitWebInspector);
4651    pub fn webkit_web_inspector_close(inspector: *mut WebKitWebInspector);
4652    pub fn webkit_web_inspector_detach(inspector: *mut WebKitWebInspector);
4653    pub fn webkit_web_inspector_get_attached_height(inspector: *mut WebKitWebInspector) -> c_uint;
4654    pub fn webkit_web_inspector_get_can_attach(inspector: *mut WebKitWebInspector) -> gboolean;
4655    pub fn webkit_web_inspector_get_inspected_uri(
4656        inspector: *mut WebKitWebInspector,
4657    ) -> *const c_char;
4658    pub fn webkit_web_inspector_get_web_view(
4659        inspector: *mut WebKitWebInspector,
4660    ) -> *mut WebKitWebViewBase;
4661    pub fn webkit_web_inspector_is_attached(inspector: *mut WebKitWebInspector) -> gboolean;
4662    pub fn webkit_web_inspector_show(inspector: *mut WebKitWebInspector);
4663
4664    //=========================================================================
4665    // WebKitWebResource
4666    //=========================================================================
4667    pub fn webkit_web_resource_get_type() -> GType;
4668    pub fn webkit_web_resource_get_data(
4669        resource: *mut WebKitWebResource,
4670        cancellable: *mut gio::GCancellable,
4671        callback: gio::GAsyncReadyCallback,
4672        user_data: gpointer,
4673    );
4674    pub fn webkit_web_resource_get_data_finish(
4675        resource: *mut WebKitWebResource,
4676        result: *mut gio::GAsyncResult,
4677        length: *mut size_t,
4678        error: *mut *mut glib::GError,
4679    ) -> *mut u8;
4680    pub fn webkit_web_resource_get_response(
4681        resource: *mut WebKitWebResource,
4682    ) -> *mut WebKitURIResponse;
4683    pub fn webkit_web_resource_get_uri(resource: *mut WebKitWebResource) -> *const c_char;
4684
4685    //=========================================================================
4686    // WebKitWebView
4687    //=========================================================================
4688    pub fn webkit_web_view_get_type() -> GType;
4689    pub fn webkit_web_view_new() -> *mut gtk::GtkWidget;
4690    pub fn webkit_web_view_call_async_javascript_function(
4691        web_view: *mut WebKitWebView,
4692        body: *const c_char,
4693        length: ssize_t,
4694        arguments: *mut glib::GVariant,
4695        world_name: *const c_char,
4696        source_uri: *const c_char,
4697        cancellable: *mut gio::GCancellable,
4698        callback: gio::GAsyncReadyCallback,
4699        user_data: gpointer,
4700    );
4701    pub fn webkit_web_view_call_async_javascript_function_finish(
4702        web_view: *mut WebKitWebView,
4703        result: *mut gio::GAsyncResult,
4704        error: *mut *mut glib::GError,
4705    ) -> *mut javascriptcore::JSCValue;
4706    pub fn webkit_web_view_can_execute_editing_command(
4707        web_view: *mut WebKitWebView,
4708        command: *const c_char,
4709        cancellable: *mut gio::GCancellable,
4710        callback: gio::GAsyncReadyCallback,
4711        user_data: gpointer,
4712    );
4713    pub fn webkit_web_view_can_execute_editing_command_finish(
4714        web_view: *mut WebKitWebView,
4715        result: *mut gio::GAsyncResult,
4716        error: *mut *mut glib::GError,
4717    ) -> gboolean;
4718    pub fn webkit_web_view_can_go_back(web_view: *mut WebKitWebView) -> gboolean;
4719    pub fn webkit_web_view_can_go_forward(web_view: *mut WebKitWebView) -> gboolean;
4720    pub fn webkit_web_view_can_show_mime_type(
4721        web_view: *mut WebKitWebView,
4722        mime_type: *const c_char,
4723    ) -> gboolean;
4724    pub fn webkit_web_view_download_uri(
4725        web_view: *mut WebKitWebView,
4726        uri: *const c_char,
4727    ) -> *mut WebKitDownload;
4728    pub fn webkit_web_view_evaluate_javascript(
4729        web_view: *mut WebKitWebView,
4730        script: *const c_char,
4731        length: ssize_t,
4732        world_name: *const c_char,
4733        source_uri: *const c_char,
4734        cancellable: *mut gio::GCancellable,
4735        callback: gio::GAsyncReadyCallback,
4736        user_data: gpointer,
4737    );
4738    pub fn webkit_web_view_evaluate_javascript_finish(
4739        web_view: *mut WebKitWebView,
4740        result: *mut gio::GAsyncResult,
4741        error: *mut *mut glib::GError,
4742    ) -> *mut javascriptcore::JSCValue;
4743    pub fn webkit_web_view_execute_editing_command(
4744        web_view: *mut WebKitWebView,
4745        command: *const c_char,
4746    );
4747    pub fn webkit_web_view_execute_editing_command_with_argument(
4748        web_view: *mut WebKitWebView,
4749        command: *const c_char,
4750        argument: *const c_char,
4751    );
4752    pub fn webkit_web_view_get_automation_presentation_type(
4753        web_view: *mut WebKitWebView,
4754    ) -> WebKitAutomationBrowsingContextPresentation;
4755    pub fn webkit_web_view_get_back_forward_list(
4756        web_view: *mut WebKitWebView,
4757    ) -> *mut WebKitBackForwardList;
4758    pub fn webkit_web_view_get_background_color(
4759        web_view: *mut WebKitWebView,
4760        rgba: *mut gdk::GdkRGBA,
4761    );
4762    pub fn webkit_web_view_get_camera_capture_state(
4763        web_view: *mut WebKitWebView,
4764    ) -> WebKitMediaCaptureState;
4765    pub fn webkit_web_view_get_context(web_view: *mut WebKitWebView) -> *mut WebKitWebContext;
4766    pub fn webkit_web_view_get_custom_charset(web_view: *mut WebKitWebView) -> *const c_char;
4767    pub fn webkit_web_view_get_default_content_security_policy(
4768        web_view: *mut WebKitWebView,
4769    ) -> *const c_char;
4770    pub fn webkit_web_view_get_display_capture_state(
4771        web_view: *mut WebKitWebView,
4772    ) -> WebKitMediaCaptureState;
4773    pub fn webkit_web_view_get_editor_state(web_view: *mut WebKitWebView)
4774        -> *mut WebKitEditorState;
4775    pub fn webkit_web_view_get_estimated_load_progress(web_view: *mut WebKitWebView) -> c_double;
4776    pub fn webkit_web_view_get_favicon(web_view: *mut WebKitWebView) -> *mut gdk::GdkTexture;
4777    pub fn webkit_web_view_get_find_controller(
4778        web_view: *mut WebKitWebView,
4779    ) -> *mut WebKitFindController;
4780    pub fn webkit_web_view_get_input_method_context(
4781        web_view: *mut WebKitWebView,
4782    ) -> *mut WebKitInputMethodContext;
4783    pub fn webkit_web_view_get_inspector(web_view: *mut WebKitWebView) -> *mut WebKitWebInspector;
4784    pub fn webkit_web_view_get_is_muted(web_view: *mut WebKitWebView) -> gboolean;
4785    pub fn webkit_web_view_get_is_web_process_responsive(web_view: *mut WebKitWebView) -> gboolean;
4786    pub fn webkit_web_view_get_main_resource(
4787        web_view: *mut WebKitWebView,
4788    ) -> *mut WebKitWebResource;
4789    pub fn webkit_web_view_get_microphone_capture_state(
4790        web_view: *mut WebKitWebView,
4791    ) -> WebKitMediaCaptureState;
4792    pub fn webkit_web_view_get_network_session(
4793        web_view: *mut WebKitWebView,
4794    ) -> *mut WebKitNetworkSession;
4795    pub fn webkit_web_view_get_page_id(web_view: *mut WebKitWebView) -> u64;
4796    pub fn webkit_web_view_get_session_state(
4797        web_view: *mut WebKitWebView,
4798    ) -> *mut WebKitWebViewSessionState;
4799    pub fn webkit_web_view_get_settings(web_view: *mut WebKitWebView) -> *mut WebKitSettings;
4800    pub fn webkit_web_view_get_snapshot(
4801        web_view: *mut WebKitWebView,
4802        region: WebKitSnapshotRegion,
4803        options: WebKitSnapshotOptions,
4804        cancellable: *mut gio::GCancellable,
4805        callback: gio::GAsyncReadyCallback,
4806        user_data: gpointer,
4807    );
4808    pub fn webkit_web_view_get_snapshot_finish(
4809        web_view: *mut WebKitWebView,
4810        result: *mut gio::GAsyncResult,
4811        error: *mut *mut glib::GError,
4812    ) -> *mut gdk::GdkTexture;
4813    #[cfg(feature = "v2_50")]
4814    #[cfg_attr(docsrs, doc(cfg(feature = "v2_50")))]
4815    pub fn webkit_web_view_get_theme_color(
4816        web_view: *mut WebKitWebView,
4817        rgba: *mut gdk::GdkRGBA,
4818    ) -> gboolean;
4819    pub fn webkit_web_view_get_title(web_view: *mut WebKitWebView) -> *const c_char;
4820    pub fn webkit_web_view_get_tls_info(
4821        web_view: *mut WebKitWebView,
4822        certificate: *mut *mut gio::GTlsCertificate,
4823        errors: *mut gio::GTlsCertificateFlags,
4824    ) -> gboolean;
4825    pub fn webkit_web_view_get_uri(web_view: *mut WebKitWebView) -> *const c_char;
4826    pub fn webkit_web_view_get_user_content_manager(
4827        web_view: *mut WebKitWebView,
4828    ) -> *mut WebKitUserContentManager;
4829    pub fn webkit_web_view_get_web_extension_mode(
4830        web_view: *mut WebKitWebView,
4831    ) -> WebKitWebExtensionMode;
4832    pub fn webkit_web_view_get_website_policies(
4833        web_view: *mut WebKitWebView,
4834    ) -> *mut WebKitWebsitePolicies;
4835    pub fn webkit_web_view_get_window_properties(
4836        web_view: *mut WebKitWebView,
4837    ) -> *mut WebKitWindowProperties;
4838    pub fn webkit_web_view_get_zoom_level(web_view: *mut WebKitWebView) -> c_double;
4839    pub fn webkit_web_view_go_back(web_view: *mut WebKitWebView);
4840    pub fn webkit_web_view_go_forward(web_view: *mut WebKitWebView);
4841    pub fn webkit_web_view_go_to_back_forward_list_item(
4842        web_view: *mut WebKitWebView,
4843        list_item: *mut WebKitBackForwardListItem,
4844    );
4845    pub fn webkit_web_view_is_controlled_by_automation(web_view: *mut WebKitWebView) -> gboolean;
4846    pub fn webkit_web_view_is_editable(web_view: *mut WebKitWebView) -> gboolean;
4847    pub fn webkit_web_view_is_loading(web_view: *mut WebKitWebView) -> gboolean;
4848    pub fn webkit_web_view_is_playing_audio(web_view: *mut WebKitWebView) -> gboolean;
4849    pub fn webkit_web_view_load_alternate_html(
4850        web_view: *mut WebKitWebView,
4851        content: *const c_char,
4852        content_uri: *const c_char,
4853        base_uri: *const c_char,
4854    );
4855    pub fn webkit_web_view_load_bytes(
4856        web_view: *mut WebKitWebView,
4857        bytes: *mut glib::GBytes,
4858        mime_type: *const c_char,
4859        encoding: *const c_char,
4860        base_uri: *const c_char,
4861    );
4862    pub fn webkit_web_view_load_html(
4863        web_view: *mut WebKitWebView,
4864        content: *const c_char,
4865        base_uri: *const c_char,
4866    );
4867    pub fn webkit_web_view_load_plain_text(web_view: *mut WebKitWebView, plain_text: *const c_char);
4868    pub fn webkit_web_view_load_request(
4869        web_view: *mut WebKitWebView,
4870        request: *mut WebKitURIRequest,
4871    );
4872    pub fn webkit_web_view_load_uri(web_view: *mut WebKitWebView, uri: *const c_char);
4873    pub fn webkit_web_view_reload(web_view: *mut WebKitWebView);
4874    pub fn webkit_web_view_reload_bypass_cache(web_view: *mut WebKitWebView);
4875    pub fn webkit_web_view_restore_session_state(
4876        web_view: *mut WebKitWebView,
4877        state: *mut WebKitWebViewSessionState,
4878    );
4879    pub fn webkit_web_view_save(
4880        web_view: *mut WebKitWebView,
4881        save_mode: WebKitSaveMode,
4882        cancellable: *mut gio::GCancellable,
4883        callback: gio::GAsyncReadyCallback,
4884        user_data: gpointer,
4885    );
4886    pub fn webkit_web_view_save_finish(
4887        web_view: *mut WebKitWebView,
4888        result: *mut gio::GAsyncResult,
4889        error: *mut *mut glib::GError,
4890    ) -> *mut gio::GInputStream;
4891    pub fn webkit_web_view_save_to_file(
4892        web_view: *mut WebKitWebView,
4893        file: *mut gio::GFile,
4894        save_mode: WebKitSaveMode,
4895        cancellable: *mut gio::GCancellable,
4896        callback: gio::GAsyncReadyCallback,
4897        user_data: gpointer,
4898    );
4899    pub fn webkit_web_view_save_to_file_finish(
4900        web_view: *mut WebKitWebView,
4901        result: *mut gio::GAsyncResult,
4902        error: *mut *mut glib::GError,
4903    ) -> gboolean;
4904    pub fn webkit_web_view_send_message_to_page(
4905        web_view: *mut WebKitWebView,
4906        message: *mut WebKitUserMessage,
4907        cancellable: *mut gio::GCancellable,
4908        callback: gio::GAsyncReadyCallback,
4909        user_data: gpointer,
4910    );
4911    pub fn webkit_web_view_send_message_to_page_finish(
4912        web_view: *mut WebKitWebView,
4913        result: *mut gio::GAsyncResult,
4914        error: *mut *mut glib::GError,
4915    ) -> *mut WebKitUserMessage;
4916    pub fn webkit_web_view_set_background_color(
4917        web_view: *mut WebKitWebView,
4918        rgba: *const gdk::GdkRGBA,
4919    );
4920    pub fn webkit_web_view_set_camera_capture_state(
4921        web_view: *mut WebKitWebView,
4922        state: WebKitMediaCaptureState,
4923    );
4924    pub fn webkit_web_view_set_cors_allowlist(
4925        web_view: *mut WebKitWebView,
4926        allowlist: *const *const c_char,
4927    );
4928    pub fn webkit_web_view_set_custom_charset(web_view: *mut WebKitWebView, charset: *const c_char);
4929    pub fn webkit_web_view_set_display_capture_state(
4930        web_view: *mut WebKitWebView,
4931        state: WebKitMediaCaptureState,
4932    );
4933    pub fn webkit_web_view_set_editable(web_view: *mut WebKitWebView, editable: gboolean);
4934    pub fn webkit_web_view_set_input_method_context(
4935        web_view: *mut WebKitWebView,
4936        context: *mut WebKitInputMethodContext,
4937    );
4938    pub fn webkit_web_view_set_is_muted(web_view: *mut WebKitWebView, muted: gboolean);
4939    pub fn webkit_web_view_set_microphone_capture_state(
4940        web_view: *mut WebKitWebView,
4941        state: WebKitMediaCaptureState,
4942    );
4943    pub fn webkit_web_view_set_settings(
4944        web_view: *mut WebKitWebView,
4945        settings: *mut WebKitSettings,
4946    );
4947    pub fn webkit_web_view_set_zoom_level(web_view: *mut WebKitWebView, zoom_level: c_double);
4948    pub fn webkit_web_view_stop_loading(web_view: *mut WebKitWebView);
4949    pub fn webkit_web_view_terminate_web_process(web_view: *mut WebKitWebView);
4950    pub fn webkit_web_view_try_close(web_view: *mut WebKitWebView);
4951
4952    //=========================================================================
4953    // WebKitWebViewBase
4954    //=========================================================================
4955    pub fn webkit_web_view_base_get_type() -> GType;
4956
4957    //=========================================================================
4958    // WebKitWebsiteDataAccessPermissionRequest
4959    //=========================================================================
4960    pub fn webkit_website_data_access_permission_request_get_type() -> GType;
4961    pub fn webkit_website_data_access_permission_request_get_current_domain(
4962        request: *mut WebKitWebsiteDataAccessPermissionRequest,
4963    ) -> *const c_char;
4964    pub fn webkit_website_data_access_permission_request_get_requesting_domain(
4965        request: *mut WebKitWebsiteDataAccessPermissionRequest,
4966    ) -> *const c_char;
4967
4968    //=========================================================================
4969    // WebKitWebsiteDataManager
4970    //=========================================================================
4971    pub fn webkit_website_data_manager_get_type() -> GType;
4972    pub fn webkit_website_data_manager_clear(
4973        manager: *mut WebKitWebsiteDataManager,
4974        types: WebKitWebsiteDataTypes,
4975        timespan: glib::GTimeSpan,
4976        cancellable: *mut gio::GCancellable,
4977        callback: gio::GAsyncReadyCallback,
4978        user_data: gpointer,
4979    );
4980    pub fn webkit_website_data_manager_clear_finish(
4981        manager: *mut WebKitWebsiteDataManager,
4982        result: *mut gio::GAsyncResult,
4983        error: *mut *mut glib::GError,
4984    ) -> gboolean;
4985    pub fn webkit_website_data_manager_fetch(
4986        manager: *mut WebKitWebsiteDataManager,
4987        types: WebKitWebsiteDataTypes,
4988        cancellable: *mut gio::GCancellable,
4989        callback: gio::GAsyncReadyCallback,
4990        user_data: gpointer,
4991    );
4992    pub fn webkit_website_data_manager_fetch_finish(
4993        manager: *mut WebKitWebsiteDataManager,
4994        result: *mut gio::GAsyncResult,
4995        error: *mut *mut glib::GError,
4996    ) -> *mut glib::GList;
4997    pub fn webkit_website_data_manager_get_base_cache_directory(
4998        manager: *mut WebKitWebsiteDataManager,
4999    ) -> *const c_char;
5000    pub fn webkit_website_data_manager_get_base_data_directory(
5001        manager: *mut WebKitWebsiteDataManager,
5002    ) -> *const c_char;
5003    pub fn webkit_website_data_manager_get_favicon_database(
5004        manager: *mut WebKitWebsiteDataManager,
5005    ) -> *mut WebKitFaviconDatabase;
5006    pub fn webkit_website_data_manager_get_favicons_enabled(
5007        manager: *mut WebKitWebsiteDataManager,
5008    ) -> gboolean;
5009    pub fn webkit_website_data_manager_get_itp_summary(
5010        manager: *mut WebKitWebsiteDataManager,
5011        cancellable: *mut gio::GCancellable,
5012        callback: gio::GAsyncReadyCallback,
5013        user_data: gpointer,
5014    );
5015    pub fn webkit_website_data_manager_get_itp_summary_finish(
5016        manager: *mut WebKitWebsiteDataManager,
5017        result: *mut gio::GAsyncResult,
5018        error: *mut *mut glib::GError,
5019    ) -> *mut glib::GList;
5020    pub fn webkit_website_data_manager_is_ephemeral(
5021        manager: *mut WebKitWebsiteDataManager,
5022    ) -> gboolean;
5023    pub fn webkit_website_data_manager_remove(
5024        manager: *mut WebKitWebsiteDataManager,
5025        types: WebKitWebsiteDataTypes,
5026        website_data: *mut glib::GList,
5027        cancellable: *mut gio::GCancellable,
5028        callback: gio::GAsyncReadyCallback,
5029        user_data: gpointer,
5030    );
5031    pub fn webkit_website_data_manager_remove_finish(
5032        manager: *mut WebKitWebsiteDataManager,
5033        result: *mut gio::GAsyncResult,
5034        error: *mut *mut glib::GError,
5035    ) -> gboolean;
5036    pub fn webkit_website_data_manager_set_favicons_enabled(
5037        manager: *mut WebKitWebsiteDataManager,
5038        enabled: gboolean,
5039    );
5040
5041    //=========================================================================
5042    // WebKitWebsitePolicies
5043    //=========================================================================
5044    pub fn webkit_website_policies_get_type() -> GType;
5045    pub fn webkit_website_policies_new() -> *mut WebKitWebsitePolicies;
5046    pub fn webkit_website_policies_new_with_policies(
5047        first_policy_name: *const c_char,
5048        ...
5049    ) -> *mut WebKitWebsitePolicies;
5050    pub fn webkit_website_policies_get_autoplay_policy(
5051        policies: *mut WebKitWebsitePolicies,
5052    ) -> WebKitAutoplayPolicy;
5053
5054    //=========================================================================
5055    // WebKitWindowProperties
5056    //=========================================================================
5057    pub fn webkit_window_properties_get_type() -> GType;
5058    pub fn webkit_window_properties_get_fullscreen(
5059        window_properties: *mut WebKitWindowProperties,
5060    ) -> gboolean;
5061    pub fn webkit_window_properties_get_geometry(
5062        window_properties: *mut WebKitWindowProperties,
5063        geometry: *mut gdk::GdkRectangle,
5064    );
5065    pub fn webkit_window_properties_get_locationbar_visible(
5066        window_properties: *mut WebKitWindowProperties,
5067    ) -> gboolean;
5068    pub fn webkit_window_properties_get_menubar_visible(
5069        window_properties: *mut WebKitWindowProperties,
5070    ) -> gboolean;
5071    pub fn webkit_window_properties_get_resizable(
5072        window_properties: *mut WebKitWindowProperties,
5073    ) -> gboolean;
5074    pub fn webkit_window_properties_get_scrollbars_visible(
5075        window_properties: *mut WebKitWindowProperties,
5076    ) -> gboolean;
5077    pub fn webkit_window_properties_get_statusbar_visible(
5078        window_properties: *mut WebKitWindowProperties,
5079    ) -> gboolean;
5080    pub fn webkit_window_properties_get_toolbar_visible(
5081        window_properties: *mut WebKitWindowProperties,
5082    ) -> gboolean;
5083
5084    //=========================================================================
5085    // WebKitPermissionRequest
5086    //=========================================================================
5087    pub fn webkit_permission_request_get_type() -> GType;
5088    pub fn webkit_permission_request_allow(request: *mut WebKitPermissionRequest);
5089    pub fn webkit_permission_request_deny(request: *mut WebKitPermissionRequest);
5090
5091    //=========================================================================
5092    // Other functions
5093    //=========================================================================
5094    pub fn webkit_get_major_version() -> c_uint;
5095    pub fn webkit_get_micro_version() -> c_uint;
5096    pub fn webkit_get_minor_version() -> c_uint;
5097    pub fn webkit_media_key_system_permission_get_name(
5098        request: *mut WebKitMediaKeySystemPermissionRequest,
5099    ) -> *const c_char;
5100    pub fn webkit_uri_for_display(uri: *const c_char) -> *mut c_char;
5101    pub fn webkit_user_media_permission_is_for_audio_device(
5102        request: *mut WebKitUserMediaPermissionRequest,
5103    ) -> gboolean;
5104    pub fn webkit_user_media_permission_is_for_display_device(
5105        request: *mut WebKitUserMediaPermissionRequest,
5106    ) -> gboolean;
5107    pub fn webkit_user_media_permission_is_for_video_device(
5108        request: *mut WebKitUserMediaPermissionRequest,
5109    ) -> gboolean;
5110
5111}