Documentation ¶
Index ¶
- Variables
- func BaseAddRef(rc refCounted)
- func BaseHasAtLeastOneRef(rc refCounted) bool
- func BaseHasOneRef(rc refCounted) bool
- func BaseRelease(rc refCounted) (b bool)
- func BrowserHostCreateBrowser(window_name, url_string string, client *CClientT)
- func ExecuteProcess(app *CAppT)
- func Initialize(s Settings, app *CAppT)
- func Logf(message string, v ...interface{})
- func Panicf(message string, v ...interface{})
- func QuitMessageLoop()
- func RefCountLogOutput(enable bool)
- func RefCountLogTrace(on bool)
- func RegisterSchemeHandlerFactory(scheme_name string, domain_name string, factory *CSchemeHandlerFactoryT) int
- func RunMessageLoop()
- func Shutdown()
- func StringListAppend(list CStringListT, value string)
- func StringListClear(list CStringListT)
- func StringListFree(list CStringListT)
- func StringListSize(list CStringListT) int
- func StringListValue(list CStringListT, index int) (s string, err error)
- func Tracef(p unsafe.Pointer, message string, v ...interface{})
- func V8contextInContext() bool
- type CAppT
- type CAppTAccessor
- type CBinaryValueT
- type CBinaryValueTAccessor
- type CBrowserHostT
- type CBrowserHostTAccessor
- type CBrowserProcessHandlerT
- type CBrowserProcessHandlerTAccessor
- type CBrowserT
- type CBrowserTAccessor
- type CCallbackT
- type CCallbackTAccessor
- type CClientT
- type CClientTAccessor
- type CCommandLineT
- type CContextMenuHandlerT
- type CCookieT
- type CDialogHandlerT
- type CDictionaryValueT
- type CDictionaryValueTAccessor
- type CDisplayHandlerT
- type CDomnodeT
- type CDownloaddHanderT
- type CDragHandlerT
- type CErrorcodeT
- type CFileDialogModeT
- type CFindHandlerT
- type CFocusHanderT
- type CFrameT
- type CFrameTAccessor
- type CJsdialogHandlerT
- type CKeyboardHandlerT
- type CLifeSpanHandlerT
- type CLifeSpanHandlerTAccessor
- type CListValueT
- func (l *CListValueT) Clear() bool
- func (l *CListValueT) Copy() (d *CListValueT)
- func (l *CListValueT) GetBinary(index int) *CBinaryValueT
- func (l *CListValueT) GetBool(index int) bool
- func (l *CListValueT) GetDictionary(index int) *CDictionaryValueT
- func (l *CListValueT) GetDouble(index int) float64
- func (l *CListValueT) GetInt(index int) int
- func (l *CListValueT) GetList(index int) *CListValueT
- func (l *CListValueT) GetSize() int
- func (l *CListValueT) GetString(index int) (s string)
- func (l *CListValueT) GetType(index int) CValueTypeT
- func (l *CListValueT) GetValue(index int) *CValueT
- func (l *CListValueT) IsEqual(that *CListValueT) bool
- func (l *CListValueT) IsOwned() bool
- func (l *CListValueT) IsReadOnly() bool
- func (l *CListValueT) IsSame(that *CListValueT) bool
- func (l *CListValueT) IsValid() bool
- func (l *CListValueT) Remove(index int) bool
- func (l *CListValueT) SetBinary(index int, value *CBinaryValueT) bool
- func (l *CListValueT) SetBool(index int, b bool) bool
- func (l *CListValueT) SetDictionary(index int, value *CDictionaryValueT) bool
- func (l *CListValueT) SetDouble(index int, value float64) bool
- func (l *CListValueT) SetInt(index int, value int) bool
- func (l *CListValueT) SetList(index int, value *CListValueT) bool
- func (l *CListValueT) SetNull(index int) bool
- func (l *CListValueT) SetSize(size int) bool
- func (l *CListValueT) SetString(index int, s string) bool
- func (l *CListValueT) SetValue(index int, value *CValueT) bool
- type CListValueTAccessor
- type CLoadHandlerT
- type CLoadHandlerTAccessor
- type CLogSeverityT
- type CProcessIdT
- type CProcessMessageT
- type CProcessMessageTAccessor
- type CRenderHandlerT
- type CRenderProcessHandlerT
- type CRenderProcessHandlerTAccessor
- type CRequestHandlerT
- type CRequestT
- type CRequestTAccessor
- type CResourceBundleHanderT
- type CResourceHandlerT
- type CResourceHandlerTAccessor
- type CResponseT
- func (self *CResponseT) DumpHeaders()
- func (self *CResponseT) SetError(errorCode CErrorcodeT)
- func (self *CResponseT) SetHeaderMap(headers []StringMap)
- func (self *CResponseT) SetMimeType(mimeType string)
- func (self *CResponseT) SetStatus(status int)
- func (self *CResponseT) SetStatusText(statusText string)
- type CResponseTAccessor
- type CRunFileDialogCallbackT
- type CRunFileDialogCallbackTAccessor
- type CSchemeHandlerFactoryT
- type CSchemeHandlerFactoryTAccessor
- type CSchemeOptionsT
- type CSchemeRegistrarT
- type CStringListT
- type CTimeT
- type CTransitionTypeT
- type CV8accessorT
- type CV8arrayBufferReleaseCallbackT
- type CV8arrayBufferReleaseCallbackTAccessor
- type CV8contextT
- func (self *CV8contextT) Enter() bool
- func (self *CV8contextT) Eval(code string, retval **CV8valueT, e **CV8exceptionT) (ret bool)
- func (self *CV8contextT) Exit() bool
- func (self *CV8contextT) GetBrowser() *CBrowserT
- func (self *CV8contextT) GetFrame() *CFrameT
- func (self *CV8contextT) GetGlobal() *CV8valueT
- func (self *CV8contextT) IsSame(that *CV8contextT) bool
- func (self *CV8contextT) IsValid() bool
- type CV8contextTAccessor
- type CV8exceptionT
- type CV8exceptionTAccessor
- type CV8handlerT
- type CV8handlerTAccessor
- type CV8interceptorT
- type CV8stackTraceT
- type CV8stackTraceTAccessor
- type CV8valueT
- func V8valueCreateArrayBuffer(buffer []byte) *CV8valueT
- func V8valueCreateBool(b bool) *CV8valueT
- func V8valueCreateDate(d CTimeT) *CV8valueT
- func V8valueCreateDouble(f float64) *CV8valueT
- func V8valueCreateFunction(name string, handler *CV8handlerT) (function *CV8valueT)
- func V8valueCreateInt(i int) *CV8valueT
- func V8valueCreateNull() *CV8valueT
- func V8valueCreateObject(accessor *CV8accessorT, interceptor *CV8interceptorT) *CV8valueT
- func V8valueCreateString(s string) (val *CV8valueT)
- func V8valueCreateStringFromByteArray(b []byte) (val *CV8valueT)
- func V8valueCreateUint(u uint) *CV8valueT
- func V8valueCreateUndefined() *CV8valueT
- func (self *CV8valueT) ClearException() (ret bool)
- func (self *CV8valueT) DeleteValueByindex(index int) bool
- func (self *CV8valueT) DeleteValueBykey(key string) bool
- func (self *CV8valueT) ExecuteFunction(this *CV8valueT, argumentsCount int, arguments []*CV8valueT) (val *CV8valueT, err error)
- func (self *CV8valueT) GetBoolValue() (v bool)
- func (self *CV8valueT) GetDateValue() (v CTimeT)
- func (self *CV8valueT) GetDoubleValue() (v float64)
- func (self *CV8valueT) GetException() *CV8exceptionT
- func (self *CV8valueT) GetFunctionName() (s string)
- func (self *CV8valueT) GetIntValue() (v int32)
- func (self *CV8valueT) GetStringValue() (s string)
- func (self *CV8valueT) GetUintValue() (v uint32)
- func (self *CV8valueT) GetValueByindex(index int) (value *CV8valueT)
- func (self *CV8valueT) GetValueBykey(key string) (value *CV8valueT)
- func (self *CV8valueT) HasException() (ret bool)
- func (v *CV8valueT) HasOneRef() bool
- func (self *CV8valueT) HasValueByindex(index int) bool
- func (self *CV8valueT) HasValueBykey(key string) bool
- func (self *CV8valueT) IsArray() bool
- func (self *CV8valueT) IsArrayBuffer() bool
- func (self *CV8valueT) IsBool() bool
- func (self *CV8valueT) IsDate() bool
- func (self *CV8valueT) IsDouble() bool
- func (self *CV8valueT) IsFunction() bool
- func (self *CV8valueT) IsInt() bool
- func (self *CV8valueT) IsNull() bool
- func (self *CV8valueT) IsObject() bool
- func (self *CV8valueT) IsSame(that *CV8valueT) bool
- func (self *CV8valueT) IsString() bool
- func (self *CV8valueT) IsUint() bool
- func (self *CV8valueT) IsUndefined() bool
- func (self *CV8valueT) IsValid() bool
- func (self *CV8valueT) SetValueByindex(index int, value *CV8valueT) bool
- func (self *CV8valueT) SetValueBykey(key string, value *CV8valueT) bool
- type CV8valueTAccessor
- type CValueT
- type CValueTAccessor
- type CValueTypeT
- type CanGetCookieHandler
- type CanSetCookieHandler
- type CancelHandler
- type DeassocFunc
- type Deassocer
- type DoCloseHandler
- type GetResponseHeadersHandler
- type OnAfterCreatedHandler
- type OnBeforeChildProcessLaunch
- type OnBeforeCloseHandler
- type OnBeforeCommandLineProcessingHandler
- type OnBrowserCreatedHandler
- type OnBrowserDestroyedHandler
- type OnContextCreatedHandler
- type OnContextInitializedHandler
- type OnContextReleasedHandler
- type OnFocusedNodeChangedHandler
- type OnLoadEndHandler
- type OnLoadErrorHandler
- type OnLoadStartHandler
- type OnLoadingStateChangeHandler
- type OnProcessMessageReceivedHandler
- type OnProcessMessageRecivedHandler
- type OnRegisterCustomSchemesHandler
- type OnRenderProcessThreadCreatedHandler
- type OnRenderThreadCreatedHandler
- type OnUncaughtExceptionHandler
- type OnWebKitInitializedHandler
- type ProcessRequestHandler
- type ReadResponseHandler
- type RefToCAppT
- type RefToCBinaryValueT
- type RefToCBrowserHostT
- type RefToCBrowserProcessHandlerT
- type RefToCBrowserT
- type RefToCCallbackT
- type RefToCClientT
- type RefToCDictionaryValueT
- type RefToCFrameT
- type RefToCLifeSpanHandlerT
- type RefToCListValueT
- type RefToCLoadHandlerT
- type RefToCProcessMessageT
- type RefToCRenderProcessHandlerT
- type RefToCRequestT
- type RefToCResourceHandlerT
- type RefToCResponseT
- type RefToCRunFileDialogCallbackT
- type RefToCSchemeHandlerFactoryT
- type RefToCV8arrayBufferReleaseCallbackT
- type RefToCV8contextT
- type RefToCV8exceptionT
- type RefToCV8handlerT
- type RefToCV8stackTraceT
- type RefToCV8valueT
- type RefToCValueT
- type RunFileDialogCallback
- type SchemeHandlerFactory
- type Settings
- type StringMap
- type V8handler
Constants ¶
This section is empty.
Variables ¶
var Logger *log.Logger
Functions ¶
func BaseAddRef ¶
func BaseAddRef(rc refCounted)
func BaseHasAtLeastOneRef ¶ added in v0.1.2
func BaseHasAtLeastOneRef(rc refCounted) bool
func BaseHasOneRef ¶
func BaseHasOneRef(rc refCounted) bool
func BaseRelease ¶
func BaseRelease(rc refCounted) (b bool)
/ Called to decrement the reference count for the object. If the reference count falls to 0 the object should self-delete. Returns true (1) if the resulting reference count is 0. /
func ExecuteProcess ¶
func ExecuteProcess(app *CAppT)
func Initialize ¶
func RefCountLogOutput ¶
func RefCountLogOutput(enable bool)
func RefCountLogTrace ¶
func RefCountLogTrace(on bool)
func RegisterSchemeHandlerFactory ¶
func RegisterSchemeHandlerFactory( scheme_name string, domain_name string, factory *CSchemeHandlerFactoryT, ) int
/ Register a scheme handler factory with the global request context. An NULL |domain_name| value for a standard scheme will cause the factory to match all domain names. The |domain_name| value will be ignored for non-standard schemes. If |scheme_name| is a built-in scheme and no handler is returned by |factory| then the built-in scheme handler factory will be called. If |scheme_name| is a custom scheme then you must also implement the cef_app_t::on_register_custom_schemes() function in all processes. This function may be called multiple times to change or remove the factory that matches the specified |scheme_name| and optional |domain_name|. Returns false (0) if an error occurs. This function may be called on any thread in the browser process. Using this function is equivalent to calling cef_request_tCo ntext::cef_request_context_get_global_context()->register_scheme_handler_fact ory(). /
func RunMessageLoop ¶
func RunMessageLoop()
func StringListAppend ¶
func StringListAppend(list CStringListT, value string)
/ Append a new value at the end of the string list. /
func StringListSize ¶
func StringListSize(list CStringListT) int
func StringListValue ¶
func StringListValue(list CStringListT, index int) (s string, err error)
/ Retrieve the value at the specified zero-based string list index. Returns true (1) if the value was successfully retrieved. /
func V8contextInContext ¶
func V8contextInContext() bool
Types ¶
type CAppT ¶
type CAppT struct {
// contains filtered or unexported fields
}
Go type for cef_app_t
func (*CAppT) AssocBrowserProcessHandler ¶
func (app *CAppT) AssocBrowserProcessHandler(handler *CBrowserProcessHandlerT)
AssocBrowserProcessHandler associate a hander to app
func (*CAppT) AssocRenderProcessHandler ¶
func (app *CAppT) AssocRenderProcessHandler(handler *CRenderProcessHandlerT)
AssocRenderProcessHandler associate a hander to app
type CAppTAccessor ¶
type CBinaryValueT ¶
type CBinaryValueT struct {
// contains filtered or unexported fields
}
Go type for cef_binary_value_t
func BinaryValueCreate ¶
func BinaryValueCreate(data []byte) *CBinaryValueT
type CBinaryValueTAccessor ¶
type CBinaryValueTAccessor interface { GetCBinaryValueT() *CBinaryValueT SetCBinaryValueT(*CBinaryValueT) }
type CBrowserHostT ¶
type CBrowserHostT struct {
// contains filtered or unexported fields
}
Go type for cef_browser_host_t
func (*CBrowserHostT) RunFileDialog ¶
func (h *CBrowserHostT) RunFileDialog( mode CFileDialogModeT, title string, default_file_path string, accept_filters CStringListT, selected_accept_filter int, callback *CRunFileDialogCallbackT, )
/ Call to run a file chooser dialog. Only a single file chooser dialog may be pending at any given time. |mode| represents the type of dialog to display. |title| to the title to be used for the dialog and may be NULL to show the default title ("Open" or "Save" depending on the mode). |default_file_path| is the path with optional directory and/or file name component that will be initially selected in the dialog. |accept_filters| are used to restrict the selectable file types and may any combination of (a) valid lower-cased MIME types (e.g. "text/*" or "image/*"), (b) individual file extensions (e.g. ".txt" or ".png"), or (c) combined description and file extension delimited using "|" and ";" (e.g. "Image Types|.png;.gif;.jpg"). |selected_accept_filter| is the 0-based index of the filter that will be selected by default. |callback| will be executed after the dialog is dismissed or immediately if another dialog is already pending. The dialog will be initiated asynchronously on the UI thread. /
type CBrowserHostTAccessor ¶
type CBrowserHostTAccessor interface { GetCBrowserHostT() *CBrowserHostT SetCBrowserHostT(*CBrowserHostT) }
type CBrowserProcessHandlerT ¶
type CBrowserProcessHandlerT struct {
// contains filtered or unexported fields
}
Go type for cef_browser_process_handler_t
func AllocCBrowserProcessHandlerT ¶
func AllocCBrowserProcessHandlerT() *CBrowserProcessHandlerT
func (*CBrowserProcessHandlerT) Bind ¶
func (bph *CBrowserProcessHandlerT) Bind(handler interface{}) *CBrowserProcessHandlerT
type CBrowserProcessHandlerTAccessor ¶
type CBrowserProcessHandlerTAccessor interface { GetCBrowserProcessHandlerT() *CBrowserProcessHandlerT SetCBrowserProcessHandlerT(*CBrowserProcessHandlerT) }
type CBrowserT ¶
type CBrowserT struct {
// contains filtered or unexported fields
}
Go type for cef_browser_t
func (*CBrowserT) GetFocusedFrame ¶
/ Returns the focused frame for the browser window. /
func (*CBrowserT) GetHost ¶
func (self *CBrowserT) GetHost() *CBrowserHostT
func (*CBrowserT) SendProcessMessage ¶
func (self *CBrowserT) SendProcessMessage( target_process CProcessIdT, message *CProcessMessageT) bool
/ Send a message to the specified |target_process|. Returns true (1) if the message was sent successfully. /
type CBrowserTAccessor ¶
type CCallbackT ¶
type CCallbackT struct {
// contains filtered or unexported fields
}
Go type for cef_callback_t
func (*CCallbackT) Cancel ¶
func (self *CCallbackT) Cancel()
func (*CCallbackT) Cont ¶
func (self *CCallbackT) Cont()
type CCallbackTAccessor ¶
type CCallbackTAccessor interface { GetCCallbackT() *CCallbackT SetCCallbackT(*CCallbackT) }
type CClientT ¶
type CClientT struct {
// contains filtered or unexported fields
}
Go type for cef_client_t
func (*CClientT) AssocLifeSpanHandler ¶
func (client *CClientT) AssocLifeSpanHandler(handler *CLifeSpanHandlerT)
AssocLifeSpanHandler associate hander to client
type CClientTAccessor ¶
type CCommandLineT ¶
type CCommandLineT C.cef_command_line_t
type CContextMenuHandlerT ¶
type CContextMenuHandlerT C.cef_context_menu_handler_t
type CCookieT ¶
type CCookieT C.cef_cookie_t
type CDialogHandlerT ¶
type CDialogHandlerT C.cef_dialog_handler_t
type CDictionaryValueT ¶
type CDictionaryValueT struct {
// contains filtered or unexported fields
}
Go type for cef_dictionary_value_t
func DictionaryValueCreate ¶
func DictionaryValueCreate() *CDictionaryValueT
type CDictionaryValueTAccessor ¶
type CDictionaryValueTAccessor interface { GetCDictionaryValueT() *CDictionaryValueT SetCDictionaryValueT(*CDictionaryValueT) }
type CDisplayHandlerT ¶
type CDisplayHandlerT C.cef_display_handler_t
type CDomnodeT ¶
type CDomnodeT C.cef_domnode_t
type CDownloaddHanderT ¶
type CDownloaddHanderT C.cef_download_handler_t
type CDragHandlerT ¶
type CDragHandlerT C.cef_drag_handler_t
type CErrorcodeT ¶
type CErrorcodeT C.cef_errorcode_t
const ( ErrNone CErrorcodeT = C.ERR_NONE ErrFailed CErrorcodeT = C.ERR_FAILED ErrAborted CErrorcodeT = C.ERR_ABORTED ErrInvalidArgument CErrorcodeT = C.ERR_INVALID_ARGUMENT ErrInvalidHandle CErrorcodeT = C.ERR_INVALID_HANDLE ErrFileNotFound CErrorcodeT = C.ERR_FILE_NOT_FOUND ErrTimedOut CErrorcodeT = C.ERR_TIMED_OUT ErrFileTooBig CErrorcodeT = C.ERR_FILE_TOO_BIG ErrUnexpected CErrorcodeT = C.ERR_UNEXPECTED ErrAccessDenied CErrorcodeT = C.ERR_ACCESS_DENIED ErrNotImplemented CErrorcodeT = C.ERR_NOT_IMPLEMENTED )
type CFileDialogModeT ¶
type CFileDialogModeT C.cef_file_dialog_mode_t
const ( FileDialogOpen CFileDialogModeT = C.FILE_DIALOG_OPEN FileDialogOpenMultiple CFileDialogModeT = C.FILE_DIALOG_OPEN_MULTIPLE FileDialogOpenFolder CFileDialogModeT = C.FILE_DIALOG_OPEN_FOLDER FileDialogSave CFileDialogModeT = C.FILE_DIALOG_SAVE FileDialogTypeMask CFileDialogModeT = C.FILE_DIALOG_TYPE_MASK FileDialogOverwritepromptFlag CFileDialogModeT = C.FILE_DIALOG_OVERWRITEPROMPT_FLAG FileDialogHidereadonlyFlag CFileDialogModeT = C.FILE_DIALOG_HIDEREADONLY_FLAG )
type CFindHandlerT ¶
type CFindHandlerT C.cef_find_handler_t
type CFocusHanderT ¶
type CFocusHanderT C.cef_focus_handler_t
type CFrameT ¶
type CFrameT struct {
// contains filtered or unexported fields
}
Go type for cef_frame_t
func (*CFrameT) GetUrl ¶
/ Returns the URL currently loaded in this frame. / The resulting string must be freed by calling cef_string_userfree_free().
func (*CFrameT) GetV8context ¶
func (self *CFrameT) GetV8context() (context *CV8contextT)
type CFrameTAccessor ¶
type CJsdialogHandlerT ¶
type CJsdialogHandlerT C.cef_jsdialog_handler_t
type CKeyboardHandlerT ¶
type CKeyboardHandlerT C.cef_keyboard_handler_t
type CLifeSpanHandlerT ¶
type CLifeSpanHandlerT struct {
// contains filtered or unexported fields
}
Go type for cef_life_span_handler_t
func AllocCLifeSpanHandlerT ¶
func AllocCLifeSpanHandlerT() *CLifeSpanHandlerT
func (*CLifeSpanHandlerT) Bind ¶
func (lsh *CLifeSpanHandlerT) Bind(handler interface{}) *CLifeSpanHandlerT
type CLifeSpanHandlerTAccessor ¶
type CLifeSpanHandlerTAccessor interface { GetCLifeSpanHandlerT() *CLifeSpanHandlerT SetCLifeSpanHandlerT(*CLifeSpanHandlerT) }
type CListValueT ¶
type CListValueT struct {
// contains filtered or unexported fields
}
Go type for cef_list_value_t
func ListValueCreate ¶
func ListValueCreate() *CListValueT
func (*CListValueT) Clear ¶
func (l *CListValueT) Clear() bool
/ Removes all values. Returns true (1) on success. /
func (*CListValueT) Copy ¶
func (l *CListValueT) Copy() (d *CListValueT)
/ Returns a writable copy of this object. /
func (*CListValueT) GetBinary ¶
func (l *CListValueT) GetBinary(index int) *CBinaryValueT
/ Returns the value at the specified index as type binary. The returned value will reference existing data. /
func (*CListValueT) GetBool ¶
func (l *CListValueT) GetBool(index int) bool
/ Returns the value at the specified index as type bool. /
func (*CListValueT) GetDictionary ¶
func (l *CListValueT) GetDictionary(index int) *CDictionaryValueT
/ Returns the value at the specified index as type dictionary. The returned value will reference existing data and modifications to the value will modify this object. /
func (*CListValueT) GetDouble ¶
func (l *CListValueT) GetDouble(index int) float64
/ Returns the value at the specified index as type double. /
func (*CListValueT) GetInt ¶
func (l *CListValueT) GetInt(index int) int
/ Returns the value at the specified index as type int. /
func (*CListValueT) GetList ¶
func (l *CListValueT) GetList(index int) *CListValueT
/ Returns the value at the specified index as type list. The returned value will reference existing data and modifications to the value will modify this object. /
func (*CListValueT) GetString ¶
func (l *CListValueT) GetString(index int) (s string)
/ Returns the value at the specified index as type string. / The resulting string must be freed by calling cef_string_userfree_free().
func (*CListValueT) GetType ¶
func (l *CListValueT) GetType(index int) CValueTypeT
/ Returns the value type at the specified index. /
func (*CListValueT) GetValue ¶
func (l *CListValueT) GetValue(index int) *CValueT
/ Returns the value at the specified index. For simple types the returned value will copy existing data and modifications to the value will not modify this object. For complex types (binary, dictionary and list) the returned value will reference existing data and modifications to the value will modify this object. /
func (*CListValueT) IsEqual ¶
func (l *CListValueT) IsEqual(that *CListValueT) bool
/ Returns true (1) if this object and |that| object have an equivalent underlying value but are not necessarily the same object. /
func (*CListValueT) IsOwned ¶
func (l *CListValueT) IsOwned() bool
/ Returns true (1) if this object is currently owned by another object. /
func (*CListValueT) IsReadOnly ¶
func (l *CListValueT) IsReadOnly() bool
/ Returns true (1) if the values of this object are read-only. Some APIs may expose read-only objects. /
func (*CListValueT) IsSame ¶
func (l *CListValueT) IsSame(that *CListValueT) bool
/ Returns true (1) if this object and |that| object have the same underlying data. If true (1) modifications to this object will also affect |that| object and vice-versa. /
func (*CListValueT) IsValid ¶
func (l *CListValueT) IsValid() bool
/ Returns true (1) if this object is valid. This object may become invalid if the underlying data is owned by another object (e.g. list or dictionary) and that other object is then modified or destroyed. Do not call any other functions if this function returns false (0). /
func (*CListValueT) Remove ¶
func (l *CListValueT) Remove(index int) bool
/ Removes the value at the specified index. /
func (*CListValueT) SetBinary ¶
func (l *CListValueT) SetBinary(index int, value *CBinaryValueT) bool
/ Sets the value at the specified index as type binary. Returns true (1) if the value was set successfully. If |value| is currently owned by another object then the value will be copied and the |value| reference will not change. Otherwise, ownership will be transferred to this object and the |value| reference will be invalidated. /
func (*CListValueT) SetBool ¶
func (l *CListValueT) SetBool(index int, b bool) bool
/ Sets the value at the specified index as type bool. Returns true (1) if the value was set successfully. /
func (*CListValueT) SetDictionary ¶
func (l *CListValueT) SetDictionary(index int, value *CDictionaryValueT) bool
/ Sets the value at the specified index as type dict. Returns true (1) if the value was set successfully. If |value| is currently owned by another object then the value will be copied and the |value| reference will not change. Otherwise, ownership will be transferred to this object and the |value| reference will be invalidated. /
func (*CListValueT) SetDouble ¶
func (l *CListValueT) SetDouble(index int, value float64) bool
/ Sets the value at the specified index as type double. Returns true (1) if the value was set successfully. /
func (*CListValueT) SetInt ¶
func (l *CListValueT) SetInt(index int, value int) bool
/ Sets the value at the specified index as type int. Returns true (1) if the value was set successfully. /
func (*CListValueT) SetList ¶
func (l *CListValueT) SetList(index int, value *CListValueT) bool
/ Sets the value at the specified index as type list. Returns true (1) if the value was set successfully. If |value| is currently owned by another object then the value will be copied and the |value| reference will not change. Otherwise, ownership will be transferred to this object and the |value| reference will be invalidated. /
func (*CListValueT) SetNull ¶
func (l *CListValueT) SetNull(index int) bool
/ Sets the value at the specified index as type null. Returns true (1) if the value was set successfully. /
func (*CListValueT) SetSize ¶
func (l *CListValueT) SetSize(size int) bool
/ Sets the number of values. If the number of values is expanded all new value slots will default to type null. Returns true (1) on success. /
func (*CListValueT) SetString ¶
func (l *CListValueT) SetString(index int, s string) bool
/ Sets the value at the specified index as type string. Returns true (1) if the value was set successfully. /
func (*CListValueT) SetValue ¶
func (l *CListValueT) SetValue(index int, value *CValueT) bool
/ Sets the value at the specified index. Returns true (1) if the value was set successfully. If |value| represents simple data then the underlying data will be copied and modifications to |value| will not modify this object. If |value| represents complex data (binary, dictionary or list) then the underlying data will be referenced and modifications to |value| will modify this object. /
type CListValueTAccessor ¶
type CListValueTAccessor interface { GetCListValueT() *CListValueT SetCListValueT(*CListValueT) }
type CLoadHandlerT ¶
type CLoadHandlerT struct {
// contains filtered or unexported fields
}
Go type for cef_load_handler_t
func AllocCLoadHandlerT ¶
func AllocCLoadHandlerT() *CLoadHandlerT
AllocCLoadHandlerT allocates CLoadHandlerT and construct it
func (*CLoadHandlerT) Bind ¶
func (lh *CLoadHandlerT) Bind(handler interface{}) *CLoadHandlerT
type CLoadHandlerTAccessor ¶
type CLoadHandlerTAccessor interface { GetCLoadHandlerT() *CLoadHandlerT SetCLoadHandlerT(*CLoadHandlerT) }
type CLogSeverityT ¶
type CLogSeverityT C.cef_log_severity_t
const ( LogSeverityDefault CLogSeverityT = C.LOGSEVERITY_DEFAULT LogSeverityVerbose CLogSeverityT = C.LOGSEVERITY_VERBOSE LogSeverityDebug CLogSeverityT = C.LOGSEVERITY_DEBUG LogSeverityInfo CLogSeverityT = C.LOGSEVERITY_INFO LogSeverityWarning CLogSeverityT = C.LOGSEVERITY_WARNING LogSeverityError CLogSeverityT = C.LOGSEVERITY_ERROR LogSeverityDisable CLogSeverityT = C.LOGSEVERITY_DISABLE )
type CProcessIdT ¶
type CProcessIdT C.cef_process_id_t
const ( PidBrowser CProcessIdT = C.PID_BROWSER PidRenderer CProcessIdT = C.PID_RENDERER )
type CProcessMessageT ¶
type CProcessMessageT struct {
// contains filtered or unexported fields
}
Go type for cef_process_message_t
func ProcessMessageCreate ¶
func ProcessMessageCreate(name string) *CProcessMessageT
func (*CProcessMessageT) Copy ¶
func (self *CProcessMessageT) Copy() *CProcessMessageT
func (*CProcessMessageT) GetArgumentList ¶
func (self *CProcessMessageT) GetArgumentList() *CListValueT
func (*CProcessMessageT) GetName ¶
func (self *CProcessMessageT) GetName() string
func (*CProcessMessageT) IsReadOnly ¶
func (self *CProcessMessageT) IsReadOnly() bool
func (*CProcessMessageT) IsValid ¶
func (self *CProcessMessageT) IsValid() bool
type CProcessMessageTAccessor ¶
type CProcessMessageTAccessor interface { GetCProcessMessageT() *CProcessMessageT SetCProcessMessageT(*CProcessMessageT) }
type CRenderHandlerT ¶
type CRenderHandlerT C.cef_render_handler_t
type CRenderProcessHandlerT ¶
type CRenderProcessHandlerT struct {
// contains filtered or unexported fields
}
Go type for cef_render_process_handler_t
func AllocCRenderProcessHandlerT ¶
func AllocCRenderProcessHandlerT() *CRenderProcessHandlerT
func (*CRenderProcessHandlerT) AssocLoadHandler ¶
func (rph *CRenderProcessHandlerT) AssocLoadHandler(h *CLoadHandlerT)
AssocLoadHandler associate hander to CRenderProcessHandlerT
func (*CRenderProcessHandlerT) Bind ¶
func (rph *CRenderProcessHandlerT) Bind(handler interface{}) *CRenderProcessHandlerT
type CRenderProcessHandlerTAccessor ¶
type CRenderProcessHandlerTAccessor interface { GetCRenderProcessHandlerT() *CRenderProcessHandlerT SetCRenderProcessHandlerT(*CRenderProcessHandlerT) }
type CRequestHandlerT ¶
type CRequestHandlerT C.cef_request_handler_t
type CRequestT ¶
type CRequestT struct {
// contains filtered or unexported fields
}
Go type for cef_request_t
type CRequestTAccessor ¶
type CResourceBundleHanderT ¶
type CResourceBundleHanderT C.cef_resource_bundle_handler_t
type CResourceHandlerT ¶
type CResourceHandlerT struct {
// contains filtered or unexported fields
}
Go type for cef_resource_handler_t
func AllocCResourceHanderT ¶
func AllocCResourceHanderT() *CResourceHandlerT
func (*CResourceHandlerT) Bind ¶
func (rh *CResourceHandlerT) Bind(handler interface{}) *CResourceHandlerT
type CResourceHandlerTAccessor ¶
type CResourceHandlerTAccessor interface { GetCResourceHandlerT() *CResourceHandlerT SetCResourceHandlerT(*CResourceHandlerT) }
type CResponseT ¶
type CResponseT struct {
// contains filtered or unexported fields
}
Go type for cef_response_t
func (*CResponseT) DumpHeaders ¶
func (self *CResponseT) DumpHeaders()
func (*CResponseT) SetError ¶
func (self *CResponseT) SetError( errorCode CErrorcodeT, )
/ Set the response error code. This can be used by custom scheme handlers to return errors during initial request processing. /
func (*CResponseT) SetHeaderMap ¶
func (self *CResponseT) SetHeaderMap(headers []StringMap)
func (*CResponseT) SetMimeType ¶
func (self *CResponseT) SetMimeType(mimeType string)
/ Set the response mime type. /
func (*CResponseT) SetStatus ¶
func (self *CResponseT) SetStatus( status int, )
/ Set the response status code. /
func (*CResponseT) SetStatusText ¶
func (self *CResponseT) SetStatusText( statusText string, )
/ Set the response status text. /
type CResponseTAccessor ¶
type CResponseTAccessor interface { GetCResponseT() *CResponseT SetCResponseT(*CResponseT) }
type CRunFileDialogCallbackT ¶
type CRunFileDialogCallbackT struct {
// contains filtered or unexported fields
}
Go type for cef_run_file_dialog_callback_t
func AllocCRunFileDialogCallbackT ¶
func AllocCRunFileDialogCallbackT() *CRunFileDialogCallbackT
func (*CRunFileDialogCallbackT) Bind ¶
func (rfdc *CRunFileDialogCallbackT) Bind(callback RunFileDialogCallback) *CRunFileDialogCallbackT
type CRunFileDialogCallbackTAccessor ¶
type CRunFileDialogCallbackTAccessor interface { GetCRunFileDialogCallbackT() *CRunFileDialogCallbackT SetCRunFileDialogCallbackT(*CRunFileDialogCallbackT) }
type CSchemeHandlerFactoryT ¶
type CSchemeHandlerFactoryT struct {
// contains filtered or unexported fields
}
Go type for cef_scheme_handler_factory_t
func AllocCSchemeHandlerFactoryT ¶
func AllocCSchemeHandlerFactoryT() *CSchemeHandlerFactoryT
func (*CSchemeHandlerFactoryT) Bind ¶
func (factory *CSchemeHandlerFactoryT) Bind(f SchemeHandlerFactory) *CSchemeHandlerFactoryT
type CSchemeHandlerFactoryTAccessor ¶
type CSchemeHandlerFactoryTAccessor interface { GetCSchemeHandlerFactoryT() *CSchemeHandlerFactoryT SetCSchemeHandlerFactoryT(*CSchemeHandlerFactoryT) }
type CSchemeOptionsT ¶
type CSchemeOptionsT C.cef_scheme_options_t
const ( CSchemeOptionNone CSchemeOptionsT = C.CEF_SCHEME_OPTION_NONE CSchemeOptionStandard CSchemeOptionsT = C.CEF_SCHEME_OPTION_STANDARD CSchemeOptionLocal CSchemeOptionsT = C.CEF_SCHEME_OPTION_LOCAL CSchemeOptionDisplayIsolated CSchemeOptionsT = C.CEF_SCHEME_OPTION_DISPLAY_ISOLATED CSchemeOptionSecure CSchemeOptionsT = C.CEF_SCHEME_OPTION_SECURE CSchemeOptionCorsEnabled CSchemeOptionsT = C.CEF_SCHEME_OPTION_CORS_ENABLED CSchemeOptionCspBypassing CSchemeOptionsT = C.CEF_SCHEME_OPTION_CSP_BYPASSING CSchemeOptionFetchEnabled CSchemeOptionsT = C.CEF_SCHEME_OPTION_FETCH_ENABLED )
type CSchemeRegistrarT ¶
type CSchemeRegistrarT C.cef_scheme_registrar_t // this dose not has 'cef_base_ref_counted_t base', but also 'cef_base_scoped_t base'
func (*CSchemeRegistrarT) AddCustomScheme ¶
func (self *CSchemeRegistrarT) AddCustomScheme( scheme_name string, options CSchemeOptionsT, ) int
type CStringListT ¶
type CStringListT C.cef_string_list_t
func StringListAlloc ¶
func StringListAlloc() (sl CStringListT)
func StringListCopy ¶
func StringListCopy(list CStringListT) CStringListT
/ Creates a copy of an existing string list. /
type CTransitionTypeT ¶
type CTransitionTypeT C.cef_transition_type_t
const ( TtLink CTransitionTypeT = C.TT_LINK TtExplicit CTransitionTypeT = C.TT_EXPLICIT TtAutoSubframe CTransitionTypeT = C.TT_AUTO_SUBFRAME TtManualSubframe CTransitionTypeT = C.TT_MANUAL_SUBFRAME TtFormSubmit CTransitionTypeT = C.TT_FORM_SUBMIT TtReload CTransitionTypeT = C.TT_RELOAD TtSourceMask CTransitionTypeT = C.TT_SOURCE_MASK TtBlockedFlag CTransitionTypeT = C.TT_BLOCKED_FLAG TtForwardBackFlag CTransitionTypeT = C.TT_FORWARD_BACK_FLAG TtChainStartFlag CTransitionTypeT = C.TT_CHAIN_START_FLAG TtChainEndFlag CTransitionTypeT = C.TT_CHAIN_END_FLAG TtClientRedirectFlag CTransitionTypeT = C.TT_CLIENT_REDIRECT_FLAG TtServerRedirectFlag CTransitionTypeT = C.TT_SERVER_REDIRECT_FLAG TtIsRedirectMask CTransitionTypeT = C.TT_IS_REDIRECT_MASK TtQualifierMask CTransitionTypeT = C.TT_QUALIFIER_MASK )
type CV8accessorT ¶
type CV8accessorT C.cef_v8accessor_t
type CV8arrayBufferReleaseCallbackT ¶
type CV8arrayBufferReleaseCallbackT struct {
// contains filtered or unexported fields
}
Go type for cef_v8array_buffer_release_callback_t
func AllocCV8arrayBufferReleaseCallbackT ¶
func AllocCV8arrayBufferReleaseCallbackT() *CV8arrayBufferReleaseCallbackT
AllocCV8arrayBufferReleaseCallbackT allocates CV8arrayBufferReleaseCallbackT and construct it
type CV8arrayBufferReleaseCallbackTAccessor ¶
type CV8arrayBufferReleaseCallbackTAccessor interface { GetCV8arrayBufferReleaseCallbackT() *CV8arrayBufferReleaseCallbackT SetCV8arrayBufferReleaseCallbackT(*CV8arrayBufferReleaseCallbackT) }
type CV8contextT ¶
type CV8contextT struct {
// contains filtered or unexported fields
}
Go type for cef_v8context_t
func V8contextGetEnterdContext ¶
func V8contextGetEnterdContext() (context *CV8contextT)
func (*CV8contextT) Enter ¶
func (self *CV8contextT) Enter() bool
func (*CV8contextT) Eval ¶
func (self *CV8contextT) Eval(code string, retval **CV8valueT, e **CV8exceptionT) (ret bool)
func (*CV8contextT) Exit ¶
func (self *CV8contextT) Exit() bool
func (*CV8contextT) GetBrowser ¶
func (self *CV8contextT) GetBrowser() *CBrowserT
func (*CV8contextT) GetFrame ¶
func (self *CV8contextT) GetFrame() *CFrameT
func (*CV8contextT) GetGlobal ¶
func (self *CV8contextT) GetGlobal() *CV8valueT
func (*CV8contextT) IsSame ¶
func (self *CV8contextT) IsSame(that *CV8contextT) bool
func (*CV8contextT) IsValid ¶
func (self *CV8contextT) IsValid() bool
type CV8contextTAccessor ¶
type CV8contextTAccessor interface { GetCV8contextT() *CV8contextT SetCV8contextT(*CV8contextT) }
type CV8exceptionT ¶
type CV8exceptionT struct {
// contains filtered or unexported fields
}
Go type for cef_v8exception_t
func (*CV8exceptionT) GetMessage ¶
func (self *CV8exceptionT) GetMessage() (msg string)
type CV8exceptionTAccessor ¶
type CV8exceptionTAccessor interface { GetCV8exceptionT() *CV8exceptionT SetCV8exceptionT(*CV8exceptionT) }
type CV8handlerT ¶
type CV8handlerT struct {
// contains filtered or unexported fields
}
Go type for cef_v8handler_t
func AllocCV8handlerT ¶
func AllocCV8handlerT() *CV8handlerT
AllocCV8handlerT allocates CV8handlerT and construct it
func (*CV8handlerT) Bind ¶
func (v8handler *CV8handlerT) Bind(handler V8handler) *CV8handlerT
func (*CV8handlerT) HasOneRef ¶
func (h *CV8handlerT) HasOneRef() bool
type CV8handlerTAccessor ¶
type CV8handlerTAccessor interface { GetCV8handlerT() *CV8handlerT SetCV8handlerT(*CV8handlerT) }
type CV8interceptorT ¶
type CV8interceptorT C.cef_v8interceptor_t
type CV8stackTraceT ¶
type CV8stackTraceT struct {
// contains filtered or unexported fields
}
Go type for cef_v8stack_trace_t
type CV8stackTraceTAccessor ¶
type CV8stackTraceTAccessor interface { GetCV8stackTraceT() *CV8stackTraceT SetCV8stackTraceT(*CV8stackTraceT) }
type CV8valueT ¶
type CV8valueT struct {
// contains filtered or unexported fields
}
Go type for cef_v8value_t
func V8valueCreateBool ¶ added in v0.1.2
func V8valueCreateDate ¶
func V8valueCreateDouble ¶
func V8valueCreateFunction ¶
func V8valueCreateFunction(name string, handler *CV8handlerT) (function *CV8valueT)
V8valueCreateFunction create V8 function / Create a new cef_v8value_t object of type function. This function should only be called from within the scope of a cef_render_process_handler_t, cef_v8handler_t or cef_v8accessor_t callback, or in combination with calling enter() and exit() on a stored cef_v8context_t reference. https://github.com/chromiumembedded/cef/blob/3497/include/capi/cef_v8_capi.h#L812-L819 /
func V8valueCreateInt ¶
func V8valueCreateNull ¶ added in v0.1.2
func V8valueCreateNull() *CV8valueT
func V8valueCreateObject ¶
func V8valueCreateObject(accessor *CV8accessorT, interceptor *CV8interceptorT) *CV8valueT
func V8valueCreateString ¶
func V8valueCreateUint ¶
func V8valueCreateUndefined ¶ added in v0.1.2
func V8valueCreateUndefined() *CV8valueT
func (*CV8valueT) ClearException ¶
func (*CV8valueT) DeleteValueByindex ¶ added in v0.1.3
func (*CV8valueT) DeleteValueBykey ¶
func (*CV8valueT) ExecuteFunction ¶
func (*CV8valueT) GetBoolValue ¶
func (*CV8valueT) GetDateValue ¶
func (*CV8valueT) GetDoubleValue ¶
func (*CV8valueT) GetException ¶
func (self *CV8valueT) GetException() *CV8exceptionT
func (*CV8valueT) GetFunctionName ¶
func (*CV8valueT) GetIntValue ¶
func (*CV8valueT) GetStringValue ¶
func (*CV8valueT) GetUintValue ¶
func (*CV8valueT) GetValueByindex ¶ added in v0.1.3
func (*CV8valueT) GetValueBykey ¶
func (*CV8valueT) HasException ¶
func (*CV8valueT) HasValueByindex ¶ added in v0.1.3
func (*CV8valueT) HasValueBykey ¶
func (*CV8valueT) IsArrayBuffer ¶
func (*CV8valueT) IsFunction ¶
func (*CV8valueT) IsUndefined ¶
func (*CV8valueT) SetValueByindex ¶ added in v0.1.3
type CV8valueTAccessor ¶
type CValueT ¶
type CValueT struct {
// contains filtered or unexported fields
}
Go type for cef_value_t
func ValueCreate ¶
func ValueCreate() *CValueT
type CValueTAccessor ¶
type CValueTypeT ¶
type CValueTypeT C.cef_value_type_t
const ( VtypeInvalid CValueTypeT = C.VTYPE_INVALID VtypeNull CValueTypeT = C.VTYPE_NULL VtypeBool CValueTypeT = C.VTYPE_BOOL VtypeInt CValueTypeT = C.VTYPE_INT VtypeDouble CValueTypeT = C.VTYPE_DOUBLE VtypeString CValueTypeT = C.VTYPE_STRING VtypeBinary CValueTypeT = C.VTYPE_BINARY VtypeDictionary CValueTypeT = C.VTYPE_DICTIONARY VtypeList CValueTypeT = C.VTYPE_LIST )
type CanGetCookieHandler ¶
type CanGetCookieHandler interface { CanGetCookie( self *CResourceHandlerT, cookie *CCookieT, ) bool }
/ Return true (1) if the specified cookie can be sent with the request or false (0) otherwise. If false (0) is returned for any cookie then no cookies will be sent with the request. /
type CanSetCookieHandler ¶
type CanSetCookieHandler interface { CanSetCookie( self *CResourceHandlerT, cookie *CCookieT, ) bool }
/ Return true (1) if the specified cookie returned with the response can be set or false (0) otherwise. /
type CancelHandler ¶
type CancelHandler interface {
Cancel(self *CResourceHandlerT)
}
/ Request processing has been canceled. /
type DeassocFunc ¶
type DeassocFunc func()
func (DeassocFunc) Deassoc ¶
func (f DeassocFunc) Deassoc()
type DoCloseHandler ¶
type DoCloseHandler interface {
DoClose(self *CLifeSpanHandlerT, brwoser *CBrowserT) bool
}
/ Called when a browser has recieved a request to close. This may result directly from a call to cef_browser_host_t::*close_browser() or indirectly if the browser is parented to a top-level window created by CEF and the user attempts to close that window (by clicking the 'X', for example). The do_close() function will be called after the JavaScript 'onunload' event has been fired.
An application should handle top-level owner window close notifications by calling cef_browser_host_t::try_close_browser() or cef_browser_host_t::CloseBrowser(false (0)) instead of allowing the window to close immediately (see the examples below). This gives CEF an opportunity to process the 'onbeforeunload' event and optionally cancel the close before do_close() is called.
When windowed rendering is enabled CEF will internally create a window or view to host the browser. In that case returning false (0) from do_close() will send the standard close notification to the browser's top-level owner window (e.g. WM_CLOSE on Windows, performClose: on OS X, "delete_event" on Linux or cef_window_delegate_t::can_close() callback from Views). If the browser's host window/view has already been destroyed (via view hierarchy tear-down, for example) then do_close() will not be called for that browser since is no longer possible to cancel the close.
When windowed rendering is disabled returning false (0) from do_close() will cause the browser object to be destroyed immediately.
If the browser's top-level owner window requires a non-standard close notification then send that notification from do_close() and return true (1).
The cef_life_span_handler_t::on_before_close() function will be called after do_close() (if do_close() is called) and immediately before the browser object is destroyed. The application should only exit after on_before_close() has been called for all existing browsers.
The below examples describe what should happen during window close when the browser is parented to an application-provided top-level window.
Example 1: Using cef_browser_host_t::try_close_browser(). This is recommended for clients using standard close handling and windows created on the browser process UI thread. 1. User clicks the window close button which sends a close notification to
the application's top-level window.
- Application's top-level window receives the close notification and calls TryCloseBrowser() (which internally calls CloseBrowser(false)). TryCloseBrowser() returns false so the client cancels the window close.
- JavaScript 'onbeforeunload' handler executes and shows the close confirmation dialog (which can be overridden via CefJSDialogHandler::OnBeforeUnloadDialog()).
- User approves the close. 5. JavaScript 'onunload' handler executes. 6.
CEF sends a close notification to the application's top-level window
(because DoClose() returned false by default).
- Application's top-level window receives the close notification and calls TryCloseBrowser(). TryCloseBrowser() returns true so the client allows the window close.
- Application's top-level window is destroyed. 9. Application's
on_before_close() handler is called and the browser object
is destroyed.
10. Application exits by calling cef_quit_message_loop() if no other browsers
exist.
Example 2: Using cef_browser_host_t::CloseBrowser(false (0)) and implementing the do_close() callback. This is recommended for clients using non-standard close handling or windows that were not created on the browser process UI thread. 1. User clicks the window close button which sends a close notification to
the application's top-level window.
- Application's top-level window receives the close notification and: A. Calls CefBrowserHost::CloseBrowser(false). B. Cancels the window close.
- JavaScript 'onbeforeunload' handler executes and shows the close confirmation dialog (which can be overridden via CefJSDialogHandler::OnBeforeUnloadDialog()).
- User approves the close. 5. JavaScript 'onunload' handler executes. 6.
Application's do_close() handler is called. Application will:
A. Set a flag to indicate that the next close attempt will be allowed. B. Return false.
- CEF sends an close notification to the application's top-level window.
- Application's top-level window receives the close notification and allows the window to close based on the flag from #6B.
- Application's top-level window is destroyed. 10. Application's
on_before_close() handler is called and the browser object
is destroyed.
11. Application exits by calling cef_quit_message_loop() if no other browsers
exist.
type GetResponseHeadersHandler ¶
type GetResponseHeadersHandler interface { GetResponseHeaders( self *CResourceHandlerT, response *CResponseT, response_length *int64, redirectUrl *string) }
/ Retrieve response header information. If the response length is not known set |response_length| to -1 and read_response() will be called until it returns false (0). If the response length is known set |response_length| to a positive value and read_response() will be called until it returns false (0) or the specified number of bytes have been read. Use the |response| object to set the mime type, http status code and other optional header values. To redirect the request to a new URL set |redirectUrl| to the new URL. If an error occured while setting up the request you can call set_error() on |response| to indicate the error condition. /
type OnAfterCreatedHandler ¶
type OnAfterCreatedHandler interface {
OnAfterCreated(self *CLifeSpanHandlerT, brwoser *CBrowserT)
}
/ Called after a new browser is created. This callback will be the first notification that references |browser|. https://github.com/chromiumembedded/cef/blob/3497/include/capi/cef_life_span_handler_capi.h#L99-#L102 /
type OnBeforeChildProcessLaunch ¶
type OnBeforeChildProcessLaunch interface { OnBeforeChildProcessLaunch( self *CBrowserProcessHandlerT, command_line *CCommandLineT, ) }
/ Called before a child process is launched. Will be called on the browser process UI thread when launching a render process and on the browser process IO thread when launching a GPU or plugin process. Provides an opportunity to modify the child process command line. Do not keep a reference to |command_line| outside of this function. /
type OnBeforeCloseHandler ¶
type OnBeforeCloseHandler interface {
OnBeforeClose(self *CLifeSpanHandlerT, brwoser *CBrowserT)
}
/ Called just before a browser is destroyed. Release all references to the browser object and do not attempt to execute any functions on the browser object after this callback returns. This callback will be the last notification that references |browser|. See do_close() documentation for additional usage information. https://github.com/chromiumembedded/cef/blob/3497/include/capi/cef_life_span_handler_capi.h#L198-#L206 /
type OnBeforeCommandLineProcessingHandler ¶
type OnBeforeCommandLineProcessingHandler interface { /// // Provides an opportunity to view and/or modify command-line arguments before // processing by CEF and Chromium. The |process_type| value will be NULL for // the browser process. Do not keep a reference to the cef_command_line_t // object passed to this function. The CefSettings.command_line_args_disabled // value can be used to start with an NULL command-line object. Any values // specified in CefSettings that equate to command-line arguments will be set // before this function is called. Be cautious when using this function to // modify command-line arguments for non-browser processes as this may result // in undefined behavior including crashes. // https://github.com/chromiumembedded/cef/blob/3497/include/capi/cef_app_capi.h#L66-L80 /// OnBeforeCommandLineProcessing(self *CAppT, process_type string, command_line *CCommandLineT) }
Client is Go interface of C.cef_app_t
type OnBrowserCreatedHandler ¶
type OnBrowserCreatedHandler interface {
OnBrowserCreated(self *CRenderProcessHandlerT, browser *CBrowserT)
}
/ Called after a browser has been created. When browsing cross-origin a new browser will be created before the old browser with the same identifier is destroyed. https://github.com/chromiumembedded/cef/blob/3497/include/capi/cef_render_process_handler_capi.h#L83-L90 /
type OnBrowserDestroyedHandler ¶
type OnBrowserDestroyedHandler interface {
OnBrowserDestroyed(self *CRenderProcessHandlerT, browser *CBrowserT)
}
/ Called before a browser is destroyed. https://github.com/chromiumembedded/cef/blob/3497/include/capi/cef_render_process_handler_capi.h#L92-L97 /
type OnContextCreatedHandler ¶
type OnContextCreatedHandler interface { OnContextCreated(self *CRenderProcessHandlerT, brower *CBrowserT, frame *CFrameT, context *CV8contextT) }
/ Called immediately after the V8 context for a frame has been created. To retrieve the JavaScript 'window' object use the cef_v8context_t::get_global() function. V8 handles can only be accessed from the thread on which they are created. A task runner for posting tasks on the associated thread can be retrieved via the cef_v8context_t::get_task_runner() function. https://github.com/chromiumembedded/cef/blob/3497/include/capi/cef_render_process_handler_capi.h#L105-L117 /
type OnContextInitializedHandler ¶
type OnContextInitializedHandler interface {
OnContextInitialized(self *CBrowserProcessHandlerT)
}
/ Called on the browser process UI thread immediately after the CEF context has been initialized. /
type OnContextReleasedHandler ¶
type OnContextReleasedHandler interface { OnContextReleased( self *CRenderProcessHandlerT, browser *CBrowserT, frame *CFrameT, context *CV8contextT) }
/ Called immediately before the V8 context for a frame is released. No references to the context should be kept after this function is called. https://github.com/chromiumembedded/cef/blob/3497/include/capi/cef_render_process_handler_capi.h#L119-L127 /
type OnFocusedNodeChangedHandler ¶
type OnFocusedNodeChangedHandler interface { OnFocusedNodeChanged( self *CRenderProcessHandlerT, browser *CBrowserT, frame *CFrameT, node *CDomnodeT, ) }
/ Called when a new node in the the browser gets focus. The |node| value may be NULL if no specific node has gained focus. The node object passed to this function represents a snapshot of the DOM at the time this function is executed. DOM objects are only valid for the scope of this function. Do not keep references to or attempt to access any DOM objects outside the scope of this function. https://github.com/chromiumembedded/cef/blob/3497/include/capi/cef_render_process_handler_capi.h#L142-L154 /
type OnLoadEndHandler ¶
type OnLoadEndHandler interface { OnLoadEnd( self *CLoadHandlerT, browser *CBrowserT, frame *CFrameT, httpStatusCode int, ) }
/ Called when the browser is done loading a frame. The |frame| value will never be NULL -- call the is_main() function to check if this frame is the main frame. Multiple frames may be loading at the same time. Sub-frames may start or continue loading after the main frame load has ended. This function will not be called for same page navigations (fragments, history state, etc.) or for navigations that fail or are canceled before commit. For notification of overall browser load status use OnLoadingStateChange instead. /
type OnLoadErrorHandler ¶
type OnLoadErrorHandler interface { OnLoadError( self *CLoadHandlerT, browser *CBrowserT, frame *CFrameT, errorCode CErrorcodeT, errorText string, failedUrl string, ) }
/ Called when a navigation fails or is canceled. This function may be called by itself if before commit or in combination with OnLoadStart/OnLoadEnd if after commit. |errorCode| is the error code number, |errorText| is the error text and |failedUrl| is the URL that failed to load. See net\base\net_error_list.h for complete descriptions of the error codes. /
type OnLoadStartHandler ¶
type OnLoadStartHandler interface { OnLoadStart( self *CLoadHandlerT, browser *CBrowserT, frame *CFrameT, transitionType CTransitionTypeT, ) }
/ Called after a navigation has been committed and before the browser begins loading contents in the frame. The |frame| value will never be NULL -- call the is_main() function to check if this frame is the main frame. |transition_type| provides information about the source of the navigation and an accurate value is only available in the browser process. Multiple frames may be loading at the same time. Sub-frames may start or continue loading after the main frame load has ended. This function will not be called for same page navigations (fragments, history state, etc.) or for navigations that fail or are canceled before commit. For notification of overall browser load status use OnLoadingStateChange instead. /
type OnLoadingStateChangeHandler ¶
type OnLoadingStateChangeHandler interface { OnLoadingStateChange( self *CLoadHandlerT, browser *CBrowserT, isLoading int, canGoBack int, canGoForward int, ) }
/ Called when the loading state has changed. This callback will be executed twice -- once when loading is initiated either programmatically or by user action, and once when loading is terminated due to completion, cancellation of failure. It will be called before any calls to OnLoadStart and after all calls to OnLoadError and/or OnLoadEnd. /
type OnProcessMessageReceivedHandler ¶
type OnProcessMessageReceivedHandler interface { OnProcessMessageReceived( self *CRenderProcessHandlerT, browser *CBrowserT, source_process CProcessIdT, message *CProcessMessageT) bool }
/ Called when a new message is received from a different process. Return true (1) if the message was handled or false (0) otherwise. Do not keep a reference to or attempt to access the message outside of this callback. https://github.com/chromiumembedded/cef/blob/3497/include/capi/cef_render_process_handler_capi.h#L156-L165 /
type OnProcessMessageRecivedHandler ¶
type OnProcessMessageRecivedHandler interface { OnProcessMessageRecived(self *CClientT, browser *CBrowserT, source_process CProcessIdT, message *CProcessMessageT, ) bool }
/ Called when a new message is received from a different process. Return true (1) if the message was handled or false (0) otherwise. Do not keep a reference to or attempt to access the message outside of this callback. https://github.com/chromiumembedded/cef/blob/3497/include/capi/cef_client_capi.h#L154-L164 /
type OnRegisterCustomSchemesHandler ¶
type OnRegisterCustomSchemesHandler interface { /// // Provides an opportunity to register custom schemes. Do not keep a reference // to the |registrar| object. This function is called on the main thread for // each process and the registered schemes should be the same across all // processes. // https://github.com/chromiumembedded/cef/blob/3497/include/capi/cef_app_capi.h#82-L90 /// OnRegisterCustomSchemes(self *CAppT, registrar *CSchemeRegistrarT) }
type OnRenderProcessThreadCreatedHandler ¶
type OnRenderProcessThreadCreatedHandler interface { OnRenderProcessThreadCreated( self *CBrowserProcessHandlerT, extra_info *CListValueT) }
/ Called on the browser process IO thread after the main thread has been created for a new render process. Provides an opportunity to specify extra information that will be passed to cef_render_process_handler_t::on_render_thread_created() in the render process. Do not keep a reference to |extra_info| outside of this function. /
type OnRenderThreadCreatedHandler ¶
type OnRenderThreadCreatedHandler interface { OnRenderThreadCreated( self *CRenderProcessHandlerT, extre_info *CListValueT) }
/ Called after the render process main thread has been created. |extra_info| is a read-only value originating from cef_browser_process_handler_t::on_render_process_thread_created(). Do not keep a reference to |extra_info| outside of this function. https://github.com/chromiumembedded/cef/blob/3497/include/capi/cef_render_process_handler_capi.h#L67-L75 /
type OnUncaughtExceptionHandler ¶
type OnUncaughtExceptionHandler interface { OnUncaughtException( self *CRenderProcessHandlerT, browser *CBrowserT, frame *CFrameT, context *CV8contextT, exception *CV8exceptionT, stackTrace *CV8stackTraceT, ) }
/ Called for global uncaught exceptions in a frame. Execution of this callback is disabled by default. To enable set CefSettings.uncaught_exception_stack_size > 0. https://github.com/chromiumembedded/cef/blob/3497/include/capi/cef_render_process_handler_capi.h#L129-L140 /
type OnWebKitInitializedHandler ¶
type OnWebKitInitializedHandler interface {
OnWebKitInitialized(self *CRenderProcessHandlerT)
}
/ Called after WebKit has been initialized. https://github.com/chromiumembedded/cef/blob/3497/include/capi/cef_render_process_handler_capi.h#L77-L81 /
type ProcessRequestHandler ¶
type ProcessRequestHandler interface { ProcessRequest( self *CResourceHandlerT, request *CRequestT, callback *CCallbackT, ) bool }
/ Begin processing the request. To handle the request return true (1) and call cef_callback_t::cont() once the response header information is available (cef_callback_t::cont() can also be called from inside this function if header information is available immediately). To cancel the request return false (0). /
type ReadResponseHandler ¶
type ReadResponseHandler interface { ReadResponse( self *CResourceHandlerT, data_out []byte, bytes_to_read int, bytes_read *int, callback *CCallbackT, ) bool }
/ Read response data. If data is available immediately copy up to |bytes_to_read| bytes into |data_out|, set |bytes_read| to the number of bytes copied, and return true (1). To read the data at a later time set |bytes_read| to 0, return true (1) and call cef_callback_t::cont() when the data is available. To indicate response completion return false (0). /
type RefToCAppT ¶
type RefToCAppT struct {
// contains filtered or unexported fields
}
func (RefToCAppT) GetCAppT ¶
func (r RefToCAppT) GetCAppT() *CAppT
func (*RefToCAppT) SetCAppT ¶
func (r *RefToCAppT) SetCAppT(p *CAppT)
type RefToCBinaryValueT ¶
type RefToCBinaryValueT struct {
// contains filtered or unexported fields
}
func (RefToCBinaryValueT) GetCBinaryValueT ¶
func (r RefToCBinaryValueT) GetCBinaryValueT() *CBinaryValueT
func (*RefToCBinaryValueT) SetCBinaryValueT ¶
func (r *RefToCBinaryValueT) SetCBinaryValueT(p *CBinaryValueT)
type RefToCBrowserHostT ¶
type RefToCBrowserHostT struct {
// contains filtered or unexported fields
}
func (RefToCBrowserHostT) GetCBrowserHostT ¶
func (r RefToCBrowserHostT) GetCBrowserHostT() *CBrowserHostT
func (*RefToCBrowserHostT) SetCBrowserHostT ¶
func (r *RefToCBrowserHostT) SetCBrowserHostT(p *CBrowserHostT)
type RefToCBrowserProcessHandlerT ¶
type RefToCBrowserProcessHandlerT struct {
// contains filtered or unexported fields
}
func (RefToCBrowserProcessHandlerT) GetCBrowserProcessHandlerT ¶
func (r RefToCBrowserProcessHandlerT) GetCBrowserProcessHandlerT() *CBrowserProcessHandlerT
func (*RefToCBrowserProcessHandlerT) SetCBrowserProcessHandlerT ¶
func (r *RefToCBrowserProcessHandlerT) SetCBrowserProcessHandlerT(p *CBrowserProcessHandlerT)
type RefToCBrowserT ¶
type RefToCBrowserT struct {
// contains filtered or unexported fields
}
func (RefToCBrowserT) GetCBrowserT ¶
func (r RefToCBrowserT) GetCBrowserT() *CBrowserT
func (*RefToCBrowserT) SetCBrowserT ¶
func (r *RefToCBrowserT) SetCBrowserT(p *CBrowserT)
type RefToCCallbackT ¶
type RefToCCallbackT struct {
// contains filtered or unexported fields
}
func (RefToCCallbackT) GetCCallbackT ¶
func (r RefToCCallbackT) GetCCallbackT() *CCallbackT
func (*RefToCCallbackT) SetCCallbackT ¶
func (r *RefToCCallbackT) SetCCallbackT(p *CCallbackT)
type RefToCClientT ¶
type RefToCClientT struct {
// contains filtered or unexported fields
}
func (RefToCClientT) GetCClientT ¶
func (r RefToCClientT) GetCClientT() *CClientT
func (*RefToCClientT) SetCClientT ¶
func (r *RefToCClientT) SetCClientT(p *CClientT)
type RefToCDictionaryValueT ¶
type RefToCDictionaryValueT struct {
// contains filtered or unexported fields
}
func (RefToCDictionaryValueT) GetCDictionaryValueT ¶
func (r RefToCDictionaryValueT) GetCDictionaryValueT() *CDictionaryValueT
func (*RefToCDictionaryValueT) SetCDictionaryValueT ¶
func (r *RefToCDictionaryValueT) SetCDictionaryValueT(p *CDictionaryValueT)
type RefToCFrameT ¶
type RefToCFrameT struct {
// contains filtered or unexported fields
}
func (RefToCFrameT) GetCFrameT ¶
func (r RefToCFrameT) GetCFrameT() *CFrameT
func (*RefToCFrameT) SetCFrameT ¶
func (r *RefToCFrameT) SetCFrameT(p *CFrameT)
type RefToCLifeSpanHandlerT ¶
type RefToCLifeSpanHandlerT struct {
// contains filtered or unexported fields
}
func (RefToCLifeSpanHandlerT) GetCLifeSpanHandlerT ¶
func (r RefToCLifeSpanHandlerT) GetCLifeSpanHandlerT() *CLifeSpanHandlerT
func (*RefToCLifeSpanHandlerT) SetCLifeSpanHandlerT ¶
func (r *RefToCLifeSpanHandlerT) SetCLifeSpanHandlerT(p *CLifeSpanHandlerT)
type RefToCListValueT ¶
type RefToCListValueT struct {
// contains filtered or unexported fields
}
func (RefToCListValueT) GetCListValueT ¶
func (r RefToCListValueT) GetCListValueT() *CListValueT
func (*RefToCListValueT) SetCListValueT ¶
func (r *RefToCListValueT) SetCListValueT(p *CListValueT)
type RefToCLoadHandlerT ¶
type RefToCLoadHandlerT struct {
// contains filtered or unexported fields
}
func (RefToCLoadHandlerT) GetCLoadHandlerT ¶
func (r RefToCLoadHandlerT) GetCLoadHandlerT() *CLoadHandlerT
func (*RefToCLoadHandlerT) SetCLoadHandlerT ¶
func (r *RefToCLoadHandlerT) SetCLoadHandlerT(p *CLoadHandlerT)
type RefToCProcessMessageT ¶
type RefToCProcessMessageT struct {
// contains filtered or unexported fields
}
func (RefToCProcessMessageT) GetCProcessMessageT ¶
func (r RefToCProcessMessageT) GetCProcessMessageT() *CProcessMessageT
func (*RefToCProcessMessageT) SetCProcessMessageT ¶
func (r *RefToCProcessMessageT) SetCProcessMessageT(p *CProcessMessageT)
type RefToCRenderProcessHandlerT ¶
type RefToCRenderProcessHandlerT struct {
// contains filtered or unexported fields
}
func (RefToCRenderProcessHandlerT) GetCRenderProcessHandlerT ¶
func (r RefToCRenderProcessHandlerT) GetCRenderProcessHandlerT() *CRenderProcessHandlerT
func (*RefToCRenderProcessHandlerT) SetCRenderProcessHandlerT ¶
func (r *RefToCRenderProcessHandlerT) SetCRenderProcessHandlerT(p *CRenderProcessHandlerT)
type RefToCRequestT ¶
type RefToCRequestT struct {
// contains filtered or unexported fields
}
func (RefToCRequestT) GetCRequestT ¶
func (r RefToCRequestT) GetCRequestT() *CRequestT
func (*RefToCRequestT) SetCRequestT ¶
func (r *RefToCRequestT) SetCRequestT(p *CRequestT)
type RefToCResourceHandlerT ¶
type RefToCResourceHandlerT struct {
// contains filtered or unexported fields
}
func (RefToCResourceHandlerT) GetCResourceHandlerT ¶
func (r RefToCResourceHandlerT) GetCResourceHandlerT() *CResourceHandlerT
func (*RefToCResourceHandlerT) SetCResourceHandlerT ¶
func (r *RefToCResourceHandlerT) SetCResourceHandlerT(p *CResourceHandlerT)
type RefToCResponseT ¶
type RefToCResponseT struct {
// contains filtered or unexported fields
}
func (RefToCResponseT) GetCResponseT ¶
func (r RefToCResponseT) GetCResponseT() *CResponseT
func (*RefToCResponseT) SetCResponseT ¶
func (r *RefToCResponseT) SetCResponseT(p *CResponseT)
type RefToCRunFileDialogCallbackT ¶
type RefToCRunFileDialogCallbackT struct {
// contains filtered or unexported fields
}
func (RefToCRunFileDialogCallbackT) GetCRunFileDialogCallbackT ¶
func (r RefToCRunFileDialogCallbackT) GetCRunFileDialogCallbackT() *CRunFileDialogCallbackT
func (*RefToCRunFileDialogCallbackT) SetCRunFileDialogCallbackT ¶
func (r *RefToCRunFileDialogCallbackT) SetCRunFileDialogCallbackT(p *CRunFileDialogCallbackT)
type RefToCSchemeHandlerFactoryT ¶
type RefToCSchemeHandlerFactoryT struct {
// contains filtered or unexported fields
}
func (RefToCSchemeHandlerFactoryT) GetCSchemeHandlerFactoryT ¶
func (r RefToCSchemeHandlerFactoryT) GetCSchemeHandlerFactoryT() *CSchemeHandlerFactoryT
func (*RefToCSchemeHandlerFactoryT) SetCSchemeHandlerFactoryT ¶
func (r *RefToCSchemeHandlerFactoryT) SetCSchemeHandlerFactoryT(p *CSchemeHandlerFactoryT)
type RefToCV8arrayBufferReleaseCallbackT ¶
type RefToCV8arrayBufferReleaseCallbackT struct {
// contains filtered or unexported fields
}
func (RefToCV8arrayBufferReleaseCallbackT) GetCV8arrayBufferReleaseCallbackT ¶
func (r RefToCV8arrayBufferReleaseCallbackT) GetCV8arrayBufferReleaseCallbackT() *CV8arrayBufferReleaseCallbackT
func (*RefToCV8arrayBufferReleaseCallbackT) SetCV8arrayBufferReleaseCallbackT ¶
func (r *RefToCV8arrayBufferReleaseCallbackT) SetCV8arrayBufferReleaseCallbackT(p *CV8arrayBufferReleaseCallbackT)
type RefToCV8contextT ¶
type RefToCV8contextT struct {
// contains filtered or unexported fields
}
func (RefToCV8contextT) GetCV8contextT ¶
func (r RefToCV8contextT) GetCV8contextT() *CV8contextT
func (*RefToCV8contextT) SetCV8contextT ¶
func (r *RefToCV8contextT) SetCV8contextT(p *CV8contextT)
type RefToCV8exceptionT ¶
type RefToCV8exceptionT struct {
// contains filtered or unexported fields
}
func (RefToCV8exceptionT) GetCV8exceptionT ¶
func (r RefToCV8exceptionT) GetCV8exceptionT() *CV8exceptionT
func (*RefToCV8exceptionT) SetCV8exceptionT ¶
func (r *RefToCV8exceptionT) SetCV8exceptionT(p *CV8exceptionT)
type RefToCV8handlerT ¶
type RefToCV8handlerT struct {
// contains filtered or unexported fields
}
func (RefToCV8handlerT) GetCV8handlerT ¶
func (r RefToCV8handlerT) GetCV8handlerT() *CV8handlerT
func (*RefToCV8handlerT) SetCV8handlerT ¶
func (r *RefToCV8handlerT) SetCV8handlerT(p *CV8handlerT)
type RefToCV8stackTraceT ¶
type RefToCV8stackTraceT struct {
// contains filtered or unexported fields
}
func (RefToCV8stackTraceT) GetCV8stackTraceT ¶
func (r RefToCV8stackTraceT) GetCV8stackTraceT() *CV8stackTraceT
func (*RefToCV8stackTraceT) SetCV8stackTraceT ¶
func (r *RefToCV8stackTraceT) SetCV8stackTraceT(p *CV8stackTraceT)
type RefToCV8valueT ¶
type RefToCV8valueT struct {
// contains filtered or unexported fields
}
func (RefToCV8valueT) GetCV8valueT ¶
func (r RefToCV8valueT) GetCV8valueT() *CV8valueT
func (*RefToCV8valueT) SetCV8valueT ¶
func (r *RefToCV8valueT) SetCV8valueT(p *CV8valueT)
type RefToCValueT ¶
type RefToCValueT struct {
// contains filtered or unexported fields
}
func (RefToCValueT) GetCValueT ¶
func (r RefToCValueT) GetCValueT() *CValueT
func (*RefToCValueT) SetCValueT ¶
func (r *RefToCValueT) SetCValueT(p *CValueT)
type RunFileDialogCallback ¶
type RunFileDialogCallback interface { OnFileDialogDismissed( self *CRunFileDialogCallbackT, selected_accept_filter int, file_paths CStringListT, ) }
/ Called asynchronously after the file dialog is dismissed. |selected_accept_filter| is the 0-based index of the value selected from the accept filters array passed to cef_browser_host_t::RunFileDialog. |file_paths| will be a single value or a list of values depending on the dialog mode. If the selection was cancelled |file_paths| will be NULL. /
type SchemeHandlerFactory ¶
type SchemeHandlerFactory interface { /// // Return a new resource handler instance to handle the request or an NULL // reference to allow default handling of the request. |browser| and |frame| // will be the browser window and frame respectively that originated the // request or NULL if the request did not originate from a browser window (for // example, if the request came from cef_urlrequest_t). The |request| object // passed to this function will not contain cookie data. /// Create( self *CSchemeHandlerFactoryT, browser *CBrowserT, frame *CFrameT, scheme_name string, request *CRequestT, ) *CResourceHandlerT }
type Settings ¶
type Settings struct { LogSeverity CLogSeverityT NoSandbox int MultiThreadedMessageLoop int RemoteDebuggingPort int }
type V8handler ¶
type V8handler interface { /// // Handle execution of the function identified by |name|. |object| is the // receiver ('this' object) of the function. |arguments| is the list of // arguments passed to the function. If execution succeeds set |retval| to the // function return value. If execution fails set |exception| to the exception // that will be thrown. Return true (1) if execution was handled. // https://github.com/chromiumembedded/cef/blob/3497/include/capi/cef_v8_capi.h#L158-L183 /// Execute(self *CV8handlerT, name string, object *CV8valueT, argumentsCount int, arguments []*CV8valueT, retval **CV8valueT, exception *string) bool }