wxWebViewChromium, a Chromium backend for wxWebView using the Chromium Embedded Framework
Switch branches/tags
Nothing to show
Pull request Compare This branch is 21 commits behind sjlamerton:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
samples
.gitignore
CMakeLists.txt
FindCEF.cmake
LICENSE
README.md
webview_chromium.h
webview_chromium1.cpp
webview_chromium1.h
webview_chromium3.cpp
webview_chromium3.h

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);