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) | |
| CefRefPtr< CefBrowserProcessHandler > | GetBrowserProcessHandler () override |
| void | OnBeforeChildProcessLaunch (CefRefPtr< CefCommandLine > command_line) override |
| void | OnBeforeCommandLineProcessing (const CefString &process_type, CefRefPtr< CefCommandLine > command_line) override |
| void | OnContextInitialized () override |
| 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 | |
| bool | fFirstHeadless {false} |
| ! is first window is headless | |
| CefRect | fFirstRect |
| ! original width | |
| THttpServer * | fFirstServer |
| ! first server | |
| std::string | fFirstUrl |
| ! first URL to open | |
| CefRefPtr< GuiHandler > | fGuiHandler |
| ! normal handler | |
| RCefWebDisplayHandle * | fNextHandle {nullptr} |
| next handle where browser will be created | |
| bool | fUseViewes {false} |
| ! is views framework used | |
Private Member Functions | |
| DISALLOW_COPY_AND_ASSIGN (SimpleApp) | |
| IMPLEMENT_REFCOUNTING (SimpleApp) | |
#include <simple_app.h>
| 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.
|
private |
|
inlineoverride |
Definition at line 56 of file simple_app.h.
|
private |
|
override |
Definition at line 157 of file simple_app.cxx.
|
override |
Definition at line 146 of file simple_app.cxx.
|
override |
Definition at line 168 of file simple_app.cxx.
|
override |
Definition at line 140 of file simple_app.cxx.
| void SimpleApp::SetNextHandle | ( | RCefWebDisplayHandle * | handle | ) |
Definition at line 134 of file simple_app.cxx.
| void SimpleApp::StartWindow | ( | THttpServer * | serv, |
| const std::string & | url, | ||
| const std::string & | cont, | ||
| CefRect & | rect ) |
Definition at line 180 of file simple_app.cxx.
|
protected |
! first page content open
Definition at line 41 of file simple_app.h.
! is first window is headless
Definition at line 43 of file simple_app.h.
|
protected |
! original width
Definition at line 42 of file simple_app.h.
|
protected |
! first server
Definition at line 39 of file simple_app.h.
|
protected |
! first URL to open
Definition at line 40 of file simple_app.h.
|
protected |
! normal handler
Definition at line 46 of file simple_app.h.
|
protected |
next handle where browser will be created
Definition at line 44 of file simple_app.h.
! is views framework used
Definition at line 38 of file simple_app.h.