WPEWebKit.WebView.new_with_user_content_manager
Description: Reference for WPEWebKit.WebView.new_with_user_content_manager

### Constructor

# WPEWebKit WebViewnew_with_user_content_manager

since: 2.6

#### 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`

  Type: `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`

  Type: `WebKitUserContentManager`

  The user content manager for the new view.

  The data is owned by the caller of the function.

#### Return value

Type: `WebKitWebView`

The newly created web view.

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