1#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
6#![allow(
7 clippy::approx_constant,
8 clippy::type_complexity,
9 clippy::unreadable_literal,
10 clippy::upper_case_acronyms
11)]
12#![cfg_attr(docsrs, feature(doc_cfg))]
13
14#[allow(unused_imports)]
15use libc::{
16 c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void,
17 intptr_t, size_t, ssize_t, uintptr_t, FILE,
18};
19
20#[allow(unused_imports)]
21use glib::{gboolean, gconstpointer, gpointer, GType};
22
23pub type WebKitAuthenticationScheme = c_int;
25pub const WEBKIT_AUTHENTICATION_SCHEME_DEFAULT: WebKitAuthenticationScheme = 1;
26pub const WEBKIT_AUTHENTICATION_SCHEME_HTTP_BASIC: WebKitAuthenticationScheme = 2;
27pub const WEBKIT_AUTHENTICATION_SCHEME_HTTP_DIGEST: WebKitAuthenticationScheme = 3;
28pub const WEBKIT_AUTHENTICATION_SCHEME_HTML_FORM: WebKitAuthenticationScheme = 4;
29pub const WEBKIT_AUTHENTICATION_SCHEME_NTLM: WebKitAuthenticationScheme = 5;
30pub const WEBKIT_AUTHENTICATION_SCHEME_NEGOTIATE: WebKitAuthenticationScheme = 6;
31pub const WEBKIT_AUTHENTICATION_SCHEME_CLIENT_CERTIFICATE_REQUESTED: WebKitAuthenticationScheme = 7;
32pub const WEBKIT_AUTHENTICATION_SCHEME_SERVER_TRUST_EVALUATION_REQUESTED:
33 WebKitAuthenticationScheme = 8;
34pub const WEBKIT_AUTHENTICATION_SCHEME_CLIENT_CERTIFICATE_PIN_REQUESTED:
35 WebKitAuthenticationScheme = 9;
36pub const WEBKIT_AUTHENTICATION_SCHEME_UNKNOWN: WebKitAuthenticationScheme = 100;
37
38pub type WebKitAutomationBrowsingContextPresentation = c_int;
39pub const WEBKIT_AUTOMATION_BROWSING_CONTEXT_PRESENTATION_WINDOW:
40 WebKitAutomationBrowsingContextPresentation = 0;
41pub const WEBKIT_AUTOMATION_BROWSING_CONTEXT_PRESENTATION_TAB:
42 WebKitAutomationBrowsingContextPresentation = 1;
43
44pub type WebKitAutoplayPolicy = c_int;
45pub const WEBKIT_AUTOPLAY_ALLOW: WebKitAutoplayPolicy = 0;
46pub const WEBKIT_AUTOPLAY_ALLOW_WITHOUT_SOUND: WebKitAutoplayPolicy = 1;
47pub const WEBKIT_AUTOPLAY_DENY: WebKitAutoplayPolicy = 2;
48
49pub type WebKitCacheModel = c_int;
50pub const WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER: WebKitCacheModel = 0;
51pub const WEBKIT_CACHE_MODEL_WEB_BROWSER: WebKitCacheModel = 1;
52pub const WEBKIT_CACHE_MODEL_DOCUMENT_BROWSER: WebKitCacheModel = 2;
53
54pub type WebKitContextMenuAction = c_int;
55pub const WEBKIT_CONTEXT_MENU_ACTION_NO_ACTION: WebKitContextMenuAction = 0;
56pub const WEBKIT_CONTEXT_MENU_ACTION_OPEN_LINK: WebKitContextMenuAction = 1;
57pub const WEBKIT_CONTEXT_MENU_ACTION_OPEN_LINK_IN_NEW_WINDOW: WebKitContextMenuAction = 2;
58pub const WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_LINK_TO_DISK: WebKitContextMenuAction = 3;
59pub const WEBKIT_CONTEXT_MENU_ACTION_COPY_LINK_TO_CLIPBOARD: WebKitContextMenuAction = 4;
60pub const WEBKIT_CONTEXT_MENU_ACTION_OPEN_IMAGE_IN_NEW_WINDOW: WebKitContextMenuAction = 5;
61pub const WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_IMAGE_TO_DISK: WebKitContextMenuAction = 6;
62pub const WEBKIT_CONTEXT_MENU_ACTION_COPY_IMAGE_TO_CLIPBOARD: WebKitContextMenuAction = 7;
63pub const WEBKIT_CONTEXT_MENU_ACTION_COPY_IMAGE_URL_TO_CLIPBOARD: WebKitContextMenuAction = 8;
64pub const WEBKIT_CONTEXT_MENU_ACTION_OPEN_FRAME_IN_NEW_WINDOW: WebKitContextMenuAction = 9;
65pub const WEBKIT_CONTEXT_MENU_ACTION_GO_BACK: WebKitContextMenuAction = 10;
66pub const WEBKIT_CONTEXT_MENU_ACTION_GO_FORWARD: WebKitContextMenuAction = 11;
67pub const WEBKIT_CONTEXT_MENU_ACTION_STOP: WebKitContextMenuAction = 12;
68pub const WEBKIT_CONTEXT_MENU_ACTION_RELOAD: WebKitContextMenuAction = 13;
69pub const WEBKIT_CONTEXT_MENU_ACTION_COPY: WebKitContextMenuAction = 14;
70pub const WEBKIT_CONTEXT_MENU_ACTION_CUT: WebKitContextMenuAction = 15;
71pub const WEBKIT_CONTEXT_MENU_ACTION_PASTE: WebKitContextMenuAction = 16;
72pub const WEBKIT_CONTEXT_MENU_ACTION_DELETE: WebKitContextMenuAction = 17;
73pub const WEBKIT_CONTEXT_MENU_ACTION_SELECT_ALL: WebKitContextMenuAction = 18;
74pub const WEBKIT_CONTEXT_MENU_ACTION_INPUT_METHODS: WebKitContextMenuAction = 19;
75pub const WEBKIT_CONTEXT_MENU_ACTION_UNICODE: WebKitContextMenuAction = 20;
76pub const WEBKIT_CONTEXT_MENU_ACTION_SPELLING_GUESS: WebKitContextMenuAction = 21;
77pub const WEBKIT_CONTEXT_MENU_ACTION_NO_GUESSES_FOUND: WebKitContextMenuAction = 22;
78pub const WEBKIT_CONTEXT_MENU_ACTION_IGNORE_SPELLING: WebKitContextMenuAction = 23;
79pub const WEBKIT_CONTEXT_MENU_ACTION_LEARN_SPELLING: WebKitContextMenuAction = 24;
80pub const WEBKIT_CONTEXT_MENU_ACTION_IGNORE_GRAMMAR: WebKitContextMenuAction = 25;
81pub const WEBKIT_CONTEXT_MENU_ACTION_FONT_MENU: WebKitContextMenuAction = 26;
82pub const WEBKIT_CONTEXT_MENU_ACTION_BOLD: WebKitContextMenuAction = 27;
83pub const WEBKIT_CONTEXT_MENU_ACTION_ITALIC: WebKitContextMenuAction = 28;
84pub const WEBKIT_CONTEXT_MENU_ACTION_UNDERLINE: WebKitContextMenuAction = 29;
85pub const WEBKIT_CONTEXT_MENU_ACTION_OUTLINE: WebKitContextMenuAction = 30;
86pub const WEBKIT_CONTEXT_MENU_ACTION_INSPECT_ELEMENT: WebKitContextMenuAction = 31;
87pub const WEBKIT_CONTEXT_MENU_ACTION_OPEN_VIDEO_IN_NEW_WINDOW: WebKitContextMenuAction = 32;
88pub const WEBKIT_CONTEXT_MENU_ACTION_OPEN_AUDIO_IN_NEW_WINDOW: WebKitContextMenuAction = 33;
89pub const WEBKIT_CONTEXT_MENU_ACTION_COPY_VIDEO_LINK_TO_CLIPBOARD: WebKitContextMenuAction = 34;
90pub const WEBKIT_CONTEXT_MENU_ACTION_COPY_AUDIO_LINK_TO_CLIPBOARD: WebKitContextMenuAction = 35;
91pub const WEBKIT_CONTEXT_MENU_ACTION_TOGGLE_MEDIA_CONTROLS: WebKitContextMenuAction = 36;
92pub const WEBKIT_CONTEXT_MENU_ACTION_TOGGLE_MEDIA_LOOP: WebKitContextMenuAction = 37;
93pub const WEBKIT_CONTEXT_MENU_ACTION_ENTER_VIDEO_FULLSCREEN: WebKitContextMenuAction = 38;
94pub const WEBKIT_CONTEXT_MENU_ACTION_MEDIA_PLAY: WebKitContextMenuAction = 39;
95pub const WEBKIT_CONTEXT_MENU_ACTION_MEDIA_PAUSE: WebKitContextMenuAction = 40;
96pub const WEBKIT_CONTEXT_MENU_ACTION_MEDIA_MUTE: WebKitContextMenuAction = 41;
97pub const WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_VIDEO_TO_DISK: WebKitContextMenuAction = 42;
98pub const WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_AUDIO_TO_DISK: WebKitContextMenuAction = 43;
99pub const WEBKIT_CONTEXT_MENU_ACTION_INSERT_EMOJI: WebKitContextMenuAction = 44;
100pub const WEBKIT_CONTEXT_MENU_ACTION_PASTE_AS_PLAIN_TEXT: WebKitContextMenuAction = 45;
101pub const WEBKIT_CONTEXT_MENU_ACTION_CUSTOM: WebKitContextMenuAction = 10000;
102
103pub type WebKitCookieAcceptPolicy = c_int;
104pub const WEBKIT_COOKIE_POLICY_ACCEPT_ALWAYS: WebKitCookieAcceptPolicy = 0;
105pub const WEBKIT_COOKIE_POLICY_ACCEPT_NEVER: WebKitCookieAcceptPolicy = 1;
106pub const WEBKIT_COOKIE_POLICY_ACCEPT_NO_THIRD_PARTY: WebKitCookieAcceptPolicy = 2;
107
108pub type WebKitCookiePersistentStorage = c_int;
109pub const WEBKIT_COOKIE_PERSISTENT_STORAGE_TEXT: WebKitCookiePersistentStorage = 0;
110pub const WEBKIT_COOKIE_PERSISTENT_STORAGE_SQLITE: WebKitCookiePersistentStorage = 1;
111
112pub type WebKitCredentialPersistence = c_int;
113pub const WEBKIT_CREDENTIAL_PERSISTENCE_NONE: WebKitCredentialPersistence = 0;
114pub const WEBKIT_CREDENTIAL_PERSISTENCE_FOR_SESSION: WebKitCredentialPersistence = 1;
115pub const WEBKIT_CREDENTIAL_PERSISTENCE_PERMANENT: WebKitCredentialPersistence = 2;
116
117pub type WebKitDownloadError = c_int;
118pub const WEBKIT_DOWNLOAD_ERROR_NETWORK: WebKitDownloadError = 499;
119pub const WEBKIT_DOWNLOAD_ERROR_CANCELLED_BY_USER: WebKitDownloadError = 400;
120pub const WEBKIT_DOWNLOAD_ERROR_DESTINATION: WebKitDownloadError = 401;
121
122pub type WebKitFaviconDatabaseError = c_int;
123pub const WEBKIT_FAVICON_DATABASE_ERROR_NOT_INITIALIZED: WebKitFaviconDatabaseError = 0;
124pub const WEBKIT_FAVICON_DATABASE_ERROR_FAVICON_NOT_FOUND: WebKitFaviconDatabaseError = 1;
125pub const WEBKIT_FAVICON_DATABASE_ERROR_FAVICON_UNKNOWN: WebKitFaviconDatabaseError = 2;
126
127pub type WebKitHardwareAccelerationPolicy = c_int;
128pub const WEBKIT_HARDWARE_ACCELERATION_POLICY_ON_DEMAND: WebKitHardwareAccelerationPolicy = 0;
129pub const WEBKIT_HARDWARE_ACCELERATION_POLICY_ALWAYS: WebKitHardwareAccelerationPolicy = 1;
130pub const WEBKIT_HARDWARE_ACCELERATION_POLICY_NEVER: WebKitHardwareAccelerationPolicy = 2;
131
132pub type WebKitInputPurpose = c_int;
133pub const WEBKIT_INPUT_PURPOSE_FREE_FORM: WebKitInputPurpose = 0;
134pub const WEBKIT_INPUT_PURPOSE_DIGITS: WebKitInputPurpose = 1;
135pub const WEBKIT_INPUT_PURPOSE_NUMBER: WebKitInputPurpose = 2;
136pub const WEBKIT_INPUT_PURPOSE_PHONE: WebKitInputPurpose = 3;
137pub const WEBKIT_INPUT_PURPOSE_URL: WebKitInputPurpose = 4;
138pub const WEBKIT_INPUT_PURPOSE_EMAIL: WebKitInputPurpose = 5;
139pub const WEBKIT_INPUT_PURPOSE_PASSWORD: WebKitInputPurpose = 6;
140
141pub type WebKitInsecureContentEvent = c_int;
142pub const WEBKIT_INSECURE_CONTENT_RUN: WebKitInsecureContentEvent = 0;
143pub const WEBKIT_INSECURE_CONTENT_DISPLAYED: WebKitInsecureContentEvent = 1;
144
145pub type WebKitJavascriptError = c_int;
146pub const WEBKIT_JAVASCRIPT_ERROR_SCRIPT_FAILED: WebKitJavascriptError = 699;
147pub const WEBKIT_JAVASCRIPT_ERROR_INVALID_PARAMETER: WebKitJavascriptError = 600;
148pub const WEBKIT_JAVASCRIPT_ERROR_INVALID_RESULT: WebKitJavascriptError = 601;
149
150pub type WebKitLoadEvent = c_int;
151pub const WEBKIT_LOAD_STARTED: WebKitLoadEvent = 0;
152pub const WEBKIT_LOAD_REDIRECTED: WebKitLoadEvent = 1;
153pub const WEBKIT_LOAD_COMMITTED: WebKitLoadEvent = 2;
154pub const WEBKIT_LOAD_FINISHED: WebKitLoadEvent = 3;
155
156pub type WebKitMediaCaptureState = c_int;
157pub const WEBKIT_MEDIA_CAPTURE_STATE_NONE: WebKitMediaCaptureState = 0;
158pub const WEBKIT_MEDIA_CAPTURE_STATE_ACTIVE: WebKitMediaCaptureState = 1;
159pub const WEBKIT_MEDIA_CAPTURE_STATE_MUTED: WebKitMediaCaptureState = 2;
160
161pub type WebKitNavigationType = c_int;
162pub const WEBKIT_NAVIGATION_TYPE_LINK_CLICKED: WebKitNavigationType = 0;
163pub const WEBKIT_NAVIGATION_TYPE_FORM_SUBMITTED: WebKitNavigationType = 1;
164pub const WEBKIT_NAVIGATION_TYPE_BACK_FORWARD: WebKitNavigationType = 2;
165pub const WEBKIT_NAVIGATION_TYPE_RELOAD: WebKitNavigationType = 3;
166pub const WEBKIT_NAVIGATION_TYPE_FORM_RESUBMITTED: WebKitNavigationType = 4;
167pub const WEBKIT_NAVIGATION_TYPE_OTHER: WebKitNavigationType = 5;
168
169pub type WebKitNetworkError = c_int;
170pub const WEBKIT_NETWORK_ERROR_FAILED: WebKitNetworkError = 399;
171pub const WEBKIT_NETWORK_ERROR_TRANSPORT: WebKitNetworkError = 300;
172pub const WEBKIT_NETWORK_ERROR_UNKNOWN_PROTOCOL: WebKitNetworkError = 301;
173pub const WEBKIT_NETWORK_ERROR_CANCELLED: WebKitNetworkError = 302;
174pub const WEBKIT_NETWORK_ERROR_FILE_DOES_NOT_EXIST: WebKitNetworkError = 303;
175
176pub type WebKitNetworkProxyMode = c_int;
177pub const WEBKIT_NETWORK_PROXY_MODE_DEFAULT: WebKitNetworkProxyMode = 0;
178pub const WEBKIT_NETWORK_PROXY_MODE_NO_PROXY: WebKitNetworkProxyMode = 1;
179pub const WEBKIT_NETWORK_PROXY_MODE_CUSTOM: WebKitNetworkProxyMode = 2;
180
181pub type WebKitPermissionState = c_int;
182pub const WEBKIT_PERMISSION_STATE_GRANTED: WebKitPermissionState = 0;
183pub const WEBKIT_PERMISSION_STATE_DENIED: WebKitPermissionState = 1;
184pub const WEBKIT_PERMISSION_STATE_PROMPT: WebKitPermissionState = 2;
185
186pub type WebKitPluginError = c_int;
187pub const WEBKIT_PLUGIN_ERROR_FAILED: WebKitPluginError = 299;
188pub const WEBKIT_PLUGIN_ERROR_CANNOT_FIND_PLUGIN: WebKitPluginError = 200;
189pub const WEBKIT_PLUGIN_ERROR_CANNOT_LOAD_PLUGIN: WebKitPluginError = 201;
190pub const WEBKIT_PLUGIN_ERROR_JAVA_UNAVAILABLE: WebKitPluginError = 202;
191pub const WEBKIT_PLUGIN_ERROR_CONNECTION_CANCELLED: WebKitPluginError = 203;
192pub const WEBKIT_PLUGIN_ERROR_WILL_HANDLE_LOAD: WebKitPluginError = 204;
193
194pub type WebKitPolicyDecisionType = c_int;
195pub const WEBKIT_POLICY_DECISION_TYPE_NAVIGATION_ACTION: WebKitPolicyDecisionType = 0;
196pub const WEBKIT_POLICY_DECISION_TYPE_NEW_WINDOW_ACTION: WebKitPolicyDecisionType = 1;
197pub const WEBKIT_POLICY_DECISION_TYPE_RESPONSE: WebKitPolicyDecisionType = 2;
198
199pub type WebKitPolicyError = c_int;
200pub const WEBKIT_POLICY_ERROR_FAILED: WebKitPolicyError = 199;
201pub const WEBKIT_POLICY_ERROR_CANNOT_SHOW_MIME_TYPE: WebKitPolicyError = 100;
202pub const WEBKIT_POLICY_ERROR_CANNOT_SHOW_URI: WebKitPolicyError = 101;
203pub const WEBKIT_POLICY_ERROR_FRAME_LOAD_INTERRUPTED_BY_POLICY_CHANGE: WebKitPolicyError = 102;
204pub const WEBKIT_POLICY_ERROR_CANNOT_USE_RESTRICTED_PORT: WebKitPolicyError = 103;
205
206pub type WebKitPrintError = c_int;
207pub const WEBKIT_PRINT_ERROR_GENERAL: WebKitPrintError = 599;
208pub const WEBKIT_PRINT_ERROR_PRINTER_NOT_FOUND: WebKitPrintError = 500;
209pub const WEBKIT_PRINT_ERROR_INVALID_PAGE_RANGE: WebKitPrintError = 501;
210
211pub type WebKitPrintOperationResponse = c_int;
212pub const WEBKIT_PRINT_OPERATION_RESPONSE_PRINT: WebKitPrintOperationResponse = 0;
213pub const WEBKIT_PRINT_OPERATION_RESPONSE_CANCEL: WebKitPrintOperationResponse = 1;
214
215pub type WebKitProcessModel = c_int;
216pub const WEBKIT_PROCESS_MODEL_SHARED_SECONDARY_PROCESS: WebKitProcessModel = 0;
217pub const WEBKIT_PROCESS_MODEL_MULTIPLE_SECONDARY_PROCESSES: WebKitProcessModel = 1;
218
219pub type WebKitSaveMode = c_int;
220pub const WEBKIT_SAVE_MODE_MHTML: WebKitSaveMode = 0;
221
222pub type WebKitScriptDialogType = c_int;
223pub const WEBKIT_SCRIPT_DIALOG_ALERT: WebKitScriptDialogType = 0;
224pub const WEBKIT_SCRIPT_DIALOG_CONFIRM: WebKitScriptDialogType = 1;
225pub const WEBKIT_SCRIPT_DIALOG_PROMPT: WebKitScriptDialogType = 2;
226pub const WEBKIT_SCRIPT_DIALOG_BEFORE_UNLOAD_CONFIRM: WebKitScriptDialogType = 3;
227
228pub type WebKitSnapshotError = c_int;
229pub const WEBKIT_SNAPSHOT_ERROR_FAILED_TO_CREATE: WebKitSnapshotError = 799;
230
231pub type WebKitSnapshotRegion = c_int;
232pub const WEBKIT_SNAPSHOT_REGION_VISIBLE: WebKitSnapshotRegion = 0;
233pub const WEBKIT_SNAPSHOT_REGION_FULL_DOCUMENT: WebKitSnapshotRegion = 1;
234
235pub type WebKitTLSErrorsPolicy = c_int;
236pub const WEBKIT_TLS_ERRORS_POLICY_IGNORE: WebKitTLSErrorsPolicy = 0;
237pub const WEBKIT_TLS_ERRORS_POLICY_FAIL: WebKitTLSErrorsPolicy = 1;
238
239pub type WebKitUserContentFilterError = c_int;
240pub const WEBKIT_USER_CONTENT_FILTER_ERROR_INVALID_SOURCE: WebKitUserContentFilterError = 0;
241pub const WEBKIT_USER_CONTENT_FILTER_ERROR_NOT_FOUND: WebKitUserContentFilterError = 1;
242
243pub type WebKitUserContentInjectedFrames = c_int;
244pub const WEBKIT_USER_CONTENT_INJECT_ALL_FRAMES: WebKitUserContentInjectedFrames = 0;
245pub const WEBKIT_USER_CONTENT_INJECT_TOP_FRAME: WebKitUserContentInjectedFrames = 1;
246
247pub type WebKitUserMessageError = c_int;
248pub const WEBKIT_USER_MESSAGE_UNHANDLED_MESSAGE: WebKitUserMessageError = 0;
249
250pub type WebKitUserScriptInjectionTime = c_int;
251pub const WEBKIT_USER_SCRIPT_INJECT_AT_DOCUMENT_START: WebKitUserScriptInjectionTime = 0;
252pub const WEBKIT_USER_SCRIPT_INJECT_AT_DOCUMENT_END: WebKitUserScriptInjectionTime = 1;
253
254pub type WebKitUserStyleLevel = c_int;
255pub const WEBKIT_USER_STYLE_LEVEL_USER: WebKitUserStyleLevel = 0;
256pub const WEBKIT_USER_STYLE_LEVEL_AUTHOR: WebKitUserStyleLevel = 1;
257
258pub type WebKitWebExtensionMode = c_int;
259pub const WEBKIT_WEB_EXTENSION_MODE_NONE: WebKitWebExtensionMode = 0;
260pub const WEBKIT_WEB_EXTENSION_MODE_MANIFESTV2: WebKitWebExtensionMode = 1;
261pub const WEBKIT_WEB_EXTENSION_MODE_MANIFESTV3: WebKitWebExtensionMode = 2;
262
263pub type WebKitWebProcessTerminationReason = c_int;
264pub const WEBKIT_WEB_PROCESS_CRASHED: WebKitWebProcessTerminationReason = 0;
265pub const WEBKIT_WEB_PROCESS_EXCEEDED_MEMORY_LIMIT: WebKitWebProcessTerminationReason = 1;
266pub const WEBKIT_WEB_PROCESS_TERMINATED_BY_API: WebKitWebProcessTerminationReason = 2;
267
268pub const WEBKIT_EDITING_COMMAND_COPY: &[u8] = b"Copy\0";
270pub const WEBKIT_EDITING_COMMAND_CREATE_LINK: &[u8] = b"CreateLink\0";
271pub const WEBKIT_EDITING_COMMAND_CUT: &[u8] = b"Cut\0";
272pub const WEBKIT_EDITING_COMMAND_INSERT_IMAGE: &[u8] = b"InsertImage\0";
273pub const WEBKIT_EDITING_COMMAND_PASTE: &[u8] = b"Paste\0";
274pub const WEBKIT_EDITING_COMMAND_PASTE_AS_PLAIN_TEXT: &[u8] = b"PasteAsPlainText\0";
275pub const WEBKIT_EDITING_COMMAND_REDO: &[u8] = b"Redo\0";
276pub const WEBKIT_EDITING_COMMAND_SELECT_ALL: &[u8] = b"SelectAll\0";
277pub const WEBKIT_EDITING_COMMAND_UNDO: &[u8] = b"Undo\0";
278pub const WEBKIT_MAJOR_VERSION: c_int = 2;
279pub const WEBKIT_MICRO_VERSION: c_int = 2;
280pub const WEBKIT_MINOR_VERSION: c_int = 40;
281
282pub type WebKitEditorTypingAttributes = c_uint;
284pub const WEBKIT_EDITOR_TYPING_ATTRIBUTE_NONE: WebKitEditorTypingAttributes = 2;
285pub const WEBKIT_EDITOR_TYPING_ATTRIBUTE_BOLD: WebKitEditorTypingAttributes = 4;
286pub const WEBKIT_EDITOR_TYPING_ATTRIBUTE_ITALIC: WebKitEditorTypingAttributes = 8;
287pub const WEBKIT_EDITOR_TYPING_ATTRIBUTE_UNDERLINE: WebKitEditorTypingAttributes = 16;
288pub const WEBKIT_EDITOR_TYPING_ATTRIBUTE_STRIKETHROUGH: WebKitEditorTypingAttributes = 32;
289
290pub type WebKitFindOptions = c_uint;
291pub const WEBKIT_FIND_OPTIONS_NONE: WebKitFindOptions = 0;
292pub const WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE: WebKitFindOptions = 1;
293pub const WEBKIT_FIND_OPTIONS_AT_WORD_STARTS: WebKitFindOptions = 2;
294pub const WEBKIT_FIND_OPTIONS_TREAT_MEDIAL_CAPITAL_AS_WORD_START: WebKitFindOptions = 4;
295pub const WEBKIT_FIND_OPTIONS_BACKWARDS: WebKitFindOptions = 8;
296pub const WEBKIT_FIND_OPTIONS_WRAP_AROUND: WebKitFindOptions = 16;
297
298pub type WebKitHitTestResultContext = c_uint;
299pub const WEBKIT_HIT_TEST_RESULT_CONTEXT_DOCUMENT: WebKitHitTestResultContext = 2;
300pub const WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK: WebKitHitTestResultContext = 4;
301pub const WEBKIT_HIT_TEST_RESULT_CONTEXT_IMAGE: WebKitHitTestResultContext = 8;
302pub const WEBKIT_HIT_TEST_RESULT_CONTEXT_MEDIA: WebKitHitTestResultContext = 16;
303pub const WEBKIT_HIT_TEST_RESULT_CONTEXT_EDITABLE: WebKitHitTestResultContext = 32;
304pub const WEBKIT_HIT_TEST_RESULT_CONTEXT_SCROLLBAR: WebKitHitTestResultContext = 64;
305pub const WEBKIT_HIT_TEST_RESULT_CONTEXT_SELECTION: WebKitHitTestResultContext = 128;
306
307pub type WebKitInputHints = c_uint;
308pub const WEBKIT_INPUT_HINT_NONE: WebKitInputHints = 0;
309pub const WEBKIT_INPUT_HINT_SPELLCHECK: WebKitInputHints = 1;
310pub const WEBKIT_INPUT_HINT_LOWERCASE: WebKitInputHints = 2;
311pub const WEBKIT_INPUT_HINT_UPPERCASE_CHARS: WebKitInputHints = 4;
312pub const WEBKIT_INPUT_HINT_UPPERCASE_WORDS: WebKitInputHints = 8;
313pub const WEBKIT_INPUT_HINT_UPPERCASE_SENTENCES: WebKitInputHints = 16;
314pub const WEBKIT_INPUT_HINT_INHIBIT_OSK: WebKitInputHints = 32;
315
316pub type WebKitSnapshotOptions = c_uint;
317pub const WEBKIT_SNAPSHOT_OPTIONS_NONE: WebKitSnapshotOptions = 0;
318pub const WEBKIT_SNAPSHOT_OPTIONS_INCLUDE_SELECTION_HIGHLIGHTING: WebKitSnapshotOptions = 1;
319pub const WEBKIT_SNAPSHOT_OPTIONS_TRANSPARENT_BACKGROUND: WebKitSnapshotOptions = 2;
320
321pub type WebKitWebsiteDataTypes = c_uint;
322pub const WEBKIT_WEBSITE_DATA_MEMORY_CACHE: WebKitWebsiteDataTypes = 1;
323pub const WEBKIT_WEBSITE_DATA_DISK_CACHE: WebKitWebsiteDataTypes = 2;
324pub const WEBKIT_WEBSITE_DATA_OFFLINE_APPLICATION_CACHE: WebKitWebsiteDataTypes = 4;
325pub const WEBKIT_WEBSITE_DATA_SESSION_STORAGE: WebKitWebsiteDataTypes = 8;
326pub const WEBKIT_WEBSITE_DATA_LOCAL_STORAGE: WebKitWebsiteDataTypes = 16;
327pub const WEBKIT_WEBSITE_DATA_WEBSQL_DATABASES: WebKitWebsiteDataTypes = 32;
328pub const WEBKIT_WEBSITE_DATA_INDEXEDDB_DATABASES: WebKitWebsiteDataTypes = 64;
329pub const WEBKIT_WEBSITE_DATA_PLUGIN_DATA: WebKitWebsiteDataTypes = 128;
330pub const WEBKIT_WEBSITE_DATA_COOKIES: WebKitWebsiteDataTypes = 256;
331pub const WEBKIT_WEBSITE_DATA_DEVICE_ID_HASH_SALT: WebKitWebsiteDataTypes = 512;
332pub const WEBKIT_WEBSITE_DATA_HSTS_CACHE: WebKitWebsiteDataTypes = 1024;
333pub const WEBKIT_WEBSITE_DATA_ITP: WebKitWebsiteDataTypes = 2048;
334pub const WEBKIT_WEBSITE_DATA_SERVICE_WORKER_REGISTRATIONS: WebKitWebsiteDataTypes = 4096;
335pub const WEBKIT_WEBSITE_DATA_DOM_CACHE: WebKitWebsiteDataTypes = 8192;
336pub const WEBKIT_WEBSITE_DATA_ALL: WebKitWebsiteDataTypes = 16383;
337
338pub type WebKitURISchemeRequestCallback =
340 Option<unsafe extern "C" fn(*mut WebKitURISchemeRequest, gpointer)>;
341
342#[repr(C)]
344pub struct WebKitApplicationInfo {
345 _data: [u8; 0],
346 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
347}
348
349impl ::std::fmt::Debug for WebKitApplicationInfo {
350 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
351 f.debug_struct(&format!("WebKitApplicationInfo @ {self:p}"))
352 .finish()
353 }
354}
355
356#[derive(Copy, Clone)]
357#[repr(C)]
358pub struct WebKitAuthenticationRequestClass {
359 pub parent_class: gobject::GObjectClass,
360 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
361 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
362 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
363 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
364}
365
366impl ::std::fmt::Debug for WebKitAuthenticationRequestClass {
367 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
368 f.debug_struct(&format!("WebKitAuthenticationRequestClass @ {self:p}"))
369 .field("parent_class", &self.parent_class)
370 .field("_webkit_reserved0", &self._webkit_reserved0)
371 .field("_webkit_reserved1", &self._webkit_reserved1)
372 .field("_webkit_reserved2", &self._webkit_reserved2)
373 .field("_webkit_reserved3", &self._webkit_reserved3)
374 .finish()
375 }
376}
377
378#[repr(C)]
379pub struct _WebKitAuthenticationRequestPrivate {
380 _data: [u8; 0],
381 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
382}
383
384pub type WebKitAuthenticationRequestPrivate = *mut _WebKitAuthenticationRequestPrivate;
385
386#[derive(Copy, Clone)]
387#[repr(C)]
388pub struct WebKitAutomationSessionClass {
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 WebKitAutomationSessionClass {
397 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
398 f.debug_struct(&format!("WebKitAutomationSessionClass @ {self:p}"))
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)]
409pub struct _WebKitAutomationSessionPrivate {
410 _data: [u8; 0],
411 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
412}
413
414pub type WebKitAutomationSessionPrivate = *mut _WebKitAutomationSessionPrivate;
415
416#[derive(Copy, Clone)]
417#[repr(C)]
418pub struct WebKitBackForwardListClass {
419 pub parent_class: gobject::GObjectClass,
420 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
421 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
422 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
423 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
424}
425
426impl ::std::fmt::Debug for WebKitBackForwardListClass {
427 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
428 f.debug_struct(&format!("WebKitBackForwardListClass @ {self:p}"))
429 .field("parent_class", &self.parent_class)
430 .field("_webkit_reserved0", &self._webkit_reserved0)
431 .field("_webkit_reserved1", &self._webkit_reserved1)
432 .field("_webkit_reserved2", &self._webkit_reserved2)
433 .field("_webkit_reserved3", &self._webkit_reserved3)
434 .finish()
435 }
436}
437
438#[derive(Copy, Clone)]
439#[repr(C)]
440pub struct WebKitBackForwardListItemClass {
441 pub parent_class: gobject::GInitiallyUnownedClass,
442 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
443 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
444 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
445 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
446}
447
448impl ::std::fmt::Debug for WebKitBackForwardListItemClass {
449 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
450 f.debug_struct(&format!("WebKitBackForwardListItemClass @ {self:p}"))
451 .field("parent_class", &self.parent_class)
452 .field("_webkit_reserved0", &self._webkit_reserved0)
453 .field("_webkit_reserved1", &self._webkit_reserved1)
454 .field("_webkit_reserved2", &self._webkit_reserved2)
455 .field("_webkit_reserved3", &self._webkit_reserved3)
456 .finish()
457 }
458}
459
460#[repr(C)]
461pub struct _WebKitBackForwardListItemPrivate {
462 _data: [u8; 0],
463 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
464}
465
466pub type WebKitBackForwardListItemPrivate = *mut _WebKitBackForwardListItemPrivate;
467
468#[repr(C)]
469pub struct _WebKitBackForwardListPrivate {
470 _data: [u8; 0],
471 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
472}
473
474pub type WebKitBackForwardListPrivate = *mut _WebKitBackForwardListPrivate;
475
476#[derive(Copy, Clone)]
477#[repr(C)]
478pub struct WebKitColorChooserRequestClass {
479 pub parent_class: gobject::GObjectClass,
480}
481
482impl ::std::fmt::Debug for WebKitColorChooserRequestClass {
483 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
484 f.debug_struct(&format!("WebKitColorChooserRequestClass @ {self:p}"))
485 .field("parent_class", &self.parent_class)
486 .finish()
487 }
488}
489
490#[repr(C)]
491pub struct _WebKitColorChooserRequestPrivate {
492 _data: [u8; 0],
493 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
494}
495
496pub type WebKitColorChooserRequestPrivate = *mut _WebKitColorChooserRequestPrivate;
497
498#[derive(Copy, Clone)]
499#[repr(C)]
500pub struct WebKitContextMenuClass {
501 pub parent_class: gobject::GObjectClass,
502 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
503 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
504 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
505 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
506}
507
508impl ::std::fmt::Debug for WebKitContextMenuClass {
509 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
510 f.debug_struct(&format!("WebKitContextMenuClass @ {self:p}"))
511 .field("parent_class", &self.parent_class)
512 .field("_webkit_reserved0", &self._webkit_reserved0)
513 .field("_webkit_reserved1", &self._webkit_reserved1)
514 .field("_webkit_reserved2", &self._webkit_reserved2)
515 .field("_webkit_reserved3", &self._webkit_reserved3)
516 .finish()
517 }
518}
519
520#[derive(Copy, Clone)]
521#[repr(C)]
522pub struct WebKitContextMenuItemClass {
523 pub parent_class: gobject::GInitiallyUnownedClass,
524 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
525 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
526 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
527 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
528}
529
530impl ::std::fmt::Debug for WebKitContextMenuItemClass {
531 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
532 f.debug_struct(&format!("WebKitContextMenuItemClass @ {self:p}"))
533 .field("parent_class", &self.parent_class)
534 .field("_webkit_reserved0", &self._webkit_reserved0)
535 .field("_webkit_reserved1", &self._webkit_reserved1)
536 .field("_webkit_reserved2", &self._webkit_reserved2)
537 .field("_webkit_reserved3", &self._webkit_reserved3)
538 .finish()
539 }
540}
541
542#[repr(C)]
543pub struct _WebKitContextMenuItemPrivate {
544 _data: [u8; 0],
545 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
546}
547
548pub type WebKitContextMenuItemPrivate = *mut _WebKitContextMenuItemPrivate;
549
550#[repr(C)]
551pub struct _WebKitContextMenuPrivate {
552 _data: [u8; 0],
553 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
554}
555
556pub type WebKitContextMenuPrivate = *mut _WebKitContextMenuPrivate;
557
558#[derive(Copy, Clone)]
559#[repr(C)]
560pub struct WebKitCookieManagerClass {
561 pub parent_class: gobject::GObjectClass,
562 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
563 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
564 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
565 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
566}
567
568impl ::std::fmt::Debug for WebKitCookieManagerClass {
569 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
570 f.debug_struct(&format!("WebKitCookieManagerClass @ {self:p}"))
571 .field("parent_class", &self.parent_class)
572 .field("_webkit_reserved0", &self._webkit_reserved0)
573 .field("_webkit_reserved1", &self._webkit_reserved1)
574 .field("_webkit_reserved2", &self._webkit_reserved2)
575 .field("_webkit_reserved3", &self._webkit_reserved3)
576 .finish()
577 }
578}
579
580#[repr(C)]
581pub struct _WebKitCookieManagerPrivate {
582 _data: [u8; 0],
583 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
584}
585
586pub type WebKitCookieManagerPrivate = *mut _WebKitCookieManagerPrivate;
587
588#[repr(C)]
589pub struct WebKitCredential {
590 _data: [u8; 0],
591 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
592}
593
594impl ::std::fmt::Debug for WebKitCredential {
595 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
596 f.debug_struct(&format!("WebKitCredential @ {self:p}"))
597 .finish()
598 }
599}
600
601#[derive(Copy, Clone)]
602#[repr(C)]
603pub struct WebKitDeviceInfoPermissionRequestClass {
604 pub parent_class: gobject::GObjectClass,
605 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
606 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
607 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
608 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
609}
610
611impl ::std::fmt::Debug for WebKitDeviceInfoPermissionRequestClass {
612 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
613 f.debug_struct(&format!(
614 "WebKitDeviceInfoPermissionRequestClass @ {self:p}"
615 ))
616 .field("parent_class", &self.parent_class)
617 .field("_webkit_reserved0", &self._webkit_reserved0)
618 .field("_webkit_reserved1", &self._webkit_reserved1)
619 .field("_webkit_reserved2", &self._webkit_reserved2)
620 .field("_webkit_reserved3", &self._webkit_reserved3)
621 .finish()
622 }
623}
624
625#[repr(C)]
626pub struct _WebKitDeviceInfoPermissionRequestPrivate {
627 _data: [u8; 0],
628 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
629}
630
631pub type WebKitDeviceInfoPermissionRequestPrivate = *mut _WebKitDeviceInfoPermissionRequestPrivate;
632
633#[derive(Copy, Clone)]
634#[repr(C)]
635pub struct WebKitDownloadClass {
636 pub parent_class: gobject::GObjectClass,
637 pub decide_destination:
638 Option<unsafe extern "C" fn(*mut WebKitDownload, *const c_char) -> gboolean>,
639 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
640 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
641 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
642 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
643}
644
645impl ::std::fmt::Debug for WebKitDownloadClass {
646 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
647 f.debug_struct(&format!("WebKitDownloadClass @ {self:p}"))
648 .field("parent_class", &self.parent_class)
649 .field("decide_destination", &self.decide_destination)
650 .field("_webkit_reserved0", &self._webkit_reserved0)
651 .field("_webkit_reserved1", &self._webkit_reserved1)
652 .field("_webkit_reserved2", &self._webkit_reserved2)
653 .field("_webkit_reserved3", &self._webkit_reserved3)
654 .finish()
655 }
656}
657
658#[repr(C)]
659pub struct _WebKitDownloadPrivate {
660 _data: [u8; 0],
661 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
662}
663
664pub type WebKitDownloadPrivate = *mut _WebKitDownloadPrivate;
665
666#[derive(Copy, Clone)]
667#[repr(C)]
668pub struct WebKitEditorStateClass {
669 pub parent_class: gobject::GObjectClass,
670 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
671 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
672 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
673 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
674}
675
676impl ::std::fmt::Debug for WebKitEditorStateClass {
677 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
678 f.debug_struct(&format!("WebKitEditorStateClass @ {self:p}"))
679 .field("parent_class", &self.parent_class)
680 .field("_webkit_reserved0", &self._webkit_reserved0)
681 .field("_webkit_reserved1", &self._webkit_reserved1)
682 .field("_webkit_reserved2", &self._webkit_reserved2)
683 .field("_webkit_reserved3", &self._webkit_reserved3)
684 .finish()
685 }
686}
687
688#[repr(C)]
689pub struct _WebKitEditorStatePrivate {
690 _data: [u8; 0],
691 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
692}
693
694pub type WebKitEditorStatePrivate = *mut _WebKitEditorStatePrivate;
695
696#[derive(Copy, Clone)]
697#[repr(C)]
698pub struct WebKitFaviconDatabaseClass {
699 pub parent_class: gobject::GObjectClass,
700 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
701 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
702 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
703 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
704}
705
706impl ::std::fmt::Debug for WebKitFaviconDatabaseClass {
707 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
708 f.debug_struct(&format!("WebKitFaviconDatabaseClass @ {self:p}"))
709 .field("parent_class", &self.parent_class)
710 .field("_webkit_reserved0", &self._webkit_reserved0)
711 .field("_webkit_reserved1", &self._webkit_reserved1)
712 .field("_webkit_reserved2", &self._webkit_reserved2)
713 .field("_webkit_reserved3", &self._webkit_reserved3)
714 .finish()
715 }
716}
717
718#[repr(C)]
719pub struct _WebKitFaviconDatabasePrivate {
720 _data: [u8; 0],
721 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
722}
723
724pub type WebKitFaviconDatabasePrivate = *mut _WebKitFaviconDatabasePrivate;
725
726#[derive(Copy, Clone)]
727#[repr(C)]
728pub struct WebKitFileChooserRequestClass {
729 pub parent_class: gobject::GObjectClass,
730 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
731 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
732 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
733 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
734}
735
736impl ::std::fmt::Debug for WebKitFileChooserRequestClass {
737 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
738 f.debug_struct(&format!("WebKitFileChooserRequestClass @ {self:p}"))
739 .field("parent_class", &self.parent_class)
740 .field("_webkit_reserved0", &self._webkit_reserved0)
741 .field("_webkit_reserved1", &self._webkit_reserved1)
742 .field("_webkit_reserved2", &self._webkit_reserved2)
743 .field("_webkit_reserved3", &self._webkit_reserved3)
744 .finish()
745 }
746}
747
748#[repr(C)]
749pub struct _WebKitFileChooserRequestPrivate {
750 _data: [u8; 0],
751 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
752}
753
754pub type WebKitFileChooserRequestPrivate = *mut _WebKitFileChooserRequestPrivate;
755
756#[derive(Copy, Clone)]
757#[repr(C)]
758pub struct WebKitFindControllerClass {
759 pub parent_class: gobject::GObjectClass,
760 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
761 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
762 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
763 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
764}
765
766impl ::std::fmt::Debug for WebKitFindControllerClass {
767 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
768 f.debug_struct(&format!("WebKitFindControllerClass @ {self:p}"))
769 .field("parent_class", &self.parent_class)
770 .field("_webkit_reserved0", &self._webkit_reserved0)
771 .field("_webkit_reserved1", &self._webkit_reserved1)
772 .field("_webkit_reserved2", &self._webkit_reserved2)
773 .field("_webkit_reserved3", &self._webkit_reserved3)
774 .finish()
775 }
776}
777
778#[repr(C)]
779pub struct _WebKitFindControllerPrivate {
780 _data: [u8; 0],
781 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
782}
783
784pub type WebKitFindControllerPrivate = *mut _WebKitFindControllerPrivate;
785
786#[derive(Copy, Clone)]
787#[repr(C)]
788pub struct WebKitFormSubmissionRequestClass {
789 pub parent_class: gobject::GObjectClass,
790 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
791 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
792 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
793 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
794}
795
796impl ::std::fmt::Debug for WebKitFormSubmissionRequestClass {
797 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
798 f.debug_struct(&format!("WebKitFormSubmissionRequestClass @ {self:p}"))
799 .field("parent_class", &self.parent_class)
800 .field("_webkit_reserved0", &self._webkit_reserved0)
801 .field("_webkit_reserved1", &self._webkit_reserved1)
802 .field("_webkit_reserved2", &self._webkit_reserved2)
803 .field("_webkit_reserved3", &self._webkit_reserved3)
804 .finish()
805 }
806}
807
808#[repr(C)]
809pub struct _WebKitFormSubmissionRequestPrivate {
810 _data: [u8; 0],
811 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
812}
813
814pub type WebKitFormSubmissionRequestPrivate = *mut _WebKitFormSubmissionRequestPrivate;
815
816#[derive(Copy, Clone)]
817#[repr(C)]
818pub struct WebKitGeolocationManagerClass {
819 pub parent_class: gobject::GObjectClass,
820 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
821 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
822 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
823 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
824}
825
826impl ::std::fmt::Debug for WebKitGeolocationManagerClass {
827 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
828 f.debug_struct(&format!("WebKitGeolocationManagerClass @ {self:p}"))
829 .field("parent_class", &self.parent_class)
830 .field("_webkit_reserved0", &self._webkit_reserved0)
831 .field("_webkit_reserved1", &self._webkit_reserved1)
832 .field("_webkit_reserved2", &self._webkit_reserved2)
833 .field("_webkit_reserved3", &self._webkit_reserved3)
834 .finish()
835 }
836}
837
838#[repr(C)]
839pub struct _WebKitGeolocationManagerPrivate {
840 _data: [u8; 0],
841 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
842}
843
844pub type WebKitGeolocationManagerPrivate = *mut _WebKitGeolocationManagerPrivate;
845
846#[derive(Copy, Clone)]
847#[repr(C)]
848pub struct WebKitGeolocationPermissionRequestClass {
849 pub parent_class: gobject::GObjectClass,
850 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
851 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
852 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
853 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
854}
855
856impl ::std::fmt::Debug for WebKitGeolocationPermissionRequestClass {
857 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
858 f.debug_struct(&format!(
859 "WebKitGeolocationPermissionRequestClass @ {self:p}"
860 ))
861 .field("parent_class", &self.parent_class)
862 .field("_webkit_reserved0", &self._webkit_reserved0)
863 .field("_webkit_reserved1", &self._webkit_reserved1)
864 .field("_webkit_reserved2", &self._webkit_reserved2)
865 .field("_webkit_reserved3", &self._webkit_reserved3)
866 .finish()
867 }
868}
869
870#[repr(C)]
871pub struct _WebKitGeolocationPermissionRequestPrivate {
872 _data: [u8; 0],
873 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
874}
875
876pub type WebKitGeolocationPermissionRequestPrivate =
877 *mut _WebKitGeolocationPermissionRequestPrivate;
878
879#[repr(C)]
880pub struct WebKitGeolocationPosition {
881 _data: [u8; 0],
882 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
883}
884
885impl ::std::fmt::Debug for WebKitGeolocationPosition {
886 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
887 f.debug_struct(&format!("WebKitGeolocationPosition @ {self:p}"))
888 .finish()
889 }
890}
891
892#[derive(Copy, Clone)]
893#[repr(C)]
894pub struct WebKitHitTestResultClass {
895 pub parent_class: gobject::GObjectClass,
896 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
897 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
898 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
899 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
900}
901
902impl ::std::fmt::Debug for WebKitHitTestResultClass {
903 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
904 f.debug_struct(&format!("WebKitHitTestResultClass @ {self:p}"))
905 .field("parent_class", &self.parent_class)
906 .field("_webkit_reserved0", &self._webkit_reserved0)
907 .field("_webkit_reserved1", &self._webkit_reserved1)
908 .field("_webkit_reserved2", &self._webkit_reserved2)
909 .field("_webkit_reserved3", &self._webkit_reserved3)
910 .finish()
911 }
912}
913
914#[repr(C)]
915pub struct _WebKitHitTestResultPrivate {
916 _data: [u8; 0],
917 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
918}
919
920pub type WebKitHitTestResultPrivate = *mut _WebKitHitTestResultPrivate;
921
922#[repr(C)]
923pub struct WebKitITPFirstParty {
924 _data: [u8; 0],
925 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
926}
927
928impl ::std::fmt::Debug for WebKitITPFirstParty {
929 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
930 f.debug_struct(&format!("WebKitITPFirstParty @ {self:p}"))
931 .finish()
932 }
933}
934
935#[repr(C)]
936pub struct WebKitITPThirdParty {
937 _data: [u8; 0],
938 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
939}
940
941impl ::std::fmt::Debug for WebKitITPThirdParty {
942 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
943 f.debug_struct(&format!("WebKitITPThirdParty @ {self:p}"))
944 .finish()
945 }
946}
947
948#[derive(Copy, Clone)]
949#[repr(C)]
950pub struct WebKitInputMethodContextClass {
951 pub parent_class: gobject::GObjectClass,
952 pub preedit_started: Option<unsafe extern "C" fn(*mut WebKitInputMethodContext)>,
953 pub preedit_changed: Option<unsafe extern "C" fn(*mut WebKitInputMethodContext)>,
954 pub preedit_finished: Option<unsafe extern "C" fn(*mut WebKitInputMethodContext)>,
955 pub committed: Option<unsafe extern "C" fn(*mut WebKitInputMethodContext, *const c_char)>,
956 pub delete_surrounding:
957 Option<unsafe extern "C" fn(*mut WebKitInputMethodContext, c_int, c_uint)>,
958 pub set_enable_preedit: Option<unsafe extern "C" fn(*mut WebKitInputMethodContext, gboolean)>,
959 pub get_preedit: Option<
960 unsafe extern "C" fn(
961 *mut WebKitInputMethodContext,
962 *mut *mut c_char,
963 *mut *mut glib::GList,
964 *mut c_uint,
965 ),
966 >,
967 pub filter_key_event:
968 Option<unsafe extern "C" fn(*mut WebKitInputMethodContext, *mut gdk::GdkEventKey) -> gboolean>,
969 pub notify_focus_in: Option<unsafe extern "C" fn(*mut WebKitInputMethodContext)>,
970 pub notify_focus_out: Option<unsafe extern "C" fn(*mut WebKitInputMethodContext)>,
971 pub notify_cursor_area:
972 Option<unsafe extern "C" fn(*mut WebKitInputMethodContext, c_int, c_int, c_int, c_int)>,
973 pub notify_surrounding: Option<
974 unsafe extern "C" fn(*mut WebKitInputMethodContext, *const c_char, c_uint, c_uint, c_uint),
975 >,
976 pub reset: Option<unsafe extern "C" fn(*mut WebKitInputMethodContext)>,
977 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
978 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
979 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
980 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
981 pub _webkit_reserved4: Option<unsafe extern "C" fn()>,
982 pub _webkit_reserved5: Option<unsafe extern "C" fn()>,
983 pub _webkit_reserved6: Option<unsafe extern "C" fn()>,
984 pub _webkit_reserved7: Option<unsafe extern "C" fn()>,
985}
986
987impl ::std::fmt::Debug for WebKitInputMethodContextClass {
988 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
989 f.debug_struct(&format!("WebKitInputMethodContextClass @ {self:p}"))
990 .field("parent_class", &self.parent_class)
991 .field("preedit_started", &self.preedit_started)
992 .field("preedit_changed", &self.preedit_changed)
993 .field("preedit_finished", &self.preedit_finished)
994 .field("committed", &self.committed)
995 .field("delete_surrounding", &self.delete_surrounding)
996 .field("set_enable_preedit", &self.set_enable_preedit)
997 .field("get_preedit", &self.get_preedit)
998 .field("filter_key_event", &self.filter_key_event)
999 .field("notify_focus_in", &self.notify_focus_in)
1000 .field("notify_focus_out", &self.notify_focus_out)
1001 .field("notify_cursor_area", &self.notify_cursor_area)
1002 .field("notify_surrounding", &self.notify_surrounding)
1003 .field("reset", &self.reset)
1004 .field("_webkit_reserved0", &self._webkit_reserved0)
1005 .field("_webkit_reserved1", &self._webkit_reserved1)
1006 .field("_webkit_reserved2", &self._webkit_reserved2)
1007 .field("_webkit_reserved3", &self._webkit_reserved3)
1008 .field("_webkit_reserved4", &self._webkit_reserved4)
1009 .field("_webkit_reserved5", &self._webkit_reserved5)
1010 .field("_webkit_reserved6", &self._webkit_reserved6)
1011 .field("_webkit_reserved7", &self._webkit_reserved7)
1012 .finish()
1013 }
1014}
1015
1016#[repr(C)]
1017pub struct _WebKitInputMethodContextPrivate {
1018 _data: [u8; 0],
1019 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1020}
1021
1022pub type WebKitInputMethodContextPrivate = *mut _WebKitInputMethodContextPrivate;
1023
1024#[repr(C)]
1025pub struct WebKitInputMethodUnderline {
1026 _data: [u8; 0],
1027 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1028}
1029
1030impl ::std::fmt::Debug for WebKitInputMethodUnderline {
1031 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1032 f.debug_struct(&format!("WebKitInputMethodUnderline @ {self:p}"))
1033 .finish()
1034 }
1035}
1036
1037#[derive(Copy, Clone)]
1038#[repr(C)]
1039pub struct WebKitInstallMissingMediaPluginsPermissionRequestClass {
1040 pub parent_class: gobject::GObjectClass,
1041 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1042 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1043 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1044 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
1045}
1046
1047impl ::std::fmt::Debug for WebKitInstallMissingMediaPluginsPermissionRequestClass {
1048 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1049 f.debug_struct(&format!(
1050 "WebKitInstallMissingMediaPluginsPermissionRequestClass @ {self:p}"
1051 ))
1052 .field("parent_class", &self.parent_class)
1053 .field("_webkit_reserved0", &self._webkit_reserved0)
1054 .field("_webkit_reserved1", &self._webkit_reserved1)
1055 .field("_webkit_reserved2", &self._webkit_reserved2)
1056 .field("_webkit_reserved3", &self._webkit_reserved3)
1057 .finish()
1058 }
1059}
1060
1061#[repr(C)]
1062pub struct _WebKitInstallMissingMediaPluginsPermissionRequestPrivate {
1063 _data: [u8; 0],
1064 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1065}
1066
1067pub type WebKitInstallMissingMediaPluginsPermissionRequestPrivate =
1068 *mut _WebKitInstallMissingMediaPluginsPermissionRequestPrivate;
1069
1070#[repr(C)]
1071pub struct WebKitJavascriptResult {
1072 _data: [u8; 0],
1073 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1074}
1075
1076impl ::std::fmt::Debug for WebKitJavascriptResult {
1077 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1078 f.debug_struct(&format!("WebKitJavascriptResult @ {self:p}"))
1079 .finish()
1080 }
1081}
1082
1083#[derive(Copy, Clone)]
1084#[repr(C)]
1085pub struct WebKitMediaKeySystemPermissionRequestClass {
1086 pub parent_class: gobject::GObjectClass,
1087 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1088 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1089 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1090 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
1091}
1092
1093impl ::std::fmt::Debug for WebKitMediaKeySystemPermissionRequestClass {
1094 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1095 f.debug_struct(&format!(
1096 "WebKitMediaKeySystemPermissionRequestClass @ {self:p}"
1097 ))
1098 .field("parent_class", &self.parent_class)
1099 .field("_webkit_reserved0", &self._webkit_reserved0)
1100 .field("_webkit_reserved1", &self._webkit_reserved1)
1101 .field("_webkit_reserved2", &self._webkit_reserved2)
1102 .field("_webkit_reserved3", &self._webkit_reserved3)
1103 .finish()
1104 }
1105}
1106
1107#[repr(C)]
1108pub struct _WebKitMediaKeySystemPermissionRequestPrivate {
1109 _data: [u8; 0],
1110 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1111}
1112
1113pub type WebKitMediaKeySystemPermissionRequestPrivate =
1114 *mut _WebKitMediaKeySystemPermissionRequestPrivate;
1115
1116#[repr(C)]
1117pub struct WebKitMemoryPressureSettings {
1118 _data: [u8; 0],
1119 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1120}
1121
1122impl ::std::fmt::Debug for WebKitMemoryPressureSettings {
1123 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1124 f.debug_struct(&format!("WebKitMemoryPressureSettings @ {self:p}"))
1125 .finish()
1126 }
1127}
1128
1129#[repr(C)]
1130pub struct WebKitMimeInfo {
1131 _data: [u8; 0],
1132 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1133}
1134
1135impl ::std::fmt::Debug for WebKitMimeInfo {
1136 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1137 f.debug_struct(&format!("WebKitMimeInfo @ {self:p}"))
1138 .finish()
1139 }
1140}
1141
1142#[repr(C)]
1143pub struct WebKitNavigationAction {
1144 _data: [u8; 0],
1145 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1146}
1147
1148impl ::std::fmt::Debug for WebKitNavigationAction {
1149 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1150 f.debug_struct(&format!("WebKitNavigationAction @ {self:p}"))
1151 .finish()
1152 }
1153}
1154
1155#[derive(Copy, Clone)]
1156#[repr(C)]
1157pub struct WebKitNavigationPolicyDecisionClass {
1158 pub parent_class: WebKitPolicyDecisionClass,
1159 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1160 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1161 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1162 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
1163}
1164
1165impl ::std::fmt::Debug for WebKitNavigationPolicyDecisionClass {
1166 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1167 f.debug_struct(&format!("WebKitNavigationPolicyDecisionClass @ {self:p}"))
1168 .field("parent_class", &self.parent_class)
1169 .field("_webkit_reserved0", &self._webkit_reserved0)
1170 .field("_webkit_reserved1", &self._webkit_reserved1)
1171 .field("_webkit_reserved2", &self._webkit_reserved2)
1172 .field("_webkit_reserved3", &self._webkit_reserved3)
1173 .finish()
1174 }
1175}
1176
1177#[repr(C)]
1178pub struct _WebKitNavigationPolicyDecisionPrivate {
1179 _data: [u8; 0],
1180 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1181}
1182
1183pub type WebKitNavigationPolicyDecisionPrivate = *mut _WebKitNavigationPolicyDecisionPrivate;
1184
1185#[repr(C)]
1186pub struct WebKitNetworkProxySettings {
1187 _data: [u8; 0],
1188 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1189}
1190
1191impl ::std::fmt::Debug for WebKitNetworkProxySettings {
1192 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1193 f.debug_struct(&format!("WebKitNetworkProxySettings @ {self:p}"))
1194 .finish()
1195 }
1196}
1197
1198#[derive(Copy, Clone)]
1199#[repr(C)]
1200pub struct WebKitNotificationClass {
1201 pub parent_class: gobject::GObjectClass,
1202 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1203 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1204 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1205 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
1206 pub _webkit_reserved4: Option<unsafe extern "C" fn()>,
1207 pub _webkit_reserved5: Option<unsafe extern "C" fn()>,
1208}
1209
1210impl ::std::fmt::Debug for WebKitNotificationClass {
1211 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1212 f.debug_struct(&format!("WebKitNotificationClass @ {self:p}"))
1213 .field("parent_class", &self.parent_class)
1214 .field("_webkit_reserved0", &self._webkit_reserved0)
1215 .field("_webkit_reserved1", &self._webkit_reserved1)
1216 .field("_webkit_reserved2", &self._webkit_reserved2)
1217 .field("_webkit_reserved3", &self._webkit_reserved3)
1218 .field("_webkit_reserved4", &self._webkit_reserved4)
1219 .field("_webkit_reserved5", &self._webkit_reserved5)
1220 .finish()
1221 }
1222}
1223
1224#[derive(Copy, Clone)]
1225#[repr(C)]
1226pub struct WebKitNotificationPermissionRequestClass {
1227 pub parent_class: gobject::GObjectClass,
1228}
1229
1230impl ::std::fmt::Debug for WebKitNotificationPermissionRequestClass {
1231 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1232 f.debug_struct(&format!(
1233 "WebKitNotificationPermissionRequestClass @ {self:p}"
1234 ))
1235 .field("parent_class", &self.parent_class)
1236 .finish()
1237 }
1238}
1239
1240#[repr(C)]
1241pub struct _WebKitNotificationPermissionRequestPrivate {
1242 _data: [u8; 0],
1243 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1244}
1245
1246pub type WebKitNotificationPermissionRequestPrivate =
1247 *mut _WebKitNotificationPermissionRequestPrivate;
1248
1249#[repr(C)]
1250pub struct _WebKitNotificationPrivate {
1251 _data: [u8; 0],
1252 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1253}
1254
1255pub type WebKitNotificationPrivate = *mut _WebKitNotificationPrivate;
1256
1257#[derive(Copy, Clone)]
1258#[repr(C)]
1259pub struct WebKitOptionMenuClass {
1260 pub parent_class: gobject::GObjectClass,
1261 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1262 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1263 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1264 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
1265}
1266
1267impl ::std::fmt::Debug for WebKitOptionMenuClass {
1268 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1269 f.debug_struct(&format!("WebKitOptionMenuClass @ {self:p}"))
1270 .field("parent_class", &self.parent_class)
1271 .field("_webkit_reserved0", &self._webkit_reserved0)
1272 .field("_webkit_reserved1", &self._webkit_reserved1)
1273 .field("_webkit_reserved2", &self._webkit_reserved2)
1274 .field("_webkit_reserved3", &self._webkit_reserved3)
1275 .finish()
1276 }
1277}
1278
1279#[repr(C)]
1280pub struct WebKitOptionMenuItem {
1281 _data: [u8; 0],
1282 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1283}
1284
1285impl ::std::fmt::Debug for WebKitOptionMenuItem {
1286 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1287 f.debug_struct(&format!("WebKitOptionMenuItem @ {self:p}"))
1288 .finish()
1289 }
1290}
1291
1292#[repr(C)]
1293pub struct _WebKitOptionMenuPrivate {
1294 _data: [u8; 0],
1295 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1296}
1297
1298pub type WebKitOptionMenuPrivate = *mut _WebKitOptionMenuPrivate;
1299
1300#[derive(Copy, Clone)]
1301#[repr(C)]
1302pub struct WebKitPermissionRequestIface {
1303 pub parent_interface: gobject::GTypeInterface,
1304 pub allow: Option<unsafe extern "C" fn(*mut WebKitPermissionRequest)>,
1305 pub deny: Option<unsafe extern "C" fn(*mut WebKitPermissionRequest)>,
1306}
1307
1308impl ::std::fmt::Debug for WebKitPermissionRequestIface {
1309 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1310 f.debug_struct(&format!("WebKitPermissionRequestIface @ {self:p}"))
1311 .field("parent_interface", &self.parent_interface)
1312 .field("allow", &self.allow)
1313 .field("deny", &self.deny)
1314 .finish()
1315 }
1316}
1317
1318#[repr(C)]
1319pub struct WebKitPermissionStateQuery {
1320 _data: [u8; 0],
1321 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1322}
1323
1324impl ::std::fmt::Debug for WebKitPermissionStateQuery {
1325 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1326 f.debug_struct(&format!("WebKitPermissionStateQuery @ {self:p}"))
1327 .finish()
1328 }
1329}
1330
1331#[derive(Copy, Clone)]
1332#[repr(C)]
1333pub struct WebKitPluginClass {
1334 pub parent_class: gobject::GObjectClass,
1335 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1336 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1337 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1338 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
1339}
1340
1341impl ::std::fmt::Debug for WebKitPluginClass {
1342 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1343 f.debug_struct(&format!("WebKitPluginClass @ {self:p}"))
1344 .field("parent_class", &self.parent_class)
1345 .field("_webkit_reserved0", &self._webkit_reserved0)
1346 .field("_webkit_reserved1", &self._webkit_reserved1)
1347 .field("_webkit_reserved2", &self._webkit_reserved2)
1348 .field("_webkit_reserved3", &self._webkit_reserved3)
1349 .finish()
1350 }
1351}
1352
1353#[repr(C)]
1354pub struct _WebKitPluginPrivate {
1355 _data: [u8; 0],
1356 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1357}
1358
1359pub type WebKitPluginPrivate = *mut _WebKitPluginPrivate;
1360
1361#[derive(Copy, Clone)]
1362#[repr(C)]
1363pub struct WebKitPointerLockPermissionRequestClass {
1364 pub parent_class: gobject::GObjectClass,
1365 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1366 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1367 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1368 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
1369}
1370
1371impl ::std::fmt::Debug for WebKitPointerLockPermissionRequestClass {
1372 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1373 f.debug_struct(&format!(
1374 "WebKitPointerLockPermissionRequestClass @ {self:p}"
1375 ))
1376 .field("parent_class", &self.parent_class)
1377 .field("_webkit_reserved0", &self._webkit_reserved0)
1378 .field("_webkit_reserved1", &self._webkit_reserved1)
1379 .field("_webkit_reserved2", &self._webkit_reserved2)
1380 .field("_webkit_reserved3", &self._webkit_reserved3)
1381 .finish()
1382 }
1383}
1384
1385#[repr(C)]
1386pub struct _WebKitPointerLockPermissionRequestPrivate {
1387 _data: [u8; 0],
1388 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1389}
1390
1391pub type WebKitPointerLockPermissionRequestPrivate =
1392 *mut _WebKitPointerLockPermissionRequestPrivate;
1393
1394#[derive(Copy, Clone)]
1395#[repr(C)]
1396pub struct WebKitPolicyDecisionClass {
1397 pub parent_class: gobject::GObjectClass,
1398 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1399 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1400 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1401 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
1402}
1403
1404impl ::std::fmt::Debug for WebKitPolicyDecisionClass {
1405 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1406 f.debug_struct(&format!("WebKitPolicyDecisionClass @ {self:p}"))
1407 .field("parent_class", &self.parent_class)
1408 .field("_webkit_reserved0", &self._webkit_reserved0)
1409 .field("_webkit_reserved1", &self._webkit_reserved1)
1410 .field("_webkit_reserved2", &self._webkit_reserved2)
1411 .field("_webkit_reserved3", &self._webkit_reserved3)
1412 .finish()
1413 }
1414}
1415
1416#[repr(C)]
1417pub struct _WebKitPolicyDecisionPrivate {
1418 _data: [u8; 0],
1419 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1420}
1421
1422pub type WebKitPolicyDecisionPrivate = *mut _WebKitPolicyDecisionPrivate;
1423
1424#[derive(Copy, Clone)]
1425#[repr(C)]
1426pub struct WebKitPrintCustomWidgetClass {
1427 pub parent_class: gobject::GObjectClass,
1428 pub apply: Option<unsafe extern "C" fn(*mut WebKitPrintCustomWidget, *mut gtk::GtkWidget)>,
1429 pub update: Option<
1430 unsafe extern "C" fn(
1431 *mut WebKitPrintCustomWidget,
1432 *mut gtk::GtkWidget,
1433 *mut gtk::GtkPageSetup,
1434 *mut gtk::GtkPrintSettings,
1435 ),
1436 >,
1437 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1438 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1439 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1440 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
1441}
1442
1443impl ::std::fmt::Debug for WebKitPrintCustomWidgetClass {
1444 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1445 f.debug_struct(&format!("WebKitPrintCustomWidgetClass @ {self:p}"))
1446 .field("parent_class", &self.parent_class)
1447 .field("apply", &self.apply)
1448 .field("update", &self.update)
1449 .field("_webkit_reserved0", &self._webkit_reserved0)
1450 .field("_webkit_reserved1", &self._webkit_reserved1)
1451 .field("_webkit_reserved2", &self._webkit_reserved2)
1452 .field("_webkit_reserved3", &self._webkit_reserved3)
1453 .finish()
1454 }
1455}
1456
1457#[repr(C)]
1458pub struct _WebKitPrintCustomWidgetPrivate {
1459 _data: [u8; 0],
1460 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1461}
1462
1463pub type WebKitPrintCustomWidgetPrivate = *mut _WebKitPrintCustomWidgetPrivate;
1464
1465#[derive(Copy, Clone)]
1466#[repr(C)]
1467pub struct WebKitPrintOperationClass {
1468 pub parent_class: gobject::GObjectClass,
1469 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1470 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1471 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1472 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
1473}
1474
1475impl ::std::fmt::Debug for WebKitPrintOperationClass {
1476 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1477 f.debug_struct(&format!("WebKitPrintOperationClass @ {self:p}"))
1478 .field("parent_class", &self.parent_class)
1479 .field("_webkit_reserved0", &self._webkit_reserved0)
1480 .field("_webkit_reserved1", &self._webkit_reserved1)
1481 .field("_webkit_reserved2", &self._webkit_reserved2)
1482 .field("_webkit_reserved3", &self._webkit_reserved3)
1483 .finish()
1484 }
1485}
1486
1487#[repr(C)]
1488pub struct _WebKitPrintOperationPrivate {
1489 _data: [u8; 0],
1490 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1491}
1492
1493pub type WebKitPrintOperationPrivate = *mut _WebKitPrintOperationPrivate;
1494
1495#[derive(Copy, Clone)]
1496#[repr(C)]
1497pub struct WebKitResponsePolicyDecisionClass {
1498 pub parent_class: WebKitPolicyDecisionClass,
1499 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1500 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1501 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1502 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
1503}
1504
1505impl ::std::fmt::Debug for WebKitResponsePolicyDecisionClass {
1506 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1507 f.debug_struct(&format!("WebKitResponsePolicyDecisionClass @ {self:p}"))
1508 .field("parent_class", &self.parent_class)
1509 .field("_webkit_reserved0", &self._webkit_reserved0)
1510 .field("_webkit_reserved1", &self._webkit_reserved1)
1511 .field("_webkit_reserved2", &self._webkit_reserved2)
1512 .field("_webkit_reserved3", &self._webkit_reserved3)
1513 .finish()
1514 }
1515}
1516
1517#[repr(C)]
1518pub struct _WebKitResponsePolicyDecisionPrivate {
1519 _data: [u8; 0],
1520 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1521}
1522
1523pub type WebKitResponsePolicyDecisionPrivate = *mut _WebKitResponsePolicyDecisionPrivate;
1524
1525#[repr(C)]
1526pub struct WebKitScriptDialog {
1527 _data: [u8; 0],
1528 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1529}
1530
1531impl ::std::fmt::Debug for WebKitScriptDialog {
1532 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1533 f.debug_struct(&format!("WebKitScriptDialog @ {self:p}"))
1534 .finish()
1535 }
1536}
1537
1538#[repr(C)]
1539pub struct WebKitScriptMessageReply {
1540 _data: [u8; 0],
1541 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1542}
1543
1544impl ::std::fmt::Debug for WebKitScriptMessageReply {
1545 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1546 f.debug_struct(&format!("WebKitScriptMessageReply @ {self:p}"))
1547 .finish()
1548 }
1549}
1550
1551#[derive(Copy, Clone)]
1552#[repr(C)]
1553pub struct WebKitSecurityManagerClass {
1554 pub parent_class: gobject::GObjectClass,
1555 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1556 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1557 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1558 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
1559}
1560
1561impl ::std::fmt::Debug for WebKitSecurityManagerClass {
1562 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1563 f.debug_struct(&format!("WebKitSecurityManagerClass @ {self:p}"))
1564 .field("parent_class", &self.parent_class)
1565 .field("_webkit_reserved0", &self._webkit_reserved0)
1566 .field("_webkit_reserved1", &self._webkit_reserved1)
1567 .field("_webkit_reserved2", &self._webkit_reserved2)
1568 .field("_webkit_reserved3", &self._webkit_reserved3)
1569 .finish()
1570 }
1571}
1572
1573#[repr(C)]
1574pub struct _WebKitSecurityManagerPrivate {
1575 _data: [u8; 0],
1576 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1577}
1578
1579pub type WebKitSecurityManagerPrivate = *mut _WebKitSecurityManagerPrivate;
1580
1581#[repr(C)]
1582pub struct WebKitSecurityOrigin {
1583 _data: [u8; 0],
1584 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1585}
1586
1587impl ::std::fmt::Debug for WebKitSecurityOrigin {
1588 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1589 f.debug_struct(&format!("WebKitSecurityOrigin @ {self:p}"))
1590 .finish()
1591 }
1592}
1593
1594#[derive(Copy, Clone)]
1595#[repr(C)]
1596pub struct WebKitSettingsClass {
1597 pub parent_class: gobject::GObjectClass,
1598 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1599 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1600 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1601 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
1602}
1603
1604impl ::std::fmt::Debug for WebKitSettingsClass {
1605 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1606 f.debug_struct(&format!("WebKitSettingsClass @ {self:p}"))
1607 .field("parent_class", &self.parent_class)
1608 .field("_webkit_reserved0", &self._webkit_reserved0)
1609 .field("_webkit_reserved1", &self._webkit_reserved1)
1610 .field("_webkit_reserved2", &self._webkit_reserved2)
1611 .field("_webkit_reserved3", &self._webkit_reserved3)
1612 .finish()
1613 }
1614}
1615
1616#[repr(C)]
1617pub struct _WebKitSettingsPrivate {
1618 _data: [u8; 0],
1619 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1620}
1621
1622pub type WebKitSettingsPrivate = *mut _WebKitSettingsPrivate;
1623
1624#[derive(Copy, Clone)]
1625#[repr(C)]
1626pub struct WebKitURIRequestClass {
1627 pub parent_class: gobject::GObjectClass,
1628 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1629 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1630 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1631 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
1632}
1633
1634impl ::std::fmt::Debug for WebKitURIRequestClass {
1635 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1636 f.debug_struct(&format!("WebKitURIRequestClass @ {self:p}"))
1637 .field("parent_class", &self.parent_class)
1638 .field("_webkit_reserved0", &self._webkit_reserved0)
1639 .field("_webkit_reserved1", &self._webkit_reserved1)
1640 .field("_webkit_reserved2", &self._webkit_reserved2)
1641 .field("_webkit_reserved3", &self._webkit_reserved3)
1642 .finish()
1643 }
1644}
1645
1646#[repr(C)]
1647pub struct _WebKitURIRequestPrivate {
1648 _data: [u8; 0],
1649 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1650}
1651
1652pub type WebKitURIRequestPrivate = *mut _WebKitURIRequestPrivate;
1653
1654#[derive(Copy, Clone)]
1655#[repr(C)]
1656pub struct WebKitURIResponseClass {
1657 pub parent_class: gobject::GObjectClass,
1658 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1659 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1660 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1661 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
1662}
1663
1664impl ::std::fmt::Debug for WebKitURIResponseClass {
1665 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1666 f.debug_struct(&format!("WebKitURIResponseClass @ {self:p}"))
1667 .field("parent_class", &self.parent_class)
1668 .field("_webkit_reserved0", &self._webkit_reserved0)
1669 .field("_webkit_reserved1", &self._webkit_reserved1)
1670 .field("_webkit_reserved2", &self._webkit_reserved2)
1671 .field("_webkit_reserved3", &self._webkit_reserved3)
1672 .finish()
1673 }
1674}
1675
1676#[repr(C)]
1677pub struct _WebKitURIResponsePrivate {
1678 _data: [u8; 0],
1679 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1680}
1681
1682pub type WebKitURIResponsePrivate = *mut _WebKitURIResponsePrivate;
1683
1684#[derive(Copy, Clone)]
1685#[repr(C)]
1686pub struct WebKitURISchemeRequestClass {
1687 pub parent_class: gobject::GObjectClass,
1688 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1689 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1690 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1691 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
1692}
1693
1694impl ::std::fmt::Debug for WebKitURISchemeRequestClass {
1695 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1696 f.debug_struct(&format!("WebKitURISchemeRequestClass @ {self:p}"))
1697 .field("parent_class", &self.parent_class)
1698 .field("_webkit_reserved0", &self._webkit_reserved0)
1699 .field("_webkit_reserved1", &self._webkit_reserved1)
1700 .field("_webkit_reserved2", &self._webkit_reserved2)
1701 .field("_webkit_reserved3", &self._webkit_reserved3)
1702 .finish()
1703 }
1704}
1705
1706#[repr(C)]
1707pub struct _WebKitURISchemeRequestPrivate {
1708 _data: [u8; 0],
1709 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1710}
1711
1712pub type WebKitURISchemeRequestPrivate = *mut _WebKitURISchemeRequestPrivate;
1713
1714#[derive(Copy, Clone)]
1715#[repr(C)]
1716pub struct WebKitURISchemeResponseClass {
1717 pub parent_class: gobject::GObjectClass,
1718 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1719 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1720 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1721 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
1722}
1723
1724impl ::std::fmt::Debug for WebKitURISchemeResponseClass {
1725 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1726 f.debug_struct(&format!("WebKitURISchemeResponseClass @ {self:p}"))
1727 .field("parent_class", &self.parent_class)
1728 .field("_webkit_reserved0", &self._webkit_reserved0)
1729 .field("_webkit_reserved1", &self._webkit_reserved1)
1730 .field("_webkit_reserved2", &self._webkit_reserved2)
1731 .field("_webkit_reserved3", &self._webkit_reserved3)
1732 .finish()
1733 }
1734}
1735
1736#[repr(C)]
1737pub struct _WebKitURISchemeResponsePrivate {
1738 _data: [u8; 0],
1739 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1740}
1741
1742pub type WebKitURISchemeResponsePrivate = *mut _WebKitURISchemeResponsePrivate;
1743
1744#[repr(C)]
1745pub struct WebKitUserContentFilter {
1746 _data: [u8; 0],
1747 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1748}
1749
1750impl ::std::fmt::Debug for WebKitUserContentFilter {
1751 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1752 f.debug_struct(&format!("WebKitUserContentFilter @ {self:p}"))
1753 .finish()
1754 }
1755}
1756
1757#[derive(Copy, Clone)]
1758#[repr(C)]
1759pub struct WebKitUserContentFilterStoreClass {
1760 pub parent_class: gobject::GObjectClass,
1761 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1762 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1763 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1764 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
1765}
1766
1767impl ::std::fmt::Debug for WebKitUserContentFilterStoreClass {
1768 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1769 f.debug_struct(&format!("WebKitUserContentFilterStoreClass @ {self:p}"))
1770 .field("parent_class", &self.parent_class)
1771 .field("_webkit_reserved0", &self._webkit_reserved0)
1772 .field("_webkit_reserved1", &self._webkit_reserved1)
1773 .field("_webkit_reserved2", &self._webkit_reserved2)
1774 .field("_webkit_reserved3", &self._webkit_reserved3)
1775 .finish()
1776 }
1777}
1778
1779#[repr(C)]
1780pub struct _WebKitUserContentFilterStorePrivate {
1781 _data: [u8; 0],
1782 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1783}
1784
1785pub type WebKitUserContentFilterStorePrivate = *mut _WebKitUserContentFilterStorePrivate;
1786
1787#[derive(Copy, Clone)]
1788#[repr(C)]
1789pub struct WebKitUserContentManagerClass {
1790 pub parent_class: gobject::GObjectClass,
1791 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1792 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1793 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1794 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
1795}
1796
1797impl ::std::fmt::Debug for WebKitUserContentManagerClass {
1798 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1799 f.debug_struct(&format!("WebKitUserContentManagerClass @ {self:p}"))
1800 .field("parent_class", &self.parent_class)
1801 .field("_webkit_reserved0", &self._webkit_reserved0)
1802 .field("_webkit_reserved1", &self._webkit_reserved1)
1803 .field("_webkit_reserved2", &self._webkit_reserved2)
1804 .field("_webkit_reserved3", &self._webkit_reserved3)
1805 .finish()
1806 }
1807}
1808
1809#[repr(C)]
1810pub struct _WebKitUserContentManagerPrivate {
1811 _data: [u8; 0],
1812 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1813}
1814
1815pub type WebKitUserContentManagerPrivate = *mut _WebKitUserContentManagerPrivate;
1816
1817#[derive(Copy, Clone)]
1818#[repr(C)]
1819pub struct WebKitUserMediaPermissionRequestClass {
1820 pub parent_class: gobject::GObjectClass,
1821 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1822 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1823 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1824 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
1825}
1826
1827impl ::std::fmt::Debug for WebKitUserMediaPermissionRequestClass {
1828 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1829 f.debug_struct(&format!("WebKitUserMediaPermissionRequestClass @ {self:p}"))
1830 .field("parent_class", &self.parent_class)
1831 .field("_webkit_reserved0", &self._webkit_reserved0)
1832 .field("_webkit_reserved1", &self._webkit_reserved1)
1833 .field("_webkit_reserved2", &self._webkit_reserved2)
1834 .field("_webkit_reserved3", &self._webkit_reserved3)
1835 .finish()
1836 }
1837}
1838
1839#[repr(C)]
1840pub struct _WebKitUserMediaPermissionRequestPrivate {
1841 _data: [u8; 0],
1842 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1843}
1844
1845pub type WebKitUserMediaPermissionRequestPrivate = *mut _WebKitUserMediaPermissionRequestPrivate;
1846
1847#[derive(Copy, Clone)]
1848#[repr(C)]
1849pub struct WebKitUserMessageClass {
1850 pub parent_class: gobject::GInitiallyUnownedClass,
1851 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1852 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1853 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1854 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
1855}
1856
1857impl ::std::fmt::Debug for WebKitUserMessageClass {
1858 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1859 f.debug_struct(&format!("WebKitUserMessageClass @ {self:p}"))
1860 .field("parent_class", &self.parent_class)
1861 .field("_webkit_reserved0", &self._webkit_reserved0)
1862 .field("_webkit_reserved1", &self._webkit_reserved1)
1863 .field("_webkit_reserved2", &self._webkit_reserved2)
1864 .field("_webkit_reserved3", &self._webkit_reserved3)
1865 .finish()
1866 }
1867}
1868
1869#[repr(C)]
1870pub struct _WebKitUserMessagePrivate {
1871 _data: [u8; 0],
1872 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1873}
1874
1875pub type WebKitUserMessagePrivate = *mut _WebKitUserMessagePrivate;
1876
1877#[repr(C)]
1878pub struct WebKitUserScript {
1879 _data: [u8; 0],
1880 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1881}
1882
1883impl ::std::fmt::Debug for WebKitUserScript {
1884 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1885 f.debug_struct(&format!("WebKitUserScript @ {self:p}"))
1886 .finish()
1887 }
1888}
1889
1890#[repr(C)]
1891pub struct WebKitUserStyleSheet {
1892 _data: [u8; 0],
1893 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1894}
1895
1896impl ::std::fmt::Debug for WebKitUserStyleSheet {
1897 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1898 f.debug_struct(&format!("WebKitUserStyleSheet @ {self:p}"))
1899 .finish()
1900 }
1901}
1902
1903#[derive(Copy, Clone)]
1904#[repr(C)]
1905pub struct WebKitWebContextClass {
1906 pub parent: gobject::GObjectClass,
1907 pub download_started: Option<unsafe extern "C" fn(*mut WebKitWebContext, *mut WebKitDownload)>,
1908 pub initialize_web_extensions: Option<unsafe extern "C" fn(*mut WebKitWebContext)>,
1909 pub initialize_notification_permissions: Option<unsafe extern "C" fn(*mut WebKitWebContext)>,
1910 pub automation_started:
1911 Option<unsafe extern "C" fn(*mut WebKitWebContext, *mut WebKitAutomationSession)>,
1912 pub user_message_received:
1913 Option<unsafe extern "C" fn(*mut WebKitWebContext, *mut WebKitUserMessage) -> gboolean>,
1914 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1915 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1916 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1917}
1918
1919impl ::std::fmt::Debug for WebKitWebContextClass {
1920 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1921 f.debug_struct(&format!("WebKitWebContextClass @ {self:p}"))
1922 .field("parent", &self.parent)
1923 .field("download_started", &self.download_started)
1924 .field("initialize_web_extensions", &self.initialize_web_extensions)
1925 .field(
1926 "initialize_notification_permissions",
1927 &self.initialize_notification_permissions,
1928 )
1929 .field("automation_started", &self.automation_started)
1930 .field("user_message_received", &self.user_message_received)
1931 .field("_webkit_reserved0", &self._webkit_reserved0)
1932 .field("_webkit_reserved1", &self._webkit_reserved1)
1933 .field("_webkit_reserved2", &self._webkit_reserved2)
1934 .finish()
1935 }
1936}
1937
1938#[repr(C)]
1939pub struct _WebKitWebContextPrivate {
1940 _data: [u8; 0],
1941 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1942}
1943
1944pub type WebKitWebContextPrivate = *mut _WebKitWebContextPrivate;
1945
1946#[derive(Copy, Clone)]
1947#[repr(C)]
1948pub struct WebKitWebInspectorClass {
1949 pub parent_class: gobject::GObjectClass,
1950 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1951 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1952 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1953 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
1954}
1955
1956impl ::std::fmt::Debug for WebKitWebInspectorClass {
1957 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1958 f.debug_struct(&format!("WebKitWebInspectorClass @ {self:p}"))
1959 .field("parent_class", &self.parent_class)
1960 .field("_webkit_reserved0", &self._webkit_reserved0)
1961 .field("_webkit_reserved1", &self._webkit_reserved1)
1962 .field("_webkit_reserved2", &self._webkit_reserved2)
1963 .field("_webkit_reserved3", &self._webkit_reserved3)
1964 .finish()
1965 }
1966}
1967
1968#[repr(C)]
1969pub struct _WebKitWebInspectorPrivate {
1970 _data: [u8; 0],
1971 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1972}
1973
1974pub type WebKitWebInspectorPrivate = *mut _WebKitWebInspectorPrivate;
1975
1976#[derive(Copy, Clone)]
1977#[repr(C)]
1978pub struct WebKitWebResourceClass {
1979 pub parent_class: gobject::GObjectClass,
1980 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
1981 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
1982 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
1983 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
1984}
1985
1986impl ::std::fmt::Debug for WebKitWebResourceClass {
1987 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1988 f.debug_struct(&format!("WebKitWebResourceClass @ {self:p}"))
1989 .field("parent_class", &self.parent_class)
1990 .field("_webkit_reserved0", &self._webkit_reserved0)
1991 .field("_webkit_reserved1", &self._webkit_reserved1)
1992 .field("_webkit_reserved2", &self._webkit_reserved2)
1993 .field("_webkit_reserved3", &self._webkit_reserved3)
1994 .finish()
1995 }
1996}
1997
1998#[repr(C)]
1999pub struct _WebKitWebResourcePrivate {
2000 _data: [u8; 0],
2001 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2002}
2003
2004pub type WebKitWebResourcePrivate = *mut _WebKitWebResourcePrivate;
2005
2006#[derive(Copy, Clone)]
2007#[repr(C)]
2008pub struct WebKitWebViewBaseClass {
2009 pub parentClass: gtk::GtkContainerClass,
2010 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
2011 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
2012 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
2013 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
2014}
2015
2016impl ::std::fmt::Debug for WebKitWebViewBaseClass {
2017 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2018 f.debug_struct(&format!("WebKitWebViewBaseClass @ {self:p}"))
2019 .field("parentClass", &self.parentClass)
2020 .field("_webkit_reserved0", &self._webkit_reserved0)
2021 .field("_webkit_reserved1", &self._webkit_reserved1)
2022 .field("_webkit_reserved2", &self._webkit_reserved2)
2023 .field("_webkit_reserved3", &self._webkit_reserved3)
2024 .finish()
2025 }
2026}
2027
2028#[repr(C)]
2029pub struct _WebKitWebViewBasePrivate {
2030 _data: [u8; 0],
2031 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2032}
2033
2034pub type WebKitWebViewBasePrivate = *mut _WebKitWebViewBasePrivate;
2035
2036#[derive(Copy, Clone)]
2037#[repr(C)]
2038pub struct WebKitWebViewClass {
2039 pub parent: WebKitWebViewBaseClass,
2040 pub load_changed: Option<unsafe extern "C" fn(*mut WebKitWebView, WebKitLoadEvent)>,
2041 pub load_failed: Option<
2042 unsafe extern "C" fn(
2043 *mut WebKitWebView,
2044 WebKitLoadEvent,
2045 *const c_char,
2046 *mut glib::GError,
2047 ) -> gboolean,
2048 >,
2049 pub create: Option<
2050 unsafe extern "C" fn(*mut WebKitWebView, *mut WebKitNavigationAction) -> *mut gtk::GtkWidget,
2051 >,
2052 pub ready_to_show: Option<unsafe extern "C" fn(*mut WebKitWebView)>,
2053 pub run_as_modal: Option<unsafe extern "C" fn(*mut WebKitWebView)>,
2054 pub close: Option<unsafe extern "C" fn(*mut WebKitWebView)>,
2055 pub script_dialog:
2056 Option<unsafe extern "C" fn(*mut WebKitWebView, *mut WebKitScriptDialog) -> gboolean>,
2057 pub decide_policy: Option<
2058 unsafe extern "C" fn(
2059 *mut WebKitWebView,
2060 *mut WebKitPolicyDecision,
2061 WebKitPolicyDecisionType,
2062 ) -> gboolean,
2063 >,
2064 pub permission_request:
2065 Option<unsafe extern "C" fn(*mut WebKitWebView, *mut WebKitPermissionRequest) -> gboolean>,
2066 pub mouse_target_changed:
2067 Option<unsafe extern "C" fn(*mut WebKitWebView, *mut WebKitHitTestResult, c_uint)>,
2068 pub print:
2069 Option<unsafe extern "C" fn(*mut WebKitWebView, *mut WebKitPrintOperation) -> gboolean>,
2070 pub resource_load_started:
2071 Option<unsafe extern "C" fn(*mut WebKitWebView, *mut WebKitWebResource, *mut WebKitURIRequest)>,
2072 pub enter_fullscreen: Option<unsafe extern "C" fn(*mut WebKitWebView) -> gboolean>,
2073 pub leave_fullscreen: Option<unsafe extern "C" fn(*mut WebKitWebView) -> gboolean>,
2074 pub run_file_chooser:
2075 Option<unsafe extern "C" fn(*mut WebKitWebView, *mut WebKitFileChooserRequest) -> gboolean>,
2076 pub context_menu: Option<
2077 unsafe extern "C" fn(
2078 *mut WebKitWebView,
2079 *mut WebKitContextMenu,
2080 *mut gdk::GdkEvent,
2081 *mut WebKitHitTestResult,
2082 ) -> gboolean,
2083 >,
2084 pub context_menu_dismissed: Option<unsafe extern "C" fn(*mut WebKitWebView)>,
2085 pub submit_form:
2086 Option<unsafe extern "C" fn(*mut WebKitWebView, *mut WebKitFormSubmissionRequest)>,
2087 pub insecure_content_detected:
2088 Option<unsafe extern "C" fn(*mut WebKitWebView, WebKitInsecureContentEvent)>,
2089 pub web_process_crashed: Option<unsafe extern "C" fn(*mut WebKitWebView) -> gboolean>,
2090 pub authenticate:
2091 Option<unsafe extern "C" fn(*mut WebKitWebView, *mut WebKitAuthenticationRequest) -> gboolean>,
2092 pub load_failed_with_tls_errors: Option<
2093 unsafe extern "C" fn(
2094 *mut WebKitWebView,
2095 *const c_char,
2096 *mut gio::GTlsCertificate,
2097 gio::GTlsCertificateFlags,
2098 ) -> gboolean,
2099 >,
2100 pub show_notification:
2101 Option<unsafe extern "C" fn(*mut WebKitWebView, *mut WebKitNotification) -> gboolean>,
2102 pub run_color_chooser:
2103 Option<unsafe extern "C" fn(*mut WebKitWebView, *mut WebKitColorChooserRequest) -> gboolean>,
2104 pub show_option_menu: Option<
2105 unsafe extern "C" fn(
2106 *mut WebKitWebView,
2107 *mut WebKitOptionMenu,
2108 *mut gdk::GdkEvent,
2109 *mut gdk::GdkRectangle,
2110 ) -> gboolean,
2111 >,
2112 pub web_process_terminated:
2113 Option<unsafe extern "C" fn(*mut WebKitWebView, WebKitWebProcessTerminationReason)>,
2114 pub user_message_received:
2115 Option<unsafe extern "C" fn(*mut WebKitWebView, *mut WebKitUserMessage) -> gboolean>,
2116 pub query_permission_state:
2117 Option<unsafe extern "C" fn(*mut WebKitWebView, *mut WebKitPermissionStateQuery) -> gboolean>,
2118}
2119
2120impl ::std::fmt::Debug for WebKitWebViewClass {
2121 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2122 f.debug_struct(&format!("WebKitWebViewClass @ {self:p}"))
2123 .field("parent", &self.parent)
2124 .field("load_changed", &self.load_changed)
2125 .field("load_failed", &self.load_failed)
2126 .field("create", &self.create)
2127 .field("ready_to_show", &self.ready_to_show)
2128 .field("run_as_modal", &self.run_as_modal)
2129 .field("close", &self.close)
2130 .field("script_dialog", &self.script_dialog)
2131 .field("decide_policy", &self.decide_policy)
2132 .field("permission_request", &self.permission_request)
2133 .field("mouse_target_changed", &self.mouse_target_changed)
2134 .field("print", &self.print)
2135 .field("resource_load_started", &self.resource_load_started)
2136 .field("enter_fullscreen", &self.enter_fullscreen)
2137 .field("leave_fullscreen", &self.leave_fullscreen)
2138 .field("run_file_chooser", &self.run_file_chooser)
2139 .field("context_menu", &self.context_menu)
2140 .field("context_menu_dismissed", &self.context_menu_dismissed)
2141 .field("submit_form", &self.submit_form)
2142 .field("insecure_content_detected", &self.insecure_content_detected)
2143 .field("web_process_crashed", &self.web_process_crashed)
2144 .field("authenticate", &self.authenticate)
2145 .field(
2146 "load_failed_with_tls_errors",
2147 &self.load_failed_with_tls_errors,
2148 )
2149 .field("show_notification", &self.show_notification)
2150 .field("run_color_chooser", &self.run_color_chooser)
2151 .field("show_option_menu", &self.show_option_menu)
2152 .field("web_process_terminated", &self.web_process_terminated)
2153 .field("user_message_received", &self.user_message_received)
2154 .field("query_permission_state", &self.query_permission_state)
2155 .finish()
2156 }
2157}
2158
2159#[repr(C)]
2160pub struct _WebKitWebViewPrivate {
2161 _data: [u8; 0],
2162 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2163}
2164
2165pub type WebKitWebViewPrivate = *mut _WebKitWebViewPrivate;
2166
2167#[repr(C)]
2168pub struct WebKitWebViewSessionState {
2169 _data: [u8; 0],
2170 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2171}
2172
2173impl ::std::fmt::Debug for WebKitWebViewSessionState {
2174 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2175 f.debug_struct(&format!("WebKitWebViewSessionState @ {self:p}"))
2176 .finish()
2177 }
2178}
2179
2180#[repr(C)]
2181pub struct WebKitWebsiteData {
2182 _data: [u8; 0],
2183 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2184}
2185
2186impl ::std::fmt::Debug for WebKitWebsiteData {
2187 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2188 f.debug_struct(&format!("WebKitWebsiteData @ {self:p}"))
2189 .finish()
2190 }
2191}
2192
2193#[derive(Copy, Clone)]
2194#[repr(C)]
2195pub struct WebKitWebsiteDataAccessPermissionRequestClass {
2196 pub parent_class: gobject::GObjectClass,
2197 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
2198 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
2199 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
2200 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
2201}
2202
2203impl ::std::fmt::Debug for WebKitWebsiteDataAccessPermissionRequestClass {
2204 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2205 f.debug_struct(&format!(
2206 "WebKitWebsiteDataAccessPermissionRequestClass @ {self:p}"
2207 ))
2208 .field("parent_class", &self.parent_class)
2209 .field("_webkit_reserved0", &self._webkit_reserved0)
2210 .field("_webkit_reserved1", &self._webkit_reserved1)
2211 .field("_webkit_reserved2", &self._webkit_reserved2)
2212 .field("_webkit_reserved3", &self._webkit_reserved3)
2213 .finish()
2214 }
2215}
2216
2217#[repr(C)]
2218pub struct _WebKitWebsiteDataAccessPermissionRequestPrivate {
2219 _data: [u8; 0],
2220 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2221}
2222
2223pub type WebKitWebsiteDataAccessPermissionRequestPrivate =
2224 *mut _WebKitWebsiteDataAccessPermissionRequestPrivate;
2225
2226#[derive(Copy, Clone)]
2227#[repr(C)]
2228pub struct WebKitWebsiteDataManagerClass {
2229 pub parent_class: gobject::GObjectClass,
2230 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
2231 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
2232 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
2233 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
2234}
2235
2236impl ::std::fmt::Debug for WebKitWebsiteDataManagerClass {
2237 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2238 f.debug_struct(&format!("WebKitWebsiteDataManagerClass @ {self:p}"))
2239 .field("parent_class", &self.parent_class)
2240 .field("_webkit_reserved0", &self._webkit_reserved0)
2241 .field("_webkit_reserved1", &self._webkit_reserved1)
2242 .field("_webkit_reserved2", &self._webkit_reserved2)
2243 .field("_webkit_reserved3", &self._webkit_reserved3)
2244 .finish()
2245 }
2246}
2247
2248#[repr(C)]
2249pub struct _WebKitWebsiteDataManagerPrivate {
2250 _data: [u8; 0],
2251 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2252}
2253
2254pub type WebKitWebsiteDataManagerPrivate = *mut _WebKitWebsiteDataManagerPrivate;
2255
2256#[derive(Copy, Clone)]
2257#[repr(C)]
2258pub struct WebKitWebsitePoliciesClass {
2259 pub parent_class: gobject::GObjectClass,
2260 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
2261 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
2262 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
2263 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
2264}
2265
2266impl ::std::fmt::Debug for WebKitWebsitePoliciesClass {
2267 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2268 f.debug_struct(&format!("WebKitWebsitePoliciesClass @ {self:p}"))
2269 .field("parent_class", &self.parent_class)
2270 .field("_webkit_reserved0", &self._webkit_reserved0)
2271 .field("_webkit_reserved1", &self._webkit_reserved1)
2272 .field("_webkit_reserved2", &self._webkit_reserved2)
2273 .field("_webkit_reserved3", &self._webkit_reserved3)
2274 .finish()
2275 }
2276}
2277
2278#[repr(C)]
2279pub struct _WebKitWebsitePoliciesPrivate {
2280 _data: [u8; 0],
2281 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2282}
2283
2284pub type WebKitWebsitePoliciesPrivate = *mut _WebKitWebsitePoliciesPrivate;
2285
2286#[derive(Copy, Clone)]
2287#[repr(C)]
2288pub struct WebKitWindowPropertiesClass {
2289 pub parent_class: gobject::GObjectClass,
2290 pub _webkit_reserved0: Option<unsafe extern "C" fn()>,
2291 pub _webkit_reserved1: Option<unsafe extern "C" fn()>,
2292 pub _webkit_reserved2: Option<unsafe extern "C" fn()>,
2293 pub _webkit_reserved3: Option<unsafe extern "C" fn()>,
2294}
2295
2296impl ::std::fmt::Debug for WebKitWindowPropertiesClass {
2297 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2298 f.debug_struct(&format!("WebKitWindowPropertiesClass @ {self:p}"))
2299 .field("parent_class", &self.parent_class)
2300 .field("_webkit_reserved0", &self._webkit_reserved0)
2301 .field("_webkit_reserved1", &self._webkit_reserved1)
2302 .field("_webkit_reserved2", &self._webkit_reserved2)
2303 .field("_webkit_reserved3", &self._webkit_reserved3)
2304 .finish()
2305 }
2306}
2307
2308#[repr(C)]
2309pub struct _WebKitWindowPropertiesPrivate {
2310 _data: [u8; 0],
2311 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2312}
2313
2314pub type WebKitWindowPropertiesPrivate = *mut _WebKitWindowPropertiesPrivate;
2315
2316#[derive(Copy, Clone)]
2318#[repr(C)]
2319pub struct WebKitAuthenticationRequest {
2320 pub parent: gobject::GObject,
2321 pub priv_: *mut WebKitAuthenticationRequestPrivate,
2322}
2323
2324impl ::std::fmt::Debug for WebKitAuthenticationRequest {
2325 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2326 f.debug_struct(&format!("WebKitAuthenticationRequest @ {self:p}"))
2327 .field("parent", &self.parent)
2328 .field("priv_", &self.priv_)
2329 .finish()
2330 }
2331}
2332
2333#[derive(Copy, Clone)]
2334#[repr(C)]
2335pub struct WebKitAutomationSession {
2336 pub parent: gobject::GObject,
2337 pub priv_: *mut WebKitAutomationSessionPrivate,
2338}
2339
2340impl ::std::fmt::Debug for WebKitAutomationSession {
2341 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2342 f.debug_struct(&format!("WebKitAutomationSession @ {self:p}"))
2343 .field("parent", &self.parent)
2344 .field("priv_", &self.priv_)
2345 .finish()
2346 }
2347}
2348
2349#[derive(Copy, Clone)]
2350#[repr(C)]
2351pub struct WebKitBackForwardList {
2352 pub parent: gobject::GObject,
2353 pub priv_: *mut WebKitBackForwardListPrivate,
2354}
2355
2356impl ::std::fmt::Debug for WebKitBackForwardList {
2357 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2358 f.debug_struct(&format!("WebKitBackForwardList @ {self:p}"))
2359 .field("parent", &self.parent)
2360 .field("priv_", &self.priv_)
2361 .finish()
2362 }
2363}
2364
2365#[derive(Copy, Clone)]
2366#[repr(C)]
2367pub struct WebKitBackForwardListItem {
2368 pub parent: gobject::GInitiallyUnowned,
2369 pub priv_: *mut WebKitBackForwardListItemPrivate,
2370}
2371
2372impl ::std::fmt::Debug for WebKitBackForwardListItem {
2373 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2374 f.debug_struct(&format!("WebKitBackForwardListItem @ {self:p}"))
2375 .field("parent", &self.parent)
2376 .field("priv_", &self.priv_)
2377 .finish()
2378 }
2379}
2380
2381#[derive(Copy, Clone)]
2382#[repr(C)]
2383pub struct WebKitColorChooserRequest {
2384 pub parent: gobject::GObject,
2385 pub priv_: *mut WebKitColorChooserRequestPrivate,
2386}
2387
2388impl ::std::fmt::Debug for WebKitColorChooserRequest {
2389 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2390 f.debug_struct(&format!("WebKitColorChooserRequest @ {self:p}"))
2391 .field("parent", &self.parent)
2392 .field("priv_", &self.priv_)
2393 .finish()
2394 }
2395}
2396
2397#[derive(Copy, Clone)]
2398#[repr(C)]
2399pub struct WebKitContextMenu {
2400 pub parent: gobject::GObject,
2401 pub priv_: *mut WebKitContextMenuPrivate,
2402}
2403
2404impl ::std::fmt::Debug for WebKitContextMenu {
2405 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2406 f.debug_struct(&format!("WebKitContextMenu @ {self:p}"))
2407 .field("parent", &self.parent)
2408 .field("priv_", &self.priv_)
2409 .finish()
2410 }
2411}
2412
2413#[derive(Copy, Clone)]
2414#[repr(C)]
2415pub struct WebKitContextMenuItem {
2416 pub parent: gobject::GInitiallyUnowned,
2417 pub priv_: *mut WebKitContextMenuItemPrivate,
2418}
2419
2420impl ::std::fmt::Debug for WebKitContextMenuItem {
2421 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2422 f.debug_struct(&format!("WebKitContextMenuItem @ {self:p}"))
2423 .field("parent", &self.parent)
2424 .field("priv_", &self.priv_)
2425 .finish()
2426 }
2427}
2428
2429#[derive(Copy, Clone)]
2430#[repr(C)]
2431pub struct WebKitCookieManager {
2432 pub parent: gobject::GObject,
2433 pub priv_: *mut WebKitCookieManagerPrivate,
2434}
2435
2436impl ::std::fmt::Debug for WebKitCookieManager {
2437 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2438 f.debug_struct(&format!("WebKitCookieManager @ {self:p}"))
2439 .field("parent", &self.parent)
2440 .field("priv_", &self.priv_)
2441 .finish()
2442 }
2443}
2444
2445#[derive(Copy, Clone)]
2446#[repr(C)]
2447pub struct WebKitDeviceInfoPermissionRequest {
2448 pub parent: gobject::GObject,
2449 pub priv_: *mut WebKitDeviceInfoPermissionRequestPrivate,
2450}
2451
2452impl ::std::fmt::Debug for WebKitDeviceInfoPermissionRequest {
2453 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2454 f.debug_struct(&format!("WebKitDeviceInfoPermissionRequest @ {self:p}"))
2455 .field("parent", &self.parent)
2456 .field("priv_", &self.priv_)
2457 .finish()
2458 }
2459}
2460
2461#[derive(Copy, Clone)]
2462#[repr(C)]
2463pub struct WebKitDownload {
2464 pub parent: gobject::GObject,
2465 pub priv_: *mut WebKitDownloadPrivate,
2466}
2467
2468impl ::std::fmt::Debug for WebKitDownload {
2469 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2470 f.debug_struct(&format!("WebKitDownload @ {self:p}"))
2471 .field("parent", &self.parent)
2472 .field("priv_", &self.priv_)
2473 .finish()
2474 }
2475}
2476
2477#[derive(Copy, Clone)]
2478#[repr(C)]
2479pub struct WebKitEditorState {
2480 pub parent: gobject::GObject,
2481 pub priv_: *mut WebKitEditorStatePrivate,
2482}
2483
2484impl ::std::fmt::Debug for WebKitEditorState {
2485 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2486 f.debug_struct(&format!("WebKitEditorState @ {self:p}"))
2487 .field("parent", &self.parent)
2488 .field("priv_", &self.priv_)
2489 .finish()
2490 }
2491}
2492
2493#[derive(Copy, Clone)]
2494#[repr(C)]
2495pub struct WebKitFaviconDatabase {
2496 pub parent: gobject::GObject,
2497 pub priv_: *mut WebKitFaviconDatabasePrivate,
2498}
2499
2500impl ::std::fmt::Debug for WebKitFaviconDatabase {
2501 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2502 f.debug_struct(&format!("WebKitFaviconDatabase @ {self:p}"))
2503 .field("parent", &self.parent)
2504 .field("priv_", &self.priv_)
2505 .finish()
2506 }
2507}
2508
2509#[derive(Copy, Clone)]
2510#[repr(C)]
2511pub struct WebKitFileChooserRequest {
2512 pub parent: gobject::GObject,
2513 pub priv_: *mut WebKitFileChooserRequestPrivate,
2514}
2515
2516impl ::std::fmt::Debug for WebKitFileChooserRequest {
2517 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2518 f.debug_struct(&format!("WebKitFileChooserRequest @ {self:p}"))
2519 .field("parent", &self.parent)
2520 .field("priv_", &self.priv_)
2521 .finish()
2522 }
2523}
2524
2525#[derive(Copy, Clone)]
2526#[repr(C)]
2527pub struct WebKitFindController {
2528 pub parent: gobject::GObject,
2529 pub priv_: *mut WebKitFindControllerPrivate,
2530}
2531
2532impl ::std::fmt::Debug for WebKitFindController {
2533 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2534 f.debug_struct(&format!("WebKitFindController @ {self:p}"))
2535 .field("parent", &self.parent)
2536 .field("priv_", &self.priv_)
2537 .finish()
2538 }
2539}
2540
2541#[derive(Copy, Clone)]
2542#[repr(C)]
2543pub struct WebKitFormSubmissionRequest {
2544 pub parent: gobject::GObject,
2545 pub priv_: *mut WebKitFormSubmissionRequestPrivate,
2546}
2547
2548impl ::std::fmt::Debug for WebKitFormSubmissionRequest {
2549 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2550 f.debug_struct(&format!("WebKitFormSubmissionRequest @ {self:p}"))
2551 .field("parent", &self.parent)
2552 .field("priv_", &self.priv_)
2553 .finish()
2554 }
2555}
2556
2557#[derive(Copy, Clone)]
2558#[repr(C)]
2559pub struct WebKitGeolocationManager {
2560 pub parent: gobject::GObject,
2561 pub priv_: *mut WebKitGeolocationManagerPrivate,
2562}
2563
2564impl ::std::fmt::Debug for WebKitGeolocationManager {
2565 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2566 f.debug_struct(&format!("WebKitGeolocationManager @ {self:p}"))
2567 .field("parent", &self.parent)
2568 .field("priv_", &self.priv_)
2569 .finish()
2570 }
2571}
2572
2573#[derive(Copy, Clone)]
2574#[repr(C)]
2575pub struct WebKitGeolocationPermissionRequest {
2576 pub parent: gobject::GObject,
2577 pub priv_: *mut WebKitGeolocationPermissionRequestPrivate,
2578}
2579
2580impl ::std::fmt::Debug for WebKitGeolocationPermissionRequest {
2581 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2582 f.debug_struct(&format!("WebKitGeolocationPermissionRequest @ {self:p}"))
2583 .field("parent", &self.parent)
2584 .field("priv_", &self.priv_)
2585 .finish()
2586 }
2587}
2588
2589#[derive(Copy, Clone)]
2590#[repr(C)]
2591pub struct WebKitHitTestResult {
2592 pub parent: gobject::GObject,
2593 pub priv_: *mut WebKitHitTestResultPrivate,
2594}
2595
2596impl ::std::fmt::Debug for WebKitHitTestResult {
2597 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2598 f.debug_struct(&format!("WebKitHitTestResult @ {self:p}"))
2599 .field("parent", &self.parent)
2600 .field("priv_", &self.priv_)
2601 .finish()
2602 }
2603}
2604
2605#[derive(Copy, Clone)]
2606#[repr(C)]
2607pub struct WebKitInputMethodContext {
2608 pub parent: gobject::GObject,
2609 pub priv_: *mut WebKitInputMethodContextPrivate,
2610}
2611
2612impl ::std::fmt::Debug for WebKitInputMethodContext {
2613 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2614 f.debug_struct(&format!("WebKitInputMethodContext @ {self:p}"))
2615 .field("parent", &self.parent)
2616 .field("priv_", &self.priv_)
2617 .finish()
2618 }
2619}
2620
2621#[derive(Copy, Clone)]
2622#[repr(C)]
2623pub struct WebKitInstallMissingMediaPluginsPermissionRequest {
2624 pub parent: gobject::GObject,
2625 pub priv_: *mut WebKitInstallMissingMediaPluginsPermissionRequestPrivate,
2626}
2627
2628impl ::std::fmt::Debug for WebKitInstallMissingMediaPluginsPermissionRequest {
2629 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2630 f.debug_struct(&format!(
2631 "WebKitInstallMissingMediaPluginsPermissionRequest @ {self:p}"
2632 ))
2633 .field("parent", &self.parent)
2634 .finish()
2635 }
2636}
2637
2638#[derive(Copy, Clone)]
2639#[repr(C)]
2640pub struct WebKitMediaKeySystemPermissionRequest {
2641 pub parent: gobject::GObject,
2642 pub priv_: *mut WebKitMediaKeySystemPermissionRequestPrivate,
2643}
2644
2645impl ::std::fmt::Debug for WebKitMediaKeySystemPermissionRequest {
2646 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2647 f.debug_struct(&format!("WebKitMediaKeySystemPermissionRequest @ {self:p}"))
2648 .field("parent", &self.parent)
2649 .field("priv_", &self.priv_)
2650 .finish()
2651 }
2652}
2653
2654#[derive(Copy, Clone)]
2655#[repr(C)]
2656pub struct WebKitNavigationPolicyDecision {
2657 pub parent: WebKitPolicyDecision,
2658 pub priv_: *mut WebKitNavigationPolicyDecisionPrivate,
2659}
2660
2661impl ::std::fmt::Debug for WebKitNavigationPolicyDecision {
2662 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2663 f.debug_struct(&format!("WebKitNavigationPolicyDecision @ {self:p}"))
2664 .field("parent", &self.parent)
2665 .field("priv_", &self.priv_)
2666 .finish()
2667 }
2668}
2669
2670#[derive(Copy, Clone)]
2671#[repr(C)]
2672pub struct WebKitNotification {
2673 pub parent: gobject::GObject,
2674 pub priv_: *mut WebKitNotificationPrivate,
2675}
2676
2677impl ::std::fmt::Debug for WebKitNotification {
2678 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2679 f.debug_struct(&format!("WebKitNotification @ {self:p}"))
2680 .field("parent", &self.parent)
2681 .field("priv_", &self.priv_)
2682 .finish()
2683 }
2684}
2685
2686#[derive(Copy, Clone)]
2687#[repr(C)]
2688pub struct WebKitNotificationPermissionRequest {
2689 pub parent: gobject::GObject,
2690 pub priv_: *mut WebKitNotificationPermissionRequestPrivate,
2691}
2692
2693impl ::std::fmt::Debug for WebKitNotificationPermissionRequest {
2694 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2695 f.debug_struct(&format!("WebKitNotificationPermissionRequest @ {self:p}"))
2696 .field("parent", &self.parent)
2697 .field("priv_", &self.priv_)
2698 .finish()
2699 }
2700}
2701
2702#[derive(Copy, Clone)]
2703#[repr(C)]
2704pub struct WebKitOptionMenu {
2705 pub parent: gobject::GObject,
2706 pub priv_: *mut WebKitOptionMenuPrivate,
2707}
2708
2709impl ::std::fmt::Debug for WebKitOptionMenu {
2710 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2711 f.debug_struct(&format!("WebKitOptionMenu @ {self:p}"))
2712 .field("parent", &self.parent)
2713 .field("priv_", &self.priv_)
2714 .finish()
2715 }
2716}
2717
2718#[derive(Copy, Clone)]
2719#[repr(C)]
2720pub struct WebKitPlugin {
2721 pub parent: gobject::GObject,
2722 pub priv_: *mut WebKitPluginPrivate,
2723}
2724
2725impl ::std::fmt::Debug for WebKitPlugin {
2726 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2727 f.debug_struct(&format!("WebKitPlugin @ {self:p}"))
2728 .field("parent", &self.parent)
2729 .finish()
2730 }
2731}
2732
2733#[derive(Copy, Clone)]
2734#[repr(C)]
2735pub struct WebKitPointerLockPermissionRequest {
2736 pub parent: gobject::GObject,
2737 pub priv_: *mut WebKitPointerLockPermissionRequestPrivate,
2738}
2739
2740impl ::std::fmt::Debug for WebKitPointerLockPermissionRequest {
2741 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2742 f.debug_struct(&format!("WebKitPointerLockPermissionRequest @ {self:p}"))
2743 .field("parent", &self.parent)
2744 .field("priv_", &self.priv_)
2745 .finish()
2746 }
2747}
2748
2749#[derive(Copy, Clone)]
2750#[repr(C)]
2751pub struct WebKitPolicyDecision {
2752 pub parent: gobject::GObject,
2753 pub priv_: *mut WebKitPolicyDecisionPrivate,
2754}
2755
2756impl ::std::fmt::Debug for WebKitPolicyDecision {
2757 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2758 f.debug_struct(&format!("WebKitPolicyDecision @ {self:p}"))
2759 .field("parent", &self.parent)
2760 .field("priv_", &self.priv_)
2761 .finish()
2762 }
2763}
2764
2765#[derive(Copy, Clone)]
2766#[repr(C)]
2767pub struct WebKitPrintCustomWidget {
2768 pub parent: gobject::GObject,
2769 pub priv_: *mut WebKitPrintCustomWidgetPrivate,
2770}
2771
2772impl ::std::fmt::Debug for WebKitPrintCustomWidget {
2773 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2774 f.debug_struct(&format!("WebKitPrintCustomWidget @ {self:p}"))
2775 .field("parent", &self.parent)
2776 .finish()
2777 }
2778}
2779
2780#[derive(Copy, Clone)]
2781#[repr(C)]
2782pub struct WebKitPrintOperation {
2783 pub parent: gobject::GObject,
2784 pub priv_: *mut WebKitPrintOperationPrivate,
2785}
2786
2787impl ::std::fmt::Debug for WebKitPrintOperation {
2788 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2789 f.debug_struct(&format!("WebKitPrintOperation @ {self:p}"))
2790 .field("parent", &self.parent)
2791 .field("priv_", &self.priv_)
2792 .finish()
2793 }
2794}
2795
2796#[derive(Copy, Clone)]
2797#[repr(C)]
2798pub struct WebKitResponsePolicyDecision {
2799 pub parent: WebKitPolicyDecision,
2800 pub priv_: *mut WebKitResponsePolicyDecisionPrivate,
2801}
2802
2803impl ::std::fmt::Debug for WebKitResponsePolicyDecision {
2804 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2805 f.debug_struct(&format!("WebKitResponsePolicyDecision @ {self:p}"))
2806 .field("parent", &self.parent)
2807 .field("priv_", &self.priv_)
2808 .finish()
2809 }
2810}
2811
2812#[derive(Copy, Clone)]
2813#[repr(C)]
2814pub struct WebKitSecurityManager {
2815 pub parent: gobject::GObject,
2816 pub priv_: *mut WebKitSecurityManagerPrivate,
2817}
2818
2819impl ::std::fmt::Debug for WebKitSecurityManager {
2820 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2821 f.debug_struct(&format!("WebKitSecurityManager @ {self:p}"))
2822 .field("parent", &self.parent)
2823 .field("priv_", &self.priv_)
2824 .finish()
2825 }
2826}
2827
2828#[derive(Copy, Clone)]
2829#[repr(C)]
2830pub struct WebKitSettings {
2831 pub parent: gobject::GObject,
2832 pub priv_: *mut WebKitSettingsPrivate,
2833}
2834
2835impl ::std::fmt::Debug for WebKitSettings {
2836 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2837 f.debug_struct(&format!("WebKitSettings @ {self:p}"))
2838 .field("parent", &self.parent)
2839 .field("priv_", &self.priv_)
2840 .finish()
2841 }
2842}
2843
2844#[derive(Copy, Clone)]
2845#[repr(C)]
2846pub struct WebKitURIRequest {
2847 pub parent: gobject::GObject,
2848 pub priv_: *mut WebKitURIRequestPrivate,
2849}
2850
2851impl ::std::fmt::Debug for WebKitURIRequest {
2852 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2853 f.debug_struct(&format!("WebKitURIRequest @ {self:p}"))
2854 .field("parent", &self.parent)
2855 .field("priv_", &self.priv_)
2856 .finish()
2857 }
2858}
2859
2860#[derive(Copy, Clone)]
2861#[repr(C)]
2862pub struct WebKitURIResponse {
2863 pub parent: gobject::GObject,
2864 pub priv_: *mut WebKitURIResponsePrivate,
2865}
2866
2867impl ::std::fmt::Debug for WebKitURIResponse {
2868 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2869 f.debug_struct(&format!("WebKitURIResponse @ {self:p}"))
2870 .field("parent", &self.parent)
2871 .field("priv_", &self.priv_)
2872 .finish()
2873 }
2874}
2875
2876#[derive(Copy, Clone)]
2877#[repr(C)]
2878pub struct WebKitURISchemeRequest {
2879 pub parent: gobject::GObject,
2880 pub priv_: *mut WebKitURISchemeRequestPrivate,
2881}
2882
2883impl ::std::fmt::Debug for WebKitURISchemeRequest {
2884 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2885 f.debug_struct(&format!("WebKitURISchemeRequest @ {self:p}"))
2886 .field("parent", &self.parent)
2887 .field("priv_", &self.priv_)
2888 .finish()
2889 }
2890}
2891
2892#[derive(Copy, Clone)]
2893#[repr(C)]
2894pub struct WebKitURISchemeResponse {
2895 pub parent: gobject::GObject,
2896 pub priv_: *mut WebKitURISchemeResponsePrivate,
2897}
2898
2899impl ::std::fmt::Debug for WebKitURISchemeResponse {
2900 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2901 f.debug_struct(&format!("WebKitURISchemeResponse @ {self:p}"))
2902 .field("parent", &self.parent)
2903 .field("priv_", &self.priv_)
2904 .finish()
2905 }
2906}
2907
2908#[derive(Copy, Clone)]
2909#[repr(C)]
2910pub struct WebKitUserContentFilterStore {
2911 pub parent: gobject::GObject,
2912 pub priv_: *mut WebKitUserContentFilterStorePrivate,
2913}
2914
2915impl ::std::fmt::Debug for WebKitUserContentFilterStore {
2916 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2917 f.debug_struct(&format!("WebKitUserContentFilterStore @ {self:p}"))
2918 .field("parent", &self.parent)
2919 .field("priv_", &self.priv_)
2920 .finish()
2921 }
2922}
2923
2924#[derive(Copy, Clone)]
2925#[repr(C)]
2926pub struct WebKitUserContentManager {
2927 pub parent: gobject::GObject,
2928 pub priv_: *mut WebKitUserContentManagerPrivate,
2929}
2930
2931impl ::std::fmt::Debug for WebKitUserContentManager {
2932 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2933 f.debug_struct(&format!("WebKitUserContentManager @ {self:p}"))
2934 .field("parent", &self.parent)
2935 .field("priv_", &self.priv_)
2936 .finish()
2937 }
2938}
2939
2940#[derive(Copy, Clone)]
2941#[repr(C)]
2942pub struct WebKitUserMediaPermissionRequest {
2943 pub parent: gobject::GObject,
2944 pub priv_: *mut WebKitUserMediaPermissionRequestPrivate,
2945}
2946
2947impl ::std::fmt::Debug for WebKitUserMediaPermissionRequest {
2948 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2949 f.debug_struct(&format!("WebKitUserMediaPermissionRequest @ {self:p}"))
2950 .field("parent", &self.parent)
2951 .field("priv_", &self.priv_)
2952 .finish()
2953 }
2954}
2955
2956#[derive(Copy, Clone)]
2957#[repr(C)]
2958pub struct WebKitUserMessage {
2959 pub parent: gobject::GInitiallyUnowned,
2960 pub priv_: *mut WebKitUserMessagePrivate,
2961}
2962
2963impl ::std::fmt::Debug for WebKitUserMessage {
2964 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2965 f.debug_struct(&format!("WebKitUserMessage @ {self:p}"))
2966 .field("parent", &self.parent)
2967 .field("priv_", &self.priv_)
2968 .finish()
2969 }
2970}
2971
2972#[derive(Copy, Clone)]
2973#[repr(C)]
2974pub struct WebKitWebContext {
2975 pub parent: gobject::GObject,
2976 pub priv_: *mut WebKitWebContextPrivate,
2977}
2978
2979impl ::std::fmt::Debug for WebKitWebContext {
2980 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2981 f.debug_struct(&format!("WebKitWebContext @ {self:p}"))
2982 .field("parent", &self.parent)
2983 .field("priv_", &self.priv_)
2984 .finish()
2985 }
2986}
2987
2988#[derive(Copy, Clone)]
2989#[repr(C)]
2990pub struct WebKitWebInspector {
2991 pub parent: gobject::GObject,
2992 pub priv_: *mut WebKitWebInspectorPrivate,
2993}
2994
2995impl ::std::fmt::Debug for WebKitWebInspector {
2996 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2997 f.debug_struct(&format!("WebKitWebInspector @ {self:p}"))
2998 .field("parent", &self.parent)
2999 .field("priv_", &self.priv_)
3000 .finish()
3001 }
3002}
3003
3004#[derive(Copy, Clone)]
3005#[repr(C)]
3006pub struct WebKitWebResource {
3007 pub parent: gobject::GObject,
3008 pub priv_: *mut WebKitWebResourcePrivate,
3009}
3010
3011impl ::std::fmt::Debug for WebKitWebResource {
3012 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3013 f.debug_struct(&format!("WebKitWebResource @ {self:p}"))
3014 .field("parent", &self.parent)
3015 .field("priv_", &self.priv_)
3016 .finish()
3017 }
3018}
3019
3020#[derive(Copy, Clone)]
3021#[repr(C)]
3022pub struct WebKitWebView {
3023 pub parent: WebKitWebViewBase,
3024 pub priv_: *mut WebKitWebViewPrivate,
3025}
3026
3027impl ::std::fmt::Debug for WebKitWebView {
3028 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3029 f.debug_struct(&format!("WebKitWebView @ {self:p}"))
3030 .field("parent", &self.parent)
3031 .field("priv_", &self.priv_)
3032 .finish()
3033 }
3034}
3035
3036#[derive(Copy, Clone)]
3037#[repr(C)]
3038pub struct WebKitWebViewBase {
3039 pub parent: gtk::GtkContainer,
3040 pub priv_: *mut WebKitWebViewBasePrivate,
3041}
3042
3043impl ::std::fmt::Debug for WebKitWebViewBase {
3044 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3045 f.debug_struct(&format!("WebKitWebViewBase @ {self:p}"))
3046 .field("parent", &self.parent)
3047 .field("priv_", &self.priv_)
3048 .finish()
3049 }
3050}
3051
3052#[derive(Copy, Clone)]
3053#[repr(C)]
3054pub struct WebKitWebsiteDataAccessPermissionRequest {
3055 pub parent: gobject::GObject,
3056 pub priv_: *mut WebKitWebsiteDataAccessPermissionRequestPrivate,
3057}
3058
3059impl ::std::fmt::Debug for WebKitWebsiteDataAccessPermissionRequest {
3060 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3061 f.debug_struct(&format!(
3062 "WebKitWebsiteDataAccessPermissionRequest @ {self:p}"
3063 ))
3064 .field("parent", &self.parent)
3065 .field("priv_", &self.priv_)
3066 .finish()
3067 }
3068}
3069
3070#[derive(Copy, Clone)]
3071#[repr(C)]
3072pub struct WebKitWebsiteDataManager {
3073 pub parent: gobject::GObject,
3074 pub priv_: *mut WebKitWebsiteDataManagerPrivate,
3075}
3076
3077impl ::std::fmt::Debug for WebKitWebsiteDataManager {
3078 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3079 f.debug_struct(&format!("WebKitWebsiteDataManager @ {self:p}"))
3080 .field("parent", &self.parent)
3081 .field("priv_", &self.priv_)
3082 .finish()
3083 }
3084}
3085
3086#[derive(Copy, Clone)]
3087#[repr(C)]
3088pub struct WebKitWebsitePolicies {
3089 pub parent: gobject::GObject,
3090 pub priv_: *mut WebKitWebsitePoliciesPrivate,
3091}
3092
3093impl ::std::fmt::Debug for WebKitWebsitePolicies {
3094 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3095 f.debug_struct(&format!("WebKitWebsitePolicies @ {self:p}"))
3096 .field("parent", &self.parent)
3097 .field("priv_", &self.priv_)
3098 .finish()
3099 }
3100}
3101
3102#[derive(Copy, Clone)]
3103#[repr(C)]
3104pub struct WebKitWindowProperties {
3105 pub parent: gobject::GObject,
3106 pub priv_: *mut WebKitWindowPropertiesPrivate,
3107}
3108
3109impl ::std::fmt::Debug for WebKitWindowProperties {
3110 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3111 f.debug_struct(&format!("WebKitWindowProperties @ {self:p}"))
3112 .field("parent", &self.parent)
3113 .field("priv_", &self.priv_)
3114 .finish()
3115 }
3116}
3117
3118#[repr(C)]
3120pub struct WebKitPermissionRequest {
3121 _data: [u8; 0],
3122 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3123}
3124
3125impl ::std::fmt::Debug for WebKitPermissionRequest {
3126 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3127 write!(f, "WebKitPermissionRequest @ {self:p}")
3128 }
3129}
3130
3131#[link(name = "webkit2gtk-4.1")]
3132#[link(name = "javascriptcoregtk-4.1")]
3133extern "C" {
3134
3135 pub fn webkit_authentication_scheme_get_type() -> GType;
3139
3140 #[cfg(feature = "v2_28")]
3144 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
3145 pub fn webkit_automation_browsing_context_presentation_get_type() -> GType;
3146
3147 #[cfg(feature = "v2_30")]
3151 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
3152 pub fn webkit_autoplay_policy_get_type() -> GType;
3153
3154 pub fn webkit_cache_model_get_type() -> GType;
3158
3159 pub fn webkit_context_menu_action_get_type() -> GType;
3163
3164 pub fn webkit_cookie_accept_policy_get_type() -> GType;
3168
3169 pub fn webkit_cookie_persistent_storage_get_type() -> GType;
3173
3174 pub fn webkit_credential_persistence_get_type() -> GType;
3178
3179 pub fn webkit_download_error_get_type() -> GType;
3183 pub fn webkit_download_error_quark() -> glib::GQuark;
3184
3185 pub fn webkit_favicon_database_error_get_type() -> GType;
3189 pub fn webkit_favicon_database_error_quark() -> glib::GQuark;
3190
3191 #[cfg(feature = "v2_16")]
3195 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
3196 pub fn webkit_hardware_acceleration_policy_get_type() -> GType;
3197
3198 #[cfg(feature = "v2_28")]
3202 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
3203 pub fn webkit_input_purpose_get_type() -> GType;
3204
3205 pub fn webkit_insecure_content_event_get_type() -> GType;
3209
3210 pub fn webkit_javascript_error_get_type() -> GType;
3214 pub fn webkit_javascript_error_quark() -> glib::GQuark;
3215
3216 pub fn webkit_load_event_get_type() -> GType;
3220
3221 #[cfg(feature = "v2_34")]
3225 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
3226 pub fn webkit_media_capture_state_get_type() -> GType;
3227
3228 pub fn webkit_navigation_type_get_type() -> GType;
3232
3233 pub fn webkit_network_error_get_type() -> GType;
3237 pub fn webkit_network_error_quark() -> glib::GQuark;
3238
3239 #[cfg(feature = "v2_16")]
3243 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
3244 pub fn webkit_network_proxy_mode_get_type() -> GType;
3245
3246 #[cfg(feature = "v2_40")]
3250 #[cfg_attr(docsrs, doc(cfg(feature = "v2_40")))]
3251 pub fn webkit_permission_state_get_type() -> GType;
3252
3253 pub fn webkit_plugin_error_get_type() -> GType;
3257 pub fn webkit_plugin_error_quark() -> glib::GQuark;
3258
3259 pub fn webkit_policy_decision_type_get_type() -> GType;
3263
3264 pub fn webkit_policy_error_get_type() -> GType;
3268 pub fn webkit_policy_error_quark() -> glib::GQuark;
3269
3270 pub fn webkit_print_error_get_type() -> GType;
3274 pub fn webkit_print_error_quark() -> glib::GQuark;
3275
3276 pub fn webkit_print_operation_response_get_type() -> GType;
3280
3281 pub fn webkit_process_model_get_type() -> GType;
3285
3286 pub fn webkit_save_mode_get_type() -> GType;
3290
3291 pub fn webkit_script_dialog_type_get_type() -> GType;
3295
3296 pub fn webkit_snapshot_error_get_type() -> GType;
3300 pub fn webkit_snapshot_error_quark() -> glib::GQuark;
3301
3302 pub fn webkit_snapshot_region_get_type() -> GType;
3306
3307 pub fn webkit_tls_errors_policy_get_type() -> GType;
3311
3312 #[cfg(feature = "v2_24")]
3316 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
3317 pub fn webkit_user_content_filter_error_get_type() -> GType;
3318 #[cfg(feature = "v2_24")]
3319 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
3320 pub fn webkit_user_content_filter_error_quark() -> glib::GQuark;
3321
3322 #[cfg(feature = "v2_6")]
3326 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
3327 pub fn webkit_user_content_injected_frames_get_type() -> GType;
3328
3329 #[cfg(feature = "v2_28")]
3333 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
3334 pub fn webkit_user_message_error_get_type() -> GType;
3335 #[cfg(feature = "v2_28")]
3336 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
3337 pub fn webkit_user_message_error_quark() -> glib::GQuark;
3338
3339 #[cfg(feature = "v2_6")]
3343 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
3344 pub fn webkit_user_script_injection_time_get_type() -> GType;
3345
3346 #[cfg(feature = "v2_6")]
3350 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
3351 pub fn webkit_user_style_level_get_type() -> GType;
3352
3353 #[cfg(feature = "v2_38")]
3357 #[cfg_attr(docsrs, doc(cfg(feature = "v2_38")))]
3358 pub fn webkit_web_extension_mode_get_type() -> GType;
3359
3360 #[cfg(feature = "v2_20")]
3364 #[cfg_attr(docsrs, doc(cfg(feature = "v2_20")))]
3365 pub fn webkit_web_process_termination_reason_get_type() -> GType;
3366
3367 #[cfg(feature = "v2_10")]
3371 #[cfg_attr(docsrs, doc(cfg(feature = "v2_10")))]
3372 pub fn webkit_editor_typing_attributes_get_type() -> GType;
3373
3374 pub fn webkit_find_options_get_type() -> GType;
3378
3379 pub fn webkit_hit_test_result_context_get_type() -> GType;
3383
3384 #[cfg(feature = "v2_28")]
3388 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
3389 pub fn webkit_input_hints_get_type() -> GType;
3390
3391 pub fn webkit_snapshot_options_get_type() -> GType;
3395
3396 #[cfg(feature = "v2_16")]
3400 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
3401 pub fn webkit_website_data_types_get_type() -> GType;
3402
3403 pub fn webkit_application_info_get_type() -> GType;
3407 #[cfg(feature = "v2_18")]
3408 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
3409 pub fn webkit_application_info_new() -> *mut WebKitApplicationInfo;
3410 #[cfg(feature = "v2_18")]
3411 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
3412 pub fn webkit_application_info_get_name(info: *mut WebKitApplicationInfo) -> *const c_char;
3413 #[cfg(feature = "v2_18")]
3414 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
3415 pub fn webkit_application_info_get_version(
3416 info: *mut WebKitApplicationInfo,
3417 major: *mut u64,
3418 minor: *mut u64,
3419 micro: *mut u64,
3420 );
3421 #[cfg(feature = "v2_18")]
3422 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
3423 pub fn webkit_application_info_ref(
3424 info: *mut WebKitApplicationInfo,
3425 ) -> *mut WebKitApplicationInfo;
3426 #[cfg(feature = "v2_18")]
3427 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
3428 pub fn webkit_application_info_set_name(info: *mut WebKitApplicationInfo, name: *const c_char);
3429 #[cfg(feature = "v2_18")]
3430 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
3431 pub fn webkit_application_info_set_version(
3432 info: *mut WebKitApplicationInfo,
3433 major: u64,
3434 minor: u64,
3435 micro: u64,
3436 );
3437 #[cfg(feature = "v2_18")]
3438 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
3439 pub fn webkit_application_info_unref(info: *mut WebKitApplicationInfo);
3440
3441 pub fn webkit_credential_get_type() -> GType;
3445 pub fn webkit_credential_new(
3446 username: *const c_char,
3447 password: *const c_char,
3448 persistence: WebKitCredentialPersistence,
3449 ) -> *mut WebKitCredential;
3450 #[cfg(feature = "v2_34")]
3451 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
3452 pub fn webkit_credential_new_for_certificate(
3453 certificate: *mut gio::GTlsCertificate,
3454 persistence: WebKitCredentialPersistence,
3455 ) -> *mut WebKitCredential;
3456 #[cfg(feature = "v2_34")]
3457 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
3458 pub fn webkit_credential_new_for_certificate_pin(
3459 pin: *const c_char,
3460 persistence: WebKitCredentialPersistence,
3461 ) -> *mut WebKitCredential;
3462 pub fn webkit_credential_copy(credential: *mut WebKitCredential) -> *mut WebKitCredential;
3463 pub fn webkit_credential_free(credential: *mut WebKitCredential);
3464 #[cfg(feature = "v2_34")]
3465 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
3466 pub fn webkit_credential_get_certificate(
3467 credential: *mut WebKitCredential,
3468 ) -> *mut gio::GTlsCertificate;
3469 pub fn webkit_credential_get_password(credential: *mut WebKitCredential) -> *const c_char;
3470 pub fn webkit_credential_get_persistence(
3471 credential: *mut WebKitCredential,
3472 ) -> WebKitCredentialPersistence;
3473 pub fn webkit_credential_get_username(credential: *mut WebKitCredential) -> *const c_char;
3474 pub fn webkit_credential_has_password(credential: *mut WebKitCredential) -> gboolean;
3475
3476 #[cfg(feature = "v2_26")]
3480 #[cfg_attr(docsrs, doc(cfg(feature = "v2_26")))]
3481 pub fn webkit_geolocation_position_get_type() -> GType;
3482 #[cfg(feature = "v2_26")]
3483 #[cfg_attr(docsrs, doc(cfg(feature = "v2_26")))]
3484 pub fn webkit_geolocation_position_new(
3485 latitude: c_double,
3486 longitude: c_double,
3487 accuracy: c_double,
3488 ) -> *mut WebKitGeolocationPosition;
3489 #[cfg(feature = "v2_26")]
3490 #[cfg_attr(docsrs, doc(cfg(feature = "v2_26")))]
3491 pub fn webkit_geolocation_position_copy(
3492 position: *mut WebKitGeolocationPosition,
3493 ) -> *mut WebKitGeolocationPosition;
3494 #[cfg(feature = "v2_26")]
3495 #[cfg_attr(docsrs, doc(cfg(feature = "v2_26")))]
3496 pub fn webkit_geolocation_position_free(position: *mut WebKitGeolocationPosition);
3497 #[cfg(feature = "v2_26")]
3498 #[cfg_attr(docsrs, doc(cfg(feature = "v2_26")))]
3499 pub fn webkit_geolocation_position_set_altitude(
3500 position: *mut WebKitGeolocationPosition,
3501 altitude: c_double,
3502 );
3503 #[cfg(feature = "v2_26")]
3504 #[cfg_attr(docsrs, doc(cfg(feature = "v2_26")))]
3505 pub fn webkit_geolocation_position_set_altitude_accuracy(
3506 position: *mut WebKitGeolocationPosition,
3507 altitude_accuracy: c_double,
3508 );
3509 #[cfg(feature = "v2_26")]
3510 #[cfg_attr(docsrs, doc(cfg(feature = "v2_26")))]
3511 pub fn webkit_geolocation_position_set_heading(
3512 position: *mut WebKitGeolocationPosition,
3513 heading: c_double,
3514 );
3515 #[cfg(feature = "v2_26")]
3516 #[cfg_attr(docsrs, doc(cfg(feature = "v2_26")))]
3517 pub fn webkit_geolocation_position_set_speed(
3518 position: *mut WebKitGeolocationPosition,
3519 speed: c_double,
3520 );
3521 #[cfg(feature = "v2_26")]
3522 #[cfg_attr(docsrs, doc(cfg(feature = "v2_26")))]
3523 pub fn webkit_geolocation_position_set_timestamp(
3524 position: *mut WebKitGeolocationPosition,
3525 timestamp: u64,
3526 );
3527
3528 #[cfg(feature = "v2_30")]
3532 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
3533 pub fn webkit_itp_first_party_get_type() -> GType;
3534 #[cfg(feature = "v2_30")]
3535 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
3536 pub fn webkit_itp_first_party_get_domain(
3537 itp_first_party: *mut WebKitITPFirstParty,
3538 ) -> *const c_char;
3539 #[cfg(feature = "v2_30")]
3540 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
3541 pub fn webkit_itp_first_party_get_last_update_time(
3542 itp_first_party: *mut WebKitITPFirstParty,
3543 ) -> *mut glib::GDateTime;
3544 #[cfg(feature = "v2_30")]
3545 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
3546 pub fn webkit_itp_first_party_get_website_data_access_allowed(
3547 itp_first_party: *mut WebKitITPFirstParty,
3548 ) -> gboolean;
3549 #[cfg(feature = "v2_30")]
3550 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
3551 pub fn webkit_itp_first_party_ref(
3552 itp_first_party: *mut WebKitITPFirstParty,
3553 ) -> *mut WebKitITPFirstParty;
3554 #[cfg(feature = "v2_30")]
3555 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
3556 pub fn webkit_itp_first_party_unref(itp_first_party: *mut WebKitITPFirstParty);
3557
3558 #[cfg(feature = "v2_30")]
3562 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
3563 pub fn webkit_itp_third_party_get_type() -> GType;
3564 #[cfg(feature = "v2_30")]
3565 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
3566 pub fn webkit_itp_third_party_get_domain(
3567 itp_third_party: *mut WebKitITPThirdParty,
3568 ) -> *const c_char;
3569 #[cfg(feature = "v2_30")]
3570 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
3571 pub fn webkit_itp_third_party_get_first_parties(
3572 itp_third_party: *mut WebKitITPThirdParty,
3573 ) -> *mut glib::GList;
3574 #[cfg(feature = "v2_30")]
3575 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
3576 pub fn webkit_itp_third_party_ref(
3577 itp_third_party: *mut WebKitITPThirdParty,
3578 ) -> *mut WebKitITPThirdParty;
3579 #[cfg(feature = "v2_30")]
3580 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
3581 pub fn webkit_itp_third_party_unref(itp_third_party: *mut WebKitITPThirdParty);
3582
3583 #[cfg(feature = "v2_28")]
3587 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
3588 pub fn webkit_input_method_underline_get_type() -> GType;
3589 #[cfg(feature = "v2_28")]
3590 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
3591 pub fn webkit_input_method_underline_new(
3592 start_offset: c_uint,
3593 end_offset: c_uint,
3594 ) -> *mut WebKitInputMethodUnderline;
3595 #[cfg(feature = "v2_28")]
3596 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
3597 pub fn webkit_input_method_underline_copy(
3598 underline: *mut WebKitInputMethodUnderline,
3599 ) -> *mut WebKitInputMethodUnderline;
3600 #[cfg(feature = "v2_28")]
3601 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
3602 pub fn webkit_input_method_underline_free(underline: *mut WebKitInputMethodUnderline);
3603 #[cfg(feature = "v2_28")]
3604 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
3605 pub fn webkit_input_method_underline_set_color(
3606 underline: *mut WebKitInputMethodUnderline,
3607 rgba: *const gdk::GdkRGBA,
3608 );
3609
3610 pub fn webkit_javascript_result_get_type() -> GType;
3614 #[cfg(feature = "v2_22")]
3615 #[cfg_attr(docsrs, doc(cfg(feature = "v2_22")))]
3616 pub fn webkit_javascript_result_get_js_value(
3617 js_result: *mut WebKitJavascriptResult,
3618 ) -> *mut java_script_core::JSCValue;
3619 pub fn webkit_javascript_result_ref(
3620 js_result: *mut WebKitJavascriptResult,
3621 ) -> *mut WebKitJavascriptResult;
3622 pub fn webkit_javascript_result_unref(js_result: *mut WebKitJavascriptResult);
3623
3624 #[cfg(feature = "v2_34")]
3628 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
3629 pub fn webkit_memory_pressure_settings_get_type() -> GType;
3630 #[cfg(feature = "v2_34")]
3631 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
3632 pub fn webkit_memory_pressure_settings_new() -> *mut WebKitMemoryPressureSettings;
3633 #[cfg(feature = "v2_34")]
3634 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
3635 pub fn webkit_memory_pressure_settings_copy(
3636 settings: *mut WebKitMemoryPressureSettings,
3637 ) -> *mut WebKitMemoryPressureSettings;
3638 #[cfg(feature = "v2_34")]
3639 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
3640 pub fn webkit_memory_pressure_settings_free(settings: *mut WebKitMemoryPressureSettings);
3641 #[cfg(feature = "v2_34")]
3642 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
3643 pub fn webkit_memory_pressure_settings_get_conservative_threshold(
3644 settings: *mut WebKitMemoryPressureSettings,
3645 ) -> c_double;
3646 #[cfg(feature = "v2_34")]
3647 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
3648 pub fn webkit_memory_pressure_settings_get_kill_threshold(
3649 settings: *mut WebKitMemoryPressureSettings,
3650 ) -> c_double;
3651 #[cfg(feature = "v2_34")]
3652 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
3653 pub fn webkit_memory_pressure_settings_get_memory_limit(
3654 settings: *mut WebKitMemoryPressureSettings,
3655 ) -> c_uint;
3656 #[cfg(feature = "v2_34")]
3657 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
3658 pub fn webkit_memory_pressure_settings_get_poll_interval(
3659 settings: *mut WebKitMemoryPressureSettings,
3660 ) -> c_double;
3661 #[cfg(feature = "v2_34")]
3662 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
3663 pub fn webkit_memory_pressure_settings_get_strict_threshold(
3664 settings: *mut WebKitMemoryPressureSettings,
3665 ) -> c_double;
3666 #[cfg(feature = "v2_34")]
3667 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
3668 pub fn webkit_memory_pressure_settings_set_conservative_threshold(
3669 settings: *mut WebKitMemoryPressureSettings,
3670 value: c_double,
3671 );
3672 #[cfg(feature = "v2_34")]
3673 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
3674 pub fn webkit_memory_pressure_settings_set_kill_threshold(
3675 settings: *mut WebKitMemoryPressureSettings,
3676 value: c_double,
3677 );
3678 #[cfg(feature = "v2_34")]
3679 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
3680 pub fn webkit_memory_pressure_settings_set_memory_limit(
3681 settings: *mut WebKitMemoryPressureSettings,
3682 memory_limit: c_uint,
3683 );
3684 #[cfg(feature = "v2_34")]
3685 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
3686 pub fn webkit_memory_pressure_settings_set_poll_interval(
3687 settings: *mut WebKitMemoryPressureSettings,
3688 value: c_double,
3689 );
3690 #[cfg(feature = "v2_34")]
3691 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
3692 pub fn webkit_memory_pressure_settings_set_strict_threshold(
3693 settings: *mut WebKitMemoryPressureSettings,
3694 value: c_double,
3695 );
3696
3697 pub fn webkit_mime_info_get_type() -> GType;
3701 pub fn webkit_mime_info_get_description(info: *mut WebKitMimeInfo) -> *const c_char;
3702 pub fn webkit_mime_info_get_extensions(info: *mut WebKitMimeInfo) -> *const *const c_char;
3703 pub fn webkit_mime_info_get_mime_type(info: *mut WebKitMimeInfo) -> *const c_char;
3704 pub fn webkit_mime_info_ref(info: *mut WebKitMimeInfo) -> *mut WebKitMimeInfo;
3705 pub fn webkit_mime_info_unref(info: *mut WebKitMimeInfo);
3706
3707 pub fn webkit_navigation_action_get_type() -> GType;
3711 #[cfg(feature = "v2_6")]
3712 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
3713 pub fn webkit_navigation_action_copy(
3714 navigation: *mut WebKitNavigationAction,
3715 ) -> *mut WebKitNavigationAction;
3716 #[cfg(feature = "v2_6")]
3717 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
3718 pub fn webkit_navigation_action_free(navigation: *mut WebKitNavigationAction);
3719 #[cfg(feature = "v2_40")]
3720 #[cfg_attr(docsrs, doc(cfg(feature = "v2_40")))]
3721 pub fn webkit_navigation_action_get_frame_name(
3722 navigation: *mut WebKitNavigationAction,
3723 ) -> *const c_char;
3724 #[cfg(feature = "v2_6")]
3725 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
3726 pub fn webkit_navigation_action_get_modifiers(navigation: *mut WebKitNavigationAction) -> c_uint;
3727 #[cfg(feature = "v2_6")]
3728 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
3729 pub fn webkit_navigation_action_get_mouse_button(
3730 navigation: *mut WebKitNavigationAction,
3731 ) -> c_uint;
3732 #[cfg(feature = "v2_6")]
3733 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
3734 pub fn webkit_navigation_action_get_navigation_type(
3735 navigation: *mut WebKitNavigationAction,
3736 ) -> WebKitNavigationType;
3737 #[cfg(feature = "v2_6")]
3738 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
3739 pub fn webkit_navigation_action_get_request(
3740 navigation: *mut WebKitNavigationAction,
3741 ) -> *mut WebKitURIRequest;
3742 #[cfg(feature = "v2_20")]
3743 #[cfg_attr(docsrs, doc(cfg(feature = "v2_20")))]
3744 pub fn webkit_navigation_action_is_redirect(navigation: *mut WebKitNavigationAction) -> gboolean;
3745 #[cfg(feature = "v2_6")]
3746 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
3747 pub fn webkit_navigation_action_is_user_gesture(
3748 navigation: *mut WebKitNavigationAction,
3749 ) -> gboolean;
3750
3751 #[cfg(feature = "v2_16")]
3755 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
3756 pub fn webkit_network_proxy_settings_get_type() -> GType;
3757 #[cfg(feature = "v2_16")]
3758 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
3759 pub fn webkit_network_proxy_settings_new(
3760 default_proxy_uri: *const c_char,
3761 ignore_hosts: *const *const c_char,
3762 ) -> *mut WebKitNetworkProxySettings;
3763 #[cfg(feature = "v2_16")]
3764 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
3765 pub fn webkit_network_proxy_settings_add_proxy_for_scheme(
3766 proxy_settings: *mut WebKitNetworkProxySettings,
3767 scheme: *const c_char,
3768 proxy_uri: *const c_char,
3769 );
3770 #[cfg(feature = "v2_16")]
3771 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
3772 pub fn webkit_network_proxy_settings_copy(
3773 proxy_settings: *mut WebKitNetworkProxySettings,
3774 ) -> *mut WebKitNetworkProxySettings;
3775 #[cfg(feature = "v2_16")]
3776 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
3777 pub fn webkit_network_proxy_settings_free(proxy_settings: *mut WebKitNetworkProxySettings);
3778
3779 #[cfg(feature = "v2_18")]
3783 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
3784 pub fn webkit_option_menu_item_get_type() -> GType;
3785 #[cfg(feature = "v2_18")]
3786 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
3787 pub fn webkit_option_menu_item_copy(item: *mut WebKitOptionMenuItem)
3788 -> *mut WebKitOptionMenuItem;
3789 #[cfg(feature = "v2_18")]
3790 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
3791 pub fn webkit_option_menu_item_free(item: *mut WebKitOptionMenuItem);
3792 #[cfg(feature = "v2_18")]
3793 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
3794 pub fn webkit_option_menu_item_get_label(item: *mut WebKitOptionMenuItem) -> *const c_char;
3795 #[cfg(feature = "v2_18")]
3796 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
3797 pub fn webkit_option_menu_item_get_tooltip(item: *mut WebKitOptionMenuItem) -> *const c_char;
3798 #[cfg(feature = "v2_18")]
3799 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
3800 pub fn webkit_option_menu_item_is_enabled(item: *mut WebKitOptionMenuItem) -> gboolean;
3801 #[cfg(feature = "v2_18")]
3802 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
3803 pub fn webkit_option_menu_item_is_group_child(item: *mut WebKitOptionMenuItem) -> gboolean;
3804 #[cfg(feature = "v2_18")]
3805 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
3806 pub fn webkit_option_menu_item_is_group_label(item: *mut WebKitOptionMenuItem) -> gboolean;
3807 #[cfg(feature = "v2_18")]
3808 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
3809 pub fn webkit_option_menu_item_is_selected(item: *mut WebKitOptionMenuItem) -> gboolean;
3810
3811 pub fn webkit_permission_state_query_get_type() -> GType;
3815 #[cfg(feature = "v2_40")]
3816 #[cfg_attr(docsrs, doc(cfg(feature = "v2_40")))]
3817 pub fn webkit_permission_state_query_finish(
3818 query: *mut WebKitPermissionStateQuery,
3819 state: WebKitPermissionState,
3820 );
3821 #[cfg(feature = "v2_40")]
3822 #[cfg_attr(docsrs, doc(cfg(feature = "v2_40")))]
3823 pub fn webkit_permission_state_query_get_name(
3824 query: *mut WebKitPermissionStateQuery,
3825 ) -> *const c_char;
3826 #[cfg(feature = "v2_40")]
3827 #[cfg_attr(docsrs, doc(cfg(feature = "v2_40")))]
3828 pub fn webkit_permission_state_query_get_security_origin(
3829 query: *mut WebKitPermissionStateQuery,
3830 ) -> *mut WebKitSecurityOrigin;
3831 #[cfg(feature = "v2_40")]
3832 #[cfg_attr(docsrs, doc(cfg(feature = "v2_40")))]
3833 pub fn webkit_permission_state_query_ref(
3834 query: *mut WebKitPermissionStateQuery,
3835 ) -> *mut WebKitPermissionStateQuery;
3836 #[cfg(feature = "v2_40")]
3837 #[cfg_attr(docsrs, doc(cfg(feature = "v2_40")))]
3838 pub fn webkit_permission_state_query_unref(query: *mut WebKitPermissionStateQuery);
3839
3840 pub fn webkit_script_dialog_get_type() -> GType;
3844 #[cfg(feature = "v2_24")]
3845 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
3846 pub fn webkit_script_dialog_close(dialog: *mut WebKitScriptDialog);
3847 pub fn webkit_script_dialog_confirm_set_confirmed(
3848 dialog: *mut WebKitScriptDialog,
3849 confirmed: gboolean,
3850 );
3851 pub fn webkit_script_dialog_get_dialog_type(
3852 dialog: *mut WebKitScriptDialog,
3853 ) -> WebKitScriptDialogType;
3854 pub fn webkit_script_dialog_get_message(dialog: *mut WebKitScriptDialog) -> *const c_char;
3855 pub fn webkit_script_dialog_prompt_get_default_text(
3856 dialog: *mut WebKitScriptDialog,
3857 ) -> *const c_char;
3858 pub fn webkit_script_dialog_prompt_set_text(dialog: *mut WebKitScriptDialog, text: *const c_char);
3859 #[cfg(feature = "v2_24")]
3860 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
3861 pub fn webkit_script_dialog_ref(dialog: *mut WebKitScriptDialog) -> *mut WebKitScriptDialog;
3862 #[cfg(feature = "v2_24")]
3863 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
3864 pub fn webkit_script_dialog_unref(dialog: *mut WebKitScriptDialog);
3865
3866 #[cfg(feature = "v2_40")]
3870 #[cfg_attr(docsrs, doc(cfg(feature = "v2_40")))]
3871 pub fn webkit_script_message_reply_get_type() -> GType;
3872 #[cfg(feature = "v2_40")]
3873 #[cfg_attr(docsrs, doc(cfg(feature = "v2_40")))]
3874 pub fn webkit_script_message_reply_ref(
3875 script_message_reply: *mut WebKitScriptMessageReply,
3876 ) -> *mut WebKitScriptMessageReply;
3877 #[cfg(feature = "v2_40")]
3878 #[cfg_attr(docsrs, doc(cfg(feature = "v2_40")))]
3879 pub fn webkit_script_message_reply_return_error_message(
3880 script_message_reply: *mut WebKitScriptMessageReply,
3881 error_message: *const c_char,
3882 );
3883 #[cfg(feature = "v2_40")]
3884 #[cfg_attr(docsrs, doc(cfg(feature = "v2_40")))]
3885 pub fn webkit_script_message_reply_return_value(
3886 script_message_reply: *mut WebKitScriptMessageReply,
3887 reply_value: *mut java_script_core::JSCValue,
3888 );
3889 #[cfg(feature = "v2_40")]
3890 #[cfg_attr(docsrs, doc(cfg(feature = "v2_40")))]
3891 pub fn webkit_script_message_reply_unref(script_message_reply: *mut WebKitScriptMessageReply);
3892
3893 #[cfg(feature = "v2_16")]
3897 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
3898 pub fn webkit_security_origin_get_type() -> GType;
3899 #[cfg(feature = "v2_16")]
3900 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
3901 pub fn webkit_security_origin_new(
3902 protocol: *const c_char,
3903 host: *const c_char,
3904 port: u16,
3905 ) -> *mut WebKitSecurityOrigin;
3906 #[cfg(feature = "v2_16")]
3907 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
3908 pub fn webkit_security_origin_new_for_uri(uri: *const c_char) -> *mut WebKitSecurityOrigin;
3909 #[cfg(feature = "v2_16")]
3910 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
3911 pub fn webkit_security_origin_get_host(origin: *mut WebKitSecurityOrigin) -> *const c_char;
3912 #[cfg(feature = "v2_16")]
3913 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
3914 pub fn webkit_security_origin_get_port(origin: *mut WebKitSecurityOrigin) -> u16;
3915 #[cfg(feature = "v2_16")]
3916 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
3917 pub fn webkit_security_origin_get_protocol(origin: *mut WebKitSecurityOrigin) -> *const c_char;
3918 #[cfg(feature = "v2_16")]
3919 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
3920 pub fn webkit_security_origin_is_opaque(origin: *mut WebKitSecurityOrigin) -> gboolean;
3921 #[cfg(feature = "v2_16")]
3922 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
3923 pub fn webkit_security_origin_ref(origin: *mut WebKitSecurityOrigin)
3924 -> *mut WebKitSecurityOrigin;
3925 #[cfg(feature = "v2_16")]
3926 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
3927 pub fn webkit_security_origin_to_string(origin: *mut WebKitSecurityOrigin) -> *mut c_char;
3928 #[cfg(feature = "v2_16")]
3929 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
3930 pub fn webkit_security_origin_unref(origin: *mut WebKitSecurityOrigin);
3931
3932 #[cfg(feature = "v2_24")]
3936 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
3937 pub fn webkit_user_content_filter_get_type() -> GType;
3938 #[cfg(feature = "v2_24")]
3939 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
3940 pub fn webkit_user_content_filter_get_identifier(
3941 user_content_filter: *mut WebKitUserContentFilter,
3942 ) -> *const c_char;
3943 #[cfg(feature = "v2_24")]
3944 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
3945 pub fn webkit_user_content_filter_ref(
3946 user_content_filter: *mut WebKitUserContentFilter,
3947 ) -> *mut WebKitUserContentFilter;
3948 #[cfg(feature = "v2_24")]
3949 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
3950 pub fn webkit_user_content_filter_unref(user_content_filter: *mut WebKitUserContentFilter);
3951
3952 #[cfg(feature = "v2_6")]
3956 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
3957 pub fn webkit_user_script_get_type() -> GType;
3958 #[cfg(feature = "v2_6")]
3959 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
3960 pub fn webkit_user_script_new(
3961 source: *const c_char,
3962 injected_frames: WebKitUserContentInjectedFrames,
3963 injection_time: WebKitUserScriptInjectionTime,
3964 allow_list: *const *const c_char,
3965 block_list: *const *const c_char,
3966 ) -> *mut WebKitUserScript;
3967 #[cfg(feature = "v2_22")]
3968 #[cfg_attr(docsrs, doc(cfg(feature = "v2_22")))]
3969 pub fn webkit_user_script_new_for_world(
3970 source: *const c_char,
3971 injected_frames: WebKitUserContentInjectedFrames,
3972 injection_time: WebKitUserScriptInjectionTime,
3973 world_name: *const c_char,
3974 allow_list: *const *const c_char,
3975 block_list: *const *const c_char,
3976 ) -> *mut WebKitUserScript;
3977 #[cfg(feature = "v2_6")]
3978 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
3979 pub fn webkit_user_script_ref(user_script: *mut WebKitUserScript) -> *mut WebKitUserScript;
3980 #[cfg(feature = "v2_6")]
3981 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
3982 pub fn webkit_user_script_unref(user_script: *mut WebKitUserScript);
3983
3984 #[cfg(feature = "v2_6")]
3988 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
3989 pub fn webkit_user_style_sheet_get_type() -> GType;
3990 #[cfg(feature = "v2_6")]
3991 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
3992 pub fn webkit_user_style_sheet_new(
3993 source: *const c_char,
3994 injected_frames: WebKitUserContentInjectedFrames,
3995 level: WebKitUserStyleLevel,
3996 allow_list: *const *const c_char,
3997 block_list: *const *const c_char,
3998 ) -> *mut WebKitUserStyleSheet;
3999 #[cfg(feature = "v2_22")]
4000 #[cfg_attr(docsrs, doc(cfg(feature = "v2_22")))]
4001 pub fn webkit_user_style_sheet_new_for_world(
4002 source: *const c_char,
4003 injected_frames: WebKitUserContentInjectedFrames,
4004 level: WebKitUserStyleLevel,
4005 world_name: *const c_char,
4006 allow_list: *const *const c_char,
4007 block_list: *const *const c_char,
4008 ) -> *mut WebKitUserStyleSheet;
4009 #[cfg(feature = "v2_6")]
4010 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
4011 pub fn webkit_user_style_sheet_ref(
4012 user_style_sheet: *mut WebKitUserStyleSheet,
4013 ) -> *mut WebKitUserStyleSheet;
4014 #[cfg(feature = "v2_6")]
4015 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
4016 pub fn webkit_user_style_sheet_unref(user_style_sheet: *mut WebKitUserStyleSheet);
4017
4018 #[cfg(feature = "v2_12")]
4022 #[cfg_attr(docsrs, doc(cfg(feature = "v2_12")))]
4023 pub fn webkit_web_view_session_state_get_type() -> GType;
4024 #[cfg(feature = "v2_12")]
4025 #[cfg_attr(docsrs, doc(cfg(feature = "v2_12")))]
4026 pub fn webkit_web_view_session_state_new(
4027 data: *mut glib::GBytes,
4028 ) -> *mut WebKitWebViewSessionState;
4029 #[cfg(feature = "v2_12")]
4030 #[cfg_attr(docsrs, doc(cfg(feature = "v2_12")))]
4031 pub fn webkit_web_view_session_state_ref(
4032 state: *mut WebKitWebViewSessionState,
4033 ) -> *mut WebKitWebViewSessionState;
4034 #[cfg(feature = "v2_12")]
4035 #[cfg_attr(docsrs, doc(cfg(feature = "v2_12")))]
4036 pub fn webkit_web_view_session_state_serialize(
4037 state: *mut WebKitWebViewSessionState,
4038 ) -> *mut glib::GBytes;
4039 #[cfg(feature = "v2_12")]
4040 #[cfg_attr(docsrs, doc(cfg(feature = "v2_12")))]
4041 pub fn webkit_web_view_session_state_unref(state: *mut WebKitWebViewSessionState);
4042
4043 #[cfg(feature = "v2_16")]
4047 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
4048 pub fn webkit_website_data_get_type() -> GType;
4049 #[cfg(feature = "v2_16")]
4050 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
4051 pub fn webkit_website_data_get_name(website_data: *mut WebKitWebsiteData) -> *const c_char;
4052 #[cfg(feature = "v2_16")]
4053 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
4054 pub fn webkit_website_data_get_size(
4055 website_data: *mut WebKitWebsiteData,
4056 types: WebKitWebsiteDataTypes,
4057 ) -> u64;
4058 #[cfg(feature = "v2_16")]
4059 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
4060 pub fn webkit_website_data_get_types(
4061 website_data: *mut WebKitWebsiteData,
4062 ) -> WebKitWebsiteDataTypes;
4063 #[cfg(feature = "v2_16")]
4064 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
4065 pub fn webkit_website_data_ref(website_data: *mut WebKitWebsiteData) -> *mut WebKitWebsiteData;
4066 #[cfg(feature = "v2_16")]
4067 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
4068 pub fn webkit_website_data_unref(website_data: *mut WebKitWebsiteData);
4069
4070 pub fn webkit_authentication_request_get_type() -> GType;
4074 pub fn webkit_authentication_request_authenticate(
4075 request: *mut WebKitAuthenticationRequest,
4076 credential: *mut WebKitCredential,
4077 );
4078 pub fn webkit_authentication_request_can_save_credentials(
4079 request: *mut WebKitAuthenticationRequest,
4080 ) -> gboolean;
4081 pub fn webkit_authentication_request_cancel(request: *mut WebKitAuthenticationRequest);
4082 #[cfg(feature = "v2_34")]
4083 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
4084 pub fn webkit_authentication_request_get_certificate_pin_flags(
4085 request: *mut WebKitAuthenticationRequest,
4086 ) -> gio::GTlsPasswordFlags;
4087 pub fn webkit_authentication_request_get_host(
4088 request: *mut WebKitAuthenticationRequest,
4089 ) -> *const c_char;
4090 pub fn webkit_authentication_request_get_port(
4091 request: *mut WebKitAuthenticationRequest,
4092 ) -> c_uint;
4093 pub fn webkit_authentication_request_get_proposed_credential(
4094 request: *mut WebKitAuthenticationRequest,
4095 ) -> *mut WebKitCredential;
4096 pub fn webkit_authentication_request_get_realm(
4097 request: *mut WebKitAuthenticationRequest,
4098 ) -> *const c_char;
4099 pub fn webkit_authentication_request_get_scheme(
4100 request: *mut WebKitAuthenticationRequest,
4101 ) -> WebKitAuthenticationScheme;
4102 #[cfg(feature = "v2_30")]
4103 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
4104 pub fn webkit_authentication_request_get_security_origin(
4105 request: *mut WebKitAuthenticationRequest,
4106 ) -> *mut WebKitSecurityOrigin;
4107 pub fn webkit_authentication_request_is_for_proxy(
4108 request: *mut WebKitAuthenticationRequest,
4109 ) -> gboolean;
4110 pub fn webkit_authentication_request_is_retry(
4111 request: *mut WebKitAuthenticationRequest,
4112 ) -> gboolean;
4113 #[cfg(feature = "v2_30")]
4114 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
4115 pub fn webkit_authentication_request_set_can_save_credentials(
4116 request: *mut WebKitAuthenticationRequest,
4117 enabled: gboolean,
4118 );
4119 #[cfg(feature = "v2_30")]
4120 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
4121 pub fn webkit_authentication_request_set_proposed_credential(
4122 request: *mut WebKitAuthenticationRequest,
4123 credential: *mut WebKitCredential,
4124 );
4125
4126 #[cfg(feature = "v2_18")]
4130 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
4131 pub fn webkit_automation_session_get_type() -> GType;
4132 #[cfg(feature = "v2_18")]
4133 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
4134 pub fn webkit_automation_session_get_application_info(
4135 session: *mut WebKitAutomationSession,
4136 ) -> *mut WebKitApplicationInfo;
4137 #[cfg(feature = "v2_18")]
4138 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
4139 pub fn webkit_automation_session_get_id(session: *mut WebKitAutomationSession) -> *const c_char;
4140 #[cfg(feature = "v2_18")]
4141 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
4142 pub fn webkit_automation_session_set_application_info(
4143 session: *mut WebKitAutomationSession,
4144 info: *mut WebKitApplicationInfo,
4145 );
4146
4147 pub fn webkit_back_forward_list_get_type() -> GType;
4151 pub fn webkit_back_forward_list_get_back_item(
4152 back_forward_list: *mut WebKitBackForwardList,
4153 ) -> *mut WebKitBackForwardListItem;
4154 pub fn webkit_back_forward_list_get_back_list(
4155 back_forward_list: *mut WebKitBackForwardList,
4156 ) -> *mut glib::GList;
4157 pub fn webkit_back_forward_list_get_back_list_with_limit(
4158 back_forward_list: *mut WebKitBackForwardList,
4159 limit: c_uint,
4160 ) -> *mut glib::GList;
4161 pub fn webkit_back_forward_list_get_current_item(
4162 back_forward_list: *mut WebKitBackForwardList,
4163 ) -> *mut WebKitBackForwardListItem;
4164 pub fn webkit_back_forward_list_get_forward_item(
4165 back_forward_list: *mut WebKitBackForwardList,
4166 ) -> *mut WebKitBackForwardListItem;
4167 pub fn webkit_back_forward_list_get_forward_list(
4168 back_forward_list: *mut WebKitBackForwardList,
4169 ) -> *mut glib::GList;
4170 pub fn webkit_back_forward_list_get_forward_list_with_limit(
4171 back_forward_list: *mut WebKitBackForwardList,
4172 limit: c_uint,
4173 ) -> *mut glib::GList;
4174 pub fn webkit_back_forward_list_get_length(
4175 back_forward_list: *mut WebKitBackForwardList,
4176 ) -> c_uint;
4177 pub fn webkit_back_forward_list_get_nth_item(
4178 back_forward_list: *mut WebKitBackForwardList,
4179 index: c_int,
4180 ) -> *mut WebKitBackForwardListItem;
4181
4182 pub fn webkit_back_forward_list_item_get_type() -> GType;
4186 pub fn webkit_back_forward_list_item_get_original_uri(
4187 list_item: *mut WebKitBackForwardListItem,
4188 ) -> *const c_char;
4189 pub fn webkit_back_forward_list_item_get_title(
4190 list_item: *mut WebKitBackForwardListItem,
4191 ) -> *const c_char;
4192 pub fn webkit_back_forward_list_item_get_uri(
4193 list_item: *mut WebKitBackForwardListItem,
4194 ) -> *const c_char;
4195
4196 pub fn webkit_color_chooser_request_get_type() -> GType;
4200 #[cfg(feature = "v2_8")]
4201 #[cfg_attr(docsrs, doc(cfg(feature = "v2_8")))]
4202 pub fn webkit_color_chooser_request_cancel(request: *mut WebKitColorChooserRequest);
4203 #[cfg(feature = "v2_8")]
4204 #[cfg_attr(docsrs, doc(cfg(feature = "v2_8")))]
4205 pub fn webkit_color_chooser_request_finish(request: *mut WebKitColorChooserRequest);
4206 #[cfg(feature = "v2_8")]
4207 #[cfg_attr(docsrs, doc(cfg(feature = "v2_8")))]
4208 pub fn webkit_color_chooser_request_get_element_rectangle(
4209 request: *mut WebKitColorChooserRequest,
4210 rect: *mut gdk::GdkRectangle,
4211 );
4212 #[cfg(feature = "v2_8")]
4213 #[cfg_attr(docsrs, doc(cfg(feature = "v2_8")))]
4214 pub fn webkit_color_chooser_request_get_rgba(
4215 request: *mut WebKitColorChooserRequest,
4216 rgba: *mut gdk::GdkRGBA,
4217 );
4218 #[cfg(feature = "v2_8")]
4219 #[cfg_attr(docsrs, doc(cfg(feature = "v2_8")))]
4220 pub fn webkit_color_chooser_request_set_rgba(
4221 request: *mut WebKitColorChooserRequest,
4222 rgba: *const gdk::GdkRGBA,
4223 );
4224
4225 pub fn webkit_context_menu_get_type() -> GType;
4229 pub fn webkit_context_menu_new() -> *mut WebKitContextMenu;
4230 pub fn webkit_context_menu_new_with_items(items: *mut glib::GList) -> *mut WebKitContextMenu;
4231 pub fn webkit_context_menu_append(menu: *mut WebKitContextMenu, item: *mut WebKitContextMenuItem);
4232 pub fn webkit_context_menu_first(menu: *mut WebKitContextMenu) -> *mut WebKitContextMenuItem;
4233 #[cfg(feature = "v2_40")]
4234 #[cfg_attr(docsrs, doc(cfg(feature = "v2_40")))]
4235 pub fn webkit_context_menu_get_event(menu: *mut WebKitContextMenu) -> *mut gdk::GdkEvent;
4236 pub fn webkit_context_menu_get_item_at_position(
4237 menu: *mut WebKitContextMenu,
4238 position: c_uint,
4239 ) -> *mut WebKitContextMenuItem;
4240 pub fn webkit_context_menu_get_items(menu: *mut WebKitContextMenu) -> *mut glib::GList;
4241 pub fn webkit_context_menu_get_n_items(menu: *mut WebKitContextMenu) -> c_uint;
4242 #[cfg(feature = "v2_8")]
4243 #[cfg_attr(docsrs, doc(cfg(feature = "v2_8")))]
4244 pub fn webkit_context_menu_get_user_data(menu: *mut WebKitContextMenu) -> *mut glib::GVariant;
4245 pub fn webkit_context_menu_insert(
4246 menu: *mut WebKitContextMenu,
4247 item: *mut WebKitContextMenuItem,
4248 position: c_int,
4249 );
4250 pub fn webkit_context_menu_last(menu: *mut WebKitContextMenu) -> *mut WebKitContextMenuItem;
4251 pub fn webkit_context_menu_move_item(
4252 menu: *mut WebKitContextMenu,
4253 item: *mut WebKitContextMenuItem,
4254 position: c_int,
4255 );
4256 pub fn webkit_context_menu_prepend(
4257 menu: *mut WebKitContextMenu,
4258 item: *mut WebKitContextMenuItem,
4259 );
4260 pub fn webkit_context_menu_remove(menu: *mut WebKitContextMenu, item: *mut WebKitContextMenuItem);
4261 pub fn webkit_context_menu_remove_all(menu: *mut WebKitContextMenu);
4262 #[cfg(feature = "v2_8")]
4263 #[cfg_attr(docsrs, doc(cfg(feature = "v2_8")))]
4264 pub fn webkit_context_menu_set_user_data(
4265 menu: *mut WebKitContextMenu,
4266 user_data: *mut glib::GVariant,
4267 );
4268
4269 pub fn webkit_context_menu_item_get_type() -> GType;
4273 pub fn webkit_context_menu_item_new(action: *mut gtk::GtkAction) -> *mut WebKitContextMenuItem;
4274 #[cfg(feature = "v2_18")]
4275 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
4276 pub fn webkit_context_menu_item_new_from_gaction(
4277 action: *mut gio::GAction,
4278 label: *const c_char,
4279 target: *mut glib::GVariant,
4280 ) -> *mut WebKitContextMenuItem;
4281 pub fn webkit_context_menu_item_new_from_stock_action(
4282 action: WebKitContextMenuAction,
4283 ) -> *mut WebKitContextMenuItem;
4284 pub fn webkit_context_menu_item_new_from_stock_action_with_label(
4285 action: WebKitContextMenuAction,
4286 label: *const c_char,
4287 ) -> *mut WebKitContextMenuItem;
4288 pub fn webkit_context_menu_item_new_separator() -> *mut WebKitContextMenuItem;
4289 pub fn webkit_context_menu_item_new_with_submenu(
4290 label: *const c_char,
4291 submenu: *mut WebKitContextMenu,
4292 ) -> *mut WebKitContextMenuItem;
4293 pub fn webkit_context_menu_item_get_action(
4294 item: *mut WebKitContextMenuItem,
4295 ) -> *mut gtk::GtkAction;
4296 #[cfg(feature = "v2_18")]
4297 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
4298 pub fn webkit_context_menu_item_get_gaction(
4299 item: *mut WebKitContextMenuItem,
4300 ) -> *mut gio::GAction;
4301 pub fn webkit_context_menu_item_get_stock_action(
4302 item: *mut WebKitContextMenuItem,
4303 ) -> WebKitContextMenuAction;
4304 pub fn webkit_context_menu_item_get_submenu(
4305 item: *mut WebKitContextMenuItem,
4306 ) -> *mut WebKitContextMenu;
4307 pub fn webkit_context_menu_item_is_separator(item: *mut WebKitContextMenuItem) -> gboolean;
4308 pub fn webkit_context_menu_item_set_submenu(
4309 item: *mut WebKitContextMenuItem,
4310 submenu: *mut WebKitContextMenu,
4311 );
4312
4313 pub fn webkit_cookie_manager_get_type() -> GType;
4317 #[cfg(feature = "v2_20")]
4318 #[cfg_attr(docsrs, doc(cfg(feature = "v2_20")))]
4319 pub fn webkit_cookie_manager_add_cookie(
4320 cookie_manager: *mut WebKitCookieManager,
4321 cookie: *mut soup::SoupCookie,
4322 cancellable: *mut gio::GCancellable,
4323 callback: gio::GAsyncReadyCallback,
4324 user_data: gpointer,
4325 );
4326 #[cfg(feature = "v2_20")]
4327 #[cfg_attr(docsrs, doc(cfg(feature = "v2_20")))]
4328 pub fn webkit_cookie_manager_add_cookie_finish(
4329 cookie_manager: *mut WebKitCookieManager,
4330 result: *mut gio::GAsyncResult,
4331 error: *mut *mut glib::GError,
4332 ) -> gboolean;
4333 pub fn webkit_cookie_manager_delete_all_cookies(cookie_manager: *mut WebKitCookieManager);
4334 #[cfg(feature = "v2_20")]
4335 #[cfg_attr(docsrs, doc(cfg(feature = "v2_20")))]
4336 pub fn webkit_cookie_manager_delete_cookie(
4337 cookie_manager: *mut WebKitCookieManager,
4338 cookie: *mut soup::SoupCookie,
4339 cancellable: *mut gio::GCancellable,
4340 callback: gio::GAsyncReadyCallback,
4341 user_data: gpointer,
4342 );
4343 #[cfg(feature = "v2_20")]
4344 #[cfg_attr(docsrs, doc(cfg(feature = "v2_20")))]
4345 pub fn webkit_cookie_manager_delete_cookie_finish(
4346 cookie_manager: *mut WebKitCookieManager,
4347 result: *mut gio::GAsyncResult,
4348 error: *mut *mut glib::GError,
4349 ) -> gboolean;
4350 pub fn webkit_cookie_manager_delete_cookies_for_domain(
4351 cookie_manager: *mut WebKitCookieManager,
4352 domain: *const c_char,
4353 );
4354 pub fn webkit_cookie_manager_get_accept_policy(
4355 cookie_manager: *mut WebKitCookieManager,
4356 cancellable: *mut gio::GCancellable,
4357 callback: gio::GAsyncReadyCallback,
4358 user_data: gpointer,
4359 );
4360 pub fn webkit_cookie_manager_get_accept_policy_finish(
4361 cookie_manager: *mut WebKitCookieManager,
4362 result: *mut gio::GAsyncResult,
4363 error: *mut *mut glib::GError,
4364 ) -> WebKitCookieAcceptPolicy;
4365 #[cfg(feature = "v2_20")]
4366 #[cfg_attr(docsrs, doc(cfg(feature = "v2_20")))]
4367 pub fn webkit_cookie_manager_get_cookies(
4368 cookie_manager: *mut WebKitCookieManager,
4369 uri: *const c_char,
4370 cancellable: *mut gio::GCancellable,
4371 callback: gio::GAsyncReadyCallback,
4372 user_data: gpointer,
4373 );
4374 #[cfg(feature = "v2_20")]
4375 #[cfg_attr(docsrs, doc(cfg(feature = "v2_20")))]
4376 pub fn webkit_cookie_manager_get_cookies_finish(
4377 cookie_manager: *mut WebKitCookieManager,
4378 result: *mut gio::GAsyncResult,
4379 error: *mut *mut glib::GError,
4380 ) -> *mut glib::GList;
4381 pub fn webkit_cookie_manager_get_domains_with_cookies(
4382 cookie_manager: *mut WebKitCookieManager,
4383 cancellable: *mut gio::GCancellable,
4384 callback: gio::GAsyncReadyCallback,
4385 user_data: gpointer,
4386 );
4387 pub fn webkit_cookie_manager_get_domains_with_cookies_finish(
4388 cookie_manager: *mut WebKitCookieManager,
4389 result: *mut gio::GAsyncResult,
4390 error: *mut *mut glib::GError,
4391 ) -> *mut *mut c_char;
4392 pub fn webkit_cookie_manager_set_accept_policy(
4393 cookie_manager: *mut WebKitCookieManager,
4394 policy: WebKitCookieAcceptPolicy,
4395 );
4396 pub fn webkit_cookie_manager_set_persistent_storage(
4397 cookie_manager: *mut WebKitCookieManager,
4398 filename: *const c_char,
4399 storage: WebKitCookiePersistentStorage,
4400 );
4401
4402 #[cfg(feature = "v2_24")]
4406 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
4407 pub fn webkit_device_info_permission_request_get_type() -> GType;
4408
4409 pub fn webkit_download_get_type() -> GType;
4413 pub fn webkit_download_cancel(download: *mut WebKitDownload);
4414 #[cfg(feature = "v2_6")]
4415 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
4416 pub fn webkit_download_get_allow_overwrite(download: *mut WebKitDownload) -> gboolean;
4417 pub fn webkit_download_get_destination(download: *mut WebKitDownload) -> *const c_char;
4418 pub fn webkit_download_get_elapsed_time(download: *mut WebKitDownload) -> c_double;
4419 pub fn webkit_download_get_estimated_progress(download: *mut WebKitDownload) -> c_double;
4420 pub fn webkit_download_get_received_data_length(download: *mut WebKitDownload) -> u64;
4421 pub fn webkit_download_get_request(download: *mut WebKitDownload) -> *mut WebKitURIRequest;
4422 pub fn webkit_download_get_response(download: *mut WebKitDownload) -> *mut WebKitURIResponse;
4423 pub fn webkit_download_get_web_view(download: *mut WebKitDownload) -> *mut WebKitWebView;
4424 #[cfg(feature = "v2_6")]
4425 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
4426 pub fn webkit_download_set_allow_overwrite(download: *mut WebKitDownload, allowed: gboolean);
4427 pub fn webkit_download_set_destination(download: *mut WebKitDownload, destination: *const c_char);
4428
4429 #[cfg(feature = "v2_10")]
4433 #[cfg_attr(docsrs, doc(cfg(feature = "v2_10")))]
4434 pub fn webkit_editor_state_get_type() -> GType;
4435 #[cfg(feature = "v2_10")]
4436 #[cfg_attr(docsrs, doc(cfg(feature = "v2_10")))]
4437 pub fn webkit_editor_state_get_typing_attributes(editor_state: *mut WebKitEditorState) -> c_uint;
4438 #[cfg(feature = "v2_20")]
4439 #[cfg_attr(docsrs, doc(cfg(feature = "v2_20")))]
4440 pub fn webkit_editor_state_is_copy_available(editor_state: *mut WebKitEditorState) -> gboolean;
4441 #[cfg(feature = "v2_20")]
4442 #[cfg_attr(docsrs, doc(cfg(feature = "v2_20")))]
4443 pub fn webkit_editor_state_is_cut_available(editor_state: *mut WebKitEditorState) -> gboolean;
4444 #[cfg(feature = "v2_20")]
4445 #[cfg_attr(docsrs, doc(cfg(feature = "v2_20")))]
4446 pub fn webkit_editor_state_is_paste_available(editor_state: *mut WebKitEditorState) -> gboolean;
4447 #[cfg(feature = "v2_20")]
4448 #[cfg_attr(docsrs, doc(cfg(feature = "v2_20")))]
4449 pub fn webkit_editor_state_is_redo_available(editor_state: *mut WebKitEditorState) -> gboolean;
4450 #[cfg(feature = "v2_20")]
4451 #[cfg_attr(docsrs, doc(cfg(feature = "v2_20")))]
4452 pub fn webkit_editor_state_is_undo_available(editor_state: *mut WebKitEditorState) -> gboolean;
4453
4454 pub fn webkit_favicon_database_get_type() -> GType;
4458 pub fn webkit_favicon_database_clear(database: *mut WebKitFaviconDatabase);
4459 pub fn webkit_favicon_database_get_favicon(
4460 database: *mut WebKitFaviconDatabase,
4461 page_uri: *const c_char,
4462 cancellable: *mut gio::GCancellable,
4463 callback: gio::GAsyncReadyCallback,
4464 user_data: gpointer,
4465 );
4466 pub fn webkit_favicon_database_get_favicon_finish(
4467 database: *mut WebKitFaviconDatabase,
4468 result: *mut gio::GAsyncResult,
4469 error: *mut *mut glib::GError,
4470 ) -> *mut cairo::cairo_surface_t;
4471 pub fn webkit_favicon_database_get_favicon_uri(
4472 database: *mut WebKitFaviconDatabase,
4473 page_uri: *const c_char,
4474 ) -> *mut c_char;
4475
4476 pub fn webkit_file_chooser_request_get_type() -> GType;
4480 pub fn webkit_file_chooser_request_cancel(request: *mut WebKitFileChooserRequest);
4481 pub fn webkit_file_chooser_request_get_mime_types(
4482 request: *mut WebKitFileChooserRequest,
4483 ) -> *const *const c_char;
4484 pub fn webkit_file_chooser_request_get_mime_types_filter(
4485 request: *mut WebKitFileChooserRequest,
4486 ) -> *mut gtk::GtkFileFilter;
4487 pub fn webkit_file_chooser_request_get_select_multiple(
4488 request: *mut WebKitFileChooserRequest,
4489 ) -> gboolean;
4490 pub fn webkit_file_chooser_request_get_selected_files(
4491 request: *mut WebKitFileChooserRequest,
4492 ) -> *const *const c_char;
4493 pub fn webkit_file_chooser_request_select_files(
4494 request: *mut WebKitFileChooserRequest,
4495 files: *const *const c_char,
4496 );
4497
4498 pub fn webkit_find_controller_get_type() -> GType;
4502 pub fn webkit_find_controller_count_matches(
4503 find_controller: *mut WebKitFindController,
4504 search_text: *const c_char,
4505 find_options: u32,
4506 max_match_count: c_uint,
4507 );
4508 pub fn webkit_find_controller_get_max_match_count(
4509 find_controller: *mut WebKitFindController,
4510 ) -> c_uint;
4511 pub fn webkit_find_controller_get_options(find_controller: *mut WebKitFindController) -> u32;
4512 pub fn webkit_find_controller_get_search_text(
4513 find_controller: *mut WebKitFindController,
4514 ) -> *const c_char;
4515 pub fn webkit_find_controller_get_web_view(
4516 find_controller: *mut WebKitFindController,
4517 ) -> *mut WebKitWebView;
4518 pub fn webkit_find_controller_search(
4519 find_controller: *mut WebKitFindController,
4520 search_text: *const c_char,
4521 find_options: u32,
4522 max_match_count: c_uint,
4523 );
4524 pub fn webkit_find_controller_search_finish(find_controller: *mut WebKitFindController);
4525 pub fn webkit_find_controller_search_next(find_controller: *mut WebKitFindController);
4526 pub fn webkit_find_controller_search_previous(find_controller: *mut WebKitFindController);
4527
4528 pub fn webkit_form_submission_request_get_type() -> GType;
4532 pub fn webkit_form_submission_request_get_text_fields(
4533 request: *mut WebKitFormSubmissionRequest,
4534 ) -> *mut glib::GHashTable;
4535 #[cfg(feature = "v2_20")]
4536 #[cfg_attr(docsrs, doc(cfg(feature = "v2_20")))]
4537 pub fn webkit_form_submission_request_list_text_fields(
4538 request: *mut WebKitFormSubmissionRequest,
4539 field_names: *mut *mut glib::GPtrArray,
4540 field_values: *mut *mut glib::GPtrArray,
4541 ) -> gboolean;
4542 pub fn webkit_form_submission_request_submit(request: *mut WebKitFormSubmissionRequest);
4543
4544 #[cfg(feature = "v2_26")]
4548 #[cfg_attr(docsrs, doc(cfg(feature = "v2_26")))]
4549 pub fn webkit_geolocation_manager_get_type() -> GType;
4550 #[cfg(feature = "v2_26")]
4551 #[cfg_attr(docsrs, doc(cfg(feature = "v2_26")))]
4552 pub fn webkit_geolocation_manager_failed(
4553 manager: *mut WebKitGeolocationManager,
4554 error_message: *const c_char,
4555 );
4556 #[cfg(feature = "v2_26")]
4557 #[cfg_attr(docsrs, doc(cfg(feature = "v2_26")))]
4558 pub fn webkit_geolocation_manager_get_enable_high_accuracy(
4559 manager: *mut WebKitGeolocationManager,
4560 ) -> gboolean;
4561 #[cfg(feature = "v2_26")]
4562 #[cfg_attr(docsrs, doc(cfg(feature = "v2_26")))]
4563 pub fn webkit_geolocation_manager_update_position(
4564 manager: *mut WebKitGeolocationManager,
4565 position: *mut WebKitGeolocationPosition,
4566 );
4567
4568 pub fn webkit_geolocation_permission_request_get_type() -> GType;
4572
4573 pub fn webkit_hit_test_result_get_type() -> GType;
4577 pub fn webkit_hit_test_result_context_is_editable(
4578 hit_test_result: *mut WebKitHitTestResult,
4579 ) -> gboolean;
4580 pub fn webkit_hit_test_result_context_is_image(
4581 hit_test_result: *mut WebKitHitTestResult,
4582 ) -> gboolean;
4583 pub fn webkit_hit_test_result_context_is_link(
4584 hit_test_result: *mut WebKitHitTestResult,
4585 ) -> gboolean;
4586 pub fn webkit_hit_test_result_context_is_media(
4587 hit_test_result: *mut WebKitHitTestResult,
4588 ) -> gboolean;
4589 pub fn webkit_hit_test_result_context_is_scrollbar(
4590 hit_test_result: *mut WebKitHitTestResult,
4591 ) -> gboolean;
4592 #[cfg(feature = "v2_8")]
4593 #[cfg_attr(docsrs, doc(cfg(feature = "v2_8")))]
4594 pub fn webkit_hit_test_result_context_is_selection(
4595 hit_test_result: *mut WebKitHitTestResult,
4596 ) -> gboolean;
4597 pub fn webkit_hit_test_result_get_context(hit_test_result: *mut WebKitHitTestResult) -> c_uint;
4598 pub fn webkit_hit_test_result_get_image_uri(
4599 hit_test_result: *mut WebKitHitTestResult,
4600 ) -> *const c_char;
4601 pub fn webkit_hit_test_result_get_link_label(
4602 hit_test_result: *mut WebKitHitTestResult,
4603 ) -> *const c_char;
4604 pub fn webkit_hit_test_result_get_link_title(
4605 hit_test_result: *mut WebKitHitTestResult,
4606 ) -> *const c_char;
4607 pub fn webkit_hit_test_result_get_link_uri(
4608 hit_test_result: *mut WebKitHitTestResult,
4609 ) -> *const c_char;
4610 pub fn webkit_hit_test_result_get_media_uri(
4611 hit_test_result: *mut WebKitHitTestResult,
4612 ) -> *const c_char;
4613
4614 #[cfg(feature = "v2_28")]
4618 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
4619 pub fn webkit_input_method_context_get_type() -> GType;
4620 #[cfg(feature = "v2_28")]
4621 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
4622 pub fn webkit_input_method_context_filter_key_event(
4623 context: *mut WebKitInputMethodContext,
4624 key_event: *mut gdk::GdkEventKey,
4625 ) -> gboolean;
4626 #[cfg(feature = "v2_28")]
4627 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
4628 pub fn webkit_input_method_context_get_input_hints(
4629 context: *mut WebKitInputMethodContext,
4630 ) -> WebKitInputHints;
4631 #[cfg(feature = "v2_28")]
4632 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
4633 pub fn webkit_input_method_context_get_input_purpose(
4634 context: *mut WebKitInputMethodContext,
4635 ) -> WebKitInputPurpose;
4636 #[cfg(feature = "v2_28")]
4637 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
4638 pub fn webkit_input_method_context_get_preedit(
4639 context: *mut WebKitInputMethodContext,
4640 text: *mut *mut c_char,
4641 underlines: *mut *mut glib::GList,
4642 cursor_offset: *mut c_uint,
4643 );
4644 #[cfg(feature = "v2_28")]
4645 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
4646 pub fn webkit_input_method_context_notify_cursor_area(
4647 context: *mut WebKitInputMethodContext,
4648 x: c_int,
4649 y: c_int,
4650 width: c_int,
4651 height: c_int,
4652 );
4653 #[cfg(feature = "v2_28")]
4654 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
4655 pub fn webkit_input_method_context_notify_focus_in(context: *mut WebKitInputMethodContext);
4656 #[cfg(feature = "v2_28")]
4657 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
4658 pub fn webkit_input_method_context_notify_focus_out(context: *mut WebKitInputMethodContext);
4659 #[cfg(feature = "v2_28")]
4660 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
4661 pub fn webkit_input_method_context_notify_surrounding(
4662 context: *mut WebKitInputMethodContext,
4663 text: *const c_char,
4664 length: c_int,
4665 cursor_index: c_uint,
4666 selection_index: c_uint,
4667 );
4668 #[cfg(feature = "v2_28")]
4669 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
4670 pub fn webkit_input_method_context_reset(context: *mut WebKitInputMethodContext);
4671 #[cfg(feature = "v2_28")]
4672 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
4673 pub fn webkit_input_method_context_set_enable_preedit(
4674 context: *mut WebKitInputMethodContext,
4675 enabled: gboolean,
4676 );
4677 #[cfg(feature = "v2_28")]
4678 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
4679 pub fn webkit_input_method_context_set_input_hints(
4680 context: *mut WebKitInputMethodContext,
4681 hints: WebKitInputHints,
4682 );
4683 #[cfg(feature = "v2_28")]
4684 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
4685 pub fn webkit_input_method_context_set_input_purpose(
4686 context: *mut WebKitInputMethodContext,
4687 purpose: WebKitInputPurpose,
4688 );
4689
4690 #[cfg(feature = "v2_10")]
4694 #[cfg_attr(docsrs, doc(cfg(feature = "v2_10")))]
4695 pub fn webkit_install_missing_media_plugins_permission_request_get_type() -> GType;
4696 #[cfg(feature = "v2_10")]
4697 #[cfg_attr(docsrs, doc(cfg(feature = "v2_10")))]
4698 pub fn webkit_install_missing_media_plugins_permission_request_get_description(
4699 request: *mut WebKitInstallMissingMediaPluginsPermissionRequest,
4700 ) -> *const c_char;
4701
4702 pub fn webkit_media_key_system_permission_request_get_type() -> GType;
4706
4707 pub fn webkit_navigation_policy_decision_get_type() -> GType;
4711 pub fn webkit_navigation_policy_decision_get_frame_name(
4712 decision: *mut WebKitNavigationPolicyDecision,
4713 ) -> *const c_char;
4714 pub fn webkit_navigation_policy_decision_get_modifiers(
4715 decision: *mut WebKitNavigationPolicyDecision,
4716 ) -> c_uint;
4717 pub fn webkit_navigation_policy_decision_get_mouse_button(
4718 decision: *mut WebKitNavigationPolicyDecision,
4719 ) -> c_uint;
4720 #[cfg(feature = "v2_6")]
4721 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
4722 pub fn webkit_navigation_policy_decision_get_navigation_action(
4723 decision: *mut WebKitNavigationPolicyDecision,
4724 ) -> *mut WebKitNavigationAction;
4725 pub fn webkit_navigation_policy_decision_get_navigation_type(
4726 decision: *mut WebKitNavigationPolicyDecision,
4727 ) -> WebKitNavigationType;
4728 pub fn webkit_navigation_policy_decision_get_request(
4729 decision: *mut WebKitNavigationPolicyDecision,
4730 ) -> *mut WebKitURIRequest;
4731
4732 #[cfg(feature = "v2_8")]
4736 #[cfg_attr(docsrs, doc(cfg(feature = "v2_8")))]
4737 pub fn webkit_notification_get_type() -> GType;
4738 #[cfg(feature = "v2_12")]
4739 #[cfg_attr(docsrs, doc(cfg(feature = "v2_12")))]
4740 pub fn webkit_notification_clicked(notification: *mut WebKitNotification);
4741 #[cfg(feature = "v2_8")]
4742 #[cfg_attr(docsrs, doc(cfg(feature = "v2_8")))]
4743 pub fn webkit_notification_close(notification: *mut WebKitNotification);
4744 #[cfg(feature = "v2_8")]
4745 #[cfg_attr(docsrs, doc(cfg(feature = "v2_8")))]
4746 pub fn webkit_notification_get_body(notification: *mut WebKitNotification) -> *const c_char;
4747 #[cfg(feature = "v2_8")]
4748 #[cfg_attr(docsrs, doc(cfg(feature = "v2_8")))]
4749 pub fn webkit_notification_get_id(notification: *mut WebKitNotification) -> u64;
4750 #[cfg(feature = "v2_16")]
4751 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
4752 pub fn webkit_notification_get_tag(notification: *mut WebKitNotification) -> *const c_char;
4753 #[cfg(feature = "v2_8")]
4754 #[cfg_attr(docsrs, doc(cfg(feature = "v2_8")))]
4755 pub fn webkit_notification_get_title(notification: *mut WebKitNotification) -> *const c_char;
4756
4757 #[cfg(feature = "v2_8")]
4761 #[cfg_attr(docsrs, doc(cfg(feature = "v2_8")))]
4762 pub fn webkit_notification_permission_request_get_type() -> GType;
4763
4764 #[cfg(feature = "v2_18")]
4768 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
4769 pub fn webkit_option_menu_get_type() -> GType;
4770 #[cfg(feature = "v2_18")]
4771 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
4772 pub fn webkit_option_menu_activate_item(menu: *mut WebKitOptionMenu, index: c_uint);
4773 #[cfg(feature = "v2_18")]
4774 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
4775 pub fn webkit_option_menu_close(menu: *mut WebKitOptionMenu);
4776 #[cfg(feature = "v2_40")]
4777 #[cfg_attr(docsrs, doc(cfg(feature = "v2_40")))]
4778 pub fn webkit_option_menu_get_event(menu: *mut WebKitOptionMenu) -> *mut gdk::GdkEvent;
4779 #[cfg(feature = "v2_18")]
4780 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
4781 pub fn webkit_option_menu_get_item(
4782 menu: *mut WebKitOptionMenu,
4783 index: c_uint,
4784 ) -> *mut WebKitOptionMenuItem;
4785 #[cfg(feature = "v2_18")]
4786 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
4787 pub fn webkit_option_menu_get_n_items(menu: *mut WebKitOptionMenu) -> c_uint;
4788 #[cfg(feature = "v2_18")]
4789 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
4790 pub fn webkit_option_menu_select_item(menu: *mut WebKitOptionMenu, index: c_uint);
4791
4792 pub fn webkit_plugin_get_type() -> GType;
4796 pub fn webkit_plugin_get_description(plugin: *mut WebKitPlugin) -> *const c_char;
4797 pub fn webkit_plugin_get_mime_info_list(plugin: *mut WebKitPlugin) -> *mut glib::GList;
4798 pub fn webkit_plugin_get_name(plugin: *mut WebKitPlugin) -> *const c_char;
4799 pub fn webkit_plugin_get_path(plugin: *mut WebKitPlugin) -> *const c_char;
4800
4801 #[cfg(feature = "v2_28")]
4805 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
4806 pub fn webkit_pointer_lock_permission_request_get_type() -> GType;
4807
4808 pub fn webkit_policy_decision_get_type() -> GType;
4812 pub fn webkit_policy_decision_download(decision: *mut WebKitPolicyDecision);
4813 pub fn webkit_policy_decision_ignore(decision: *mut WebKitPolicyDecision);
4814 pub fn webkit_policy_decision_use(decision: *mut WebKitPolicyDecision);
4815 #[cfg(feature = "v2_30")]
4816 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
4817 pub fn webkit_policy_decision_use_with_policies(
4818 decision: *mut WebKitPolicyDecision,
4819 policies: *mut WebKitWebsitePolicies,
4820 );
4821
4822 #[cfg(feature = "v2_16")]
4826 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
4827 pub fn webkit_print_custom_widget_get_type() -> GType;
4828 #[cfg(feature = "v2_16")]
4829 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
4830 pub fn webkit_print_custom_widget_new(
4831 widget: *mut gtk::GtkWidget,
4832 title: *const c_char,
4833 ) -> *mut WebKitPrintCustomWidget;
4834 #[cfg(feature = "v2_16")]
4835 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
4836 pub fn webkit_print_custom_widget_get_title(
4837 print_custom_widget: *mut WebKitPrintCustomWidget,
4838 ) -> *const c_char;
4839 #[cfg(feature = "v2_16")]
4840 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
4841 pub fn webkit_print_custom_widget_get_widget(
4842 print_custom_widget: *mut WebKitPrintCustomWidget,
4843 ) -> *mut gtk::GtkWidget;
4844
4845 pub fn webkit_print_operation_get_type() -> GType;
4849 pub fn webkit_print_operation_new(web_view: *mut WebKitWebView) -> *mut WebKitPrintOperation;
4850 pub fn webkit_print_operation_get_page_setup(
4851 print_operation: *mut WebKitPrintOperation,
4852 ) -> *mut gtk::GtkPageSetup;
4853 pub fn webkit_print_operation_get_print_settings(
4854 print_operation: *mut WebKitPrintOperation,
4855 ) -> *mut gtk::GtkPrintSettings;
4856 pub fn webkit_print_operation_print(print_operation: *mut WebKitPrintOperation);
4857 pub fn webkit_print_operation_run_dialog(
4858 print_operation: *mut WebKitPrintOperation,
4859 parent: *mut gtk::GtkWindow,
4860 ) -> WebKitPrintOperationResponse;
4861 pub fn webkit_print_operation_set_page_setup(
4862 print_operation: *mut WebKitPrintOperation,
4863 page_setup: *mut gtk::GtkPageSetup,
4864 );
4865 pub fn webkit_print_operation_set_print_settings(
4866 print_operation: *mut WebKitPrintOperation,
4867 print_settings: *mut gtk::GtkPrintSettings,
4868 );
4869
4870 pub fn webkit_response_policy_decision_get_type() -> GType;
4874 pub fn webkit_response_policy_decision_get_request(
4875 decision: *mut WebKitResponsePolicyDecision,
4876 ) -> *mut WebKitURIRequest;
4877 pub fn webkit_response_policy_decision_get_response(
4878 decision: *mut WebKitResponsePolicyDecision,
4879 ) -> *mut WebKitURIResponse;
4880 #[cfg(feature = "v2_40")]
4881 #[cfg_attr(docsrs, doc(cfg(feature = "v2_40")))]
4882 pub fn webkit_response_policy_decision_is_main_frame_main_resource(
4883 decision: *mut WebKitResponsePolicyDecision,
4884 ) -> gboolean;
4885 pub fn webkit_response_policy_decision_is_mime_type_supported(
4886 decision: *mut WebKitResponsePolicyDecision,
4887 ) -> gboolean;
4888
4889 pub fn webkit_security_manager_get_type() -> GType;
4893 pub fn webkit_security_manager_register_uri_scheme_as_cors_enabled(
4894 security_manager: *mut WebKitSecurityManager,
4895 scheme: *const c_char,
4896 );
4897 pub fn webkit_security_manager_register_uri_scheme_as_display_isolated(
4898 security_manager: *mut WebKitSecurityManager,
4899 scheme: *const c_char,
4900 );
4901 pub fn webkit_security_manager_register_uri_scheme_as_empty_document(
4902 security_manager: *mut WebKitSecurityManager,
4903 scheme: *const c_char,
4904 );
4905 pub fn webkit_security_manager_register_uri_scheme_as_local(
4906 security_manager: *mut WebKitSecurityManager,
4907 scheme: *const c_char,
4908 );
4909 pub fn webkit_security_manager_register_uri_scheme_as_no_access(
4910 security_manager: *mut WebKitSecurityManager,
4911 scheme: *const c_char,
4912 );
4913 pub fn webkit_security_manager_register_uri_scheme_as_secure(
4914 security_manager: *mut WebKitSecurityManager,
4915 scheme: *const c_char,
4916 );
4917 pub fn webkit_security_manager_uri_scheme_is_cors_enabled(
4918 security_manager: *mut WebKitSecurityManager,
4919 scheme: *const c_char,
4920 ) -> gboolean;
4921 pub fn webkit_security_manager_uri_scheme_is_display_isolated(
4922 security_manager: *mut WebKitSecurityManager,
4923 scheme: *const c_char,
4924 ) -> gboolean;
4925 pub fn webkit_security_manager_uri_scheme_is_empty_document(
4926 security_manager: *mut WebKitSecurityManager,
4927 scheme: *const c_char,
4928 ) -> gboolean;
4929 pub fn webkit_security_manager_uri_scheme_is_local(
4930 security_manager: *mut WebKitSecurityManager,
4931 scheme: *const c_char,
4932 ) -> gboolean;
4933 pub fn webkit_security_manager_uri_scheme_is_no_access(
4934 security_manager: *mut WebKitSecurityManager,
4935 scheme: *const c_char,
4936 ) -> gboolean;
4937 pub fn webkit_security_manager_uri_scheme_is_secure(
4938 security_manager: *mut WebKitSecurityManager,
4939 scheme: *const c_char,
4940 ) -> gboolean;
4941
4942 pub fn webkit_settings_get_type() -> GType;
4946 pub fn webkit_settings_new() -> *mut WebKitSettings;
4947 pub fn webkit_settings_new_with_settings(
4948 first_setting_name: *const c_char,
4949 ...
4950 ) -> *mut WebKitSettings;
4951 #[cfg(feature = "v2_20")]
4952 #[cfg_attr(docsrs, doc(cfg(feature = "v2_20")))]
4953 pub fn webkit_settings_font_size_to_pixels(points: u32) -> u32;
4954 #[cfg(feature = "v2_20")]
4955 #[cfg_attr(docsrs, doc(cfg(feature = "v2_20")))]
4956 pub fn webkit_settings_font_size_to_points(pixels: u32) -> u32;
4957 #[cfg(feature = "v2_10")]
4958 #[cfg_attr(docsrs, doc(cfg(feature = "v2_10")))]
4959 pub fn webkit_settings_get_allow_file_access_from_file_urls(
4960 settings: *mut WebKitSettings,
4961 ) -> gboolean;
4962 pub fn webkit_settings_get_allow_modal_dialogs(settings: *mut WebKitSettings) -> gboolean;
4963 #[cfg(feature = "v2_28")]
4964 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
4965 pub fn webkit_settings_get_allow_top_navigation_to_data_urls(
4966 settings: *mut WebKitSettings,
4967 ) -> gboolean;
4968 #[cfg(feature = "v2_14")]
4969 #[cfg_attr(docsrs, doc(cfg(feature = "v2_14")))]
4970 pub fn webkit_settings_get_allow_universal_access_from_file_urls(
4971 settings: *mut WebKitSettings,
4972 ) -> gboolean;
4973 pub fn webkit_settings_get_auto_load_images(settings: *mut WebKitSettings) -> gboolean;
4974 pub fn webkit_settings_get_cursive_font_family(settings: *mut WebKitSettings) -> *const c_char;
4975 pub fn webkit_settings_get_default_charset(settings: *mut WebKitSettings) -> *const c_char;
4976 pub fn webkit_settings_get_default_font_family(settings: *mut WebKitSettings) -> *const c_char;
4977 pub fn webkit_settings_get_default_font_size(settings: *mut WebKitSettings) -> u32;
4978 pub fn webkit_settings_get_default_monospace_font_size(settings: *mut WebKitSettings) -> u32;
4979 #[cfg(feature = "v2_40")]
4980 #[cfg_attr(docsrs, doc(cfg(feature = "v2_40")))]
4981 pub fn webkit_settings_get_disable_web_security(settings: *mut WebKitSettings) -> gboolean;
4982 pub fn webkit_settings_get_draw_compositing_indicators(settings: *mut WebKitSettings)
4983 -> gboolean;
4984 pub fn webkit_settings_get_enable_accelerated_2d_canvas(
4985 settings: *mut WebKitSettings,
4986 ) -> gboolean;
4987 #[cfg(feature = "v2_24")]
4988 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
4989 pub fn webkit_settings_get_enable_back_forward_navigation_gestures(
4990 settings: *mut WebKitSettings,
4991 ) -> gboolean;
4992 pub fn webkit_settings_get_enable_caret_browsing(settings: *mut WebKitSettings) -> gboolean;
4993 pub fn webkit_settings_get_enable_developer_extras(settings: *mut WebKitSettings) -> gboolean;
4994 pub fn webkit_settings_get_enable_dns_prefetching(settings: *mut WebKitSettings) -> gboolean;
4995 #[cfg(feature = "v2_20")]
4996 #[cfg_attr(docsrs, doc(cfg(feature = "v2_20")))]
4997 pub fn webkit_settings_get_enable_encrypted_media(settings: *mut WebKitSettings) -> gboolean;
4998 pub fn webkit_settings_get_enable_frame_flattening(settings: *mut WebKitSettings) -> gboolean;
4999 pub fn webkit_settings_get_enable_fullscreen(settings: *mut WebKitSettings) -> gboolean;
5000 pub fn webkit_settings_get_enable_html5_database(settings: *mut WebKitSettings) -> gboolean;
5001 pub fn webkit_settings_get_enable_html5_local_storage(settings: *mut WebKitSettings) -> gboolean;
5002 pub fn webkit_settings_get_enable_hyperlink_auditing(settings: *mut WebKitSettings) -> gboolean;
5003 pub fn webkit_settings_get_enable_java(settings: *mut WebKitSettings) -> gboolean;
5004 pub fn webkit_settings_get_enable_javascript(settings: *mut WebKitSettings) -> gboolean;
5005 #[cfg(feature = "v2_24")]
5006 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
5007 pub fn webkit_settings_get_enable_javascript_markup(settings: *mut WebKitSettings) -> gboolean;
5008 #[cfg(feature = "v2_26")]
5009 #[cfg_attr(docsrs, doc(cfg(feature = "v2_26")))]
5010 pub fn webkit_settings_get_enable_media(settings: *mut WebKitSettings) -> gboolean;
5011 #[cfg(feature = "v2_22")]
5012 #[cfg_attr(docsrs, doc(cfg(feature = "v2_22")))]
5013 pub fn webkit_settings_get_enable_media_capabilities(settings: *mut WebKitSettings) -> gboolean;
5014 pub fn webkit_settings_get_enable_media_stream(settings: *mut WebKitSettings) -> gboolean;
5015 pub fn webkit_settings_get_enable_mediasource(settings: *mut WebKitSettings) -> gboolean;
5016 #[cfg(feature = "v2_24")]
5017 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
5018 pub fn webkit_settings_get_enable_mock_capture_devices(settings: *mut WebKitSettings)
5019 -> gboolean;
5020 pub fn webkit_settings_get_enable_offline_web_application_cache(
5021 settings: *mut WebKitSettings,
5022 ) -> gboolean;
5023 pub fn webkit_settings_get_enable_page_cache(settings: *mut WebKitSettings) -> gboolean;
5024 pub fn webkit_settings_get_enable_plugins(settings: *mut WebKitSettings) -> gboolean;
5025 pub fn webkit_settings_get_enable_private_browsing(settings: *mut WebKitSettings) -> gboolean;
5026 pub fn webkit_settings_get_enable_resizable_text_areas(settings: *mut WebKitSettings)
5027 -> gboolean;
5028 pub fn webkit_settings_get_enable_site_specific_quirks(settings: *mut WebKitSettings)
5029 -> gboolean;
5030 pub fn webkit_settings_get_enable_smooth_scrolling(settings: *mut WebKitSettings) -> gboolean;
5031 pub fn webkit_settings_get_enable_spatial_navigation(settings: *mut WebKitSettings) -> gboolean;
5032 pub fn webkit_settings_get_enable_tabs_to_links(settings: *mut WebKitSettings) -> gboolean;
5033 pub fn webkit_settings_get_enable_webaudio(settings: *mut WebKitSettings) -> gboolean;
5034 pub fn webkit_settings_get_enable_webgl(settings: *mut WebKitSettings) -> gboolean;
5035 #[cfg(feature = "v2_38")]
5036 #[cfg_attr(docsrs, doc(cfg(feature = "v2_38")))]
5037 pub fn webkit_settings_get_enable_webrtc(settings: *mut WebKitSettings) -> gboolean;
5038 pub fn webkit_settings_get_enable_write_console_messages_to_stdout(
5039 settings: *mut WebKitSettings,
5040 ) -> gboolean;
5041 pub fn webkit_settings_get_enable_xss_auditor(settings: *mut WebKitSettings) -> gboolean;
5042 pub fn webkit_settings_get_fantasy_font_family(settings: *mut WebKitSettings) -> *const c_char;
5043 #[cfg(feature = "v2_16")]
5044 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
5045 pub fn webkit_settings_get_hardware_acceleration_policy(
5046 settings: *mut WebKitSettings,
5047 ) -> WebKitHardwareAccelerationPolicy;
5048 pub fn webkit_settings_get_javascript_can_access_clipboard(
5049 settings: *mut WebKitSettings,
5050 ) -> gboolean;
5051 pub fn webkit_settings_get_javascript_can_open_windows_automatically(
5052 settings: *mut WebKitSettings,
5053 ) -> gboolean;
5054 pub fn webkit_settings_get_load_icons_ignoring_image_load_setting(
5055 settings: *mut WebKitSettings,
5056 ) -> gboolean;
5057 #[cfg(feature = "v2_30")]
5058 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
5059 pub fn webkit_settings_get_media_content_types_requiring_hardware_support(
5060 settings: *mut WebKitSettings,
5061 ) -> *const c_char;
5062 pub fn webkit_settings_get_media_playback_allows_inline(
5063 settings: *mut WebKitSettings,
5064 ) -> gboolean;
5065 pub fn webkit_settings_get_media_playback_requires_user_gesture(
5066 settings: *mut WebKitSettings,
5067 ) -> gboolean;
5068 pub fn webkit_settings_get_minimum_font_size(settings: *mut WebKitSettings) -> u32;
5069 pub fn webkit_settings_get_monospace_font_family(settings: *mut WebKitSettings) -> *const c_char;
5070 pub fn webkit_settings_get_pictograph_font_family(settings: *mut WebKitSettings)
5071 -> *const c_char;
5072 pub fn webkit_settings_get_print_backgrounds(settings: *mut WebKitSettings) -> gboolean;
5073 pub fn webkit_settings_get_sans_serif_font_family(settings: *mut WebKitSettings)
5074 -> *const c_char;
5075 pub fn webkit_settings_get_serif_font_family(settings: *mut WebKitSettings) -> *const c_char;
5076 pub fn webkit_settings_get_user_agent(settings: *mut WebKitSettings) -> *const c_char;
5077 pub fn webkit_settings_get_zoom_text_only(settings: *mut WebKitSettings) -> gboolean;
5078 #[cfg(feature = "v2_10")]
5079 #[cfg_attr(docsrs, doc(cfg(feature = "v2_10")))]
5080 pub fn webkit_settings_set_allow_file_access_from_file_urls(
5081 settings: *mut WebKitSettings,
5082 allowed: gboolean,
5083 );
5084 pub fn webkit_settings_set_allow_modal_dialogs(settings: *mut WebKitSettings, allowed: gboolean);
5085 #[cfg(feature = "v2_28")]
5086 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
5087 pub fn webkit_settings_set_allow_top_navigation_to_data_urls(
5088 settings: *mut WebKitSettings,
5089 allowed: gboolean,
5090 );
5091 #[cfg(feature = "v2_14")]
5092 #[cfg_attr(docsrs, doc(cfg(feature = "v2_14")))]
5093 pub fn webkit_settings_set_allow_universal_access_from_file_urls(
5094 settings: *mut WebKitSettings,
5095 allowed: gboolean,
5096 );
5097 pub fn webkit_settings_set_auto_load_images(settings: *mut WebKitSettings, enabled: gboolean);
5098 pub fn webkit_settings_set_cursive_font_family(
5099 settings: *mut WebKitSettings,
5100 cursive_font_family: *const c_char,
5101 );
5102 pub fn webkit_settings_set_default_charset(
5103 settings: *mut WebKitSettings,
5104 default_charset: *const c_char,
5105 );
5106 pub fn webkit_settings_set_default_font_family(
5107 settings: *mut WebKitSettings,
5108 default_font_family: *const c_char,
5109 );
5110 pub fn webkit_settings_set_default_font_size(settings: *mut WebKitSettings, font_size: u32);
5111 pub fn webkit_settings_set_default_monospace_font_size(
5112 settings: *mut WebKitSettings,
5113 font_size: u32,
5114 );
5115 #[cfg(feature = "v2_40")]
5116 #[cfg_attr(docsrs, doc(cfg(feature = "v2_40")))]
5117 pub fn webkit_settings_set_disable_web_security(
5118 settings: *mut WebKitSettings,
5119 disabled: gboolean,
5120 );
5121 pub fn webkit_settings_set_draw_compositing_indicators(
5122 settings: *mut WebKitSettings,
5123 enabled: gboolean,
5124 );
5125 pub fn webkit_settings_set_enable_accelerated_2d_canvas(
5126 settings: *mut WebKitSettings,
5127 enabled: gboolean,
5128 );
5129 #[cfg(feature = "v2_24")]
5130 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
5131 pub fn webkit_settings_set_enable_back_forward_navigation_gestures(
5132 settings: *mut WebKitSettings,
5133 enabled: gboolean,
5134 );
5135 pub fn webkit_settings_set_enable_caret_browsing(
5136 settings: *mut WebKitSettings,
5137 enabled: gboolean,
5138 );
5139 pub fn webkit_settings_set_enable_developer_extras(
5140 settings: *mut WebKitSettings,
5141 enabled: gboolean,
5142 );
5143 pub fn webkit_settings_set_enable_dns_prefetching(
5144 settings: *mut WebKitSettings,
5145 enabled: gboolean,
5146 );
5147 #[cfg(feature = "v2_20")]
5148 #[cfg_attr(docsrs, doc(cfg(feature = "v2_20")))]
5149 pub fn webkit_settings_set_enable_encrypted_media(
5150 settings: *mut WebKitSettings,
5151 enabled: gboolean,
5152 );
5153 pub fn webkit_settings_set_enable_frame_flattening(
5154 settings: *mut WebKitSettings,
5155 enabled: gboolean,
5156 );
5157 pub fn webkit_settings_set_enable_fullscreen(settings: *mut WebKitSettings, enabled: gboolean);
5158 pub fn webkit_settings_set_enable_html5_database(
5159 settings: *mut WebKitSettings,
5160 enabled: gboolean,
5161 );
5162 pub fn webkit_settings_set_enable_html5_local_storage(
5163 settings: *mut WebKitSettings,
5164 enabled: gboolean,
5165 );
5166 pub fn webkit_settings_set_enable_hyperlink_auditing(
5167 settings: *mut WebKitSettings,
5168 enabled: gboolean,
5169 );
5170 pub fn webkit_settings_set_enable_java(settings: *mut WebKitSettings, enabled: gboolean);
5171 pub fn webkit_settings_set_enable_javascript(settings: *mut WebKitSettings, enabled: gboolean);
5172 #[cfg(feature = "v2_24")]
5173 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
5174 pub fn webkit_settings_set_enable_javascript_markup(
5175 settings: *mut WebKitSettings,
5176 enabled: gboolean,
5177 );
5178 #[cfg(feature = "v2_26")]
5179 #[cfg_attr(docsrs, doc(cfg(feature = "v2_26")))]
5180 pub fn webkit_settings_set_enable_media(settings: *mut WebKitSettings, enabled: gboolean);
5181 #[cfg(feature = "v2_22")]
5182 #[cfg_attr(docsrs, doc(cfg(feature = "v2_22")))]
5183 pub fn webkit_settings_set_enable_media_capabilities(
5184 settings: *mut WebKitSettings,
5185 enabled: gboolean,
5186 );
5187 pub fn webkit_settings_set_enable_media_stream(settings: *mut WebKitSettings, enabled: gboolean);
5188 pub fn webkit_settings_set_enable_mediasource(settings: *mut WebKitSettings, enabled: gboolean);
5189 pub fn webkit_settings_set_enable_mock_capture_devices(
5190 settings: *mut WebKitSettings,
5191 enabled: gboolean,
5192 );
5193 pub fn webkit_settings_set_enable_offline_web_application_cache(
5194 settings: *mut WebKitSettings,
5195 enabled: gboolean,
5196 );
5197 pub fn webkit_settings_set_enable_page_cache(settings: *mut WebKitSettings, enabled: gboolean);
5198 pub fn webkit_settings_set_enable_plugins(settings: *mut WebKitSettings, enabled: gboolean);
5199 pub fn webkit_settings_set_enable_private_browsing(
5200 settings: *mut WebKitSettings,
5201 enabled: gboolean,
5202 );
5203 pub fn webkit_settings_set_enable_resizable_text_areas(
5204 settings: *mut WebKitSettings,
5205 enabled: gboolean,
5206 );
5207 pub fn webkit_settings_set_enable_site_specific_quirks(
5208 settings: *mut WebKitSettings,
5209 enabled: gboolean,
5210 );
5211 pub fn webkit_settings_set_enable_smooth_scrolling(
5212 settings: *mut WebKitSettings,
5213 enabled: gboolean,
5214 );
5215 pub fn webkit_settings_set_enable_spatial_navigation(
5216 settings: *mut WebKitSettings,
5217 enabled: gboolean,
5218 );
5219 pub fn webkit_settings_set_enable_tabs_to_links(settings: *mut WebKitSettings, enabled: gboolean);
5220 pub fn webkit_settings_set_enable_webaudio(settings: *mut WebKitSettings, enabled: gboolean);
5221 pub fn webkit_settings_set_enable_webgl(settings: *mut WebKitSettings, enabled: gboolean);
5222 #[cfg(feature = "v2_38")]
5223 #[cfg_attr(docsrs, doc(cfg(feature = "v2_38")))]
5224 pub fn webkit_settings_set_enable_webrtc(settings: *mut WebKitSettings, enabled: gboolean);
5225 pub fn webkit_settings_set_enable_write_console_messages_to_stdout(
5226 settings: *mut WebKitSettings,
5227 enabled: gboolean,
5228 );
5229 pub fn webkit_settings_set_enable_xss_auditor(settings: *mut WebKitSettings, enabled: gboolean);
5230 pub fn webkit_settings_set_fantasy_font_family(
5231 settings: *mut WebKitSettings,
5232 fantasy_font_family: *const c_char,
5233 );
5234 #[cfg(feature = "v2_16")]
5235 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
5236 pub fn webkit_settings_set_hardware_acceleration_policy(
5237 settings: *mut WebKitSettings,
5238 policy: WebKitHardwareAccelerationPolicy,
5239 );
5240 pub fn webkit_settings_set_javascript_can_access_clipboard(
5241 settings: *mut WebKitSettings,
5242 enabled: gboolean,
5243 );
5244 pub fn webkit_settings_set_javascript_can_open_windows_automatically(
5245 settings: *mut WebKitSettings,
5246 enabled: gboolean,
5247 );
5248 pub fn webkit_settings_set_load_icons_ignoring_image_load_setting(
5249 settings: *mut WebKitSettings,
5250 enabled: gboolean,
5251 );
5252 #[cfg(feature = "v2_30")]
5253 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
5254 pub fn webkit_settings_set_media_content_types_requiring_hardware_support(
5255 settings: *mut WebKitSettings,
5256 content_types: *const c_char,
5257 );
5258 pub fn webkit_settings_set_media_playback_allows_inline(
5259 settings: *mut WebKitSettings,
5260 enabled: gboolean,
5261 );
5262 pub fn webkit_settings_set_media_playback_requires_user_gesture(
5263 settings: *mut WebKitSettings,
5264 enabled: gboolean,
5265 );
5266 pub fn webkit_settings_set_minimum_font_size(settings: *mut WebKitSettings, font_size: u32);
5267 pub fn webkit_settings_set_monospace_font_family(
5268 settings: *mut WebKitSettings,
5269 monospace_font_family: *const c_char,
5270 );
5271 pub fn webkit_settings_set_pictograph_font_family(
5272 settings: *mut WebKitSettings,
5273 pictograph_font_family: *const c_char,
5274 );
5275 pub fn webkit_settings_set_print_backgrounds(
5276 settings: *mut WebKitSettings,
5277 print_backgrounds: gboolean,
5278 );
5279 pub fn webkit_settings_set_sans_serif_font_family(
5280 settings: *mut WebKitSettings,
5281 sans_serif_font_family: *const c_char,
5282 );
5283 pub fn webkit_settings_set_serif_font_family(
5284 settings: *mut WebKitSettings,
5285 serif_font_family: *const c_char,
5286 );
5287 pub fn webkit_settings_set_user_agent(settings: *mut WebKitSettings, user_agent: *const c_char);
5288 pub fn webkit_settings_set_user_agent_with_application_details(
5289 settings: *mut WebKitSettings,
5290 application_name: *const c_char,
5291 application_version: *const c_char,
5292 );
5293 pub fn webkit_settings_set_zoom_text_only(
5294 settings: *mut WebKitSettings,
5295 zoom_text_only: gboolean,
5296 );
5297
5298 pub fn webkit_uri_request_get_type() -> GType;
5302 pub fn webkit_uri_request_new(uri: *const c_char) -> *mut WebKitURIRequest;
5303 pub fn webkit_uri_request_get_http_headers(
5304 request: *mut WebKitURIRequest,
5305 ) -> *mut soup::SoupMessageHeaders;
5306 #[cfg(feature = "v2_12")]
5307 #[cfg_attr(docsrs, doc(cfg(feature = "v2_12")))]
5308 pub fn webkit_uri_request_get_http_method(request: *mut WebKitURIRequest) -> *const c_char;
5309 pub fn webkit_uri_request_get_uri(request: *mut WebKitURIRequest) -> *const c_char;
5310 pub fn webkit_uri_request_set_uri(request: *mut WebKitURIRequest, uri: *const c_char);
5311
5312 pub fn webkit_uri_response_get_type() -> GType;
5316 pub fn webkit_uri_response_get_content_length(response: *mut WebKitURIResponse) -> u64;
5317 #[cfg(feature = "v2_6")]
5318 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
5319 pub fn webkit_uri_response_get_http_headers(
5320 response: *mut WebKitURIResponse,
5321 ) -> *mut soup::SoupMessageHeaders;
5322 pub fn webkit_uri_response_get_mime_type(response: *mut WebKitURIResponse) -> *const c_char;
5323 pub fn webkit_uri_response_get_status_code(response: *mut WebKitURIResponse) -> c_uint;
5324 pub fn webkit_uri_response_get_suggested_filename(
5325 response: *mut WebKitURIResponse,
5326 ) -> *const c_char;
5327 pub fn webkit_uri_response_get_uri(response: *mut WebKitURIResponse) -> *const c_char;
5328
5329 pub fn webkit_uri_scheme_request_get_type() -> GType;
5333 pub fn webkit_uri_scheme_request_finish(
5334 request: *mut WebKitURISchemeRequest,
5335 stream: *mut gio::GInputStream,
5336 stream_length: i64,
5337 content_type: *const c_char,
5338 );
5339 pub fn webkit_uri_scheme_request_finish_error(
5340 request: *mut WebKitURISchemeRequest,
5341 error: *mut glib::GError,
5342 );
5343 #[cfg(feature = "v2_36")]
5344 #[cfg_attr(docsrs, doc(cfg(feature = "v2_36")))]
5345 pub fn webkit_uri_scheme_request_finish_with_response(
5346 request: *mut WebKitURISchemeRequest,
5347 response: *mut WebKitURISchemeResponse,
5348 );
5349 #[cfg(feature = "v2_40")]
5350 #[cfg_attr(docsrs, doc(cfg(feature = "v2_40")))]
5351 pub fn webkit_uri_scheme_request_get_http_body(
5352 request: *mut WebKitURISchemeRequest,
5353 ) -> *mut gio::GInputStream;
5354 #[cfg(feature = "v2_36")]
5355 #[cfg_attr(docsrs, doc(cfg(feature = "v2_36")))]
5356 pub fn webkit_uri_scheme_request_get_http_headers(
5357 request: *mut WebKitURISchemeRequest,
5358 ) -> *mut soup::SoupMessageHeaders;
5359 #[cfg(feature = "v2_36")]
5360 #[cfg_attr(docsrs, doc(cfg(feature = "v2_36")))]
5361 pub fn webkit_uri_scheme_request_get_http_method(
5362 request: *mut WebKitURISchemeRequest,
5363 ) -> *const c_char;
5364 pub fn webkit_uri_scheme_request_get_path(request: *mut WebKitURISchemeRequest) -> *const c_char;
5365 pub fn webkit_uri_scheme_request_get_scheme(
5366 request: *mut WebKitURISchemeRequest,
5367 ) -> *const c_char;
5368 pub fn webkit_uri_scheme_request_get_uri(request: *mut WebKitURISchemeRequest) -> *const c_char;
5369 pub fn webkit_uri_scheme_request_get_web_view(
5370 request: *mut WebKitURISchemeRequest,
5371 ) -> *mut WebKitWebView;
5372
5373 pub fn webkit_uri_scheme_response_get_type() -> GType;
5377 #[cfg(feature = "v2_36")]
5378 #[cfg_attr(docsrs, doc(cfg(feature = "v2_36")))]
5379 pub fn webkit_uri_scheme_response_new(
5380 input_stream: *mut gio::GInputStream,
5381 stream_length: i64,
5382 ) -> *mut WebKitURISchemeResponse;
5383 #[cfg(feature = "v2_36")]
5384 #[cfg_attr(docsrs, doc(cfg(feature = "v2_36")))]
5385 pub fn webkit_uri_scheme_response_set_content_type(
5386 response: *mut WebKitURISchemeResponse,
5387 content_type: *const c_char,
5388 );
5389 #[cfg(feature = "v2_36")]
5390 #[cfg_attr(docsrs, doc(cfg(feature = "v2_36")))]
5391 pub fn webkit_uri_scheme_response_set_http_headers(
5392 response: *mut WebKitURISchemeResponse,
5393 headers: *mut soup::SoupMessageHeaders,
5394 );
5395 #[cfg(feature = "v2_36")]
5396 #[cfg_attr(docsrs, doc(cfg(feature = "v2_36")))]
5397 pub fn webkit_uri_scheme_response_set_status(
5398 response: *mut WebKitURISchemeResponse,
5399 status_code: c_uint,
5400 reason_phrase: *const c_char,
5401 );
5402
5403 #[cfg(feature = "v2_24")]
5407 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
5408 pub fn webkit_user_content_filter_store_get_type() -> GType;
5409 #[cfg(feature = "v2_24")]
5410 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
5411 pub fn webkit_user_content_filter_store_new(
5412 storage_path: *const c_char,
5413 ) -> *mut WebKitUserContentFilterStore;
5414 #[cfg(feature = "v2_24")]
5415 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
5416 pub fn webkit_user_content_filter_store_fetch_identifiers(
5417 store: *mut WebKitUserContentFilterStore,
5418 cancellable: *mut gio::GCancellable,
5419 callback: gio::GAsyncReadyCallback,
5420 user_data: gpointer,
5421 );
5422 #[cfg(feature = "v2_24")]
5423 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
5424 pub fn webkit_user_content_filter_store_fetch_identifiers_finish(
5425 store: *mut WebKitUserContentFilterStore,
5426 result: *mut gio::GAsyncResult,
5427 ) -> *mut *mut c_char;
5428 #[cfg(feature = "v2_24")]
5429 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
5430 pub fn webkit_user_content_filter_store_get_path(
5431 store: *mut WebKitUserContentFilterStore,
5432 ) -> *const c_char;
5433 #[cfg(feature = "v2_24")]
5434 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
5435 pub fn webkit_user_content_filter_store_load(
5436 store: *mut WebKitUserContentFilterStore,
5437 identifier: *const c_char,
5438 cancellable: *mut gio::GCancellable,
5439 callback: gio::GAsyncReadyCallback,
5440 user_data: gpointer,
5441 );
5442 #[cfg(feature = "v2_24")]
5443 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
5444 pub fn webkit_user_content_filter_store_load_finish(
5445 store: *mut WebKitUserContentFilterStore,
5446 result: *mut gio::GAsyncResult,
5447 error: *mut *mut glib::GError,
5448 ) -> *mut WebKitUserContentFilter;
5449 #[cfg(feature = "v2_24")]
5450 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
5451 pub fn webkit_user_content_filter_store_remove(
5452 store: *mut WebKitUserContentFilterStore,
5453 identifier: *const c_char,
5454 cancellable: *mut gio::GCancellable,
5455 callback: gio::GAsyncReadyCallback,
5456 user_data: gpointer,
5457 );
5458 #[cfg(feature = "v2_24")]
5459 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
5460 pub fn webkit_user_content_filter_store_remove_finish(
5461 store: *mut WebKitUserContentFilterStore,
5462 result: *mut gio::GAsyncResult,
5463 error: *mut *mut glib::GError,
5464 ) -> gboolean;
5465 #[cfg(feature = "v2_24")]
5466 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
5467 pub fn webkit_user_content_filter_store_save(
5468 store: *mut WebKitUserContentFilterStore,
5469 identifier: *const c_char,
5470 source: *mut glib::GBytes,
5471 cancellable: *mut gio::GCancellable,
5472 callback: gio::GAsyncReadyCallback,
5473 user_data: gpointer,
5474 );
5475 #[cfg(feature = "v2_24")]
5476 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
5477 pub fn webkit_user_content_filter_store_save_finish(
5478 store: *mut WebKitUserContentFilterStore,
5479 result: *mut gio::GAsyncResult,
5480 error: *mut *mut glib::GError,
5481 ) -> *mut WebKitUserContentFilter;
5482 #[cfg(feature = "v2_24")]
5483 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
5484 pub fn webkit_user_content_filter_store_save_from_file(
5485 store: *mut WebKitUserContentFilterStore,
5486 identifier: *const c_char,
5487 file: *mut gio::GFile,
5488 cancellable: *mut gio::GCancellable,
5489 callback: gio::GAsyncReadyCallback,
5490 user_data: gpointer,
5491 );
5492 #[cfg(feature = "v2_24")]
5493 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
5494 pub fn webkit_user_content_filter_store_save_from_file_finish(
5495 store: *mut WebKitUserContentFilterStore,
5496 result: *mut gio::GAsyncResult,
5497 error: *mut *mut glib::GError,
5498 ) -> *mut WebKitUserContentFilter;
5499
5500 #[cfg(feature = "v2_6")]
5504 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
5505 pub fn webkit_user_content_manager_get_type() -> GType;
5506 #[cfg(feature = "v2_6")]
5507 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
5508 pub fn webkit_user_content_manager_new() -> *mut WebKitUserContentManager;
5509 #[cfg(feature = "v2_24")]
5510 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
5511 pub fn webkit_user_content_manager_add_filter(
5512 manager: *mut WebKitUserContentManager,
5513 filter: *mut WebKitUserContentFilter,
5514 );
5515 #[cfg(feature = "v2_6")]
5516 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
5517 pub fn webkit_user_content_manager_add_script(
5518 manager: *mut WebKitUserContentManager,
5519 script: *mut WebKitUserScript,
5520 );
5521 #[cfg(feature = "v2_6")]
5522 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
5523 pub fn webkit_user_content_manager_add_style_sheet(
5524 manager: *mut WebKitUserContentManager,
5525 stylesheet: *mut WebKitUserStyleSheet,
5526 );
5527 #[cfg(feature = "v2_8")]
5528 #[cfg_attr(docsrs, doc(cfg(feature = "v2_8")))]
5529 pub fn webkit_user_content_manager_register_script_message_handler(
5530 manager: *mut WebKitUserContentManager,
5531 name: *const c_char,
5532 ) -> gboolean;
5533 #[cfg(feature = "v2_22")]
5534 #[cfg_attr(docsrs, doc(cfg(feature = "v2_22")))]
5535 pub fn webkit_user_content_manager_register_script_message_handler_in_world(
5536 manager: *mut WebKitUserContentManager,
5537 name: *const c_char,
5538 world_name: *const c_char,
5539 ) -> gboolean;
5540 #[cfg(feature = "v2_40")]
5541 #[cfg_attr(docsrs, doc(cfg(feature = "v2_40")))]
5542 pub fn webkit_user_content_manager_register_script_message_handler_with_reply(
5543 manager: *mut WebKitUserContentManager,
5544 name: *const c_char,
5545 world_name: *const c_char,
5546 ) -> gboolean;
5547 #[cfg(feature = "v2_24")]
5548 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
5549 pub fn webkit_user_content_manager_remove_all_filters(manager: *mut WebKitUserContentManager);
5550 #[cfg(feature = "v2_6")]
5551 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
5552 pub fn webkit_user_content_manager_remove_all_scripts(manager: *mut WebKitUserContentManager);
5553 #[cfg(feature = "v2_6")]
5554 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
5555 pub fn webkit_user_content_manager_remove_all_style_sheets(
5556 manager: *mut WebKitUserContentManager,
5557 );
5558 #[cfg(feature = "v2_24")]
5559 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
5560 pub fn webkit_user_content_manager_remove_filter(
5561 manager: *mut WebKitUserContentManager,
5562 filter: *mut WebKitUserContentFilter,
5563 );
5564 #[cfg(feature = "v2_26")]
5565 #[cfg_attr(docsrs, doc(cfg(feature = "v2_26")))]
5566 pub fn webkit_user_content_manager_remove_filter_by_id(
5567 manager: *mut WebKitUserContentManager,
5568 filter_id: *const c_char,
5569 );
5570 #[cfg(feature = "v2_32")]
5571 #[cfg_attr(docsrs, doc(cfg(feature = "v2_32")))]
5572 pub fn webkit_user_content_manager_remove_script(
5573 manager: *mut WebKitUserContentManager,
5574 script: *mut WebKitUserScript,
5575 );
5576 #[cfg(feature = "v2_32")]
5577 #[cfg_attr(docsrs, doc(cfg(feature = "v2_32")))]
5578 pub fn webkit_user_content_manager_remove_style_sheet(
5579 manager: *mut WebKitUserContentManager,
5580 stylesheet: *mut WebKitUserStyleSheet,
5581 );
5582 #[cfg(feature = "v2_8")]
5583 #[cfg_attr(docsrs, doc(cfg(feature = "v2_8")))]
5584 pub fn webkit_user_content_manager_unregister_script_message_handler(
5585 manager: *mut WebKitUserContentManager,
5586 name: *const c_char,
5587 );
5588 #[cfg(feature = "v2_22")]
5589 #[cfg_attr(docsrs, doc(cfg(feature = "v2_22")))]
5590 pub fn webkit_user_content_manager_unregister_script_message_handler_in_world(
5591 manager: *mut WebKitUserContentManager,
5592 name: *const c_char,
5593 world_name: *const c_char,
5594 );
5595
5596 #[cfg(feature = "v2_8")]
5600 #[cfg_attr(docsrs, doc(cfg(feature = "v2_8")))]
5601 pub fn webkit_user_media_permission_request_get_type() -> GType;
5602
5603 #[cfg(feature = "v2_28")]
5607 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
5608 pub fn webkit_user_message_get_type() -> GType;
5609 #[cfg(feature = "v2_28")]
5610 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
5611 pub fn webkit_user_message_new(
5612 name: *const c_char,
5613 parameters: *mut glib::GVariant,
5614 ) -> *mut WebKitUserMessage;
5615 #[cfg(feature = "v2_28")]
5616 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
5617 pub fn webkit_user_message_new_with_fd_list(
5618 name: *const c_char,
5619 parameters: *mut glib::GVariant,
5620 fd_list: *mut gio::GUnixFDList,
5621 ) -> *mut WebKitUserMessage;
5622 #[cfg(feature = "v2_28")]
5623 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
5624 pub fn webkit_user_message_get_fd_list(message: *mut WebKitUserMessage) -> *mut gio::GUnixFDList;
5625 #[cfg(feature = "v2_28")]
5626 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
5627 pub fn webkit_user_message_get_name(message: *mut WebKitUserMessage) -> *const c_char;
5628 #[cfg(feature = "v2_28")]
5629 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
5630 pub fn webkit_user_message_get_parameters(message: *mut WebKitUserMessage)
5631 -> *mut glib::GVariant;
5632 #[cfg(feature = "v2_28")]
5633 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
5634 pub fn webkit_user_message_send_reply(
5635 message: *mut WebKitUserMessage,
5636 reply: *mut WebKitUserMessage,
5637 );
5638
5639 pub fn webkit_web_context_get_type() -> GType;
5643 #[cfg(feature = "v2_8")]
5644 #[cfg_attr(docsrs, doc(cfg(feature = "v2_8")))]
5645 pub fn webkit_web_context_new() -> *mut WebKitWebContext;
5646 #[cfg(feature = "v2_16")]
5647 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
5648 pub fn webkit_web_context_new_ephemeral() -> *mut WebKitWebContext;
5649 #[cfg(feature = "v2_10")]
5650 #[cfg_attr(docsrs, doc(cfg(feature = "v2_10")))]
5651 pub fn webkit_web_context_new_with_website_data_manager(
5652 manager: *mut WebKitWebsiteDataManager,
5653 ) -> *mut WebKitWebContext;
5654 pub fn webkit_web_context_get_default() -> *mut WebKitWebContext;
5655 #[cfg(feature = "v2_26")]
5656 #[cfg_attr(docsrs, doc(cfg(feature = "v2_26")))]
5657 pub fn webkit_web_context_add_path_to_sandbox(
5658 context: *mut WebKitWebContext,
5659 path: *const c_char,
5660 read_only: gboolean,
5661 );
5662 #[cfg(feature = "v2_6")]
5663 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
5664 pub fn webkit_web_context_allow_tls_certificate_for_host(
5665 context: *mut WebKitWebContext,
5666 certificate: *mut gio::GTlsCertificate,
5667 host: *const c_char,
5668 );
5669 pub fn webkit_web_context_clear_cache(context: *mut WebKitWebContext);
5670 pub fn webkit_web_context_download_uri(
5671 context: *mut WebKitWebContext,
5672 uri: *const c_char,
5673 ) -> *mut WebKitDownload;
5674 pub fn webkit_web_context_get_cache_model(context: *mut WebKitWebContext) -> WebKitCacheModel;
5675 pub fn webkit_web_context_get_cookie_manager(
5676 context: *mut WebKitWebContext,
5677 ) -> *mut WebKitCookieManager;
5678 pub fn webkit_web_context_get_favicon_database(
5679 context: *mut WebKitWebContext,
5680 ) -> *mut WebKitFaviconDatabase;
5681 pub fn webkit_web_context_get_favicon_database_directory(
5682 context: *mut WebKitWebContext,
5683 ) -> *const c_char;
5684 #[cfg(feature = "v2_26")]
5685 #[cfg_attr(docsrs, doc(cfg(feature = "v2_26")))]
5686 pub fn webkit_web_context_get_geolocation_manager(
5687 context: *mut WebKitWebContext,
5688 ) -> *mut WebKitGeolocationManager;
5689 pub fn webkit_web_context_get_plugins(
5690 context: *mut WebKitWebContext,
5691 cancellable: *mut gio::GCancellable,
5692 callback: gio::GAsyncReadyCallback,
5693 user_data: gpointer,
5694 );
5695 pub fn webkit_web_context_get_plugins_finish(
5696 context: *mut WebKitWebContext,
5697 result: *mut gio::GAsyncResult,
5698 error: *mut *mut glib::GError,
5699 ) -> *mut glib::GList;
5700 pub fn webkit_web_context_get_process_model(context: *mut WebKitWebContext)
5701 -> WebKitProcessModel;
5702 #[cfg(feature = "v2_26")]
5703 #[cfg_attr(docsrs, doc(cfg(feature = "v2_26")))]
5704 pub fn webkit_web_context_get_sandbox_enabled(context: *mut WebKitWebContext) -> gboolean;
5705 pub fn webkit_web_context_get_security_manager(
5706 context: *mut WebKitWebContext,
5707 ) -> *mut WebKitSecurityManager;
5708 pub fn webkit_web_context_get_spell_checking_enabled(context: *mut WebKitWebContext) -> gboolean;
5709 pub fn webkit_web_context_get_spell_checking_languages(
5710 context: *mut WebKitWebContext,
5711 ) -> *const *const c_char;
5712 #[cfg(feature = "v2_38")]
5713 #[cfg_attr(docsrs, doc(cfg(feature = "v2_38")))]
5714 pub fn webkit_web_context_get_time_zone_override(context: *mut WebKitWebContext)
5715 -> *const c_char;
5716 pub fn webkit_web_context_get_tls_errors_policy(
5717 context: *mut WebKitWebContext,
5718 ) -> WebKitTLSErrorsPolicy;
5719 #[cfg(feature = "v2_30")]
5720 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
5721 pub fn webkit_web_context_get_use_system_appearance_for_scrollbars(
5722 context: *mut WebKitWebContext,
5723 ) -> gboolean;
5724 #[cfg(feature = "v2_10")]
5725 #[cfg_attr(docsrs, doc(cfg(feature = "v2_10")))]
5726 pub fn webkit_web_context_get_web_process_count_limit(context: *mut WebKitWebContext) -> c_uint;
5727 #[cfg(feature = "v2_10")]
5728 #[cfg_attr(docsrs, doc(cfg(feature = "v2_10")))]
5729 pub fn webkit_web_context_get_website_data_manager(
5730 context: *mut WebKitWebContext,
5731 ) -> *mut WebKitWebsiteDataManager;
5732 #[cfg(feature = "v2_16")]
5733 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
5734 pub fn webkit_web_context_initialize_notification_permissions(
5735 context: *mut WebKitWebContext,
5736 allowed_origins: *mut glib::GList,
5737 disallowed_origins: *mut glib::GList,
5738 );
5739 #[cfg(feature = "v2_18")]
5740 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
5741 pub fn webkit_web_context_is_automation_allowed(context: *mut WebKitWebContext) -> gboolean;
5742 #[cfg(feature = "v2_16")]
5743 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
5744 pub fn webkit_web_context_is_ephemeral(context: *mut WebKitWebContext) -> gboolean;
5745 pub fn webkit_web_context_prefetch_dns(context: *mut WebKitWebContext, hostname: *const c_char);
5746 pub fn webkit_web_context_register_uri_scheme(
5747 context: *mut WebKitWebContext,
5748 scheme: *const c_char,
5749 callback: WebKitURISchemeRequestCallback,
5750 user_data: gpointer,
5751 user_data_destroy_func: glib::GDestroyNotify,
5752 );
5753 #[cfg(feature = "v2_28")]
5754 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
5755 pub fn webkit_web_context_send_message_to_all_extensions(
5756 context: *mut WebKitWebContext,
5757 message: *mut WebKitUserMessage,
5758 );
5759 pub fn webkit_web_context_set_additional_plugins_directory(
5760 context: *mut WebKitWebContext,
5761 directory: *const c_char,
5762 );
5763 #[cfg(feature = "v2_18")]
5764 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
5765 pub fn webkit_web_context_set_automation_allowed(
5766 context: *mut WebKitWebContext,
5767 allowed: gboolean,
5768 );
5769 pub fn webkit_web_context_set_cache_model(
5770 context: *mut WebKitWebContext,
5771 cache_model: WebKitCacheModel,
5772 );
5773 pub fn webkit_web_context_set_disk_cache_directory(
5774 context: *mut WebKitWebContext,
5775 directory: *const c_char,
5776 );
5777 pub fn webkit_web_context_set_favicon_database_directory(
5778 context: *mut WebKitWebContext,
5779 path: *const c_char,
5780 );
5781 #[cfg(feature = "v2_16")]
5782 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
5783 pub fn webkit_web_context_set_network_proxy_settings(
5784 context: *mut WebKitWebContext,
5785 proxy_mode: WebKitNetworkProxyMode,
5786 proxy_settings: *mut WebKitNetworkProxySettings,
5787 );
5788 pub fn webkit_web_context_set_preferred_languages(
5789 context: *mut WebKitWebContext,
5790 languages: *const *const c_char,
5791 );
5792 pub fn webkit_web_context_set_process_model(
5793 context: *mut WebKitWebContext,
5794 process_model: WebKitProcessModel,
5795 );
5796 #[cfg(feature = "v2_26")]
5797 #[cfg_attr(docsrs, doc(cfg(feature = "v2_26")))]
5798 pub fn webkit_web_context_set_sandbox_enabled(context: *mut WebKitWebContext, enabled: gboolean);
5799 pub fn webkit_web_context_set_spell_checking_enabled(
5800 context: *mut WebKitWebContext,
5801 enabled: gboolean,
5802 );
5803 pub fn webkit_web_context_set_spell_checking_languages(
5804 context: *mut WebKitWebContext,
5805 languages: *const *const c_char,
5806 );
5807 pub fn webkit_web_context_set_tls_errors_policy(
5808 context: *mut WebKitWebContext,
5809 policy: WebKitTLSErrorsPolicy,
5810 );
5811 #[cfg(feature = "v2_30")]
5812 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
5813 pub fn webkit_web_context_set_use_system_appearance_for_scrollbars(
5814 context: *mut WebKitWebContext,
5815 enabled: gboolean,
5816 );
5817 pub fn webkit_web_context_set_web_extensions_directory(
5818 context: *mut WebKitWebContext,
5819 directory: *const c_char,
5820 );
5821 pub fn webkit_web_context_set_web_extensions_initialization_user_data(
5822 context: *mut WebKitWebContext,
5823 user_data: *mut glib::GVariant,
5824 );
5825 #[cfg(feature = "v2_10")]
5826 #[cfg_attr(docsrs, doc(cfg(feature = "v2_10")))]
5827 pub fn webkit_web_context_set_web_process_count_limit(
5828 context: *mut WebKitWebContext,
5829 limit: c_uint,
5830 );
5831
5832 pub fn webkit_web_inspector_get_type() -> GType;
5836 pub fn webkit_web_inspector_attach(inspector: *mut WebKitWebInspector);
5837 pub fn webkit_web_inspector_close(inspector: *mut WebKitWebInspector);
5838 pub fn webkit_web_inspector_detach(inspector: *mut WebKitWebInspector);
5839 pub fn webkit_web_inspector_get_attached_height(inspector: *mut WebKitWebInspector) -> c_uint;
5840 #[cfg(feature = "v2_8")]
5841 #[cfg_attr(docsrs, doc(cfg(feature = "v2_8")))]
5842 pub fn webkit_web_inspector_get_can_attach(inspector: *mut WebKitWebInspector) -> gboolean;
5843 pub fn webkit_web_inspector_get_inspected_uri(
5844 inspector: *mut WebKitWebInspector,
5845 ) -> *const c_char;
5846 pub fn webkit_web_inspector_get_web_view(
5847 inspector: *mut WebKitWebInspector,
5848 ) -> *mut WebKitWebViewBase;
5849 pub fn webkit_web_inspector_is_attached(inspector: *mut WebKitWebInspector) -> gboolean;
5850 pub fn webkit_web_inspector_show(inspector: *mut WebKitWebInspector);
5851
5852 pub fn webkit_web_resource_get_type() -> GType;
5856 pub fn webkit_web_resource_get_data(
5857 resource: *mut WebKitWebResource,
5858 cancellable: *mut gio::GCancellable,
5859 callback: gio::GAsyncReadyCallback,
5860 user_data: gpointer,
5861 );
5862 pub fn webkit_web_resource_get_data_finish(
5863 resource: *mut WebKitWebResource,
5864 result: *mut gio::GAsyncResult,
5865 length: *mut size_t,
5866 error: *mut *mut glib::GError,
5867 ) -> *mut u8;
5868 pub fn webkit_web_resource_get_response(
5869 resource: *mut WebKitWebResource,
5870 ) -> *mut WebKitURIResponse;
5871 pub fn webkit_web_resource_get_uri(resource: *mut WebKitWebResource) -> *const c_char;
5872
5873 pub fn webkit_web_view_get_type() -> GType;
5877 pub fn webkit_web_view_new() -> *mut gtk::GtkWidget;
5878 pub fn webkit_web_view_new_with_context(context: *mut WebKitWebContext) -> *mut gtk::GtkWidget;
5879 pub fn webkit_web_view_new_with_related_view(web_view: *mut WebKitWebView)
5880 -> *mut gtk::GtkWidget;
5881 #[cfg(feature = "v2_6")]
5882 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
5883 pub fn webkit_web_view_new_with_settings(settings: *mut WebKitSettings) -> *mut gtk::GtkWidget;
5884 #[cfg(feature = "v2_6")]
5885 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
5886 pub fn webkit_web_view_new_with_user_content_manager(
5887 user_content_manager: *mut WebKitUserContentManager,
5888 ) -> *mut gtk::GtkWidget;
5889 #[cfg(feature = "v2_40")]
5890 #[cfg_attr(docsrs, doc(cfg(feature = "v2_40")))]
5891 pub fn webkit_web_view_call_async_javascript_function(
5892 web_view: *mut WebKitWebView,
5893 body: *const c_char,
5894 length: ssize_t,
5895 arguments: *mut glib::GVariant,
5896 world_name: *const c_char,
5897 source_uri: *const c_char,
5898 cancellable: *mut gio::GCancellable,
5899 callback: gio::GAsyncReadyCallback,
5900 user_data: gpointer,
5901 );
5902 #[cfg(feature = "v2_40")]
5903 #[cfg_attr(docsrs, doc(cfg(feature = "v2_40")))]
5904 pub fn webkit_web_view_call_async_javascript_function_finish(
5905 web_view: *mut WebKitWebView,
5906 result: *mut gio::GAsyncResult,
5907 error: *mut *mut glib::GError,
5908 ) -> *mut java_script_core::JSCValue;
5909 pub fn webkit_web_view_can_execute_editing_command(
5910 web_view: *mut WebKitWebView,
5911 command: *const c_char,
5912 cancellable: *mut gio::GCancellable,
5913 callback: gio::GAsyncReadyCallback,
5914 user_data: gpointer,
5915 );
5916 pub fn webkit_web_view_can_execute_editing_command_finish(
5917 web_view: *mut WebKitWebView,
5918 result: *mut gio::GAsyncResult,
5919 error: *mut *mut glib::GError,
5920 ) -> gboolean;
5921 pub fn webkit_web_view_can_go_back(web_view: *mut WebKitWebView) -> gboolean;
5922 pub fn webkit_web_view_can_go_forward(web_view: *mut WebKitWebView) -> gboolean;
5923 pub fn webkit_web_view_can_show_mime_type(
5924 web_view: *mut WebKitWebView,
5925 mime_type: *const c_char,
5926 ) -> gboolean;
5927 pub fn webkit_web_view_download_uri(
5928 web_view: *mut WebKitWebView,
5929 uri: *const c_char,
5930 ) -> *mut WebKitDownload;
5931 #[cfg(feature = "v2_40")]
5932 #[cfg_attr(docsrs, doc(cfg(feature = "v2_40")))]
5933 pub fn webkit_web_view_evaluate_javascript(
5934 web_view: *mut WebKitWebView,
5935 script: *const c_char,
5936 length: ssize_t,
5937 world_name: *const c_char,
5938 source_uri: *const c_char,
5939 cancellable: *mut gio::GCancellable,
5940 callback: gio::GAsyncReadyCallback,
5941 user_data: gpointer,
5942 );
5943 #[cfg(feature = "v2_40")]
5944 #[cfg_attr(docsrs, doc(cfg(feature = "v2_40")))]
5945 pub fn webkit_web_view_evaluate_javascript_finish(
5946 web_view: *mut WebKitWebView,
5947 result: *mut gio::GAsyncResult,
5948 error: *mut *mut glib::GError,
5949 ) -> *mut java_script_core::JSCValue;
5950 pub fn webkit_web_view_execute_editing_command(
5951 web_view: *mut WebKitWebView,
5952 command: *const c_char,
5953 );
5954 #[cfg(feature = "v2_10")]
5955 #[cfg_attr(docsrs, doc(cfg(feature = "v2_10")))]
5956 pub fn webkit_web_view_execute_editing_command_with_argument(
5957 web_view: *mut WebKitWebView,
5958 command: *const c_char,
5959 argument: *const c_char,
5960 );
5961 #[cfg(feature = "v2_28")]
5962 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
5963 pub fn webkit_web_view_get_automation_presentation_type(
5964 web_view: *mut WebKitWebView,
5965 ) -> WebKitAutomationBrowsingContextPresentation;
5966 pub fn webkit_web_view_get_back_forward_list(
5967 web_view: *mut WebKitWebView,
5968 ) -> *mut WebKitBackForwardList;
5969 #[cfg(feature = "v2_8")]
5970 #[cfg_attr(docsrs, doc(cfg(feature = "v2_8")))]
5971 pub fn webkit_web_view_get_background_color(
5972 web_view: *mut WebKitWebView,
5973 rgba: *mut gdk::GdkRGBA,
5974 );
5975 #[cfg(feature = "v2_34")]
5976 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
5977 pub fn webkit_web_view_get_camera_capture_state(
5978 web_view: *mut WebKitWebView,
5979 ) -> WebKitMediaCaptureState;
5980 pub fn webkit_web_view_get_context(web_view: *mut WebKitWebView) -> *mut WebKitWebContext;
5981 pub fn webkit_web_view_get_custom_charset(web_view: *mut WebKitWebView) -> *const c_char;
5982 #[cfg(feature = "v2_38")]
5983 #[cfg_attr(docsrs, doc(cfg(feature = "v2_38")))]
5984 pub fn webkit_web_view_get_default_content_security_policy(
5985 web_view: *mut WebKitWebView,
5986 ) -> *const c_char;
5987 #[cfg(feature = "v2_34")]
5988 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
5989 pub fn webkit_web_view_get_display_capture_state(
5990 web_view: *mut WebKitWebView,
5991 ) -> WebKitMediaCaptureState;
5992 #[cfg(feature = "v2_10")]
5993 #[cfg_attr(docsrs, doc(cfg(feature = "v2_10")))]
5994 pub fn webkit_web_view_get_editor_state(web_view: *mut WebKitWebView) -> *mut WebKitEditorState;
5995 pub fn webkit_web_view_get_estimated_load_progress(web_view: *mut WebKitWebView) -> c_double;
5996 pub fn webkit_web_view_get_favicon(web_view: *mut WebKitWebView) -> *mut cairo::cairo_surface_t;
5997 pub fn webkit_web_view_get_find_controller(
5998 web_view: *mut WebKitWebView,
5999 ) -> *mut WebKitFindController;
6000 #[cfg(feature = "v2_28")]
6001 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
6002 pub fn webkit_web_view_get_input_method_context(
6003 web_view: *mut WebKitWebView,
6004 ) -> *mut WebKitInputMethodContext;
6005 pub fn webkit_web_view_get_inspector(web_view: *mut WebKitWebView) -> *mut WebKitWebInspector;
6006 #[cfg(feature = "v2_30")]
6007 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
6008 pub fn webkit_web_view_get_is_muted(web_view: *mut WebKitWebView) -> gboolean;
6009 #[cfg(feature = "v2_34")]
6010 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
6011 pub fn webkit_web_view_get_is_web_process_responsive(web_view: *mut WebKitWebView) -> gboolean;
6012 pub fn webkit_web_view_get_main_resource(web_view: *mut WebKitWebView) -> *mut WebKitWebResource;
6013 #[cfg(feature = "v2_34")]
6014 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
6015 pub fn webkit_web_view_get_microphone_capture_state(
6016 web_view: *mut WebKitWebView,
6017 ) -> WebKitMediaCaptureState;
6018 pub fn webkit_web_view_get_page_id(web_view: *mut WebKitWebView) -> u64;
6019 #[cfg(feature = "v2_12")]
6020 #[cfg_attr(docsrs, doc(cfg(feature = "v2_12")))]
6021 pub fn webkit_web_view_get_session_state(
6022 web_view: *mut WebKitWebView,
6023 ) -> *mut WebKitWebViewSessionState;
6024 pub fn webkit_web_view_get_settings(web_view: *mut WebKitWebView) -> *mut WebKitSettings;
6025 pub fn webkit_web_view_get_snapshot(
6026 web_view: *mut WebKitWebView,
6027 region: WebKitSnapshotRegion,
6028 options: WebKitSnapshotOptions,
6029 cancellable: *mut gio::GCancellable,
6030 callback: gio::GAsyncReadyCallback,
6031 user_data: gpointer,
6032 );
6033 pub fn webkit_web_view_get_snapshot_finish(
6034 web_view: *mut WebKitWebView,
6035 result: *mut gio::GAsyncResult,
6036 error: *mut *mut glib::GError,
6037 ) -> *mut cairo::cairo_surface_t;
6038 pub fn webkit_web_view_get_title(web_view: *mut WebKitWebView) -> *const c_char;
6039 pub fn webkit_web_view_get_tls_info(
6040 web_view: *mut WebKitWebView,
6041 certificate: *mut *mut gio::GTlsCertificate,
6042 errors: *mut gio::GTlsCertificateFlags,
6043 ) -> gboolean;
6044 pub fn webkit_web_view_get_uri(web_view: *mut WebKitWebView) -> *const c_char;
6045 #[cfg(feature = "v2_6")]
6046 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
6047 pub fn webkit_web_view_get_user_content_manager(
6048 web_view: *mut WebKitWebView,
6049 ) -> *mut WebKitUserContentManager;
6050 #[cfg(feature = "v2_38")]
6051 #[cfg_attr(docsrs, doc(cfg(feature = "v2_38")))]
6052 pub fn webkit_web_view_get_web_extension_mode(
6053 web_view: *mut WebKitWebView,
6054 ) -> WebKitWebExtensionMode;
6055 #[cfg(feature = "v2_16")]
6056 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
6057 pub fn webkit_web_view_get_website_data_manager(
6058 web_view: *mut WebKitWebView,
6059 ) -> *mut WebKitWebsiteDataManager;
6060 #[cfg(feature = "v2_30")]
6061 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
6062 pub fn webkit_web_view_get_website_policies(
6063 web_view: *mut WebKitWebView,
6064 ) -> *mut WebKitWebsitePolicies;
6065 pub fn webkit_web_view_get_window_properties(
6066 web_view: *mut WebKitWebView,
6067 ) -> *mut WebKitWindowProperties;
6068 pub fn webkit_web_view_get_zoom_level(web_view: *mut WebKitWebView) -> c_double;
6069 pub fn webkit_web_view_go_back(web_view: *mut WebKitWebView);
6070 pub fn webkit_web_view_go_forward(web_view: *mut WebKitWebView);
6071 pub fn webkit_web_view_go_to_back_forward_list_item(
6072 web_view: *mut WebKitWebView,
6073 list_item: *mut WebKitBackForwardListItem,
6074 );
6075 #[cfg(feature = "v2_18")]
6076 #[cfg_attr(docsrs, doc(cfg(feature = "v2_18")))]
6077 pub fn webkit_web_view_is_controlled_by_automation(web_view: *mut WebKitWebView) -> gboolean;
6078 #[cfg(feature = "v2_8")]
6079 #[cfg_attr(docsrs, doc(cfg(feature = "v2_8")))]
6080 pub fn webkit_web_view_is_editable(web_view: *mut WebKitWebView) -> gboolean;
6081 #[cfg(feature = "v2_16")]
6082 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
6083 pub fn webkit_web_view_is_ephemeral(web_view: *mut WebKitWebView) -> gboolean;
6084 pub fn webkit_web_view_is_loading(web_view: *mut WebKitWebView) -> gboolean;
6085 #[cfg(feature = "v2_8")]
6086 #[cfg_attr(docsrs, doc(cfg(feature = "v2_8")))]
6087 pub fn webkit_web_view_is_playing_audio(web_view: *mut WebKitWebView) -> gboolean;
6088 pub fn webkit_web_view_load_alternate_html(
6089 web_view: *mut WebKitWebView,
6090 content: *const c_char,
6091 content_uri: *const c_char,
6092 base_uri: *const c_char,
6093 );
6094 #[cfg(feature = "v2_6")]
6095 #[cfg_attr(docsrs, doc(cfg(feature = "v2_6")))]
6096 pub fn webkit_web_view_load_bytes(
6097 web_view: *mut WebKitWebView,
6098 bytes: *mut glib::GBytes,
6099 mime_type: *const c_char,
6100 encoding: *const c_char,
6101 base_uri: *const c_char,
6102 );
6103 pub fn webkit_web_view_load_html(
6104 web_view: *mut WebKitWebView,
6105 content: *const c_char,
6106 base_uri: *const c_char,
6107 );
6108 pub fn webkit_web_view_load_plain_text(web_view: *mut WebKitWebView, plain_text: *const c_char);
6109 pub fn webkit_web_view_load_request(web_view: *mut WebKitWebView, request: *mut WebKitURIRequest);
6110 pub fn webkit_web_view_load_uri(web_view: *mut WebKitWebView, uri: *const c_char);
6111 pub fn webkit_web_view_reload(web_view: *mut WebKitWebView);
6112 pub fn webkit_web_view_reload_bypass_cache(web_view: *mut WebKitWebView);
6113 #[cfg(feature = "v2_12")]
6114 #[cfg_attr(docsrs, doc(cfg(feature = "v2_12")))]
6115 pub fn webkit_web_view_restore_session_state(
6116 web_view: *mut WebKitWebView,
6117 state: *mut WebKitWebViewSessionState,
6118 );
6119 #[cfg(feature = "v2_38")]
6120 #[cfg_attr(docsrs, doc(cfg(feature = "v2_38")))]
6121 pub fn webkit_web_view_run_async_javascript_function_in_world(
6122 web_view: *mut WebKitWebView,
6123 body: *const c_char,
6124 arguments: *mut glib::GVariant,
6125 world_name: *const c_char,
6126 cancellable: *mut gio::GCancellable,
6127 callback: gio::GAsyncReadyCallback,
6128 user_data: gpointer,
6129 );
6130 pub fn webkit_web_view_run_javascript(
6131 web_view: *mut WebKitWebView,
6132 script: *const c_char,
6133 cancellable: *mut gio::GCancellable,
6134 callback: gio::GAsyncReadyCallback,
6135 user_data: gpointer,
6136 );
6137 pub fn webkit_web_view_run_javascript_finish(
6138 web_view: *mut WebKitWebView,
6139 result: *mut gio::GAsyncResult,
6140 error: *mut *mut glib::GError,
6141 ) -> *mut WebKitJavascriptResult;
6142 pub fn webkit_web_view_run_javascript_from_gresource(
6143 web_view: *mut WebKitWebView,
6144 resource: *const c_char,
6145 cancellable: *mut gio::GCancellable,
6146 callback: gio::GAsyncReadyCallback,
6147 user_data: gpointer,
6148 );
6149 pub fn webkit_web_view_run_javascript_from_gresource_finish(
6150 web_view: *mut WebKitWebView,
6151 result: *mut gio::GAsyncResult,
6152 error: *mut *mut glib::GError,
6153 ) -> *mut WebKitJavascriptResult;
6154 #[cfg(feature = "v2_22")]
6155 #[cfg_attr(docsrs, doc(cfg(feature = "v2_22")))]
6156 pub fn webkit_web_view_run_javascript_in_world(
6157 web_view: *mut WebKitWebView,
6158 script: *const c_char,
6159 world_name: *const c_char,
6160 cancellable: *mut gio::GCancellable,
6161 callback: gio::GAsyncReadyCallback,
6162 user_data: gpointer,
6163 );
6164 #[cfg(feature = "v2_22")]
6165 #[cfg_attr(docsrs, doc(cfg(feature = "v2_22")))]
6166 pub fn webkit_web_view_run_javascript_in_world_finish(
6167 web_view: *mut WebKitWebView,
6168 result: *mut gio::GAsyncResult,
6169 error: *mut *mut glib::GError,
6170 ) -> *mut WebKitJavascriptResult;
6171 pub fn webkit_web_view_save(
6172 web_view: *mut WebKitWebView,
6173 save_mode: WebKitSaveMode,
6174 cancellable: *mut gio::GCancellable,
6175 callback: gio::GAsyncReadyCallback,
6176 user_data: gpointer,
6177 );
6178 pub fn webkit_web_view_save_finish(
6179 web_view: *mut WebKitWebView,
6180 result: *mut gio::GAsyncResult,
6181 error: *mut *mut glib::GError,
6182 ) -> *mut gio::GInputStream;
6183 pub fn webkit_web_view_save_to_file(
6184 web_view: *mut WebKitWebView,
6185 file: *mut gio::GFile,
6186 save_mode: WebKitSaveMode,
6187 cancellable: *mut gio::GCancellable,
6188 callback: gio::GAsyncReadyCallback,
6189 user_data: gpointer,
6190 );
6191 pub fn webkit_web_view_save_to_file_finish(
6192 web_view: *mut WebKitWebView,
6193 result: *mut gio::GAsyncResult,
6194 error: *mut *mut glib::GError,
6195 ) -> gboolean;
6196 #[cfg(feature = "v2_28")]
6197 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
6198 pub fn webkit_web_view_send_message_to_page(
6199 web_view: *mut WebKitWebView,
6200 message: *mut WebKitUserMessage,
6201 cancellable: *mut gio::GCancellable,
6202 callback: gio::GAsyncReadyCallback,
6203 user_data: gpointer,
6204 );
6205 #[cfg(feature = "v2_28")]
6206 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
6207 pub fn webkit_web_view_send_message_to_page_finish(
6208 web_view: *mut WebKitWebView,
6209 result: *mut gio::GAsyncResult,
6210 error: *mut *mut glib::GError,
6211 ) -> *mut WebKitUserMessage;
6212 #[cfg(feature = "v2_8")]
6213 #[cfg_attr(docsrs, doc(cfg(feature = "v2_8")))]
6214 pub fn webkit_web_view_set_background_color(
6215 web_view: *mut WebKitWebView,
6216 rgba: *const gdk::GdkRGBA,
6217 );
6218 #[cfg(feature = "v2_34")]
6219 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
6220 pub fn webkit_web_view_set_camera_capture_state(
6221 web_view: *mut WebKitWebView,
6222 state: WebKitMediaCaptureState,
6223 );
6224 #[cfg(feature = "v2_34")]
6225 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
6226 pub fn webkit_web_view_set_cors_allowlist(
6227 web_view: *mut WebKitWebView,
6228 allowlist: *const *const c_char,
6229 );
6230 pub fn webkit_web_view_set_custom_charset(web_view: *mut WebKitWebView, charset: *const c_char);
6231 #[cfg(feature = "v2_34")]
6232 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
6233 pub fn webkit_web_view_set_display_capture_state(
6234 web_view: *mut WebKitWebView,
6235 state: WebKitMediaCaptureState,
6236 );
6237 #[cfg(feature = "v2_8")]
6238 #[cfg_attr(docsrs, doc(cfg(feature = "v2_8")))]
6239 pub fn webkit_web_view_set_editable(web_view: *mut WebKitWebView, editable: gboolean);
6240 #[cfg(feature = "v2_28")]
6241 #[cfg_attr(docsrs, doc(cfg(feature = "v2_28")))]
6242 pub fn webkit_web_view_set_input_method_context(
6243 web_view: *mut WebKitWebView,
6244 context: *mut WebKitInputMethodContext,
6245 );
6246 #[cfg(feature = "v2_30")]
6247 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
6248 pub fn webkit_web_view_set_is_muted(web_view: *mut WebKitWebView, muted: gboolean);
6249 #[cfg(feature = "v2_34")]
6250 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
6251 pub fn webkit_web_view_set_microphone_capture_state(
6252 web_view: *mut WebKitWebView,
6253 state: WebKitMediaCaptureState,
6254 );
6255 pub fn webkit_web_view_set_settings(web_view: *mut WebKitWebView, settings: *mut WebKitSettings);
6256 pub fn webkit_web_view_set_zoom_level(web_view: *mut WebKitWebView, zoom_level: c_double);
6257 pub fn webkit_web_view_stop_loading(web_view: *mut WebKitWebView);
6258 #[cfg(feature = "v2_34")]
6259 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
6260 pub fn webkit_web_view_terminate_web_process(web_view: *mut WebKitWebView);
6261 #[cfg(feature = "v2_12")]
6262 #[cfg_attr(docsrs, doc(cfg(feature = "v2_12")))]
6263 pub fn webkit_web_view_try_close(web_view: *mut WebKitWebView);
6264
6265 pub fn webkit_web_view_base_get_type() -> GType;
6269
6270 #[cfg(feature = "v2_30")]
6274 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
6275 pub fn webkit_website_data_access_permission_request_get_type() -> GType;
6276 #[cfg(feature = "v2_30")]
6277 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
6278 pub fn webkit_website_data_access_permission_request_get_current_domain(
6279 request: *mut WebKitWebsiteDataAccessPermissionRequest,
6280 ) -> *const c_char;
6281 #[cfg(feature = "v2_30")]
6282 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
6283 pub fn webkit_website_data_access_permission_request_get_requesting_domain(
6284 request: *mut WebKitWebsiteDataAccessPermissionRequest,
6285 ) -> *const c_char;
6286
6287 #[cfg(feature = "v2_10")]
6291 #[cfg_attr(docsrs, doc(cfg(feature = "v2_10")))]
6292 pub fn webkit_website_data_manager_get_type() -> GType;
6293 #[cfg(feature = "v2_10")]
6294 #[cfg_attr(docsrs, doc(cfg(feature = "v2_10")))]
6295 pub fn webkit_website_data_manager_new(
6296 first_option_name: *const c_char,
6297 ...
6298 ) -> *mut WebKitWebsiteDataManager;
6299 #[cfg(feature = "v2_16")]
6300 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
6301 pub fn webkit_website_data_manager_new_ephemeral() -> *mut WebKitWebsiteDataManager;
6302 #[cfg(feature = "v2_34")]
6303 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
6304 pub fn webkit_website_data_manager_set_memory_pressure_settings(
6305 settings: *mut WebKitMemoryPressureSettings,
6306 );
6307 #[cfg(feature = "v2_16")]
6308 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
6309 pub fn webkit_website_data_manager_clear(
6310 manager: *mut WebKitWebsiteDataManager,
6311 types: WebKitWebsiteDataTypes,
6312 timespan: glib::GTimeSpan,
6313 cancellable: *mut gio::GCancellable,
6314 callback: gio::GAsyncReadyCallback,
6315 user_data: gpointer,
6316 );
6317 #[cfg(feature = "v2_16")]
6318 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
6319 pub fn webkit_website_data_manager_clear_finish(
6320 manager: *mut WebKitWebsiteDataManager,
6321 result: *mut gio::GAsyncResult,
6322 error: *mut *mut glib::GError,
6323 ) -> gboolean;
6324 #[cfg(feature = "v2_16")]
6325 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
6326 pub fn webkit_website_data_manager_fetch(
6327 manager: *mut WebKitWebsiteDataManager,
6328 types: WebKitWebsiteDataTypes,
6329 cancellable: *mut gio::GCancellable,
6330 callback: gio::GAsyncReadyCallback,
6331 user_data: gpointer,
6332 );
6333 #[cfg(feature = "v2_16")]
6334 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
6335 pub fn webkit_website_data_manager_fetch_finish(
6336 manager: *mut WebKitWebsiteDataManager,
6337 result: *mut gio::GAsyncResult,
6338 error: *mut *mut glib::GError,
6339 ) -> *mut glib::GList;
6340 #[cfg(feature = "v2_10")]
6341 #[cfg_attr(docsrs, doc(cfg(feature = "v2_10")))]
6342 pub fn webkit_website_data_manager_get_base_cache_directory(
6343 manager: *mut WebKitWebsiteDataManager,
6344 ) -> *const c_char;
6345 #[cfg(feature = "v2_10")]
6346 #[cfg_attr(docsrs, doc(cfg(feature = "v2_10")))]
6347 pub fn webkit_website_data_manager_get_base_data_directory(
6348 manager: *mut WebKitWebsiteDataManager,
6349 ) -> *const c_char;
6350 #[cfg(feature = "v2_16")]
6351 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
6352 pub fn webkit_website_data_manager_get_cookie_manager(
6353 manager: *mut WebKitWebsiteDataManager,
6354 ) -> *mut WebKitCookieManager;
6355 #[cfg(feature = "v2_10")]
6356 #[cfg_attr(docsrs, doc(cfg(feature = "v2_10")))]
6357 pub fn webkit_website_data_manager_get_disk_cache_directory(
6358 manager: *mut WebKitWebsiteDataManager,
6359 ) -> *const c_char;
6360 #[cfg(feature = "v2_30")]
6361 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
6362 pub fn webkit_website_data_manager_get_dom_cache_directory(
6363 manager: *mut WebKitWebsiteDataManager,
6364 ) -> *const c_char;
6365 #[cfg(feature = "v2_26")]
6366 #[cfg_attr(docsrs, doc(cfg(feature = "v2_26")))]
6367 pub fn webkit_website_data_manager_get_hsts_cache_directory(
6368 manager: *mut WebKitWebsiteDataManager,
6369 ) -> *const c_char;
6370 #[cfg(feature = "v2_10")]
6371 #[cfg_attr(docsrs, doc(cfg(feature = "v2_10")))]
6372 pub fn webkit_website_data_manager_get_indexeddb_directory(
6373 manager: *mut WebKitWebsiteDataManager,
6374 ) -> *const c_char;
6375 #[cfg(feature = "v2_30")]
6376 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
6377 pub fn webkit_website_data_manager_get_itp_directory(
6378 manager: *mut WebKitWebsiteDataManager,
6379 ) -> *const c_char;
6380 #[cfg(feature = "v2_30")]
6381 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
6382 pub fn webkit_website_data_manager_get_itp_enabled(
6383 manager: *mut WebKitWebsiteDataManager,
6384 ) -> gboolean;
6385 #[cfg(feature = "v2_30")]
6386 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
6387 pub fn webkit_website_data_manager_get_itp_summary(
6388 manager: *mut WebKitWebsiteDataManager,
6389 cancellable: *mut gio::GCancellable,
6390 callback: gio::GAsyncReadyCallback,
6391 user_data: gpointer,
6392 );
6393 #[cfg(feature = "v2_30")]
6394 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
6395 pub fn webkit_website_data_manager_get_itp_summary_finish(
6396 manager: *mut WebKitWebsiteDataManager,
6397 result: *mut gio::GAsyncResult,
6398 error: *mut *mut glib::GError,
6399 ) -> *mut glib::GList;
6400 #[cfg(feature = "v2_10")]
6401 #[cfg_attr(docsrs, doc(cfg(feature = "v2_10")))]
6402 pub fn webkit_website_data_manager_get_local_storage_directory(
6403 manager: *mut WebKitWebsiteDataManager,
6404 ) -> *const c_char;
6405 #[cfg(feature = "v2_10")]
6406 #[cfg_attr(docsrs, doc(cfg(feature = "v2_10")))]
6407 pub fn webkit_website_data_manager_get_offline_application_cache_directory(
6408 manager: *mut WebKitWebsiteDataManager,
6409 ) -> *const c_char;
6410 #[cfg(feature = "v2_30")]
6411 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
6412 pub fn webkit_website_data_manager_get_persistent_credential_storage_enabled(
6413 manager: *mut WebKitWebsiteDataManager,
6414 ) -> gboolean;
6415 #[cfg(feature = "v2_30")]
6416 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
6417 pub fn webkit_website_data_manager_get_service_worker_registrations_directory(
6418 manager: *mut WebKitWebsiteDataManager,
6419 ) -> *const c_char;
6420 #[cfg(feature = "v2_32")]
6421 #[cfg_attr(docsrs, doc(cfg(feature = "v2_32")))]
6422 pub fn webkit_website_data_manager_get_tls_errors_policy(
6423 manager: *mut WebKitWebsiteDataManager,
6424 ) -> WebKitTLSErrorsPolicy;
6425 #[cfg(feature = "v2_10")]
6426 #[cfg_attr(docsrs, doc(cfg(feature = "v2_10")))]
6427 pub fn webkit_website_data_manager_get_websql_directory(
6428 manager: *mut WebKitWebsiteDataManager,
6429 ) -> *const c_char;
6430 #[cfg(feature = "v2_16")]
6431 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
6432 pub fn webkit_website_data_manager_is_ephemeral(
6433 manager: *mut WebKitWebsiteDataManager,
6434 ) -> gboolean;
6435 #[cfg(feature = "v2_16")]
6436 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
6437 pub fn webkit_website_data_manager_remove(
6438 manager: *mut WebKitWebsiteDataManager,
6439 types: WebKitWebsiteDataTypes,
6440 website_data: *mut glib::GList,
6441 cancellable: *mut gio::GCancellable,
6442 callback: gio::GAsyncReadyCallback,
6443 user_data: gpointer,
6444 );
6445 #[cfg(feature = "v2_16")]
6446 #[cfg_attr(docsrs, doc(cfg(feature = "v2_16")))]
6447 pub fn webkit_website_data_manager_remove_finish(
6448 manager: *mut WebKitWebsiteDataManager,
6449 result: *mut gio::GAsyncResult,
6450 error: *mut *mut glib::GError,
6451 ) -> gboolean;
6452 #[cfg(feature = "v2_30")]
6453 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
6454 pub fn webkit_website_data_manager_set_itp_enabled(
6455 manager: *mut WebKitWebsiteDataManager,
6456 enabled: gboolean,
6457 );
6458 #[cfg(feature = "v2_32")]
6459 #[cfg_attr(docsrs, doc(cfg(feature = "v2_32")))]
6460 pub fn webkit_website_data_manager_set_network_proxy_settings(
6461 manager: *mut WebKitWebsiteDataManager,
6462 proxy_mode: WebKitNetworkProxyMode,
6463 proxy_settings: *mut WebKitNetworkProxySettings,
6464 );
6465 #[cfg(feature = "v2_30")]
6466 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
6467 pub fn webkit_website_data_manager_set_persistent_credential_storage_enabled(
6468 manager: *mut WebKitWebsiteDataManager,
6469 enabled: gboolean,
6470 );
6471 #[cfg(feature = "v2_32")]
6472 #[cfg_attr(docsrs, doc(cfg(feature = "v2_32")))]
6473 pub fn webkit_website_data_manager_set_tls_errors_policy(
6474 manager: *mut WebKitWebsiteDataManager,
6475 policy: WebKitTLSErrorsPolicy,
6476 );
6477
6478 #[cfg(feature = "v2_30")]
6482 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
6483 pub fn webkit_website_policies_get_type() -> GType;
6484 #[cfg(feature = "v2_30")]
6485 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
6486 pub fn webkit_website_policies_new() -> *mut WebKitWebsitePolicies;
6487 #[cfg(feature = "v2_30")]
6488 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
6489 pub fn webkit_website_policies_new_with_policies(
6490 first_policy_name: *const c_char,
6491 ...
6492 ) -> *mut WebKitWebsitePolicies;
6493 #[cfg(feature = "v2_30")]
6494 #[cfg_attr(docsrs, doc(cfg(feature = "v2_30")))]
6495 pub fn webkit_website_policies_get_autoplay_policy(
6496 policies: *mut WebKitWebsitePolicies,
6497 ) -> WebKitAutoplayPolicy;
6498
6499 pub fn webkit_window_properties_get_type() -> GType;
6503 pub fn webkit_window_properties_get_fullscreen(
6504 window_properties: *mut WebKitWindowProperties,
6505 ) -> gboolean;
6506 pub fn webkit_window_properties_get_geometry(
6507 window_properties: *mut WebKitWindowProperties,
6508 geometry: *mut gdk::GdkRectangle,
6509 );
6510 pub fn webkit_window_properties_get_locationbar_visible(
6511 window_properties: *mut WebKitWindowProperties,
6512 ) -> gboolean;
6513 pub fn webkit_window_properties_get_menubar_visible(
6514 window_properties: *mut WebKitWindowProperties,
6515 ) -> gboolean;
6516 pub fn webkit_window_properties_get_resizable(
6517 window_properties: *mut WebKitWindowProperties,
6518 ) -> gboolean;
6519 pub fn webkit_window_properties_get_scrollbars_visible(
6520 window_properties: *mut WebKitWindowProperties,
6521 ) -> gboolean;
6522 pub fn webkit_window_properties_get_statusbar_visible(
6523 window_properties: *mut WebKitWindowProperties,
6524 ) -> gboolean;
6525 pub fn webkit_window_properties_get_toolbar_visible(
6526 window_properties: *mut WebKitWindowProperties,
6527 ) -> gboolean;
6528
6529 pub fn webkit_permission_request_get_type() -> GType;
6533 pub fn webkit_permission_request_allow(request: *mut WebKitPermissionRequest);
6534 pub fn webkit_permission_request_deny(request: *mut WebKitPermissionRequest);
6535
6536 pub fn webkit_get_major_version() -> c_uint;
6540 pub fn webkit_get_micro_version() -> c_uint;
6541 pub fn webkit_get_minor_version() -> c_uint;
6542 #[cfg(feature = "v2_32")]
6543 #[cfg_attr(docsrs, doc(cfg(feature = "v2_32")))]
6544 pub fn webkit_media_key_system_permission_get_name(
6545 request: *mut WebKitMediaKeySystemPermissionRequest,
6546 ) -> *const c_char;
6547 #[cfg(feature = "v2_24")]
6548 #[cfg_attr(docsrs, doc(cfg(feature = "v2_24")))]
6549 pub fn webkit_uri_for_display(uri: *const c_char) -> *mut c_char;
6550 #[cfg(feature = "v2_8")]
6551 #[cfg_attr(docsrs, doc(cfg(feature = "v2_8")))]
6552 pub fn webkit_user_media_permission_is_for_audio_device(
6553 request: *mut WebKitUserMediaPermissionRequest,
6554 ) -> gboolean;
6555 #[cfg(feature = "v2_34")]
6556 #[cfg_attr(docsrs, doc(cfg(feature = "v2_34")))]
6557 pub fn webkit_user_media_permission_is_for_display_device(
6558 request: *mut WebKitUserMediaPermissionRequest,
6559 ) -> gboolean;
6560 #[cfg(feature = "v2_8")]
6561 #[cfg_attr(docsrs, doc(cfg(feature = "v2_8")))]
6562 pub fn webkit_user_media_permission_is_for_video_device(
6563 request: *mut WebKitUserMediaPermissionRequest,
6564 ) -> gboolean;
6565
6566}