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