Namespace

WebKit – 6.0

The WebKit library

Version2.50.6
AuthorsThe WebKit GTK and WPE teams
LicenseBSD, LGPL-2.1
Websitehttps://webkit.org
Source

Build

C headerswebkit/webkit.h
pkg-config fileswebkitgtk-6.0

Dependencies

GObject—2.0 The base type system library
Browse documentation
Gio—2.0 GObject Interfaces and Objects, Networking, IPC, and I/O
Browse documentation
Gtk—4.0 The GTK widget toolkit
Browse documentation
Soup—3.0 HTTP client/server library
Browse documentation

Classes

AuthenticationRequest

Represents an authentication request.

AutomationSession

Automation Session.

since: 2.18

BackForwardList

List of visited pages.

BackForwardListItem

One item of the WebKitBackForwardList.

ClipboardPermissionRequest

A permission request for reading clipboard contents.

since: 2.42

ColorChooserRequest

A request to open a color chooser.

ContextMenu

Represents the context menu in a WebKitWebView.

ContextMenuItem

One item of a WebKitContextMenu.

CookieManager

Defines how to handle cookies in a WebKitWebContext.

DeviceInfoPermissionRequest

A permission request for enumerating the user’s media devices.

since: 2.24

Download

Object used to communicate with the application when downloading.

EditorState

Web editor state.

since: 2.10

FaviconDatabase

Provides access to the icons associated with web sites.

FileChooserRequest

A request to open a file chooser.

FindController

Controls text search in a WebKitWebView.

FormSubmissionRequest

Represents a form submission request.

GeolocationManager

Geolocation manager.

since: 2.26

GeolocationPermissionRequest

A permission request for sharing the user’s location.

HitTestResult

Result of a Hit Test.

InputMethodContext

Base class for input method contexts.

since: 2.28

MediaKeySystemPermissionRequest

A permission request for using an EME Content Decryption Module.

NavigationPolicyDecision

A policy decision for navigation actions.

NetworkSession

Manages network configuration.

since: 2.40

Notification

Holds information about a notification that should be shown to the user.

since: 2.8

NotificationPermissionRequest

A permission request for displaying web notifications.

since: 2.8

OptionMenu

Represents the dropdown menu of a select element in a WebKitWebView.

since: 2.18

PointerLockPermissionRequest

A permission request for locking the pointer.

since: 2.28

PolicyDecision

A pending policy decision.

PrintOperation

Controls a print operation.

ResponsePolicyDecision

A policy decision for resource responses.

SecurityManager

Controls security settings in a WebKitWebContext.

Settings

Control the behaviour of a WebKitWebView.

URIRequest

Represents a URI request.

URIResponse

Represents an URI response.

URISchemeRequest

Represents a URI scheme request.

URISchemeResponse

Represents a URI scheme response.

UserContentFilterStore

Handles storage of user content filters on disk.

since: 2.24

UserContentManager

Manages user-defined content which affects web pages.

since: 2.6

UserMediaPermissionRequest

A permission request for accessing user’s audio/video devices.

since: 2.8

UserMessage

Message that can be sent between the UI process and web process extensions.

since: 2.28

WebContext

Manages aspects common to all WebKitWebViews.

WebInspector

Access to the WebKit inspector.

WebResource

Represents a resource at the end of a URI.

WebsiteDataAccessPermissionRequest

A permission request for accessing website data from third-party domains.

since: 2.30

WebsiteDataManager

Manages data stored locally by web sites.

since: 2.10

WebsitePolicies

View specific website policies.

since: 2.30

WebView

The central class of the WPE WebKit and WebKitGTK APIs.

WebViewBase

WindowProperties

Window properties of a WebKitWebView.

Interfaces

PermissionRequest

A permission request.

Structs

ApplicationInfo

Information about an application running in automation mode.

Credential

Groups information used for user authentication.

since: 2.2

Feature

Describes a web engine feature that may be toggled at runtime.

since: 2.42

FeatureList

Contains a set of toggle-able web engine features.

since: 2.42

GeolocationPosition

An opaque struct to provide position updates to a WebKitGeolocationManager.

since: 2.26

InputMethodUnderline

Range of text in an preedit string to be shown underlined.

since: 2.28

ITPFirstParty

Describes a first party origin.

since: 2.30

ITPThirdParty

Describes a third party origin.

since: 2.30

MemoryPressureSettings

A boxed type representing the settings for the memory pressure handler.

since: 2.34

NavigationAction

Provides details about interaction resulting in a resource load.

NetworkProxySettings

Configures network proxies.

since: 2.16

OptionMenuItem

One item of a WebKitOptionMenu.

since: 2.18

PermissionStateQuery

This query represents a user’s choice to allow or deny access to “powerful features” of the platform, as specified in the Permissions W3C Specification.

ScriptDialog

Carries details to be shown in user-facing dialogs.

ScriptMessageReply

A reply for a script message received. If no reply has been sent by the user, an automatically generated reply with undefined value with be sent.

since: 2.40

SecurityOrigin

A security boundary for websites.

since: 2.16

UserContentFilter

A compiled set of rules which applied to resource loads.

since: 2.24

UserScript

A JavaScript snippet which can be injected in loaded pages.

since: 2.6

UserStyleSheet

A CSS style sheet which can be injected in loaded pages.

since: 2.6

WebExtensionMatchPattern

Represents a way to specify a group of URLs for use in WebExtensions.

since: 2.48

WebsiteData

Data stored locally by a web site.

since: 2.16

WebViewSessionState

Handles serialization of a web view’s browsing state.

since: 2.12

Enumerations

AuthenticationScheme

Enum values representing the authentication scheme.

since: 2.2

AutomationBrowsingContextPresentation

Enum values used for determining the automation browsing context presentation.

since: 2.28

AutoplayPolicy

Enum values used to specify autoplay policies.

since: 2.30

CacheModel

Enum values used for determining the WebKitWebContext cache model.

ContextMenuAction

Enum values used to denote the stock actions for WebKitContextMenuItems.

CookieAcceptPolicy

Enum values used to denote the cookie acceptance policies.

CookiePersistentStorage

Enum values used to denote the cookie persistent storage types.

CredentialPersistence

Enum values representing the duration for which a credential persists.

since: 2.2

FeatureStatus

Describes the status of a WebKitFeature.

since: 2.42

HardwareAccelerationPolicy

Enum values used for determining the hardware acceleration policy.

since: 2.16

InputPurpose

Enum values used to describe the primary purpose of the active editable element.

since: 2.28

InsecureContentEvent

Enum values previously used to denote the different events which can trigger the detection of insecure content. Since 2.46, WebKit generally no longer loads insecure content in secure contexts.

deprecated: 2.46 

LoadEvent

Enum values used to denote the different events that happen during a WebKitWebView load operation.

MediaCaptureState

Enum values used to specify the capture state of a media device.

since: 2.34

NavigationType

Enum values used to denote the various navigation types.