wxWebViewChromium, a Chromium backend for wxWebView using the Chromium Embedded Framework
C++ C
Switch branches/tags
Nothing to show
Latest commit 4d93873 Mar 29, 2014 @sjlamerton Merge pull request #12 from hokein/rebase_to_newest_cef
Enable wxWebviewChromium to CEF3's newest release version: 3.1650.1562

README.md

wxWebViewChromium

wxWebViewChromium is a Chromium backend for wxWebView using the Chromium Embedded Framework. For more detailed information, please see the project wiki.

Requirements

Compiling

The backend is made up of five files, a source and header file for CEF1 and CEF3 and a selection header. Simply compile these alongside your project and add the path to your Chromiumium Embedded Framework install to your include directory list and link to libcef_dll_wrapper and libcef.

Using

To use wxWebViewChromium first register the backend with wxWidgets

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

It can then be used in a standard wxWebView::New call

wxWebView* webview = wxWebView::New(this, wxID_ANY,
                                    "http://www.wxwidgets.org/",
                                    wxDefaultPosition, wxDefaultSize,
                                    wxWebViewBackendChromium);