cef

package
v0.0.0-...-a8da6e1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2020 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

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 ExecuteProcess(appHandle unsafe.Pointer) int

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 Initialize(settings Settings) int

func QuitMessageLoop

func QuitMessageLoop()

func RunMessageLoop

func RunMessageLoop()

func SetLogger

func SetLogger(logger *log.Logger)

func Shutdown

func Shutdown()

Types

type BrowserSettings

type BrowserSettings struct {
}

type Settings

type Settings struct {
	CachePath        string
	LogSeverity      int
	LogFile          string
	ResourcesDirPath string
	LocalesDirPath   string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL