Version: 3.1.0
wxWebViewFactoryChromium Class Reference

#include <wx/webview_chromium.h>

+ Inheritance diagram for wxWebViewFactoryChromium:

Detailed Description

A factory class for creating wxWebViewChromium backend.

By default, wxWebViewFactoryChromium is not registered in wxWebView, developer should register the factory class in wxWebView before using.

wxWebView::RegisterFactory(wxWebViewBackendChromium,
wxSharedPtr<wxWebViewFactory>(new wxWebViewFactoryChromium));

Public Member Functions

virtual wxWebViewCreate ()
 Function to create a new wxWebView with two-step creation, wxWebView::Create should be called on the returned object.
 
virtual wxWebViewCreate (wxWindow *parent, wxWindowID id, const wxString &url=wxWebViewDefaultURLStr, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxWebViewNameStr)
 Function to create a new wxWebView with parameters.
 

Additional Inherited Members

- Protected Member Functions inherited from wxObject
void AllocExclusive ()
 Ensure that this object's data is not shared with any other object.
 
virtual wxObjectRefDataCreateRefData () const
 Creates a new instance of the wxObjectRefData-derived class specific to this object and returns it.
 
virtual wxObjectRefDataCloneRefData (const wxObjectRefData *data) const
 Creates a new instance of the wxObjectRefData-derived class specific to this object and initializes it copying data.
 
- Protected Attributes inherited from wxObject
wxObjectRefDatam_refData
 Pointer to an object which is the object's reference-counted data.
 

Member Function Documentation

virtual wxWebView* wxWebViewFactoryChromium::Create ( )
virtual

Function to create a new wxWebView with two-step creation, wxWebView::Create should be called on the returned object.

Returns
the created wxWebView

Implements wxWebViewFactory.

virtual wxWebView* wxWebViewFactoryChromium::Create ( wxWindow parent,
wxWindowID  id,
const wxString url = wxWebViewDefaultURLStr,
const wxPoint pos = wxDefaultPosition,
const wxSize size = wxDefaultSize,
long  style = 0,
const wxString name = wxWebViewNameStr 
)
virtual

Function to create a new wxWebView with parameters.

Parameters
parentParent window for the control
idID of this control
urlInitial URL to load
posPosition of the control
sizeSize of the control
styleWindow style. For generic window styles, please see wxWindow.
nameWindow name.
Returns
the created wxWebView

Implements wxWebViewFactory.