Inviwo  0.9.10.1
Inviwo documentation
inviwo::WebBrowserClient Class Reference
+ Inheritance diagram for inviwo::WebBrowserClient:

Public Member Functions

 WebBrowserClient (CefRefPtr< RenderHandlerGL > renderHandler, const PropertyWidgetCEFFactory *widgetFactory)
 
virtual CefRefPtr< CefLoadHandler > GetLoadHandler () override
 
virtual CefRefPtr< CefRenderHandler > GetRenderHandler () override
 
virtual CefRefPtr< CefRequestHandler > GetRequestHandler () override
 
virtual CefRefPtr< CefDisplayHandler > GetDisplayHandler () override
 
void SetRenderHandler (CefRefPtr< RenderHandlerGL > renderHandler)
 
CefRefPtr< CefLifeSpanHandler > GetLifeSpanHandler () override
 
bool OnProcessMessageReceived (CefRefPtr< CefBrowser > browser, CefProcessId source_process, CefRefPtr< CefProcessMessage > message) override
 
void OnAfterCreated (CefRefPtr< CefBrowser > browser) override
 
bool DoClose (CefRefPtr< CefBrowser > browser) override
 
void OnBeforeClose (CefRefPtr< CefBrowser > browser) override
 
virtual bool OnBeforeBrowse (CefRefPtr< CefBrowser > browser, CefRefPtr< CefFrame > frame, CefRefPtr< CefRequest > request, bool user_gesture, bool is_redirect) override
 
void OnRenderProcessTerminated (CefRefPtr< CefBrowser > browser, TerminationStatus status) override
 
cef_return_value_t OnBeforeResourceLoad (CefRefPtr< CefBrowser > browser, CefRefPtr< CefFrame > frame, CefRefPtr< CefRequest > request, CefRefPtr< CefRequestCallback > callback) override
 
CefRefPtr< CefResourceHandler > GetResourceHandler (CefRefPtr< CefBrowser > browser, CefRefPtr< CefFrame > frame, CefRefPtr< CefRequest > request) override
 
void addLoadHandler (CefLoadHandler *loadHandler)
 
void removeLoadHandler (CefLoadHandler *loadHandler)
 
virtual void OnLoadingStateChange (CefRefPtr< CefBrowser > browser, bool isLoading, bool canGoBack, bool canGoForward) override
 
virtual void OnLoadEnd (CefRefPtr< CefBrowser > browser, CefRefPtr< CefFrame > frame, int httpStatusCode) override
 
virtual void OnLoadError (CefRefPtr< CefBrowser > browser, CefRefPtr< CefFrame > frame, CefLoadHandler::ErrorCode errorCode, const CefString &errorText, const CefString &failedUrl) override
 
virtual bool OnConsoleMessage (CefRefPtr< CefBrowser > browser, cef_log_severity_t level, const CefString &message, const CefString &source, int line) override
 

Public Attributes

CefRefPtr< PropertyCefSynchronizerpropertyCefSynchronizer_
 

Protected Attributes

const PropertyWidgetCEFFactorywidgetFactory_
 
CefRefPtr< CefRenderHandler > renderHandler_
 Non-owning reference.
 
CefRefPtr< CefMessageRouterBrowserSide > messageRouter_
 
std::vector< CefLoadHandler * > loadHandlers_
 
CefRefPtr< CefResourceManager > resourceManager_
 
int browserCount_ = 0
 

Member Function Documentation

◆ OnLoadEnd()

void inviwo::WebBrowserClient::OnLoadEnd ( CefRefPtr< CefBrowser >  browser,
CefRefPtr< CefFrame >  frame,
int  httpStatusCode 
)
overridevirtual

Synchronizes all widgets and sets their frame, called when frame has loaded.


The documentation for this class was generated from the following files: