WPEWebExtension – 1.1
Description: Reference for WPEWebExtension-1.1

### Namespace

# WPEWebExtension – 1.1

The WPE WebKit web extension and DOM library

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

#### Build

C headers | `wpe/wpe-web-extension.h`
pkg-config files | `wpe-web-extension-1.1`

#### 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`. since: 1.1
ContextMenuItem | One item of a `WebKitContextMenu`. since: 1.1
DOMDocument | since: 1.1
DOMElement | since: 1.1
DOMNode | since: 1.1
DOMObject | since: 1.1
Frame | A web page frame. since: 2.26
HitTestResult | Result of a Hit Test. since: 1.1
ScriptWorld | since: 1.1
URIRequest | Represents a URI request. since: 1.1
URIResponse | Represents an URI response. since: 1.1
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
WebExtension | Represents an extension of the WebProcess. since: 1.1
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. since: 1.1

#### Structs

ConsoleMessage | since: 1.1

#### Enumerations

ConsoleMessageLevel | Enum values used to denote the various levels of console messages. deprecated: 2.40 since: 2.12
ConsoleMessageSource | Enum values used to denote the various sources of console messages. deprecated: 2.40 since: 2.12
ContextMenuAction | Enum values used to denote the stock actions for `WebKitContextMenuItem`s. since: 1.1
FormSubmissionStep | Used to indicate a particular stage in form submission. See `WebKitWebPage::will-submit-form`. deprecated: 2.40 since: 2.20
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`. since: 1.1

#### Callbacks

WebExtensionInitializeFunction | Type definition for a function that will be called to initialize the web extension when the web process starts. since: 1.1
WebExtensionInitializeWithUserDataFunction | 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_extensions_initialization_user_data(). since: 2.4

#### Function Macros

DEPRECATED_FOR | since: 1.1
DOM_DOCUMENT | since: 1.1
DOM_DOCUMENT_CLASS | since: 1.1
DOM_ELEMENT | since: 1.1
DOM_ELEMENT_CLASS | since: 1.1
DOM_NODE | since: 1.1
DOM_NODE_CLASS | since: 1.1
DOM_OBJECT | since: 1.1
DOM_OBJECT_CLASS | since: 1.1
URI_REQUEST | since: 1.1
URI_REQUEST_CLASS | since: 1.1
URI_RESPONSE | since: 1.1
URI_RESPONSE_CLASS | since: 1.1