Skip to content

wxWebViewChromium, a Chromium backend for wxWebView using the Chromium Embedded Framework

License

Notifications You must be signed in to change notification settings

anhlehoang410/wxWebViewChromium

 
 

Repository files navigation

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

About

wxWebViewChromium, a Chromium backend for wxWebView using the Chromium Embedded Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 95.6%
  • CMake 3.4%
  • C 1.0%