Skip to main content

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