Definition at line 37 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) |
bool | DoClose (CefRefPtr< CefBrowser > browser) override |
CefRefPtr< CefDisplayHandler > | GetDisplayHandler () override |
CefRefPtr< CefLifeSpanHandler > | GetLifeSpanHandler () override |
CefRefPtr< CefLoadHandler > | GetLoadHandler () override |
CefRefPtr< CefRequestHandler > | GetRequestHandler () override |
CefRefPtr< CefResourceHandler > | GetResourceHandler (CefRefPtr< CefBrowser > browser, CefRefPtr< CefFrame > frame, CefRefPtr< CefRequest > request) override |
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. | |
void | OnAfterCreated (CefRefPtr< CefBrowser > browser) override |
void | OnBeforeClose (CefRefPtr< CefBrowser > browser) override |
cef_return_value_t | OnBeforeResourceLoad (CefRefPtr< CefBrowser > browser, CefRefPtr< CefFrame > frame, CefRefPtr< CefRequest > request, CefRefPtr< CefCallback > callback) override |
bool | OnConsoleMessage (CefRefPtr< CefBrowser > browser, cef_log_severity_t level, const CefString &message, const CefString &source, int line) override |
void | OnLoadError (CefRefPtr< CefBrowser > browser, CefRefPtr< CefFrame > frame, ErrorCode errorCode, const CefString &errorText, const CefString &failedUrl) override |
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 () |
static bool | PlatformResize (CefRefPtr< CefBrowser > browser, int width, int height) |
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_ {false} |
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 47 of file gui_handler.h.
|
explicit |
Definition at line 52 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 430 of file gui_handler.cxx.
void GuiHandler::CloseAllBrowsers | ( | bool | force_close | ) |
Definition at line 154 of file gui_handler.cxx.
|
private |
|
override |
Definition at line 86 of file gui_handler.cxx.
|
static |
Definition at line 125 of file gui_handler.cxx.
|
inlineoverride |
Definition at line 63 of file gui_handler.h.
|
inlineoverride |
Definition at line 61 of file gui_handler.h.
|
inlineoverride |
Definition at line 62 of file gui_handler.h.
|
inlineoverride |
Definition at line 64 of file gui_handler.h.
|
override |
Definition at line 332 of file gui_handler.cxx.
|
inlineoverride |
Definition at line 89 of file gui_handler.h.
|
private |
|
inline |
Definition at line 86 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 445 of file gui_handler.cxx.
|
override |
Definition at line 78 of file gui_handler.cxx.
|
override |
Definition at line 103 of file gui_handler.cxx.
|
override |
Definition at line 194 of file gui_handler.cxx.
|
override |
Definition at line 169 of file gui_handler.cxx.
|
override |
Definition at line 132 of file gui_handler.cxx.
|
override |
Definition at line 61 of file gui_handler.cxx.
|
static |
Definition at line 117 of file gui_handler_linux.cxx.
Definition at line 127 of file gui_handler_linux.cxx.
|
private |
Definition at line 122 of file gui_handler_linux.cxx.
|
private |
Definition at line 126 of file gui_handler.h.
|
protected |
Definition at line 48 of file gui_handler.h.
|
protected |
! console parameter, assigned via WebGui.Console rootrc parameter
Definition at line 46 of file gui_handler.h.
|
private |
Definition at line 125 of file gui_handler.h.
|
protected |
Definition at line 50 of file gui_handler.h.
|
protected |
! if view framework is used, required for true headless mode
Definition at line 45 of file gui_handler.h.
|
protected |
Definition at line 52 of file gui_handler.h.