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