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...
 ! 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


#include <simple_app.h>

Inheritance diagram for SimpleApp:

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


SimpleApp::DISALLOW_COPY_AND_ASSIGN ( SimpleApp  )

◆ GetBrowserProcessHandler()

virtual CefRefPtr< CefBrowserProcessHandler > SimpleApp::GetBrowserProcessHandler ( )

Definition at line 56 of file simple_app.h.



◆ OnBeforeChildProcessLaunch()

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

Definition at line 157 of file simple_app.cxx.

◆ OnBeforeCommandLineProcessing()

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

Definition at line 146 of file simple_app.cxx.

◆ OnContextInitialized()

void SimpleApp::OnContextInitialized ( )

Definition at line 168 of file simple_app.cxx.

◆ OnRegisterCustomSchemes()

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

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

! first page content open

Definition at line 41 of file simple_app.h.

◆ fFirstHeadless

bool SimpleApp::fFirstHeadless {false}

! is first window is headless

Definition at line 43 of file simple_app.h.

◆ fFirstRect

CefRect SimpleApp::fFirstRect

! original width

Definition at line 42 of file simple_app.h.

◆ fFirstServer

THttpServer* SimpleApp::fFirstServer

! first server

Definition at line 39 of file simple_app.h.

◆ fFirstUrl

std::string SimpleApp::fFirstUrl

! first URL to open

Definition at line 40 of file simple_app.h.

◆ fGuiHandler

CefRefPtr<GuiHandler> SimpleApp::fGuiHandler

! normal handler

Definition at line 46 of file simple_app.h.

◆ fNextHandle

RCefWebDisplayHandle* SimpleApp::fNextHandle {nullptr}

next handle where browser will be created

Definition at line 44 of file simple_app.h.

◆ fUseViewes

bool SimpleApp::fUseViewes {false}

! is views framework used

Definition at line 38 of file simple_app.h.

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