### Namespace

# WebKitWebProcessExtension – 6.0

The WebKit web extension and DOM library

Version | 2.48.0
Authors | The WebKit GTK and WPE teams
License | BSD, LGPL-2.1
Website | https://webkit.org
Source |

#### Build

C headers | `webkit/webkit-web-process-extension.h`
pkg-config files | `webkitgtk-web-process-extension-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
Soup—3.0 | HTTP client/server library
| Browse documentation

#### Additional documentation

- Classes Hierarchy

#### Classes

ContextMenu | Represents the context menu in a `WebKitWebView`. unstable since: 6.0
ContextMenuItem | One item of a `WebKitContextMenu`. unstable since: 6.0
Frame | A web page frame. since: 2.26
HitTestResult | Result of a Hit Test. unstable since: 6.0
ScriptWorld | unstable since: 6.0
URIRequest | Represents a URI request. unstable since: 6.0
URIResponse | Represents an URI response. unstable since: 6.0
UserMessage | Message that can be sent between the UI process and web process extensions. since: 2.28
WebEditor | Access to editing capabilities of a `WebKitWebPage`. since: 2.10
WebFormManager | Form manager of a `WebKitWebPage` in a `WebKitScriptWorld`. since: 2.40
WebHitTestResult | Result of a Hit Test (Web Process Extensions). since: 2.8
WebPage | A loaded web page. unstable since: 6.0
WebProcessExtension | Represents an extension of the web process. since: 2.40

#### Structs

ConsoleMessage | unstable since: 6.0

#### Enumerations

ConsoleMessageLevel | Enum values used to denote the various levels of console messages. since: 2.12
ConsoleMessageSource | Enum values used to denote the various sources of console messages. since: 2.12
ContextMenuAction | Enum values used to denote the stock actions for `WebKitContextMenuItem`s. unstable since: 6.0
UserMessageError | Enum values used to denote errors happening when sending user messages. since: 2.28

#### Bitfields

HitTestResultContext | Enum values with flags representing the context of a `WebKitHitTestResult`. unstable since: 6.0

#### Callbacks

WebProcessExtensionInitializeFunction | Type definition for a function that will be called to initialize the web extension when the web process starts. since: 2.40
WebProcessExtensionInitializeWithUserDataFunction | Type definition for a function that will be called to initialize the web extensions when the web process starts, and which receives as additional argument the user data set with webkit_web_context_set_web_process_extensions_initialization_user_data(). since: 2.40