Constructor

WPEWebKitWebViewnew_with_user_content_manager

Declaration [src]

WebKitWebView*
webkit_web_view_new_with_user_content_manager (
  WebKitWebViewBackend* backend,
  WebKitUserContentManager* user_content_manager
)

Description [src]

Creates a new web view with the given user content manager.

The content loaded in the new WebKitWebView may be affected by the configuration of the given WebKitUserContentManager.

Available since:2.6

Parameters

backend WebKitWebViewBackend
 

Wrapped WPE view backend which will determine the behaviour of the new WebKitWebView.

 The called function takes ownership of the data, and is responsible for freeing it.
user_content_manager WebKitUserContentManager
 

The user content manager for the new view.

 The data is owned by the caller of the function.

Return value

Returns: WebKitWebView
 

The newly created web view.

 The caller of the function takes ownership of the data, and is responsible for freeing it.