Documentation ¶
Index ¶
- Constants
- Variables
- func CreateBrowser(hwnd unsafe.Pointer, browserSettings BrowserSettings, url string)
- func ExecuteProcess(appHandle unsafe.Pointer) int
- func FillMainArgs(mainArgs *C.struct__cef_main_args_t, appHandle unsafe.Pointer)
- func FillWindowInfo(windowInfo *C.cef_window_info_t, hwnd unsafe.Pointer)
- func Initialize(settings Settings) int
- func QuitMessageLoop()
- func RunMessageLoop()
- func SetLogger(logger *log.Logger)
- func Shutdown()
- type BrowserSettings
- type Settings
Constants ¶
View Source
const ( LOGSEVERITY_DEFAULT = C.LOGSEVERITY_DEFAULT LOGSEVERITY_VERBOSE = C.LOGSEVERITY_VERBOSE LOGSEVERITY_INFO = C.LOGSEVERITY_INFO LOGSEVERITY_WARNING = C.LOGSEVERITY_WARNING LOGSEVERITY_ERROR = C.LOGSEVERITY_ERROR LOGSEVERITY_ERROR_REPORT = C.LOGSEVERITY_ERROR_REPORT LOGSEVERITY_DISABLE = C.LOGSEVERITY_DISABLE )
Variables ¶
View Source
var Logger *log.Logger = log.New(os.Stdout, "[cef] ", log.Lshortfile)
Functions ¶
func CreateBrowser ¶
func CreateBrowser(hwnd unsafe.Pointer, browserSettings BrowserSettings, url string)
func ExecuteProcess ¶
func FillMainArgs ¶
func FillMainArgs(mainArgs *C.struct__cef_main_args_t, appHandle unsafe.Pointer)
func FillWindowInfo ¶
func FillWindowInfo(windowInfo *C.cef_window_info_t, hwnd unsafe.Pointer)
func Initialize ¶
func QuitMessageLoop ¶
func QuitMessageLoop()
func RunMessageLoop ¶
func RunMessageLoop()
Types ¶
type BrowserSettings ¶
type BrowserSettings struct { }
Click to show internal directories.
Click to hide internal directories.