Definition at line 45 of file gui_handler.h.
Public Member Functions | |
GuiHandler (bool use_views=false) | |
std::string | AddBatchPage (const std::string &cont) |
Generate URL for batch page Uses file:/// prefix to let access JSROOT scripts placed on file system Register provider for that page in resource manager. | |
void | CloseAllBrowsers (bool force_close) |
virtual bool | DoClose (CefRefPtr< CefBrowser > browser) override |
virtual CefRefPtr< CefDisplayHandler > | GetDisplayHandler () override |
virtual CefRefPtr< CefLifeSpanHandler > | GetLifeSpanHandler () override |
virtual CefRefPtr< CefLoadHandler > | GetLoadHandler () override |
virtual CefRefPtr< CefRequestHandler > | GetRequestHandler () override |
virtual CefRefPtr< CefResourceHandler > | GetResourceHandler (CefRefPtr< CefBrowser > browser, CefRefPtr< CefFrame > frame, CefRefPtr< CefRequest > request) override |
virtual CefRefPtr< CefResourceRequestHandler > | GetResourceRequestHandler (CefRefPtr< CefBrowser > browser, CefRefPtr< CefFrame > frame, CefRefPtr< CefRequest > request, bool is_navigation, bool is_download, const CefString &request_initiator, bool &disable_default_handling) override |
bool | IsClosing () const |
std::string | MakePageUrl (THttpServer *serv, const std::string &addr) |
Generate URL for RWebWindow page Register server instance and assign it with the index Produced URL only works inside CEF and does not represent real HTTP address. | |
virtual void | OnAfterCreated (CefRefPtr< CefBrowser > browser) override |
virtual void | OnBeforeClose (CefRefPtr< CefBrowser > browser) override |
virtual cef_return_value_t | OnBeforeResourceLoad (CefRefPtr< CefBrowser > browser, CefRefPtr< CefFrame > frame, CefRefPtr< CefRequest > request, CefRefPtr< CefResourceLoadCallBack > callback) override |
virtual bool | OnConsoleMessage (CefRefPtr< CefBrowser > browser, cef_log_severity_t level, const CefString &message, const CefString &source, int line) override |
virtual void | OnLoadError (CefRefPtr< CefBrowser > browser, CefRefPtr< CefFrame > frame, ErrorCode errorCode, const CefString &errorText, const CefString &failedUrl) override |
virtual void | OnTitleChange (CefRefPtr< CefBrowser > browser, const CefString &title) override |
Static Public Member Functions | |
static std::string | GetDataURI (const std::string &data, const std::string &mime_type) |
static bool | PlatformInit () |
Protected Types | |
typedef std::list< CefRefPtr< CefBrowser > > | BrowserList |
! List of existing browser windows. Only accessed on the CEF UI thread. | |
Protected Attributes | |
BrowserList | fBrowserList |
int | fConsole {0} |
! console parameter, assigned via WebGui.Console rootrc parameter | |
std::vector< THttpServer * > | fServers |
bool | fUseViews {false} |
! if view framework is used, required for true headless mode | |
bool | is_closing_ |
Private Member Functions | |
DISALLOW_COPY_AND_ASSIGN (GuiHandler) | |
IMPLEMENT_REFCOUNTING (GuiHandler) | |
void | PlatformTitleChange (CefRefPtr< CefBrowser > browser, const CefString &title) |
Private Attributes | |
int | fBatchPageCount {0} |
CefRefPtr< CefResourceManager > | fResourceManager |
#include <gui_handler.h>
|
protected |
! List of existing browser windows. Only accessed on the CEF UI thread.
Definition at line 55 of file gui_handler.h.
|
explicit |
Definition at line 51 of file gui_handler.cxx.
std::string GuiHandler::AddBatchPage | ( | const std::string & | cont | ) |
Generate URL for batch page Uses file:/// prefix to let access JSROOT scripts placed on file system Register provider for that page in resource manager.
Definition at line 439 of file gui_handler.cxx.
Definition at line 152 of file gui_handler.cxx.
|
private |
|
overridevirtual |
Definition at line 85 of file gui_handler.cxx.
|
static |
Definition at line 124 of file gui_handler.cxx.
|
inlineoverridevirtual |
Definition at line 71 of file gui_handler.h.
|
inlineoverridevirtual |
Definition at line 69 of file gui_handler.h.
|
inlineoverridevirtual |
Definition at line 70 of file gui_handler.h.
|
inlineoverridevirtual |
Definition at line 72 of file gui_handler.h.
|
overridevirtual |
Definition at line 340 of file gui_handler.cxx.
|
inlineoverridevirtual |
Definition at line 97 of file gui_handler.h.
|
private |
|
inline |
Definition at line 94 of file gui_handler.h.
std::string GuiHandler::MakePageUrl | ( | THttpServer * | serv, |
const std::string & | addr | ||
) |
Generate URL for RWebWindow page Register server instance and assign it with the index Produced URL only works inside CEF and does not represent real HTTP address.
Definition at line 454 of file gui_handler.cxx.
|
overridevirtual |
Definition at line 77 of file gui_handler.cxx.
|
overridevirtual |
Definition at line 102 of file gui_handler.cxx.
|
overridevirtual |
Definition at line 196 of file gui_handler.cxx.
|
overridevirtual |
Definition at line 171 of file gui_handler.cxx.
|
overridevirtual |
Definition at line 132 of file gui_handler.cxx.
|
overridevirtual |
Definition at line 60 of file gui_handler.cxx.
|
static |
Definition at line 93 of file gui_handler_linux.cxx.
|
private |
Definition at line 98 of file gui_handler_linux.cxx.
|
private |
Definition at line 132 of file gui_handler.h.
|
protected |
Definition at line 56 of file gui_handler.h.
|
protected |
! console parameter, assigned via WebGui.Console rootrc parameter
Definition at line 54 of file gui_handler.h.
|
private |
Definition at line 131 of file gui_handler.h.
|
protected |
Definition at line 58 of file gui_handler.h.
|
protected |
! if view framework is used, required for true headless mode
Definition at line 53 of file gui_handler.h.
|
protected |
Definition at line 60 of file gui_handler.h.