Function

WebKit2WebExtensionWebExtensionInitializeWithUserDataFunction

Declaration

void
(* WebKitWebExtensionInitializeWithUserDataFunction) (
  WebKitWebExtension* extension,
  const GVariant* user_data
)

Description [src]

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().

Available since:2.4

Parameters

extension WebKitWebExtension
 

A WebKitWebExtension.

 The data is owned by the caller of the function.
user_data GVariant
 

A GVariant.

 The data is owned by the caller of the function.