Definition at line 24 of file RCefWebDisplayHandle.hxx.
|
static void | AddCreator () |
| Add CEF creator.
|
|
Static Public Member Functions inherited from ROOT::RWebDisplayHandle |
static bool | CanProduceImages (const std::string &browser="") |
| Returns true if image production for specified browser kind is supported If browser not specified - use currently configured browser or try to test existing web browsers.
|
|
static std::unique_ptr< RWebDisplayHandle > | Display (const RWebDisplayArgs &args) |
| Create web display.
|
|
static bool | DisplayUrl (const std::string &url) |
| Display provided url in configured web browser.
|
|
static std::string | GetImageFormat (const std::string &fname) |
| Detect image format.
|
|
static bool | NeedHttpServer (const RWebDisplayArgs &args) |
| Check if http server required for display.
|
|
static bool | ProduceImage (const std::string &fname, const std::string &json, int width=800, int height=600, const char *batch_file=nullptr) |
| Produce image file using JSON data as source Invokes JSROOT drawing functionality in headless browser - Google Chrome or Mozilla Firefox.
|
|
static bool | ProduceImages (const std::string &fmt, const std::vector< std::string > &fnames, const std::vector< std::string > &jsons, const std::vector< int > &widths, const std::vector< int > &heights, const char *batch_file=nullptr) |
| Produce image file(s) using JSON data as source Invokes JSROOT drawing functionality in headless browser - Google Chrome or Mozilla Firefox.
|
|
static bool | ProduceImages (const std::string &fname, const std::vector< std::string > &jsons, const std::vector< int > &widths, const std::vector< int > &heights, const char *batch_file=nullptr) |
| Produce image file(s) using JSON data as source Invokes JSROOT drawing functionality in headless browser - Google Chrome or Mozilla Firefox.
|
|
|
CefRefPtr< CefBrowser > | fBrowser |
| associated browser
|
|
unsigned | fValid {kValid} |
| used to verify if instance valid or not
|
|
#include <RCefWebDisplayHandle.hxx>
◆ EValidValues
◆ RCefWebDisplayHandle()
RCefWebDisplayHandle::RCefWebDisplayHandle |
( |
const std::string & |
url | ) |
|
|
inline |
◆ ~RCefWebDisplayHandle()
RCefWebDisplayHandle::~RCefWebDisplayHandle |
( |
| ) |
|
|
override |
◆ AddCreator()
void RCefWebDisplayHandle::AddCreator |
( |
| ) |
|
|
static |
◆ CloseBrowser()
void RCefWebDisplayHandle::CloseBrowser |
( |
| ) |
|
◆ IsValid()
bool RCefWebDisplayHandle::IsValid |
( |
| ) |
const |
|
inline |
◆ Resize()
bool RCefWebDisplayHandle::Resize |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
overridevirtual |
◆ SetBrowser()
void RCefWebDisplayHandle::SetBrowser |
( |
CefRefPtr< CefBrowser > |
br | ) |
|
|
inline |
◆ WaitForContent()
bool RCefWebDisplayHandle::WaitForContent |
( |
int |
tmout_sec, |
|
|
const std::string & |
extra_args |
|
) |
| |
Process system events until browser content is available Used in headless mode for batch production like chrome –dump-dom is doing.
Definition at line 241 of file RCefWebDisplayHandle.cxx.
◆ fBrowser
CefRefPtr<CefBrowser> RCefWebDisplayHandle::fBrowser |
|
protected |
◆ fValid
unsigned RCefWebDisplayHandle::fValid {kValid} |
|
protected |