WebView

Chromium WebContents view.

Categoryrefcounted
Typehime_web_view_t
Inheritshime_view_t

Constructors

hime_web_view_t hime_web_view_create()

Create a new WebView.

Return

hime_web_view_t

Methods

void hime_web_view_load_initial_url(self, url)

Loads the initial URL to display in the attached WebContents.

Creates the WebContents if none is attached yet. Note that this is intended as a convenience for loading the initial URL, and so URLs are navigated with PAGE_TRANSITION_AUTO_TOPLEVEL, so this is not intended as a general purpose navigation method - use WebContents' API directly.

Parameters

Return

void