Logo ROOT  
Reference Guide
SimpleApp Class Reference

Definition at line 31 of file simple_app.h.

Public Member Functions

 SimpleApp (bool use_viewes, THttpServer *serv=nullptr, const std::string &url="", const std::string &cont="", int width=0, int height=0, bool headless=false)
 
virtual CefRefPtr< CefBrowserProcessHandlerGetBrowserProcessHandler () override
 
virtual void OnBeforeChildProcessLaunch (CefRefPtr< CefCommandLine > command_line) override
 
virtual void OnBeforeCommandLineProcessing (const CefString &process_type, CefRefPtr< CefCommandLine > command_line) override
 
virtual void OnContextInitialized () override
 
virtual void OnRegisterCustomSchemes (CefRawPtr< CefSchemeRegistrar > registrar) override
 
void SetNextHandle (RCefWebDisplayHandle *handle)
 
void StartWindow (THttpServer *serv, const std::string &url, const std::string &cont, CefRect &rect)
 

Protected Attributes

std::string fFirstContent
 ! first page content open More...
 
bool fFirstHeadless {false}
 ! is first window is headless More...
 
CefRect fFirstRect
 ! original width More...
 
THttpServerfFirstServer
 ! first server More...
 
std::string fFirstUrl
 ! first URL to open More...
 
CefRefPtr< GuiHandlerfGuiHandler
 ! normal handler More...
 
RCefWebDisplayHandlefNextHandle {nullptr}
 next handle where browser will be created More...
 
bool fUseViewes {false}
 ! is views framework used More...
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (SimpleApp)
 
 IMPLEMENT_REFCOUNTING (SimpleApp)
 

#include <simple_app.h>

Inheritance diagram for SimpleApp:
[legend]

Constructor & Destructor Documentation

◆ SimpleApp()

SimpleApp::SimpleApp ( bool  use_viewes,
THttpServer serv = nullptr,
const std::string &  url = "",
const std::string &  cont = "",
int  width = 0,
int  height = 0,
bool  headless = false 
)

Definition at line 112 of file simple_app.cxx.

Member Function Documentation

◆ DISALLOW_COPY_AND_ASSIGN()

SimpleApp::DISALLOW_COPY_AND_ASSIGN ( SimpleApp  )
private

◆ GetBrowserProcessHandler()

virtual CefRefPtr< CefBrowserProcessHandler > SimpleApp::GetBrowserProcessHandler ( )
inlineoverridevirtual

Definition at line 56 of file simple_app.h.

◆ IMPLEMENT_REFCOUNTING()

SimpleApp::IMPLEMENT_REFCOUNTING ( SimpleApp  )
private

◆ OnBeforeChildProcessLaunch()

void SimpleApp::OnBeforeChildProcessLaunch ( CefRefPtr< CefCommandLine >  command_line)
overridevirtual

Definition at line 157 of file simple_app.cxx.

◆ OnBeforeCommandLineProcessing()

void SimpleApp::OnBeforeCommandLineProcessing ( const CefString &  process_type,
CefRefPtr< CefCommandLine >  command_line 
)
overridevirtual

Definition at line 146 of file simple_app.cxx.

◆ OnContextInitialized()

void SimpleApp::OnContextInitialized ( )
overridevirtual

Definition at line 168 of file simple_app.cxx.

◆ OnRegisterCustomSchemes()

void SimpleApp::OnRegisterCustomSchemes ( CefRawPtr< CefSchemeRegistrar >  registrar)
overridevirtual

Definition at line 140 of file simple_app.cxx.

◆ SetNextHandle()

void SimpleApp::SetNextHandle ( RCefWebDisplayHandle handle)

Definition at line 134 of file simple_app.cxx.

◆ StartWindow()

void SimpleApp::StartWindow ( THttpServer serv,
const std::string &  url,
const std::string &  cont,
CefRect &  rect 
)

Definition at line 180 of file simple_app.cxx.

Member Data Documentation

◆ fFirstContent

std::string SimpleApp::fFirstContent
protected

! first page content open

Definition at line 41 of file simple_app.h.

◆ fFirstHeadless

bool SimpleApp::fFirstHeadless {false}
protected

! is first window is headless

Definition at line 43 of file simple_app.h.

◆ fFirstRect

CefRect SimpleApp::fFirstRect
protected

! original width

Definition at line 42 of file simple_app.h.

◆ fFirstServer

THttpServer* SimpleApp::fFirstServer
protected

! first server

Definition at line 39 of file simple_app.h.

◆ fFirstUrl

std::string SimpleApp::fFirstUrl
protected

! first URL to open

Definition at line 40 of file simple_app.h.

◆ fGuiHandler

CefRefPtr<GuiHandler> SimpleApp::fGuiHandler
protected

! normal handler

Definition at line 46 of file simple_app.h.

◆ fNextHandle

RCefWebDisplayHandle* SimpleApp::fNextHandle {nullptr}
protected

next handle where browser will be created

Definition at line 44 of file simple_app.h.

◆ fUseViewes

bool SimpleApp::fUseViewes {false}
protected

! is views framework used

Definition at line 38 of file simple_app.h.


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