Documentation ¶
Overview ¶
CEF 二进制类型 BinaryValueRef.New() or Create()
ICefBinaryValue 示例:
Go: 创建并绑定 ICefBinaryValue 对象名称: myobj JavaScript: let obj = new Uint8Array(window.myobj); console.log(obj)
CEF 回调事件实现
CEF 字典类型 DictionaryValueRef.New()
CefDisplay ¶
CEF下载项 ¶
CEF Frame ¶
CEF Image ImageRef.New ¶
CEF 集合类型 ListValueRef.New ¶
PDF 打印回调 PdfPrintCallbackRef.New ¶
CEF PostDataElement PostDataElementRef.New ¶
CEF PostData PostDataRef.New ¶
PDF 打印回调 PdfPrintCallbackRef.New ¶
PDF 打印回调 PdfPrintCallbackRef.New ¶
PDF 打印回调 PdfPrintCallbackRef.New ¶
CEF 进程消息 ProcessMessageRef.New()
cef -> energy 结构指定类型定义
CEF v8 对象字段&值访问器(读取/写入) V8AccessorRef.New()
ICefV8Value ¶
v8 缓存释放时回调 V8ArrayBufferReleaseCallbackRef.New()
CEF V8 上下文 ¶
CEF v8 异常 ¶
CEF v8 执行函数拦截 ¶
CEF v8 对象拦截器 V8InterceptorRef.New ¶
ICefV8Value ¶
TODO 未使用 ¶
CEF v8 value V8所有类型 ¶
ICefV8Value 创建和使用一搬在 v8context 上下文中使用 ¶
CEF Value 所有值类型 ValueRef.New ¶
cef view
cef window
VF窗口组件 ¶
基于IPC的字段数据绑定 - 主进程
基于IPC的字段数据绑定 - 渲染(子)进程
基于IPC的字段数据绑定 - 渲染(子)进程
基于IPC的字段数据绑定
energy VF窗口组件
CEFWindowParent组件 Windows
Index ¶
- Variables
- func CEFVersion() string
- func CheckDLLs(frameworkDirPath string) (missingFiles string, result bool)
- func CheckLocales(localesDirPath, localesRequired string) (missingFiles string, result bool)
- func CheckResources(resourcesDirPath string) (missingFiles string, result bool)
- func CheckSubprocessPath(subprocessPath string) (missingFiles string, result bool)
- func ClearSchemeHandlerFactories() bool
- func GetMimeType(extension string) string
- func GlobalInit(libs *embed.FS, resources *embed.FS)
- func LibBuildVersion() string
- func NewChromiumConfig() *tCefChromiumConfig
- func QueueAsyncCall(fn qacFn) int
- func QueueSyncCall(fn qacFn) int
- func RegisterExtension(name, code string, handler *ICefV8Handler)
- func RegisterSchemeHandlerFactory(schemeName, domainName string, handler TCefResourceHandlerClass) bool
- func Run(app *TCEFApplication)
- func SetBindName(name string)
- func SetBrowserProcessStartAfterCallback(callback browserProcessStartAfterCallbackFunc)
- func SetOnException(exception ExceptionCallback)
- func WindowInfoAsChild(windowInfo, windowHandle uintptr, windowName string)
- func WindowInfoAsPopUp(windowInfo, windowParent uintptr, windowName string)
- func WindowInfoAsWindowless(windowInfo, windowParent uintptr, windowName string)
- type AcceleratorCustom
- type BaseWinControl
- type BeforePopupInfo
- type BrowseProcessMessageReceived
- type BrowserEvent
- func (m *BrowserEvent) SetOnAddressChange(event chromiumEventOnAddressChange)
- func (m *BrowserEvent) SetOnAfterCreated(event chromiumEventOnAfterCreated)
- func (m *BrowserEvent) SetOnBeforeBrowser(event chromiumEventOnBeforeBrowser)
- func (m *BrowserEvent) SetOnBeforeClose(event chromiumEventOnBeforeClose)
- func (m *BrowserEvent) SetOnBeforeContextMenu(event chromiumEventOnBeforeContextMenu)
- func (m *BrowserEvent) SetOnBeforeDownload(event chromiumEventOnBeforeDownload)
- func (m *BrowserEvent) SetOnBeforePopup(event chromiumEventOnBeforePopupForWindowInfo)
- func (m *BrowserEvent) SetOnBeforeResourceLoad(event chromiumEventOnBeforeResourceLoad)
- func (m *BrowserEvent) SetOnBrowseProcessMessageReceived(event BrowseProcessMessageReceived)
- func (m *BrowserEvent) SetOnBrowserCompMsg(event chromiumEventOnCompMsg)
- func (m *BrowserEvent) SetOnClose(event chromiumEventOnClose)
- func (m *BrowserEvent) SetOnContextMenuCommand(event chromiumEventOnContextMenuCommand)
- func (m *BrowserEvent) SetOnContextMenuDismissed(event chromiumEventOnContextMenuDismissed)
- func (m *BrowserEvent) SetOnCookieSet(event chromiumEventOnCookieSet)
- func (m *BrowserEvent) SetOnCookieVisitorDestroyed(event chromiumEventOnCookieVisitorDestroyed)
- func (m *BrowserEvent) SetOnCookiesDeleted(event chromiumEventOnCookiesDeleted)
- func (m *BrowserEvent) SetOnCookiesFlushed(event chromiumEventOnCookiesFlushed)
- func (m *BrowserEvent) SetOnCookiesVisited(event chromiumEventOnCookiesVisited)
- func (m *BrowserEvent) SetOnDownloadUpdated(event chromiumEventOnDownloadUpdated)
- func (m *BrowserEvent) SetOnDragEnter(event chromiumEventOnDragEnter)
- func (m *BrowserEvent) SetOnDraggableRegionsChanged(event chromiumEventOnDraggableRegionsChanged)
- func (m *BrowserEvent) SetOnFindResult(event chromiumEventOnFindResult)
- func (m *BrowserEvent) SetOnFrameAttached(event chromiumEventOnFrameAttached)
- func (m *BrowserEvent) SetOnFrameCreated(event chromiumEventOnFrameCreated)
- func (m *BrowserEvent) SetOnFrameDetached(event chromiumEventOnFrameDetached)
- func (m *BrowserEvent) SetOnFullScreenModeChange(event chromiumEventOnFullScreenModeChange)
- func (m *BrowserEvent) SetOnKeyEvent(event chromiumEventOnKeyEvent)
- func (m *BrowserEvent) SetOnLoadEnd(event chromiumEventOnLoadEnd)
- func (m *BrowserEvent) SetOnLoadError(event chromiumEventOnLoadError)
- func (m *BrowserEvent) SetOnLoadStart(event chromiumEventOnLoadStart)
- func (m *BrowserEvent) SetOnLoadingProgressChange(event chromiumEventOnLoadingProgressChange)
- func (m *BrowserEvent) SetOnLoadingStateChange(event chromiumEventOnLoadingStateChange)
- func (m *BrowserEvent) SetOnMainFrameChanged(event chromiumEventOnMainFrameChanged)
- func (m *BrowserEvent) SetOnPdfPrintFinished(event chromiumEventOnPdfPrintFinished)
- func (m *BrowserEvent) SetOnRenderCompMsg(event chromiumEventOnCompMsg)
- func (m *BrowserEvent) SetOnRenderProcessTerminated(event chromiumEventOnRenderProcessTerminated)
- func (m *BrowserEvent) SetOnRenderViewReady(event chromiumEventOnRenderViewReady)
- func (m *BrowserEvent) SetOnResourceLoadComplete(event chromiumEventOnResourceLoadComplete)
- func (m *BrowserEvent) SetOnResourceRedirect(event chromiumEventOnResourceRedirect)
- func (m *BrowserEvent) SetOnResourceResponse(event chromiumEventOnResourceResponse)
- func (m *BrowserEvent) SetOnScrollOffsetChanged(event chromiumEventOnScrollOffsetChanged)
- func (m *BrowserEvent) SetOnTitleChange(event chromiumEventOnTitleChange)
- func (m *BrowserEvent) SetOnWidgetCompMsg(event chromiumEventOnCompMsg)
- func (m *BrowserEvent) SetOnZoomPctAvailable(event chromiumEventOnResultFloat)
- type BrowserViewComponentOnBrowserCreated
- type BrowserViewComponentOnBrowserDestroyed
- type BrowserViewComponentOnGetChromeToolbarType
- type BrowserViewComponentOnGetDelegateForPopupBrowserView
- type BrowserViewComponentOnPopupBrowserViewCreated
- type CEFTray
- type CefPdfPrintSettings
- type CompletionOnComplete
- type ExceptionCallback
- type FrameNames
- type FuncCallback
- type GlobalCEFAppEventOnBeforeChildProcessLaunch
- type GlobalCEFAppEventOnBrowserCreated
- type GlobalCEFAppEventOnBrowserDestroyed
- type GlobalCEFAppEventOnContextCreated
- type GlobalCEFAppEventOnContextInitialized
- type GlobalCEFAppEventOnContextReleased
- type GlobalCEFAppEventOnFocusedNodeChanged
- type GlobalCEFAppEventOnGetDataResource
- type GlobalCEFAppEventOnGetDataResourceForScale
- type GlobalCEFAppEventOnGetDefaultClient
- type GlobalCEFAppEventOnGetLocalizedString
- type GlobalCEFAppEventOnRegCustomSchemes
- type GlobalCEFAppEventOnRegisterCustomPreferences
- type GlobalCEFAppEventOnRenderLoadEnd
- type GlobalCEFAppEventOnRenderLoadError
- type GlobalCEFAppEventOnRenderLoadStart
- type GlobalCEFAppEventOnRenderLoadingStateChange
- type GlobalCEFAppEventOnUncaughtException
- type GlobalCEFAppEventOnWebKitInitialized
- type IBrowserWindow
- type ICEFChromiumBrowser
- type ICEFWindowParent
- type ICefAccessibilityHandler
- func (m *ICefAccessibilityHandler) Free()
- func (m *ICefAccessibilityHandler) Instance() uintptr
- func (m *ICefAccessibilityHandler) IsValid() bool
- func (m *ICefAccessibilityHandler) SetOnAccessibilityLocationChange(fn onAccessibilityLocationChange)
- func (m *ICefAccessibilityHandler) SetOnAccessibilityTreeChange(fn onAccessibilityTreeChange)
- type ICefAudioHandler
- func (m *ICefAudioHandler) Free()
- func (m *ICefAudioHandler) Instance() uintptr
- func (m *ICefAudioHandler) IsValid() bool
- func (m *ICefAudioHandler) SetOnAudioStreamError(fn onAudioStreamError)
- func (m *ICefAudioHandler) SetOnAudioStreamPacket(fn onAudioStreamPacket)
- func (m *ICefAudioHandler) SetOnAudioStreamStarted(fn onAudioStreamStarted)
- func (m *ICefAudioHandler) SetOnAudioStreamStopped(fn onAudioStreamStopped)
- func (m *ICefAudioHandler) SetOnGetAudioParameters(fn onGetAudioParameters)
- type ICefAuthCallback
- type ICefBaseRefCounted
- type ICefBeforeDownloadCallback
- type ICefBinaryValue
- func (m *ICefBinaryValue) Copy() *ICefBinaryValue
- func (m *ICefBinaryValue) Free()
- func (m *ICefBinaryValue) GetData(buffer []byte, dataOffset uint32) uint32
- func (m *ICefBinaryValue) GetSize() uint32
- func (m *ICefBinaryValue) Instance() uintptr
- func (m *ICefBinaryValue) IsOwned() bool
- func (m *ICefBinaryValue) IsValid() bool
- type ICefBrowser
- func (m *ICefBrowser) BrowserId() int32
- func (m *ICefBrowser) CanGoBack() bool
- func (m *ICefBrowser) CanGoForward() bool
- func (m *ICefBrowser) CloseBrowser(forceClose bool)
- func (m *ICefBrowser) CloseDevTools()
- func (m *ICefBrowser) DownloadImage(imageUrl string, isFavicon bool, maxImageSize int32, bypassCache bool)
- func (m *ICefBrowser) ExecuteDevToolsMethod(messageId int32, method string, dictionaryValue *ICefDictionaryValue)
- func (m *ICefBrowser) Find(searchText string, forward, matchCase, findNext bool)
- func (m *ICefBrowser) FrameCount() int
- func (m *ICefBrowser) FrameId() int64
- func (m *ICefBrowser) Free()
- func (m *ICefBrowser) GetFocusedFrame() *ICefFrame
- func (m *ICefBrowser) GetFrameById(frameId int64) *ICefFrame
- func (m *ICefBrowser) GetFrameByName(frameName string) *ICefFrame
- func (m *ICefBrowser) GetFrameNames() []*FrameNames
- func (m *ICefBrowser) GetRequestContext() *ICefRequestContext
- func (m *ICefBrowser) GetZoomLevel() (result float64)
- func (m *ICefBrowser) GoBack()
- func (m *ICefBrowser) GoForward()
- func (m *ICefBrowser) HasDevTools() bool
- func (m *ICefBrowser) HasView() bool
- func (m *ICefBrowser) HostWindowHandle() types.HWND
- func (m *ICefBrowser) Identifier() int32
- func (m *ICefBrowser) Instance() uintptr
- func (m *ICefBrowser) IsAudioMuted() bool
- func (m *ICefBrowser) IsLoading() bool
- func (m *ICefBrowser) IsValid() bool
- func (m *ICefBrowser) MainFrame() *ICefFrame
- func (m *ICefBrowser) NotifyMoveOrResizeStarted()
- func (m *ICefBrowser) NotifyScreenInfoChanged()
- func (m *ICefBrowser) Print()
- func (m *ICefBrowser) PrintToPdf(path string, settings *CefPdfPrintSettings, callback *ICefPdfPrintCallback)
- func (m *ICefBrowser) Reload()
- func (m *ICefBrowser) ReloadIgnoreCache()
- func (m *ICefBrowser) RunFileDialog(mode int32, title, defaultFilePath string, acceptFilters *lcl.TStrings)
- func (m *ICefBrowser) SendCaptureLostEvent()
- func (m *ICefBrowser) SendDevToolsMessage(message string)
- func (m *ICefBrowser) SendKeyEvent(event *TCefKeyEvent)
- func (m *ICefBrowser) SendMouseClickEvent(event *TCefMouseEvent, type_ TCefMouseButtonType, mouseUp bool, ...)
- func (m *ICefBrowser) SendMouseMoveEvent(event *TCefMouseEvent, mouseLeave bool)
- func (m *ICefBrowser) SendMouseWheelEvent(event *TCefMouseEvent, deltaX, deltaY int32)
- func (m *ICefBrowser) SendTouchEvent(event *TCefTouchEvent)
- func (m *ICefBrowser) SetAccessibilityState(accessibilityState TCefState)
- func (m *ICefBrowser) SetAudioMuted(mute bool)
- func (m *ICefBrowser) SetAutoResizeEnabled(enabled bool, minSize, maxSize *TCefSize)
- func (m *ICefBrowser) SetFocus(focus bool)
- func (m *ICefBrowser) SetZoomLevel(zoomLevel float64)
- func (m *ICefBrowser) ShowDevTools()
- func (m *ICefBrowser) StartDownload(url string)
- func (m *ICefBrowser) StopFinding(clearSelection bool)
- func (m *ICefBrowser) StopLoad()
- func (m *ICefBrowser) Target(targetType ...target.Type) target.ITarget
- func (m *ICefBrowser) TryCloseBrowser() bool
- func (m *ICefBrowser) ViewSource()
- type ICefBrowserView
- type ICefBrowserViewDelegate
- type ICefCallback
- type ICefClient
- func (m *ICefClient) Free()
- func (m *ICefClient) GetAudioHandler() *ICefAudioHandler
- func (m *ICefClient) GetCommandHandler() *ICefCommandHandler
- func (m *ICefClient) GetContextMenuHandler() *ICefContextMenuHandler
- func (m *ICefClient) GetDialogHandler() *ICefDialogHandler
- func (m *ICefClient) GetDisplayHandler() *ICefDisplayHandler
- func (m *ICefClient) GetDownloadHandler() *ICefDownloadHandler
- func (m *ICefClient) GetDragHandler() *ICefDragHandler
- func (m *ICefClient) GetFindHandler() *ICefFindHandler
- func (m *ICefClient) GetFocusHandler() *ICefFocusHandler
- func (m *ICefClient) GetFrameHandler() *ICefFrameHandler
- func (m *ICefClient) GetJsdialogHandler() *ICefJsDialogHandler
- func (m *ICefClient) GetKeyboardHandler() *ICefKeyboardHandler
- func (m *ICefClient) GetLifeSpanHandler() *ICefLifeSpanHandler
- func (m *ICefClient) GetLoadHandler() *ICefLoadHandler
- func (m *ICefClient) GetPermissionHandler() *ICefPermissionHandler
- func (m *ICefClient) GetPrintHandler() *ICefPrintHandler
- func (m *ICefClient) GetRenderHandler() *ICefRenderHandler
- func (m *ICefClient) GetRequestHandler() *ICefRequestHandler
- func (m *ICefClient) Instance() uintptr
- func (m *ICefClient) IsChromiumEvent() bool
- func (m *ICefClient) IsTClientEvent() bool
- func (m *ICefClient) IsValid() bool
- func (m *ICefClient) SetClient(newClient *ICefClient)
- type ICefCommandHandler
- type ICefCommandLine
- func (m *ICefCommandLine) AppendArgument(argument string)
- func (m *ICefCommandLine) AppendSwitch(name string)
- func (m *ICefCommandLine) AppendSwitchWithValue(name, value string)
- func (m *ICefCommandLine) Copy() *ICefCommandLine
- func (m *ICefCommandLine) Free()
- func (m *ICefCommandLine) GetArguments() *lcl.TStrings
- func (m *ICefCommandLine) GetArgv() *lcl.TStrings
- func (m *ICefCommandLine) GetCommandLineString() string
- func (m *ICefCommandLine) GetProgram() string
- func (m *ICefCommandLine) GetSwitchValue(name string) string
- func (m *ICefCommandLine) GetSwitches() *lcl.TStrings
- func (m *ICefCommandLine) GetSwitchesList() (*lcl.TStrings, *lcl.TStrings)
- func (m *ICefCommandLine) HasArguments() bool
- func (m *ICefCommandLine) HasSwitch(name string) bool
- func (m *ICefCommandLine) HasSwitches() bool
- func (m *ICefCommandLine) InitFromArgv(argc int32, argv string)
- func (m *ICefCommandLine) InitFromString(commandLine string)
- func (m *ICefCommandLine) Instance() uintptr
- func (m *ICefCommandLine) IsReadOnly() bool
- func (m *ICefCommandLine) IsValid() bool
- func (m *ICefCommandLine) PrependWrapper(wrapper string)
- func (m *ICefCommandLine) Reset()
- func (m *ICefCommandLine) SetProgram(prog string)
- type ICefCompletionCallback
- type ICefContextMenuHandler
- func (m *ICefContextMenuHandler) Free()
- func (m *ICefContextMenuHandler) Instance() uintptr
- func (m *ICefContextMenuHandler) IsValid() bool
- func (m *ICefContextMenuHandler) SetOnBeforeContextMenu(fn onBeforeContextMenu)
- func (m *ICefContextMenuHandler) SetOnContextMenuCommand(fn onContextMenuCommand)
- func (m *ICefContextMenuHandler) SetOnContextMenuDismissed(fn onContextMenuDismissed)
- func (m *ICefContextMenuHandler) SetOnQuickMenuCommand(fn onQuickMenuCommand)
- func (m *ICefContextMenuHandler) SetOnQuickMenuDismissed(fn onQuickMenuDismissed)
- func (m *ICefContextMenuHandler) SetRunContextMenu(fn runContextMenu)
- func (m *ICefContextMenuHandler) SetRunQuickMenu(fn runQuickMenu)
- type ICefContextMenuParams
- func (m *ICefContextMenuParams) DictionarySuggestions(suggestions []string) bool
- func (m *ICefContextMenuParams) EditStateFlags() consts.TCefContextMenuEditStateFlags
- func (m *ICefContextMenuParams) FrameCharset() string
- func (m *ICefContextMenuParams) FrameUrl() string
- func (m *ICefContextMenuParams) Free()
- func (m *ICefContextMenuParams) HasImageContents() bool
- func (m *ICefContextMenuParams) Instance() uintptr
- func (m *ICefContextMenuParams) IsCustomMenu() bool
- func (m *ICefContextMenuParams) IsEditable() bool
- func (m *ICefContextMenuParams) IsSpellCheckEnabled() bool
- func (m *ICefContextMenuParams) IsValid() bool
- func (m *ICefContextMenuParams) LinkUrl() string
- func (m *ICefContextMenuParams) MediaStateFlags() consts.TCefContextMenuMediaStateFlags
- func (m *ICefContextMenuParams) MediaType() consts.TCefContextMenuMediaType
- func (m *ICefContextMenuParams) MisspelledWord() string
- func (m *ICefContextMenuParams) PageUrl() string
- func (m *ICefContextMenuParams) SelectionText() string
- func (m *ICefContextMenuParams) SourceUrl() string
- func (m *ICefContextMenuParams) TitleText() string
- func (m *ICefContextMenuParams) TypeFlags() consts.TCefContextMenuTypeFlags
- func (m *ICefContextMenuParams) UnfilteredLinkUrl() string
- func (m *ICefContextMenuParams) XCoord() int32
- func (m *ICefContextMenuParams) YCoord() int32
- type ICefCookie
- type ICefCookieAccessFilter
- func (m *ICefCookieAccessFilter) Free()
- func (m *ICefCookieAccessFilter) Instance() uintptr
- func (m *ICefCookieAccessFilter) IsChromiumEvent() bool
- func (m *ICefCookieAccessFilter) IsTClientEvent() bool
- func (m *ICefCookieAccessFilter) IsValid() bool
- func (m *ICefCookieAccessFilter) SetCanSaveCookie(fn canSaveCookie)
- func (m *ICefCookieAccessFilter) SetCanSendCookie(fn canSendCookie)
- type ICefCookieManager
- func (m *ICefCookieManager) DeleteCookies(url, cookieName string, callback *ICefDeleteCookiesCallback) bool
- func (m *ICefCookieManager) FlushStore(callback *ICefCompletionCallback) bool
- func (m *ICefCookieManager) Free()
- func (m *ICefCookieManager) Instance() uintptr
- func (m *ICefCookieManager) IsValid() bool
- func (m *ICefCookieManager) SetCookie(url, name, value, domain, path string, secure, httponly, hasExpires bool, ...) bool
- func (m *ICefCookieManager) VisitAllCookies(visitor *ICefCookieVisitor)
- func (m *ICefCookieManager) VisitUrlCookies(url string, includeHttpOnly bool, visitor *ICefCookieVisitor) bool
- type ICefCookieVisitor
- type ICefDeleteCookiesCallback
- func (m *ICefDeleteCookiesCallback) Free()
- func (m *ICefDeleteCookiesCallback) Instance() uintptr
- func (m *ICefDeleteCookiesCallback) IsChromiumEvent() bool
- func (m *ICefDeleteCookiesCallback) IsTClientEvent() bool
- func (m *ICefDeleteCookiesCallback) IsValid() bool
- func (m *ICefDeleteCookiesCallback) SetOnComplete(fn deleteCookiesOnComplete)
- type ICefDialogHandler
- type ICefDictionaryValue
- func (m *ICefDictionaryValue) Clear() (result bool)
- func (m *ICefDictionaryValue) Copy(excludeEmptyChildren bool) *ICefDictionaryValue
- func (m *ICefDictionaryValue) Free()
- func (m *ICefDictionaryValue) GetBinary(key string) *ICefBinaryValue
- func (m *ICefDictionaryValue) GetBool(key string) bool
- func (m *ICefDictionaryValue) GetDictionary(key string) *ICefDictionaryValue
- func (m *ICefDictionaryValue) GetDouble(key string) (result float64)
- func (m *ICefDictionaryValue) GetIArray(key string) types.IArrayValue
- func (m *ICefDictionaryValue) GetIBinary(key string) types.IBinaryValue
- func (m *ICefDictionaryValue) GetIKeys() types.IV8ValueKeys
- func (m *ICefDictionaryValue) GetIObject(key string) types.IObjectValue
- func (m *ICefDictionaryValue) GetIValue(key string) types.IValue
- func (m *ICefDictionaryValue) GetInt(key string) int32
- func (m *ICefDictionaryValue) GetKeys() *ICefV8ValueKeys
- func (m *ICefDictionaryValue) GetList(key string) *ICefListValue
- func (m *ICefDictionaryValue) GetString(key string) string
- func (m *ICefDictionaryValue) GetType(key string) consts.TCefValueType
- func (m *ICefDictionaryValue) GetValue(key string) *ICefValue
- func (m *ICefDictionaryValue) HasKey(key string) bool
- func (m *ICefDictionaryValue) Instance() uintptr
- func (m *ICefDictionaryValue) IsOwned() bool
- func (m *ICefDictionaryValue) IsReadOnly() bool
- func (m *ICefDictionaryValue) IsValid() bool
- func (m *ICefDictionaryValue) Remove(key string) bool
- func (m *ICefDictionaryValue) SetBinary(key string, value *ICefBinaryValue) (result bool)
- func (m *ICefDictionaryValue) SetBool(key string, value bool) bool
- func (m *ICefDictionaryValue) SetDictionary(key string, value *ICefDictionaryValue) (result bool)
- func (m *ICefDictionaryValue) SetDouble(key string, value float64) bool
- func (m *ICefDictionaryValue) SetInt(key string, value int32) bool
- func (m *ICefDictionaryValue) SetList(key string, value *ICefListValue) (result bool)
- func (m *ICefDictionaryValue) SetNull(key string) bool
- func (m *ICefDictionaryValue) SetString(key string, value string) bool
- func (m *ICefDictionaryValue) SetValue(key string, value *ICefValue) (result bool)
- func (m *ICefDictionaryValue) Size() uint32
- type ICefDisplay
- func (m *ICefDisplay) Bounds() (result TCefRect)
- func (m *ICefDisplay) DeviceScaleFactor() float32
- func (m *ICefDisplay) Free()
- func (m *ICefDisplay) ID() (result int64)
- func (m *ICefDisplay) Instance() uintptr
- func (m *ICefDisplay) IsValid() bool
- func (m *ICefDisplay) Rotation() int32
- func (m *ICefDisplay) WorkArea() (result TCefRect)
- type ICefDisplayHandler
- func (m *ICefDisplayHandler) Free()
- func (m *ICefDisplayHandler) Instance() uintptr
- func (m *ICefDisplayHandler) IsValid() bool
- func (m *ICefDisplayHandler) SetOnAddressChange(fn onAddressChange)
- func (m *ICefDisplayHandler) SetOnAutoResize(fn onAutoResize)
- func (m *ICefDisplayHandler) SetOnConsoleMessage(fn onConsoleMessage)
- func (m *ICefDisplayHandler) SetOnCursorChange(fn onCursorChange)
- func (m *ICefDisplayHandler) SetOnFaviconUrlChange(fn onFaviconUrlChange)
- func (m *ICefDisplayHandler) SetOnFullScreenModeChange(fn onFullScreenModeChange)
- func (m *ICefDisplayHandler) SetOnLoadingProgressChange(fn onLoadingProgressChange)
- func (m *ICefDisplayHandler) SetOnMediaAccessChange(fn onMediaAccessChange)
- func (m *ICefDisplayHandler) SetOnStatusMessage(fn onStatusMessage)
- func (m *ICefDisplayHandler) SetOnTitleChange(fn onTitleChange)
- func (m *ICefDisplayHandler) SetOnTooltip(fn onTooltip)
- type ICefDomDocument
- func (m *ICefDomDocument) Free()
- func (m *ICefDomDocument) GetBaseUrl() string
- func (m *ICefDomDocument) GetBody() *ICefDomNode
- func (m *ICefDomDocument) GetCompleteUrl() string
- func (m *ICefDomDocument) GetDocType() consts.TCefDomDocumentType
- func (m *ICefDomDocument) GetDocument() *ICefDomNode
- func (m *ICefDomDocument) GetElementById(id string) *ICefDomNode
- func (m *ICefDomDocument) GetFocusedNode() *ICefDomNode
- func (m *ICefDomDocument) GetHead() *ICefDomNode
- func (m *ICefDomDocument) GetSelectionAsMarkup() string
- func (m *ICefDomDocument) GetSelectionAsText() string
- func (m *ICefDomDocument) GetSelectionEndOffset() int32
- func (m *ICefDomDocument) GetSelectionStartOffset() int32
- func (m *ICefDomDocument) GetTitle() string
- func (m *ICefDomDocument) HasSelection() bool
- func (m *ICefDomDocument) Instance() uintptr
- func (m *ICefDomDocument) IsValid() bool
- type ICefDomNode
- func (m *ICefDomNode) Free()
- func (m *ICefDomNode) GetAsMarkup() string
- func (m *ICefDomNode) GetDocument() *ICefDomDocument
- func (m *ICefDomNode) GetElementAttribute(attrName string) string
- func (m *ICefDomNode) GetElementAttributes() []string
- func (m *ICefDomNode) GetElementBounds() (result TCefRect)
- func (m *ICefDomNode) GetElementInnerText() string
- func (m *ICefDomNode) GetElementTagName() string
- func (m *ICefDomNode) GetFirstChild() *ICefDomNode
- func (m *ICefDomNode) GetFormControlElementType() string
- func (m *ICefDomNode) GetLastChild() *ICefDomNode
- func (m *ICefDomNode) GetName() string
- func (m *ICefDomNode) GetNextSibling() *ICefDomNode
- func (m *ICefDomNode) GetNodeType() consts.TCefDomNodeType
- func (m *ICefDomNode) GetParent() *ICefDomNode
- func (m *ICefDomNode) GetPreviousSibling() *ICefDomNode
- func (m *ICefDomNode) GetValue() string
- func (m *ICefDomNode) HasChildren() bool
- func (m *ICefDomNode) HasElementAttribute(attrName string) bool
- func (m *ICefDomNode) HasElementAttributes() bool
- func (m *ICefDomNode) Instance() uintptr
- func (m *ICefDomNode) IsEditable() bool
- func (m *ICefDomNode) IsElement() bool
- func (m *ICefDomNode) IsFormControlElement() bool
- func (m *ICefDomNode) IsSame() bool
- func (m *ICefDomNode) IsText() bool
- func (m *ICefDomNode) IsValid() bool
- func (m *ICefDomNode) SetElementAttribute(attrName, value string) bool
- func (m *ICefDomNode) SetValue(value string) bool
- type ICefDomVisitor
- type ICefDownloadHandler
- func (m *ICefDownloadHandler) Free()
- func (m *ICefDownloadHandler) Instance() uintptr
- func (m *ICefDownloadHandler) IsValid() bool
- func (m *ICefDownloadHandler) SetCanDownload(fn canDownload)
- func (m *ICefDownloadHandler) SetOnBeforeDownload(fn onBeforeDownload)
- func (m *ICefDownloadHandler) SetOnDownloadUpdated(fn onDownloadUpdated)
- type ICefDownloadItem
- func (m *ICefDownloadItem) ContentDisposition() string
- func (m *ICefDownloadItem) CurrentSpeed() int64
- func (m *ICefDownloadItem) EndTime() time.Time
- func (m *ICefDownloadItem) Free()
- func (m *ICefDownloadItem) FullPath() string
- func (m *ICefDownloadItem) Id() uint32
- func (m *ICefDownloadItem) Instance() uintptr
- func (m *ICefDownloadItem) IsCanceled() bool
- func (m *ICefDownloadItem) IsComplete() bool
- func (m *ICefDownloadItem) IsInProgress() bool
- func (m *ICefDownloadItem) IsValid() bool
- func (m *ICefDownloadItem) MimeType() string
- func (m *ICefDownloadItem) OriginalUrl() string
- func (m *ICefDownloadItem) PercentComplete() int32
- func (m *ICefDownloadItem) ReceivedBytes() int64
- func (m *ICefDownloadItem) StartTime() time.Time
- func (m *ICefDownloadItem) State() int32
- func (m *ICefDownloadItem) SuggestedFileName() string
- func (m *ICefDownloadItem) TotalBytes() int64
- func (m *ICefDownloadItem) Url() string
- type ICefDownloadItemCallback
- type ICefDragData
- func (m *ICefDragData) AddFile(path, displayName string)
- func (m *ICefDragData) ClearFilenames()
- func (m *ICefDragData) Clone() *ICefDragData
- func (m *ICefDragData) Free()
- func (m *ICefDragData) GetFileContents(writer *ICefStreamWriter) uint32
- func (m *ICefDragData) GetFileName() string
- func (m *ICefDragData) GetFileNames() ([]string, int32)
- func (m *ICefDragData) GetFragmentBaseUrl() string
- func (m *ICefDragData) GetFragmentHtml() string
- func (m *ICefDragData) GetFragmentText() string
- func (m *ICefDragData) GetImage() *ICefImage
- func (m *ICefDragData) GetImageHotspot() *TCefPoint
- func (m *ICefDragData) GetLinkMetadata() string
- func (m *ICefDragData) GetLinkTitle() string
- func (m *ICefDragData) GetLinkUrl() string
- func (m *ICefDragData) HasImage() bool
- func (m *ICefDragData) Instance() uintptr
- func (m *ICefDragData) IsFile() bool
- func (m *ICefDragData) IsFragment() bool
- func (m *ICefDragData) IsLink() bool
- func (m *ICefDragData) IsReadOnly() bool
- func (m *ICefDragData) IsValid() bool
- func (m *ICefDragData) ResetFileContents()
- func (m *ICefDragData) SetFragmentBaseUrl(baseUrl string)
- func (m *ICefDragData) SetFragmentHtml(html string)
- func (m *ICefDragData) SetFragmentText(text string)
- func (m *ICefDragData) SetLinkMetadata(data string)
- func (m *ICefDragData) SetLinkTitle(title string)
- func (m *ICefDragData) SetLinkUrl(url string)
- type ICefDragHandler
- type ICefExtension
- func (m *ICefExtension) Free()
- func (m *ICefExtension) GetBackgroundPage() string
- func (m *ICefExtension) GetBrowserActionIcon() string
- func (m *ICefExtension) GetBrowserActionPopup() string
- func (m *ICefExtension) GetHandler() *ICefExtensionHandler
- func (m *ICefExtension) GetIdentifier() string
- func (m *ICefExtension) GetLoaderContext() *ICefRequestContext
- func (m *ICefExtension) GetManifest() *ICefDictionaryValue
- func (m *ICefExtension) GetOptionsPage() string
- func (m *ICefExtension) GetOptionsUIPage() string
- func (m *ICefExtension) GetPageActionIcon() string
- func (m *ICefExtension) GetPageActionPopup() string
- func (m *ICefExtension) GetPath() string
- func (m *ICefExtension) GetURL() string
- func (m *ICefExtension) Instance() uintptr
- func (m *ICefExtension) IsLoaded() bool
- func (m *ICefExtension) IsSame(that *ICefExtension) bool
- func (m *ICefExtension) IsValid() bool
- type ICefExtensionHandler
- func (m *ICefExtensionHandler) Free()
- func (m *ICefExtensionHandler) Instance() uintptr
- func (m *ICefExtensionHandler) IsValid() bool
- func (m *ICefExtensionHandler) SetCanAccessBrowser(fn canAccessBrowser)
- func (m *ICefExtensionHandler) SetGetActiveBrowser(fn getActiveBrowser)
- func (m *ICefExtensionHandler) SetGetExtensionResource(fn getExtensionResource)
- func (m *ICefExtensionHandler) SetOnBeforeBackgroundBrowser(fn onBeforeBackgroundBrowser)
- func (m *ICefExtensionHandler) SetOnBeforeBrowser(fn onBeforeBrowser)
- func (m *ICefExtensionHandler) SetOnExtensionLoadFailed(fn onExtensionLoadFailed)
- func (m *ICefExtensionHandler) SetOnExtensionLoaded(fn onExtensionLoaded)
- func (m *ICefExtensionHandler) SetOnExtensionUnloaded(fn onExtensionUnloaded)
- type ICefFileDialogCallback
- type ICefFindHandler
- type ICefFocusHandler
- type ICefFrame
- func (m *ICefFrame) Browser() *ICefBrowser
- func (m *ICefFrame) Copy()
- func (m *ICefFrame) Cut()
- func (m *ICefFrame) Del()
- func (m *ICefFrame) EmitRender(messageId int32, eventName string, target target.ITarget, data ...any) bool
- func (m *ICefFrame) ExecuteJavaScript(code, scriptUrl string, startLine int32)
- func (m *ICefFrame) Free()
- func (m *ICefFrame) Identifier() (result int64)
- func (m *ICefFrame) Instance() uintptr
- func (m *ICefFrame) IsFocused() bool
- func (m *ICefFrame) IsMain() bool
- func (m *ICefFrame) IsValid() bool
- func (m *ICefFrame) LoadRequest(request *ICefRequest)
- func (m *ICefFrame) LoadUrl(url string)
- func (m *ICefFrame) Name() string
- func (m *ICefFrame) Parent() *ICefFrame
- func (m *ICefFrame) Paste()
- func (m *ICefFrame) Redo()
- func (m *ICefFrame) SelectAll()
- func (m *ICefFrame) SendProcessMessage(targetProcess CefProcessId, message *ICefProcessMessage)
- func (m *ICefFrame) SendProcessMessageForJSONBytes(messageName string, targetProcess CefProcessId, data []byte)
- func (m *ICefFrame) SendProcessMessageForV8Value(messageName string, targetProcess CefProcessId, arguments *ICefV8Value)
- func (m *ICefFrame) Undo()
- func (m *ICefFrame) Url() string
- func (m *ICefFrame) V8Context() *ICefV8Context
- func (m *ICefFrame) ViewSource()
- func (m *ICefFrame) VisitDom(visitor *ICefDomVisitor)
- type ICefFrameHandler
- func (m *ICefFrameHandler) Free()
- func (m *ICefFrameHandler) Instance() uintptr
- func (m *ICefFrameHandler) IsValid() bool
- func (m *ICefFrameHandler) SetOnFrameAttached(fn onFrameAttached)
- func (m *ICefFrameHandler) SetOnFrameCreated(fn onFrameCreated)
- func (m *ICefFrameHandler) SetOnFrameDetached(fn onFrameDetached)
- func (m *ICefFrameHandler) SetOnMainFrameChanged(fn onMainFrameChanged)
- type ICefGetExtensionResourceCallback
- type ICefImage
- func (m *ICefImage) AddJpeg(scaleFactor float32, jpeg []byte) bool
- func (m *ICefImage) AddJpegFS(scaleFactor float32, filename string) bool
- func (m *ICefImage) AddPng(scaleFactor float32, png []byte) bool
- func (m *ICefImage) AddPngFS(scaleFactor float32, filename string) bool
- func (m *ICefImage) Free()
- func (m *ICefImage) Height() int32
- func (m *ICefImage) Instance() uintptr
- func (m *ICefImage) IsValid() bool
- func (m *ICefImage) Width() int32
- type ICefJsDialogCallback
- type ICefJsDialogHandler
- func (m *ICefJsDialogHandler) Free()
- func (m *ICefJsDialogHandler) Instance() uintptr
- func (m *ICefJsDialogHandler) IsValid() bool
- func (m *ICefJsDialogHandler) OnBeforeUnloadDialog(fn onBeforeUnloadDialog)
- func (m *ICefJsDialogHandler) OnDialogClosed(fn onDialogClosed)
- func (m *ICefJsDialogHandler) OnJsDialog(fn onJsDialog)
- func (m *ICefJsDialogHandler) OnResetDialogState(fn onResetDialogState)
- type ICefKeyboardHandler
- type ICefLifeSpanHandler
- func (m *ICefLifeSpanHandler) Free()
- func (m *ICefLifeSpanHandler) Instance() uintptr
- func (m *ICefLifeSpanHandler) IsValid() bool
- func (m *ICefLifeSpanHandler) SetDoClose(fn doClose)
- func (m *ICefLifeSpanHandler) SetOnAfterCreated(fn onAfterCreated)
- func (m *ICefLifeSpanHandler) SetOnBeforeClose(fn onBeforeClose)
- func (m *ICefLifeSpanHandler) SetOnBeforePopup(fn onBeforePopup)
- type ICefListValue
- func (m *ICefListValue) Clear() (result bool)
- func (m *ICefListValue) Copy() *ICefListValue
- func (m *ICefListValue) Free()
- func (m *ICefListValue) GetBinary(index uint32) *ICefBinaryValue
- func (m *ICefListValue) GetBool(index uint32) bool
- func (m *ICefListValue) GetDictionary(index uint32) *ICefDictionaryValue
- func (m *ICefListValue) GetDouble(index uint32) (result float64)
- func (m *ICefListValue) GetIArray(index uint32) types.IArrayValue
- func (m *ICefListValue) GetIBinary(index uint32) types.IBinaryValue
- func (m *ICefListValue) GetIObject(index uint32) types.IObjectValue
- func (m *ICefListValue) GetIValue(index uint32) types.IValue
- func (m *ICefListValue) GetInt(index uint32) int32
- func (m *ICefListValue) GetList(index uint32) *ICefListValue
- func (m *ICefListValue) GetString(index uint32) string
- func (m *ICefListValue) GetType(index uint32) consts.TCefValueType
- func (m *ICefListValue) GetValue(index uint32) *ICefValue
- func (m *ICefListValue) Instance() uintptr
- func (m *ICefListValue) IsOwned() bool
- func (m *ICefListValue) IsReadOnly() bool
- func (m *ICefListValue) IsValid() bool
- func (m *ICefListValue) Remove(index uint32) bool
- func (m *ICefListValue) SetBinary(index uint32, value *ICefBinaryValue) (result bool)
- func (m *ICefListValue) SetBool(index uint32, value bool) bool
- func (m *ICefListValue) SetDictionary(index uint32, value *ICefDictionaryValue) (result bool)
- func (m *ICefListValue) SetDouble(index uint32, value float64) bool
- func (m *ICefListValue) SetInt(index uint32, value int32) bool
- func (m *ICefListValue) SetList(index uint32, value *ICefListValue) (result bool)
- func (m *ICefListValue) SetNull(index uint32) bool
- func (m *ICefListValue) SetSize(size uint32) bool
- func (m *ICefListValue) SetString(index uint32, value string) bool
- func (m *ICefListValue) SetValue(index uint32, value *ICefValue) (result bool)
- func (m *ICefListValue) Size() uint32
- type ICefLoadHandler
- func (m *ICefLoadHandler) Free()
- func (m *ICefLoadHandler) Instance() uintptr
- func (m *ICefLoadHandler) IsValid() bool
- func (m *ICefLoadHandler) SetOnLoadEnd(fn onLoadEnd)
- func (m *ICefLoadHandler) SetOnLoadError(fn onLoadError)
- func (m *ICefLoadHandler) SetOnLoadStart(fn onLoadStart)
- func (m *ICefLoadHandler) SetOnLoadingStateChange(fn onLoadingStateChange)
- type ICefMediaAccessCallback
- type ICefMediaRoute
- type ICefMediaSink
- type ICefMenuModel
- func (m *ICefMenuModel) AddCheckItem(commandId MenuId, text string) bool
- func (m *ICefMenuModel) AddItem(commandId MenuId, text string) bool
- func (m *ICefMenuModel) AddMenuItem(item *MenuItem) bool
- func (m *ICefMenuModel) AddRadioItem(commandId MenuId, text string, groupId int32) bool
- func (m *ICefMenuModel) AddSeparator() bool
- func (m *ICefMenuModel) AddSubMenu(commandId MenuId, text string) *ICefMenuModel
- func (m *ICefMenuModel) Clear() bool
- func (m *ICefMenuModel) Free()
- func (m *ICefMenuModel) GetCount() int32
- func (m *ICefMenuModel) GetIndexOf(commandId MenuId) int32
- func (m *ICefMenuModel) HasAccelerator(commandId MenuId) bool
- func (m *ICefMenuModel) Instance() uintptr
- func (m *ICefMenuModel) IsChecked(commandId MenuId) bool
- func (m *ICefMenuModel) IsEnabled(commandId MenuId) bool
- func (m *ICefMenuModel) IsSubMenu() bool
- func (m *ICefMenuModel) IsVisible(commandId MenuId) bool
- func (m *ICefMenuModel) Remove(commandId MenuId) bool
- func (m *ICefMenuModel) RemoveAccelerator(commandId MenuId) bool
- func (m *ICefMenuModel) RemoveAt(index int32) bool
- func (m *ICefMenuModel) SetAccelerator(commandId MenuId, keyCode int32, shiftPressed, ctrlPressed, altPressed bool) bool
- func (m *ICefMenuModel) SetChecked(commandId MenuId, check bool) bool
- func (m *ICefMenuModel) SetColor(commandId MenuId, colorType TCefMenuColorType, color *TCefARGB) bool
- func (m *ICefMenuModel) SetEnabled(commandId MenuId, enabled bool) bool
- func (m *ICefMenuModel) SetLabel(commandId MenuId, text string) bool
- func (m *ICefMenuModel) SetVisible(commandId MenuId, visible bool) bool
- type ICefNavigationEntry
- type ICefPdfPrintCallback
- type ICefPermissionHandler
- func (m *ICefPermissionHandler) Free()
- func (m *ICefPermissionHandler) Instance() uintptr
- func (m *ICefPermissionHandler) IsValid() bool
- func (m *ICefPermissionHandler) OnDismissPermissionPrompt(fn onDismissPermissionPrompt)
- func (m *ICefPermissionHandler) OnRequestMediaAccessPermission(fn onRequestMediaAccessPermission)
- func (m *ICefPermissionHandler) OnShowPermissionPrompt(fn onShowPermissionPrompt)
- type ICefPermissionPromptCallback
- type ICefPostData
- func (m *ICefPostData) AddElement(postDataElement *ICefPostDataElement) bool
- func (m *ICefPostData) GetElementCount() uint32
- func (m *ICefPostData) GetElements() *TCefPostDataElementArray
- func (m *ICefPostData) HasExcludedElements() bool
- func (m *ICefPostData) Instance() uintptr
- func (m *ICefPostData) IsReadOnly() bool
- func (m *ICefPostData) IsValid() bool
- func (m *ICefPostData) RemoveElement(postDataElement *ICefPostDataElement) bool
- func (m *ICefPostData) RemoveElements()
- type ICefPostDataElement
- func (m *ICefPostDataElement) GetBytes() (result []byte, count uint32)
- func (m *ICefPostDataElement) GetBytesCount() uint32
- func (m *ICefPostDataElement) GetFile() string
- func (m *ICefPostDataElement) GetType() consts.TCefPostDataElementType
- func (m *ICefPostDataElement) Instance() uintptr
- func (m *ICefPostDataElement) IsReadOnly() bool
- func (m *ICefPostDataElement) IsValid() bool
- func (m *ICefPostDataElement) SetToBytes(bytes []byte)
- func (m *ICefPostDataElement) SetToEmpty()
- func (m *ICefPostDataElement) SetToFile(fileName string)
- type ICefPrintDialogCallback
- type ICefPrintHandler
- func (m *ICefPrintHandler) Free()
- func (m *ICefPrintHandler) Instance() uintptr
- func (m *ICefPrintHandler) IsValid() bool
- func (m *ICefPrintHandler) SetGetPDFPaperSize(fn getPDFPaperSize)
- func (m *ICefPrintHandler) SetOnPrintDialog(fn onPrintDialog)
- func (m *ICefPrintHandler) SetOnPrintJob(fn onPrintJob)
- func (m *ICefPrintHandler) SetOnPrintReset(fn onPrintReset)
- func (m *ICefPrintHandler) SetOnPrintSettings(fn onPrintSettings)
- func (m *ICefPrintHandler) SetOnPrintStart(fn onPrintStart)
- type ICefPrintJobCallback
- type ICefPrintSettings
- func (m *ICefPrintSettings) Free()
- func (m *ICefPrintSettings) GetColorModel() consts.TCefColorModel
- func (m *ICefPrintSettings) GetCopies() int32
- func (m *ICefPrintSettings) GetDeviceName() string
- func (m *ICefPrintSettings) GetDpi() int32
- func (m *ICefPrintSettings) GetDuplexMode() consts.TCefDuplexMode
- func (m *ICefPrintSettings) GetPageRanges() []TCefRange
- func (m *ICefPrintSettings) GetPageRangesCount() uint32
- func (m *ICefPrintSettings) Instance() uintptr
- func (m *ICefPrintSettings) IsLandscape() bool
- func (m *ICefPrintSettings) IsReadOnly() bool
- func (m *ICefPrintSettings) IsSelectionOnly() bool
- func (m *ICefPrintSettings) IsValid() bool
- func (m *ICefPrintSettings) SetCollate(collate bool)
- func (m *ICefPrintSettings) SetColorModel(model consts.TCefColorModel)
- func (m *ICefPrintSettings) SetCopies(copies int32)
- func (m *ICefPrintSettings) SetDeviceName(name string)
- func (m *ICefPrintSettings) SetDpi(dpi int32)
- func (m *ICefPrintSettings) SetDuplexMode(mode consts.TCefDuplexMode)
- func (m *ICefPrintSettings) SetOrientation(landscape bool)
- func (m *ICefPrintSettings) SetPageRanges(ranges []TCefRange)
- func (m *ICefPrintSettings) SetPrinterPrintableArea(physicalSizeDeviceUnits *TCefSize, printableAreaDeviceUnits *TCefRect, ...)
- func (m *ICefPrintSettings) SetSelectionOnly(selectionOnly bool)
- func (m *ICefPrintSettings) WillCollate() bool
- type ICefProcessMessage
- type ICefRenderHandler
- func (m *ICefRenderHandler) Free()
- func (m *ICefRenderHandler) Instance() uintptr
- func (m *ICefRenderHandler) IsValid() bool
- func (m *ICefRenderHandler) SetGetAccessibilityHandler(fn renderHandlerGetAccessibilityHandler)
- func (m *ICefRenderHandler) SetGetRootScreenRect(fn renderHandlerGetRootScreenRect)
- func (m *ICefRenderHandler) SetGetScreenInfo(fn renderHandlerGetScreenInfo)
- func (m *ICefRenderHandler) SetGetScreenPoint(fn renderHandlerGetScreenPoint)
- func (m *ICefRenderHandler) SetGetTouchHandleSize(fn renderHandlerGetTouchHandleSize)
- func (m *ICefRenderHandler) SetGetViewRect(fn renderHandlerGetViewRect)
- func (m *ICefRenderHandler) SetOnAcceleratedPaint(fn renderHandlerOnAcceleratedPaint)
- func (m *ICefRenderHandler) SetOnIMECompositionRangeChanged(fn renderHandlerOnIMECompositionRangeChanged)
- func (m *ICefRenderHandler) SetOnPaint(fn renderHandlerOnPaint)
- func (m *ICefRenderHandler) SetOnPopupShow(fn renderHandlerOnPopupShow)
- func (m *ICefRenderHandler) SetOnPopupSize(fn renderHandlerOnPopupSize)
- func (m *ICefRenderHandler) SetOnScrollOffsetChanged(fn renderHandlerOnScrollOffsetChanged)
- func (m *ICefRenderHandler) SetOnStartDragging(fn renderHandlerOnStartDragging)
- func (m *ICefRenderHandler) SetOnTextSelectionChanged(fn renderHandlerOnTextSelectionChanged)
- func (m *ICefRenderHandler) SetOnTouchHandleStateChanged(fn renderHandlerOnTouchHandleStateChanged)
- func (m *ICefRenderHandler) SetOnUpdateDragCursor(fn renderHandlerOnUpdateDragCursor)
- func (m *ICefRenderHandler) SetOnVirtualKeyboardRequested(fn renderHandlerOnVirtualKeyboardRequested)
- type ICefRequest
- func (m *ICefRequest) Flags() TCefUrlRequestFlags
- func (m *ICefRequest) Free()
- func (m *ICefRequest) GetFirstPartyForCookies() string
- func (m *ICefRequest) GetHeaderByName(name string) string
- func (m *ICefRequest) GetHeaderMap() *ICefStringMultiMap
- func (m *ICefRequest) GetPostData() *ICefPostData
- func (m *ICefRequest) Identifier() (result uint64)
- func (m *ICefRequest) Instance() uintptr
- func (m *ICefRequest) IsReadOnly() bool
- func (m *ICefRequest) IsValid() bool
- func (m *ICefRequest) Method() string
- func (m *ICefRequest) ReferrerPolicy() TCefReferrerPolicy
- func (m *ICefRequest) ReferrerUrl() string
- func (m *ICefRequest) ResourceType() TCefResourceType
- func (m *ICefRequest) SetFirstPartyForCookies(url string)
- func (m *ICefRequest) SetFlags(flags TCefUrlRequestFlags)
- func (m *ICefRequest) SetHeaderByName(name, value string, overwrite bool)
- func (m *ICefRequest) SetHeaderMap(headerMap *ICefStringMultiMap)
- func (m *ICefRequest) SetMethod(method string)
- func (m *ICefRequest) SetPostData(value *ICefPostData)
- func (m *ICefRequest) SetReferrer(referrerUrl string, policy TCefReferrerPolicy)
- func (m *ICefRequest) SetURL(url string)
- func (m *ICefRequest) TransitionType() TCefTransitionType
- func (m *ICefRequest) URL() string
- type ICefRequestContext
- func (m *ICefRequestContext) CanSetPreference(name string) bool
- func (m *ICefRequestContext) ClearCertificateExceptions(callback *ICefCompletionCallback)
- func (m *ICefRequestContext) ClearHttpAuthCredentials(callback *ICefCompletionCallback)
- func (m *ICefRequestContext) ClearSchemeHandlerFactories() bool
- func (m *ICefRequestContext) CloseAllConnections(callback *ICefCompletionCallback)
- func (m *ICefRequestContext) DidLoadExtension(extensionId string)
- func (m *ICefRequestContext) Free()
- func (m *ICefRequestContext) GetAllPreferences(includeDefaults bool) *ICefDictionaryValue
- func (m *ICefRequestContext) GetCachePath() string
- func (m *ICefRequestContext) GetCookieManager(callback *ICefCompletionCallback) *ICefCookieManager
- func (m *ICefRequestContext) GetExtension(extensionId string) *ICefExtension
- func (m *ICefRequestContext) GetExtensions() (result []string, ok bool)
- func (m *ICefRequestContext) GetHandler() *ICefRequestContextHandler
- func (m *ICefRequestContext) GetPreference(name string) *ICefValue
- func (m *ICefRequestContext) HasExtension(extensionId string)
- func (m *ICefRequestContext) HasPreference(name string) bool
- func (m *ICefRequestContext) Instance() uintptr
- func (m *ICefRequestContext) IsGlobal() bool
- func (m *ICefRequestContext) IsSame(other *ICefRequestContext) bool
- func (m *ICefRequestContext) IsSharingWith(other *ICefRequestContext) bool
- func (m *ICefRequestContext) IsValid() bool
- func (m *ICefRequestContext) LoadExtension(rootDirectory string, manifest *ICefDictionaryValue, ...)
- func (m *ICefRequestContext) RegisterSchemeHandlerFactory(schemeName, domainName string, factory *ICefSchemeHandlerFactory) bool
- func (m *ICefRequestContext) ResolveHost(origin string)
- func (m *ICefRequestContext) SetPreference(name string, value *ICefValue) (error string, ok bool)
- type ICefRequestContextHandler
- func (m *ICefRequestContextHandler) Free()
- func (m *ICefRequestContextHandler) Instance() uintptr
- func (m *ICefRequestContextHandler) IsChromiumEvent() bool
- func (m *ICefRequestContextHandler) IsTClientEvent() bool
- func (m *ICefRequestContextHandler) IsValid() bool
- func (m *ICefRequestContextHandler) SetGetResourceRequestHandler(fn getResourceRequestHandler)
- func (m *ICefRequestContextHandler) SetOnRequestContextInitialized(fn onRequestContextInitialized)
- type ICefRequestHandler
- func (m *ICefRequestHandler) Free()
- func (m *ICefRequestHandler) Instance() uintptr
- func (m *ICefRequestHandler) IsValid() bool
- func (m *ICefRequestHandler) SetGetAuthCredentials(fn requestHandlerGetAuthCredentials)
- func (m *ICefRequestHandler) SetGetResourceRequestHandler(fn requestHandlerGetResourceRequestHandler)
- func (m *ICefRequestHandler) SetOnBeforeBrowse(fn requestHandlerOnBeforeBrowse)
- func (m *ICefRequestHandler) SetOnCertificateError(fn requestHandlerOnCertificateError)
- func (m *ICefRequestHandler) SetOnDocumentAvailableInMainFrame(fn requestHandlerOnDocumentAvailableInMainFrame)
- func (m *ICefRequestHandler) SetOnOpenUrlFromTab(fn requestHandlerOnOpenUrlFromTab)
- func (m *ICefRequestHandler) SetOnRenderProcessTerminated(fn requestHandlerOnRenderProcessTerminated)
- func (m *ICefRequestHandler) SetOnRenderViewReady(fn requestHandlerOnRenderViewReady)
- func (m *ICefRequestHandler) SetOnSelectClientCertificate(fn requestHandlerOnSelectClientCertificate)
- type ICefResourceHandler
- func (m *ICefResourceHandler) Cancel(fn resourceHandlerCancel)
- func (m *ICefResourceHandler) Free()
- func (m *ICefResourceHandler) GetResponseHeaders(fn resourceHandlerGetResponseHeaders)
- func (m *ICefResourceHandler) Instance() uintptr
- func (m *ICefResourceHandler) IsValid() bool
- func (m *ICefResourceHandler) Open(fn resourceHandlerOpen)
- func (m *ICefResourceHandler) ProcessRequest(fn resourceHandlerProcessRequest)
- func (m *ICefResourceHandler) Read(fn resourceHandlerRead)
- func (m *ICefResourceHandler) ReadResponse(fn resourceHandlerReadResponse)
- func (m *ICefResourceHandler) Skip(fn resourceHandlerSkip)
- type ICefResourceReadCallback
- type ICefResourceRequestHandler
- func (m *ICefResourceRequestHandler) Free()
- func (m *ICefResourceRequestHandler) Instance() uintptr
- func (m *ICefResourceRequestHandler) IsChromiumEvent() bool
- func (m *ICefResourceRequestHandler) IsTClientEvent() bool
- func (m *ICefResourceRequestHandler) IsValid() bool
- func (m *ICefResourceRequestHandler) SetGetCookieAccessFilter(fn getCookieAccessFilter)
- func (m *ICefResourceRequestHandler) SetGetResourceHandler(fn getResourceHandler)
- func (m *ICefResourceRequestHandler) SetGetResourceResponseFilter(fn getResourceResponseFilter)
- func (m *ICefResourceRequestHandler) SetOnBeforeResourceLoad(fn onBeforeResourceLoad)
- func (m *ICefResourceRequestHandler) SetOnProtocolExecution(fn onProtocolExecution)
- func (m *ICefResourceRequestHandler) SetOnResourceLoadComplete(fn onResourceLoadComplete)
- func (m *ICefResourceRequestHandler) SetOnResourceRedirect(fn onResourceRedirect)
- func (m *ICefResourceRequestHandler) SetOnResourceResponse(fn onResourceResponse)
- type ICefResourceSkipCallback
- type ICefResponse
- func (m *ICefResponse) Charset() string
- func (m *ICefResponse) Error() TCefErrorCode
- func (m *ICefResponse) Free()
- func (m *ICefResponse) GetHeaderByName(name string) string
- func (m *ICefResponse) GetHeaderMap() *ICefStringMultiMap
- func (m *ICefResponse) Instance() uintptr
- func (m *ICefResponse) IsReadOnly() bool
- func (m *ICefResponse) IsValid() bool
- func (m *ICefResponse) MimeType() string
- func (m *ICefResponse) SetCharset(charset string)
- func (m *ICefResponse) SetError(error TCefErrorCode)
- func (m *ICefResponse) SetHeaderByName(name, value string, overwrite bool)
- func (m *ICefResponse) SetHeaderMap(headerMap *ICefStringMultiMap)
- func (m *ICefResponse) SetMimeType(mimetype string)
- func (m *ICefResponse) SetStatus(status int32)
- func (m *ICefResponse) SetStatusText(statusText string)
- func (m *ICefResponse) SetURL(url string)
- func (m *ICefResponse) Status() int32
- func (m *ICefResponse) StatusText() string
- func (m *ICefResponse) URL() string
- type ICefResponseFilter
- type ICefRunContextMenuCallback
- type ICefRunQuickMenuCallback
- type ICefSchemeHandlerFactory
- type ICefSelectClientCertificateCallback
- type ICefSetCookieCallback
- func (m *ICefSetCookieCallback) Free()
- func (m *ICefSetCookieCallback) Instance() uintptr
- func (m *ICefSetCookieCallback) IsChromiumEvent() bool
- func (m *ICefSetCookieCallback) IsTClientEvent() bool
- func (m *ICefSetCookieCallback) IsValid() bool
- func (m *ICefSetCookieCallback) SetOnComplete(fn setCookieOnComplete)
- type ICefSslInfo
- type ICefStreamReader
- func (m *ICefStreamReader) Eof() bool
- func (m *ICefStreamReader) Free()
- func (m *ICefStreamReader) Instance() uintptr
- func (m *ICefStreamReader) IsValid() bool
- func (m *ICefStreamReader) MayBlock() bool
- func (m *ICefStreamReader) Read(data []byte, size, n uint32) uint32
- func (m *ICefStreamReader) Seek(offset int64, whence int32) int32
- func (m *ICefStreamReader) Tell() (result int64)
- type ICefStreamWriter
- type ICefStringMultiMap
- func (m *ICefStringMultiMap) Append(key, value string) bool
- func (m *ICefStringMultiMap) Clear()
- func (m *ICefStringMultiMap) FindCount(key string) uint32
- func (m *ICefStringMultiMap) GetEnumerate(key string, index uint32) string
- func (m *ICefStringMultiMap) GetKey(index uint32) string
- func (m *ICefStringMultiMap) GetSize() uint32
- func (m *ICefStringMultiMap) GetValue(index uint32) string
- func (m *ICefStringMultiMap) Instance() uintptr
- func (m *ICefStringMultiMap) IsValid() bool
- type ICefV8Accessor
- type ICefV8ArrayBufferReleaseCallback
- type ICefV8Context
- func (m *ICefV8Context) Browser() *ICefBrowser
- func (m *ICefV8Context) Enter() bool
- func (m *ICefV8Context) Eval(code, scriptUrl string, startLine int32) (value *ICefV8Value, exception *ICefV8Exception, ok bool)
- func (m *ICefV8Context) Exit() bool
- func (m *ICefV8Context) Frame() *ICefFrame
- func (m *ICefV8Context) Free()
- func (m *ICefV8Context) Global() *ICefV8Value
- func (m *ICefV8Context) Instance() uintptr
- func (m *ICefV8Context) IsSame(that *ICefV8Context) bool
- func (m *ICefV8Context) IsValid() bool
- type ICefV8Exception
- func (m *ICefV8Exception) EndColumn() int32
- func (m *ICefV8Exception) EndPosition() int32
- func (m *ICefV8Exception) Instance() uintptr
- func (m *ICefV8Exception) IsValid() bool
- func (m *ICefV8Exception) LineNumber() int32
- func (m *ICefV8Exception) Message() string
- func (m *ICefV8Exception) ScriptResourceName() string
- func (m *ICefV8Exception) SourceLine() string
- func (m *ICefV8Exception) StartColumn() int32
- func (m *ICefV8Exception) StartPosition() int32
- type ICefV8Handler
- type ICefV8Interceptor
- func (m *ICefV8Interceptor) Destroy()
- func (m *ICefV8Interceptor) GetByIndex(fn V8InterceptorGetByIndex)
- func (m *ICefV8Interceptor) GetByName(fn V8InterceptorGetByName)
- func (m *ICefV8Interceptor) Instance() uintptr
- func (m *ICefV8Interceptor) SetByIndex(fn V8InterceptorSetByIndex)
- func (m *ICefV8Interceptor) SetByName(fn V8InterceptorSetByName)
- type ICefV8StackTrace
- type ICefV8Value
- func (m *ICefV8Value) AdjustExternallyAllocatedMemory(changeInBytes int32) int32
- func (m *ICefV8Value) ClearException() bool
- func (m *ICefV8Value) DeleteValueByIndex(index int) bool
- func (m *ICefV8Value) DeleteValueByKey(key string) bool
- func (m *ICefV8Value) ExecuteFunction(obj *ICefV8Value, arguments *TCefV8ValueArray) *ICefV8Value
- func (m *ICefV8Value) ExecuteFunctionWithContext(v8Context *ICefV8Context, obj *ICefV8Value, arguments *TCefV8ValueArray) *ICefV8Value
- func (m *ICefV8Value) ExecuteFunctionWithContextForArgsBytes(v8Context *ICefV8Context, obj *ICefV8Value, arguments []byte) *ICefV8Value
- func (m *ICefV8Value) Free()
- func (m *ICefV8Value) GetArrayBufferReleaseCallback() *ICefV8ArrayBufferReleaseCallback
- func (m *ICefV8Value) GetArrayLength() int
- func (m *ICefV8Value) GetBoolValue() bool
- func (m *ICefV8Value) GetDateValue() time.Time
- func (m *ICefV8Value) GetDoubleValue() (result float64)
- func (m *ICefV8Value) GetExternallyAllocatedMemory() int32
- func (m *ICefV8Value) GetFunctionHandler() *ICefV8Handler
- func (m *ICefV8Value) GetFunctionName() string
- func (m *ICefV8Value) GetIKeys() types.IV8ValueKeys
- func (m *ICefV8Value) GetIntValue() int32
- func (m *ICefV8Value) GetKeys() *ICefV8ValueKeys
- func (m *ICefV8Value) GetStringValue() string
- func (m *ICefV8Value) GetUIntValue() uint32
- func (m *ICefV8Value) GetUserData() *ICefV8Value
- func (m *ICefV8Value) GetValueByIndex(index int) *ICefV8Value
- func (m *ICefV8Value) GetValueByKey(key string) *ICefV8Value
- func (m *ICefV8Value) HasValueByIndex(index int32) bool
- func (m *ICefV8Value) HasValueByKey(key string) bool
- func (m *ICefV8Value) Instance() uintptr
- func (m *ICefV8Value) IsArray() bool
- func (m *ICefV8Value) IsArrayBuffer() bool
- func (m *ICefV8Value) IsBool() bool
- func (m *ICefV8Value) IsDate() bool
- func (m *ICefV8Value) IsDouble() bool
- func (m *ICefV8Value) IsFunction() bool
- func (m *ICefV8Value) IsInt() bool
- func (m *ICefV8Value) IsNull() bool
- func (m *ICefV8Value) IsObject() bool
- func (m *ICefV8Value) IsPromise() bool
- func (m *ICefV8Value) IsSame() bool
- func (m *ICefV8Value) IsString() bool
- func (m *ICefV8Value) IsUInt() bool
- func (m *ICefV8Value) IsUndefined() bool
- func (m *ICefV8Value) IsUserCreated() bool
- func (m *ICefV8Value) IsValid() bool
- func (m *ICefV8Value) NeuterArrayBuffer() bool
- func (m *ICefV8Value) RejectPromise(errorMsg string) bool
- func (m *ICefV8Value) ResolvePromise(arg *ICefV8Value) bool
- func (m *ICefV8Value) SetCanNotFree(v bool)
- func (m *ICefV8Value) SetRethrowExceptions(reThrow bool) bool
- func (m *ICefV8Value) SetUserData(data *ICefV8Value) bool
- func (m *ICefV8Value) SetValueByAccessor(key string, settings consts.TCefV8AccessControls, ...) bool
- func (m *ICefV8Value) SetValueByIndex(index int32, value *ICefV8Value) bool
- func (m *ICefV8Value) SetValueByKey(key string, value *ICefV8Value, attribute consts.TCefV8PropertyAttributes) bool
- func (m *ICefV8Value) WillRethrowExceptions() bool
- type ICefV8ValueKeys
- type ICefValue
- func (m *ICefValue) Copy() *ICefValue
- func (m *ICefValue) Free()
- func (m *ICefValue) GetBinary() *ICefBinaryValue
- func (m *ICefValue) GetBool() bool
- func (m *ICefValue) GetDictionary() *ICefDictionaryValue
- func (m *ICefValue) GetDouble() (result float64)
- func (m *ICefValue) GetIArray() types.IArrayValue
- func (m *ICefValue) GetIBinary() types.IBinaryValue
- func (m *ICefValue) GetIObject() types.IObjectValue
- func (m *ICefValue) GetInt() int32
- func (m *ICefValue) GetList() *ICefListValue
- func (m *ICefValue) GetString() string
- func (m *ICefValue) GetType() consts.TCefValueType
- func (m *ICefValue) Instance() uintptr
- func (m *ICefValue) IsOwned() bool
- func (m *ICefValue) IsReadOnly() bool
- func (m *ICefValue) IsValid() bool
- func (m *ICefValue) SetBinary(value *ICefBinaryValue) (result bool)
- func (m *ICefValue) SetBool(value bool) bool
- func (m *ICefValue) SetDictionary(value *ICefDictionaryValue) (result bool)
- func (m *ICefValue) SetDouble(value float64) bool
- func (m *ICefValue) SetInt(value int32) bool
- func (m *ICefValue) SetList(value *ICefListValue) (result bool)
- func (m *ICefValue) SetNull() bool
- func (m *ICefValue) SetString(value string) bool
- type ICefView
- type ICefWindow
- func (m *ICefWindow) Activate()
- func (m *ICefWindow) AddOverlayView()
- func (m *ICefWindow) BringToTop()
- func (m *ICefWindow) CancelMenu()
- func (m *ICefWindow) CenterWindow(size *TCefSize)
- func (m *ICefWindow) ClientAreaBoundsInScreen() (result TCefRect)
- func (m *ICefWindow) Close()
- func (m *ICefWindow) Deactivate()
- func (m *ICefWindow) Display() *ICefDisplay
- func (m *ICefWindow) Free()
- func (m *ICefWindow) Hide()
- func (m *ICefWindow) Instance() uintptr
- func (m *ICefWindow) IsActive() bool
- func (m *ICefWindow) IsAlwaysOnTop() bool
- func (m *ICefWindow) IsClosed() bool
- func (m *ICefWindow) IsFullscreen() bool
- func (m *ICefWindow) IsMaximized() bool
- func (m *ICefWindow) IsMinimized() bool
- func (m *ICefWindow) Maximize()
- func (m *ICefWindow) Minimize()
- func (m *ICefWindow) RemoveAccelerator(commandId int32)
- func (m *ICefWindow) RemoveAllAccelerators()
- func (m *ICefWindow) Restore()
- func (m *ICefWindow) SendKeyPress(keyCode int32, eventFlags uint32)
- func (m *ICefWindow) SendMouseEvents(button consts.TCefMouseButtonType, mouseDown, mouseUp bool)
- func (m *ICefWindow) SendMouseMove(screenX, screenY int32)
- func (m *ICefWindow) SetAccelerator(commandId, keyCode int32, shiftPressed, ctrlPressed, altPressed bool)
- func (m *ICefWindow) SetAlwaysOnTop(onTop bool)
- func (m *ICefWindow) SetBackgroundColor(rect *types.TCefColor)
- func (m *ICefWindow) SetBounds(rect *TCefRect)
- func (m *ICefWindow) SetDraggableRegions(regions []TCefDraggableRegion)
- func (m *ICefWindow) SetFullscreen(fullscreen bool)
- func (m *ICefWindow) SetPosition(point *TCefPoint)
- func (m *ICefWindow) SetSize(size *TCefSize)
- func (m *ICefWindow) SetTitle(title string)
- func (m *ICefWindow) SetWindow(window *ICefWindow)
- func (m *ICefWindow) SetWindowAppIcon(scaleFactor float32, filename string) error
- func (m *ICefWindow) SetWindowAppIconFS(scaleFactor float32, filename string) error
- func (m *ICefWindow) SetWindowIcon(scaleFactor float32, filename string) error
- func (m *ICefWindow) SetWindowIconFS(scaleFactor float32, filename string) error
- func (m *ICefWindow) Show()
- func (m *ICefWindow) ShowMenu(menuModel *ICefMenuModel, point TCefPoint, ...)
- func (m *ICefWindow) Title() string
- func (m *ICefWindow) WindowAppIcon() *ICefImage
- func (m *ICefWindow) WindowHandle() consts.TCefWindowHandle
- func (m *ICefWindow) WindowIcon() *ICefImage
- func (m *ICefWindow) WindowState() t.TWindowState
- type ICefX509CertPrincipal
- func (m *ICefX509CertPrincipal) Free()
- func (m *ICefX509CertPrincipal) GetCommonName() string
- func (m *ICefX509CertPrincipal) GetCountryName() string
- func (m *ICefX509CertPrincipal) GetDisplayName() string
- func (m *ICefX509CertPrincipal) GetDomainComponents() *lcl.TStrings
- func (m *ICefX509CertPrincipal) GetLocalityName() string
- func (m *ICefX509CertPrincipal) GetOrganizationNames() *lcl.TStrings
- func (m *ICefX509CertPrincipal) GetOrganizationUnitNames() *lcl.TStrings
- func (m *ICefX509CertPrincipal) GetStateOrProvinceName() string
- func (m *ICefX509CertPrincipal) GetStreetAddresses() *lcl.TStrings
- func (m *ICefX509CertPrincipal) Instance() uintptr
- func (m *ICefX509CertPrincipal) IsValid() bool
- type ICefX509Certificate
- func (m *ICefX509Certificate) Free()
- func (m *ICefX509Certificate) GetDEREncodedIssuerChain(chainCount uint32) *TCefBinaryValueArray
- func (m *ICefX509Certificate) GetDerEncoded() *ICefBinaryValue
- func (m *ICefX509Certificate) GetIssuer() *ICefX509CertPrincipal
- func (m *ICefX509Certificate) GetIssuerChainSize() uint32
- func (m *ICefX509Certificate) GetPEMEncodedIssuerChain(chainCount uint32) *TCefBinaryValueArray
- func (m *ICefX509Certificate) GetPemEncoded() *ICefBinaryValue
- func (m *ICefX509Certificate) GetSerialNumber() *ICefBinaryValue
- func (m *ICefX509Certificate) GetSubject() *ICefX509CertPrincipal
- func (m *ICefX509Certificate) GetValidExpiry() (result int64)
- func (m *ICefX509Certificate) GetValidExpiryAsDateTime() time.Time
- func (m *ICefX509Certificate) GetValidStart() (result int64)
- func (m *ICefX509Certificate) GetValidStartAsDateTime() time.Time
- func (m *ICefX509Certificate) Instance() uintptr
- func (m *ICefX509Certificate) IsValid() bool
- type IChromium
- type IChromiumEvent
- type IChromiumProc
- type ILCLBrowserWindow
- type ITray
- type IViewsFrameworkBrowserWindow
- type KeyEventCallback
- type LCLBrowserWindow
- func (m *LCLBrowserWindow) AsLCLBrowserWindow() ILCLBrowserWindow
- func (m *LCLBrowserWindow) AsViewsFrameworkBrowserWindow() IViewsFrameworkBrowserWindow
- func (m *LCLBrowserWindow) Bounds() *TCefRect
- func (m *LCLBrowserWindow) Browser() *ICefBrowser
- func (m *LCLBrowserWindow) BrowserWindow() *LCLBrowserWindow
- func (m *LCLBrowserWindow) Chromium() IChromium
- func (m *LCLBrowserWindow) ChromiumCreate(config *tCefChromiumConfig, defaultUrl string)
- func (m *LCLBrowserWindow) Close()
- func (m *LCLBrowserWindow) CloseBrowserWindow()
- func (m *LCLBrowserWindow) DisableHelp()
- func (m *LCLBrowserWindow) DisableMaximize()
- func (m *LCLBrowserWindow) DisableMinimize()
- func (m *LCLBrowserWindow) DisableResize()
- func (m *LCLBrowserWindow) DisableSystemMenu()
- func (m *LCLBrowserWindow) DisableTransparent()
- func (m *LCLBrowserWindow) EnableAllDefaultEvent()
- func (m *LCLBrowserWindow) EnableDefaultCloseEvent()
- func (m *LCLBrowserWindow) EnableHelp()
- func (m *LCLBrowserWindow) EnableMaximize()
- func (m *LCLBrowserWindow) EnableMinimize()
- func (m *LCLBrowserWindow) EnableResize()
- func (m *LCLBrowserWindow) EnableSystemMenu()
- func (m *LCLBrowserWindow) EnableTransparent(value uint8)
- func (m *LCLBrowserWindow) FormCreate()
- func (m *LCLBrowserWindow) Handle() types.HWND
- func (m *LCLBrowserWindow) Hide()
- func (m *LCLBrowserWindow) HideTitle()
- func (m *LCLBrowserWindow) Id() int32
- func (m *LCLBrowserWindow) IsClosing() bool
- func (m *LCLBrowserWindow) IsLCL() bool
- func (m *LCLBrowserWindow) IsViewsFramework() bool
- func (m *LCLBrowserWindow) Maximize()
- func (m *LCLBrowserWindow) Minimize()
- func (m *LCLBrowserWindow) NewCefTray(width, height int32, url string) ITray
- func (m *LCLBrowserWindow) NewSysTray() ITray
- func (m *LCLBrowserWindow) NewTray() ITray
- func (m *LCLBrowserWindow) Point() *TCefPoint
- func (m *LCLBrowserWindow) Restore()
- func (m *LCLBrowserWindow) SetBounds(x, y, width, height int32)
- func (m *LCLBrowserWindow) SetCenterWindow(value bool)
- func (m *LCLBrowserWindow) SetDefaultInTaskBar()
- func (m *LCLBrowserWindow) SetHeight(value int32)
- func (m *LCLBrowserWindow) SetNotInTaskBar()
- func (m *LCLBrowserWindow) SetOnActivate(fn TNotifyEvent)
- func (m *LCLBrowserWindow) SetOnActivateAfter(fn lcl.TNotifyEvent)
- func (m *LCLBrowserWindow) SetOnClose(fn TCloseEvent)
- func (m *LCLBrowserWindow) SetOnCloseQuery(fn TCloseQueryEvent)
- func (m *LCLBrowserWindow) SetOnResize(fn TNotifyEvent)
- func (m *LCLBrowserWindow) SetOnShow(fn TNotifyEvent)
- func (m *LCLBrowserWindow) SetPoint(x, y int32)
- func (m *LCLBrowserWindow) SetShowInTaskBar()
- func (m *LCLBrowserWindow) SetSize(width, height int32)
- func (m *LCLBrowserWindow) SetTitle(title string)
- func (m *LCLBrowserWindow) SetVisible(value bool)
- func (m *LCLBrowserWindow) SetWidth(value int32)
- func (m *LCLBrowserWindow) SetWindowType(windowType consts.WINDOW_TYPE)
- func (m *LCLBrowserWindow) Show()
- func (m *LCLBrowserWindow) ShowTitle()
- func (m *LCLBrowserWindow) Size() *TCefSize
- func (m *LCLBrowserWindow) Visible() bool
- func (m *LCLBrowserWindow) WindowParent() ICEFWindowParent
- func (m *LCLBrowserWindow) WindowProperty() *WindowProperty
- func (m *LCLBrowserWindow) WindowState() types.TWindowState
- func (m *LCLBrowserWindow) WindowType() consts.WINDOW_TYPE
- type LCLTray
- func (m *LCLTray) AddMenuItem(caption string, onClick MenuItemClick) *lcl.TMenuItem
- func (m *LCLTray) AsCEFTray() *CEFTray
- func (m *LCLTray) AsLCLTray() *LCLTray
- func (m *LCLTray) AsSysTray() *SysTray
- func (m *LCLTray) AsViewsFrameTray() *ViewsFrameTray
- func (m *LCLTray) Hide()
- func (m *LCLTray) NewMenuItem(caption string, onClick MenuItemClick) *lcl.TMenuItem
- func (m *LCLTray) Notice(title, content string, timeout int32)
- func (m *LCLTray) SetHint(value string)
- func (m *LCLTray) SetIcon(iconResourcePath string)
- func (m *LCLTray) SetIconFS(iconResourcePath string)
- func (m *LCLTray) SetOnClick(fn TrayICONClick)
- func (m *LCLTray) SetOnDblClick(fn TrayICONClick)
- func (m *LCLTray) SetOnMouseDown(fn lcl.TMouseEvent)
- func (m *LCLTray) SetOnMouseMove(fn lcl.TMouseMoveEvent)
- func (m *LCLTray) SetOnMouseUp(fn TMouseEvent)
- func (m *LCLTray) SetTitle(title string)
- func (m *LCLTray) SetVisible(v bool)
- func (m *LCLTray) Show()
- func (m *LCLTray) TrayMenu() *lcl.TPopupMenu
- func (m *LCLTray) Visible() bool
- type MenuItem
- type MenuItemClick
- type OnPdfPrintFinished
- type RenderProcessMessageReceived
- type ResultBool
- type ResultBytes
- type ResultString
- type ResultV8Value
- type SysMenu
- type SysMenuItem
- func (m *SysMenuItem) AddSubMenu(label string, click ...MenuItemClick) *SysMenuItem
- func (m *SysMenuItem) Check()
- func (m *SysMenuItem) Checked() bool
- func (m *SysMenuItem) Click(fn MenuItemClick)
- func (m *SysMenuItem) Disable()
- func (m *SysMenuItem) Disabled() bool
- func (m *SysMenuItem) Enable()
- func (m *SysMenuItem) Hide()
- func (m *SysMenuItem) Icon() []byte
- func (m *SysMenuItem) IsSeparator() bool
- func (m *SysMenuItem) Label() string
- func (m *SysMenuItem) SetChecked(v bool)
- func (m *SysMenuItem) SetDisable(v bool)
- func (m *SysMenuItem) SetIcon(iconResourcePath string)
- func (m *SysMenuItem) SetIconBytes(v []byte)
- func (m *SysMenuItem) SetIconFS(iconResourcePath string)
- func (m *SysMenuItem) SetLabel(v string)
- func (m *SysMenuItem) SetSeparator(v bool)
- func (m *SysMenuItem) SetTooltip(v string)
- func (m *SysMenuItem) Show()
- func (m *SysMenuItem) Uncheck()
- type SysTray
- func (m *SysTray) Add(menuItem *SysMenuItem)
- func (m *SysTray) AddMenuItem(label string, click ...MenuItemClick) *SysMenuItem
- func (m *SysTray) AddSeparator()
- func (m *SysTray) AsCEFTray() *CEFTray
- func (m *SysTray) AsLCLTray() *LCLTray
- func (m *SysTray) AsSysTray() *SysTray
- func (m *SysTray) AsViewsFrameTray() *ViewsFrameTray
- func (m *SysTray) CreateMenu()
- func (m *SysTray) NewMenuItem(label string, click ...MenuItemClick) *SysMenuItem
- func (m *SysTray) Notice(title, content string, timeout int32)
- func (m *SysTray) ResetMenu()
- func (m *SysTray) SetHint(value string)
- func (m *SysTray) SetIcon(iconResourcePath string)
- func (m *SysTray) SetIconFS(iconResourcePath string)
- func (m *SysTray) SetMenuNil()
- func (m *SysTray) SetOnClick(fn TrayICONClick)
- func (m *SysTray) SetOnDblClick(fn TrayICONClick)
- func (m *SysTray) SetOnRClick(fn func(menu systray.IMenu))
- func (m *SysTray) SetTitle(title string)
- func (m *SysTray) Show()
- type TCEFApplication
- func (m *TCEFApplication) AcceptLanguageList() string
- func (m *TCEFApplication) AddCrDelegate()
- func (m *TCEFApplication) AddCustomCommandLine(commandLine, value string)
- func (m *TCEFApplication) AllowFileAccessFromFiles() bool
- func (m *TCEFApplication) AllowInsecureLocalhost() bool
- func (m *TCEFApplication) AllowRunningInsecureContent() bool
- func (m *TCEFApplication) AllowUniversalAccessFromFileUrls() bool
- func (m *TCEFApplication) ApiHashCommit() string
- func (m *TCEFApplication) ApiHashPlatform() string
- func (m *TCEFApplication) ApiHashUniversal() string
- func (m *TCEFApplication) AutoplayPolicy() TCefAutoplayPolicy
- func (m *TCEFApplication) AvailableSystemMemory() uint64
- func (m *TCEFApplication) BackgroundColor() types.TCefColor
- func (m *TCEFApplication) BlinkSettings() string
- func (m *TCEFApplication) BrowserSubprocessPath() string
- func (m *TCEFApplication) Cache() string
- func (m *TCEFApplication) CheckCEFFiles() bool
- func (m *TCEFApplication) ChildProcessesCount() int32
- func (m *TCEFApplication) ChromeBuild() uint16
- func (m *TCEFApplication) ChromeElfPath() string
- func (m *TCEFApplication) ChromeMajorVer() uint16
- func (m *TCEFApplication) ChromeMinorVer() uint16
- func (m *TCEFApplication) ChromeRelease() uint16
- func (m *TCEFApplication) ChromeRuntime() bool
- func (m *TCEFApplication) ChromeVersion() string
- func (m *TCEFApplication) CommandLineArgsDisabled() bool
- func (m *TCEFApplication) CookieableSchemesExcludeDefaults() bool
- func (m *TCEFApplication) CookieableSchemesList() string
- func (m *TCEFApplication) DefaultEncoding() string
- func (m *TCEFApplication) DeleteCache() bool
- func (m *TCEFApplication) DeleteCookies() bool
- func (m *TCEFApplication) Destroy()
- func (m *TCEFApplication) DevToolsProtocolLogFile() string
- func (m *TCEFApplication) DeviceScaleFactor() float32
- func (m *TCEFApplication) DisableBackForwardCache() bool
- func (m *TCEFApplication) DisableBackgroundNetworking() bool
- func (m *TCEFApplication) DisableBlinkFeatures() string
- func (m *TCEFApplication) DisableChromeLoginPrompt() bool
- func (m *TCEFApplication) DisableComponentUpdate() bool
- func (m *TCEFApplication) DisableExtensions() bool
- func (m *TCEFApplication) DisableFeatures() string
- func (m *TCEFApplication) DisableImageLoading() bool
- func (m *TCEFApplication) DisableJavascript() bool
- func (m *TCEFApplication) DisableJavascriptAccessClipboard() bool
- func (m *TCEFApplication) DisableJavascriptCloseWindows() bool
- func (m *TCEFApplication) DisableJavascriptDomPaste() bool
- func (m *TCEFApplication) DisableNewBrowserInfoTimeout() bool
- func (m *TCEFApplication) DisablePDFExtension() bool
- func (m *TCEFApplication) DisablePopupBlocking() bool
- func (m *TCEFApplication) DisableReadingFromCanvas() bool
- func (m *TCEFApplication) DisableRequestHandlingForTesting() bool
- func (m *TCEFApplication) DisableSafeBrowsing() bool
- func (m *TCEFApplication) DisableSiteIsolationTrials() bool
- func (m *TCEFApplication) DisableSpellChecking() bool
- func (m *TCEFApplication) DisableTabToLinks() bool
- func (m *TCEFApplication) DisableTextAreaResize() bool
- func (m *TCEFApplication) DisableWebSecurity() bool
- func (m *TCEFApplication) DisableZygote() bool
- func (m *TCEFApplication) EnableBlinkFeatures() string
- func (m *TCEFApplication) EnableFeatures() string
- func (m *TCEFApplication) EnableGPU() bool
- func (m *TCEFApplication) EnableHighDPISupport() bool
- func (m *TCEFApplication) EnableMediaStream() bool
- func (m *TCEFApplication) EnablePrintPreview() bool
- func (m *TCEFApplication) EnableProfanityFilter() bool
- func (m *TCEFApplication) EnableSpeechInput() bool
- func (m *TCEFApplication) EnableUsermediaScreenCapturing() bool
- func (m *TCEFApplication) ExternalMessagePump() bool
- func (m *TCEFApplication) FastUnload() bool
- func (m *TCEFApplication) ForceFieldTrialParams() string
- func (m *TCEFApplication) ForceFieldTrials() string
- func (m *TCEFApplication) ForcedDeviceScaleFactor() float32
- func (m *TCEFApplication) FrameworkDirPath() string
- func (m *TCEFApplication) Free()
- func (m *TCEFApplication) GlobalContextInitialized() bool
- func (m *TCEFApplication) HyperlinkAuditing() bool
- func (m *TCEFApplication) IgnoreCertificateErrors() bool
- func (m *TCEFApplication) ImageShrinkStandaloneToFit() bool
- func (m *TCEFApplication) Instance() uintptr
- func (m *TCEFApplication) JavaScriptFlags() string
- func (m *TCEFApplication) KioskPrinting() bool
- func (m *TCEFApplication) LastErrorMessage() string
- func (m *TCEFApplication) LibCefPath() string
- func (m *TCEFApplication) LibCefVersion() string
- func (m *TCEFApplication) LibLoaded() bool
- func (m *TCEFApplication) Locale() string
- func (m *TCEFApplication) LocalesDirPath() string
- func (m *TCEFApplication) LocalesRequired() string
- func (m *TCEFApplication) LogFile() string
- func (m *TCEFApplication) LogProcessInfo() bool
- func (m *TCEFApplication) LogSeverity() LogSeverity
- func (m *TCEFApplication) MainBundlePath() string
- func (m *TCEFApplication) MetricsRecordingOnly() bool
- func (m *TCEFApplication) MissingBinariesException() bool
- func (m *TCEFApplication) MissingLibFiles() string
- func (m *TCEFApplication) MultiThreadedMessageLoop() bool
- func (m *TCEFApplication) MustCreateBrowserProcessHandler() bool
- func (m *TCEFApplication) MustCreateLoadHandler() bool
- func (m *TCEFApplication) MustCreateRenderProcessHandler() bool
- func (m *TCEFApplication) MustCreateResourceBundleHandler() bool
- func (m *TCEFApplication) MustFreeLibrary() bool
- func (m *TCEFApplication) MuteAudio() bool
- func (m *TCEFApplication) NetLogCaptureMode() TCefNetLogCaptureMode
- func (m *TCEFApplication) NetLogEnabled() bool
- func (m *TCEFApplication) NetLogFile() string
- func (m *TCEFApplication) NoSandbox() bool
- func (m *TCEFApplication) OverrideSpellCheckLang() string
- func (m *TCEFApplication) PackLoadingDisabled() bool
- func (m *TCEFApplication) PersistSessionCookies() bool
- func (m *TCEFApplication) PersistUserPreferences() bool
- func (m *TCEFApplication) ProcessType() TCefProcessType
- func (m *TCEFApplication) ProcessTypeValue() (processTypeValue TCefProcessTypeValue)
- func (m *TCEFApplication) QuitMessageLoop()
- func (m *TCEFApplication) ReRaiseExceptions() bool
- func (m *TCEFApplication) RemoteDebuggingPort() int32
- func (m *TCEFApplication) ResourcesDirPath() string
- func (m *TCEFApplication) RootCache() string
- func (m *TCEFApplication) RunMessageLoop()
- func (m *TCEFApplication) SetAcceptLanguageList(value string)
- func (m *TCEFApplication) SetAllowFileAccessFromFiles(value bool)
- func (m *TCEFApplication) SetAllowInsecureLocalhost(value bool)
- func (m *TCEFApplication) SetAllowRunningInsecureContent(value bool)
- func (m *TCEFApplication) SetAllowUniversalAccessFromFileUrls(value bool)
- func (m *TCEFApplication) SetAutoplayPolicy(value TCefAutoplayPolicy)
- func (m *TCEFApplication) SetBackgroundColor(value types.TCefColor)
- func (m *TCEFApplication) SetBlinkSettings(value string)
- func (m *TCEFApplication) SetBrowserSubprocessPath(value string)
- func (m *TCEFApplication) SetCache(value string)
- func (m *TCEFApplication) SetCheckCEFFiles(value bool)
- func (m *TCEFApplication) SetChromeRuntime(value bool)
- func (m *TCEFApplication) SetCommandLineArgsDisabled(value bool)
- func (m *TCEFApplication) SetCookieableSchemesExcludeDefaults(value bool)
- func (m *TCEFApplication) SetCookieableSchemesList(value string)
- func (m *TCEFApplication) SetCurrentDir() bool
- func (m *TCEFApplication) SetDefaultEncoding(value string)
- func (m *TCEFApplication) SetDeleteCache(value bool)
- func (m *TCEFApplication) SetDeleteCookies(value bool)
- func (m *TCEFApplication) SetDevToolsProtocolLogFile(value string)
- func (m *TCEFApplication) SetDisableBackForwardCache(value bool)
- func (m *TCEFApplication) SetDisableBackgroundNetworking(value bool)
- func (m *TCEFApplication) SetDisableBlinkFeatures(value string)
- func (m *TCEFApplication) SetDisableChromeLoginPrompt(value bool)
- func (m *TCEFApplication) SetDisableComponentUpdate(value bool)
- func (m *TCEFApplication) SetDisableExtensions(value bool)
- func (m *TCEFApplication) SetDisableFeatures(value string)
- func (m *TCEFApplication) SetDisableImageLoading(value bool)
- func (m *TCEFApplication) SetDisableJavascript(value bool)
- func (m *TCEFApplication) SetDisableJavascriptAccessClipboard(value bool)
- func (m *TCEFApplication) SetDisableJavascriptCloseWindows(value bool)
- func (m *TCEFApplication) SetDisableJavascriptDomPaste(value bool)
- func (m *TCEFApplication) SetDisableNewBrowserInfoTimeout(value bool)
- func (m *TCEFApplication) SetDisablePDFExtension(value bool)
- func (m *TCEFApplication) SetDisablePopupBlocking(value bool)
- func (m *TCEFApplication) SetDisableReadingFromCanvas(value bool)
- func (m *TCEFApplication) SetDisableRequestHandlingForTesting(value bool)
- func (m *TCEFApplication) SetDisableSafeBrowsing(value bool)
- func (m *TCEFApplication) SetDisableSiteIsolationTrials(value bool)
- func (m *TCEFApplication) SetDisableSpellChecking(value bool)
- func (m *TCEFApplication) SetDisableTabToLinks(value bool)
- func (m *TCEFApplication) SetDisableTextAreaResize(value bool)
- func (m *TCEFApplication) SetDisableWebSecurity(value bool)
- func (m *TCEFApplication) SetDisableZygote(value bool)
- func (m *TCEFApplication) SetEnableBlinkFeatures(value string)
- func (m *TCEFApplication) SetEnableFeatures(value string)
- func (m *TCEFApplication) SetEnableGPU(value bool)
- func (m *TCEFApplication) SetEnableHighDPISupport(value bool)
- func (m *TCEFApplication) SetEnableMediaStream(value bool)
- func (m *TCEFApplication) SetEnablePrintPreview(value bool)
- func (m *TCEFApplication) SetEnableProfanityFilter(value bool)
- func (m *TCEFApplication) SetEnableSpeechInput(value bool)
- func (m *TCEFApplication) SetEnableUsermediaScreenCapturing(value bool)
- func (m *TCEFApplication) SetExternalMessagePump(value bool)
- func (m *TCEFApplication) SetFastUnload(value bool)
- func (m *TCEFApplication) SetForceFieldTrialParams(value string)
- func (m *TCEFApplication) SetForceFieldTrials(value string)
- func (m *TCEFApplication) SetForcedDeviceScaleFactor(value float32)
- func (m *TCEFApplication) SetFrameworkDirPath(value string)
- func (m *TCEFApplication) SetHyperlinkAuditing(value bool)
- func (m *TCEFApplication) SetIgnoreCertificateErrors(value bool)
- func (m *TCEFApplication) SetImageShrinkStandaloneToFit(value bool)
- func (m *TCEFApplication) SetJavaScriptFlags(value string)
- func (m *TCEFApplication) SetKioskPrinting(value bool)
- func (m *TCEFApplication) SetLocale(value LANGUAGE)
- func (m *TCEFApplication) SetLocalesDirPath(value string)
- func (m *TCEFApplication) SetLocalesRequired(value string)
- func (m *TCEFApplication) SetLogFile(value string)
- func (m *TCEFApplication) SetLogProcessInfo(value bool)
- func (m *TCEFApplication) SetLogSeverity(value LogSeverity)
- func (m *TCEFApplication) SetMainBundlePath(value string)
- func (m *TCEFApplication) SetMetricsRecordingOnly(value bool)
- func (m *TCEFApplication) SetMissingBinariesException(value bool)
- func (m *TCEFApplication) SetMultiThreadedMessageLoop(value bool)
- func (m *TCEFApplication) SetMustCreateBrowserProcessHandler(value bool)
- func (m *TCEFApplication) SetMustCreateLoadHandler(value bool)
- func (m *TCEFApplication) SetMustCreateRenderProcessHandler(value bool)
- func (m *TCEFApplication) SetMustCreateResourceBundleHandler(value bool)
- func (m *TCEFApplication) SetMustFreeLibrary(value bool)
- func (m *TCEFApplication) SetMuteAudio(value bool)
- func (m *TCEFApplication) SetNetLogCaptureMode(value TCefNetLogCaptureMode)
- func (m *TCEFApplication) SetNetLogEnabled(value bool)
- func (m *TCEFApplication) SetNetLogFile(value string)
- func (m *TCEFApplication) SetNoSandbox(value bool)
- func (m *TCEFApplication) SetObjectRootName(name string)
- func (m *TCEFApplication) SetOnBeforeChildProcessLaunch(fn GlobalCEFAppEventOnBeforeChildProcessLaunch)
- func (m *TCEFApplication) SetOnBrowserCreated(fn GlobalCEFAppEventOnBrowserCreated)
- func (m *TCEFApplication) SetOnBrowserDestroyed(fn GlobalCEFAppEventOnBrowserDestroyed)
- func (m *TCEFApplication) SetOnContextCreated(fn GlobalCEFAppEventOnContextCreated)
- func (m *TCEFApplication) SetOnContextInitialized(fn GlobalCEFAppEventOnContextInitialized)
- func (m *TCEFApplication) SetOnContextReleased(fn GlobalCEFAppEventOnContextReleased)
- func (m *TCEFApplication) SetOnFocusedNodeChanged(fn GlobalCEFAppEventOnFocusedNodeChanged)
- func (m *TCEFApplication) SetOnGetDataResource(fn GlobalCEFAppEventOnGetDataResource)
- func (m *TCEFApplication) SetOnGetDataResourceForScale(fn GlobalCEFAppEventOnGetDataResourceForScale)
- func (m *TCEFApplication) SetOnGetDefaultClient(fn GlobalCEFAppEventOnGetDefaultClient)
- func (m *TCEFApplication) SetOnGetLocalizedString(fn GlobalCEFAppEventOnGetLocalizedString)
- func (m *TCEFApplication) SetOnProcessMessageReceived(fn RenderProcessMessageReceived)
- func (m *TCEFApplication) SetOnRegCustomSchemes(fn GlobalCEFAppEventOnRegCustomSchemes)
- func (m *TCEFApplication) SetOnRegisterCustomPreferences(fn GlobalCEFAppEventOnRegisterCustomPreferences)
- func (m *TCEFApplication) SetOnRenderLoadEnd(fn GlobalCEFAppEventOnRenderLoadEnd)
- func (m *TCEFApplication) SetOnRenderLoadError(fn GlobalCEFAppEventOnRenderLoadError)
- func (m *TCEFApplication) SetOnRenderLoadStart(fn GlobalCEFAppEventOnRenderLoadStart)
- func (m *TCEFApplication) SetOnRenderLoadingStateChange(fn GlobalCEFAppEventOnRenderLoadingStateChange)
- func (m *TCEFApplication) SetOnUncaughtException(fn GlobalCEFAppEventOnUncaughtException)
- func (m *TCEFApplication) SetOnWebKitInitialized(fn GlobalCEFAppEventOnWebKitInitialized)
- func (m *TCEFApplication) SetOverrideSpellCheckLang(value string)
- func (m *TCEFApplication) SetPackLoadingDisabled(value bool)
- func (m *TCEFApplication) SetPersistSessionCookies(value bool)
- func (m *TCEFApplication) SetPersistUserPreferences(value bool)
- func (m *TCEFApplication) SetReRaiseExceptions(value bool)
- func (m *TCEFApplication) SetRemoteDebuggingPort(value int32)
- func (m *TCEFApplication) SetResourcesDirPath(value string)
- func (m *TCEFApplication) SetRootCache(value string)
- func (m *TCEFApplication) SetSetCurrentDir(value bool)
- func (m *TCEFApplication) SetShowMessageDlg(value bool)
- func (m *TCEFApplication) SetSingleProcess(value bool)
- func (m *TCEFApplication) SetSitePerProcess(value bool)
- func (m *TCEFApplication) SetSmoothScrolling(value TCefState)
- func (m *TCEFApplication) SetTouchEvents(value TCefState)
- func (m *TCEFApplication) SetTreatInsecureOriginAsSecure(value string)
- func (m *TCEFApplication) SetUncaughtExceptionStackSize(value int32)
- func (m *TCEFApplication) SetUseFakeUIForMediaStream(value bool)
- func (m *TCEFApplication) SetUseMockKeyChain(value bool)
- func (m *TCEFApplication) SetUserAgent(value string)
- func (m *TCEFApplication) SetUserAgentProduct(value string)
- func (m *TCEFApplication) SetUserDataPath(value string)
- func (m *TCEFApplication) SetWindowlessRenderingEnabled(value bool)
- func (m *TCEFApplication) ShowMessageDlg() bool
- func (m *TCEFApplication) SingleProcess() bool
- func (m *TCEFApplication) SitePerProcess() bool
- func (m *TCEFApplication) SmoothScrolling() TCefState
- func (m *TCEFApplication) StartMainProcess() bool
- func (m *TCEFApplication) StartSubProcess() (result bool)
- func (m *TCEFApplication) Status() TCefApplicationStatus
- func (m *TCEFApplication) StopScheduler()
- func (m *TCEFApplication) SystemMemoryLoad() types.Cardinal
- func (m *TCEFApplication) TotalSystemMemory() uint64
- func (m *TCEFApplication) TouchEvents() TCefState
- func (m *TCEFApplication) TreatInsecureOriginAsSecure() string
- func (m *TCEFApplication) UncaughtExceptionStackSize() int32
- func (m *TCEFApplication) UseFakeUIForMediaStream() bool
- func (m *TCEFApplication) UseMockKeyChain() bool
- func (m *TCEFApplication) UsedMemory() uint64
- func (m *TCEFApplication) UserAgent() string
- func (m *TCEFApplication) UserAgentProduct() string
- func (m *TCEFApplication) UserDataPath() string
- func (m *TCEFApplication) WindowlessRenderingEnabled() bool
- type TCEFBrowserViewComponent
- func (m *TCEFBrowserViewComponent) Browser() *ICefBrowser
- func (m *TCEFBrowserViewComponent) CreateBrowserView(client *ICefClient, url string, ...)
- func (m *TCEFBrowserViewComponent) GetForBrowser(browser *ICefBrowser)
- func (m *TCEFBrowserViewComponent) Instance() uintptr
- func (m *TCEFBrowserViewComponent) RequestFocus()
- func (m *TCEFBrowserViewComponent) SetOnBrowserCreated(fn BrowserViewComponentOnBrowserCreated)
- func (m *TCEFBrowserViewComponent) SetOnBrowserDestroyed(fn BrowserViewComponentOnBrowserDestroyed)
- func (m *TCEFBrowserViewComponent) SetOnGetChromeToolbarType(fn BrowserViewComponentOnGetChromeToolbarType)
- func (m *TCEFBrowserViewComponent) SetOnGetDelegateForPopupBrowserView(fn BrowserViewComponentOnGetDelegateForPopupBrowserView)
- func (m *TCEFBrowserViewComponent) SetOnPopupBrowserViewCreated(fn BrowserViewComponentOnPopupBrowserViewCreated)
- func (m *TCEFBrowserViewComponent) SetPreferAccelerators(preferAccelerators bool)
- type TCEFChromium
- func (m *TCEFChromium) AcceptCookies() TCefCookiePref
- func (m *TCEFChromium) AcceptLanguageList() string
- func (m *TCEFChromium) AllowOutdatedPlugins() bool
- func (m *TCEFChromium) AlwaysAuthorizePlugins() bool
- func (m *TCEFChromium) AlwaysOpenPDFExternally() bool
- func (m *TCEFChromium) AudioMuted() bool
- func (m *TCEFChromium) BatterySaverModeState() TCefBatterySaverModeState
- func (m *TCEFChromium) Block3rdPartyCookies() bool
- func (m *TCEFChromium) Browser() *ICefBrowser
- func (m *TCEFChromium) BrowserById(id int32) *ICefBrowser
- func (m *TCEFChromium) BrowserCount() int32
- func (m *TCEFChromium) BrowserHandle() types.HWND
- func (m *TCEFChromium) BrowserId() int32
- func (m *TCEFChromium) BrowserIdByIndex(index int32) int32
- func (m *TCEFChromium) BrowserZoom(zoom ZOOM)
- func (m *TCEFChromium) CefClient() *ICefClient
- func (m *TCEFChromium) ChromiumConfig() *tCefChromiumConfig
- func (m *TCEFChromium) ClassName() string
- func (m *TCEFChromium) ClassType() types.TClass
- func (m *TCEFChromium) CloseAllBrowsers()
- func (m *TCEFChromium) CloseBrowser(forceClose bool)
- func (m *TCEFChromium) CloseDevTools(window ICEFWindowParent)
- func (m *TCEFChromium) CreateBrowser(window ICEFWindowParent) bool
- func (m *TCEFChromium) CreateBrowserByBrowserViewComponent(homePage string, browserViewComponent *TCEFBrowserViewComponent) bool
- func (m *TCEFChromium) CreateClientHandler(client *ICefClient, alsOSR bool) bool
- func (m *TCEFChromium) CustomHeader() *TCustomHeader
- func (m *TCEFChromium) DefaultEncoding() string
- func (m *TCEFChromium) DefaultWindowInfoExStyle() types.DWORD
- func (m *TCEFChromium) DeleteCookies(url, cookieName string, deleteImmediately bool)
- func (m *TCEFChromium) DoNotTrack() bool
- func (m *TCEFChromium) DownloadImage(imageUrl string, isFavicon bool, maxImageSize int32, bypassCache bool)
- func (m *TCEFChromium) DragOperations() TCefDragOperations
- func (m *TCEFChromium) EmitRender(messageId int32, eventName string, target target.ITarget, data ...any) bool
- func (m *TCEFChromium) Equals(object lcl.IObject) bool
- func (m *TCEFChromium) ExecuteDevToolsMethod(messageId int32, method string, dictionaryValue *ICefDictionaryValue)
- func (m *TCEFChromium) ExecuteJavaScript(code, scriptURL string, startLine int32)
- func (m *TCEFChromium) FrameCount() uint32
- func (m *TCEFChromium) FrameIsFocused() bool
- func (m *TCEFChromium) Free()
- func (m *TCEFChromium) GoBack()
- func (m *TCEFChromium) GoForward()
- func (m *TCEFChromium) HashCode() int32
- func (m *TCEFChromium) HighEfficiencyMode() TCefState
- func (m *TCEFChromium) InheritsFrom(class types.TClass) bool
- func (m *TCEFChromium) Initialized() bool
- func (m *TCEFChromium) Instance() uintptr
- func (m *TCEFChromium) InstanceSize() int32
- func (m *TCEFChromium) IsSameBrowser(browser *ICefBrowser) bool
- func (m *TCEFChromium) IsValid() bool
- func (m *TCEFChromium) JavascriptEnabled() bool
- func (m *TCEFChromium) LoadHtml(html string)
- func (m *TCEFChromium) LoadImagesAutomatically() bool
- func (m *TCEFChromium) LoadUrl(url string)
- func (m *TCEFChromium) NotifyMoveOrResizeStarted()
- func (m *TCEFChromium) Offline() bool
- func (m *TCEFChromium) Print()
- func (m *TCEFChromium) PrintToPDF(saveFilePath string)
- func (m *TCEFChromium) PrintingEnabled() bool
- func (m *TCEFChromium) QuicAllowed() bool
- func (m *TCEFChromium) Reload()
- func (m *TCEFChromium) ReloadIgnoreCache()
- func (m *TCEFChromium) RenderHandle() types.HWND
- func (m *TCEFChromium) ResetZoomLevel()
- func (m *TCEFChromium) SafeSearch() bool
- func (m *TCEFChromium) SendCaptureLostEvent()
- func (m *TCEFChromium) SendProcessMessage(targetProcess CefProcessId, message *ICefProcessMessage)
- func (m *TCEFChromium) SendProcessMessageForJSONBytes(name string, targetProcess CefProcessId, message argument.IList)
- func (m *TCEFChromium) SendProcessMessageForV8Value(messageName string, targetProcess CefProcessId, arguments *ICefV8Value)
- func (m *TCEFChromium) SendReferrer() bool
- func (m *TCEFChromium) SetAcceptCookies(cp TCefCookiePref)
- func (m *TCEFChromium) SetAcceptLanguageList(languageList string)
- func (m *TCEFChromium) SetAllowOutdatedPlugins(value bool)
- func (m *TCEFChromium) SetAlwaysAuthorizePlugins(value bool)
- func (m *TCEFChromium) SetAlwaysOpenPDFExternally(value bool)
- func (m *TCEFChromium) SetAudioMuted(value bool)
- func (m *TCEFChromium) SetBatterySaverModeState(value TCefBatterySaverModeState)
- func (m *TCEFChromium) SetBlock3rdPartyCookies(value bool)
- func (m *TCEFChromium) SetCookie(url, name, value, domain, path string, secure, httponly, hasExpires bool, ...)
- func (m *TCEFChromium) SetCustomHeader(customHeader *TCustomHeader)
- func (m *TCEFChromium) SetDefaultEncoding(value string)
- func (m *TCEFChromium) SetDefaultURL(defaultURL string)
- func (m *TCEFChromium) SetDefaultWindowInfoExStyle(exStyle types.DWORD)
- func (m *TCEFChromium) SetDoNotTrack(value bool)
- func (m *TCEFChromium) SetDragOperations(value TCefDragOperations)
- func (m *TCEFChromium) SetEnableMultiBrowserMode(enableMultiBrowserMode bool)
- func (m *TCEFChromium) SetFocus(value bool)
- func (m *TCEFChromium) SetHighEfficiencyMode(value TCefState)
- func (m *TCEFChromium) SetJavascriptEnabled(value bool)
- func (m *TCEFChromium) SetLoadImagesAutomatically(value bool)
- func (m *TCEFChromium) SetOffline(value bool)
- func (m *TCEFChromium) SetOnAcceleratedPaint(fn chromiumEventOnAcceleratedPaint)
- func (m *TCEFChromium) SetOnAddressChange(fn chromiumEventOnAddressChange)
- func (m *TCEFChromium) SetOnAfterCreated(fn chromiumEventOnAfterCreated)
- func (m *TCEFChromium) SetOnAllConnectionsClosed(fn chromiumEventOnAllConnectionsClosed)
- func (m *TCEFChromium) SetOnAudioStreamError(fn chromiumEventOnAudioStreamError)
- func (m *TCEFChromium) SetOnAudioStreamPacket(fn chromiumEventOnAudioStreamPacket)
- func (m *TCEFChromium) SetOnAudioStreamStarted(fn chromiumEventOnAudioStreamStarted)
- func (m *TCEFChromium) SetOnAudioStreamStopped(fn chromiumEventOnAudioStreamStopped)
- func (m *TCEFChromium) SetOnAutoResize(fn chromiumEventOnAutoResize)
- func (m *TCEFChromium) SetOnBeforeBrowser(fn chromiumEventOnBeforeBrowser)
- func (m *TCEFChromium) SetOnBeforeClose(fn chromiumEventOnBeforeClose)
- func (m *TCEFChromium) SetOnBeforeContextMenu(fn chromiumEventOnBeforeContextMenu)
- func (m *TCEFChromium) SetOnBeforeDownload(fn chromiumEventOnBeforeDownload)
- func (m *TCEFChromium) SetOnBeforePopup(fn chromiumEventOnBeforePopup)
- func (m *TCEFChromium) SetOnBeforeResourceLoad(fn chromiumEventOnBeforeResourceLoad)
- func (m *TCEFChromium) SetOnBeforeUnloadDialog(fn chromiumEventOnBeforeUnloadDialog)
- func (m *TCEFChromium) SetOnBrowserCompMsg(fn chromiumEventOnCompMsg)
- func (m *TCEFChromium) SetOnCanDownload(fn chromiumEventOnCanDownload)
- func (m *TCEFChromium) SetOnCanSaveCookie(fn chromiumEventOnCanSaveCookie)
- func (m *TCEFChromium) SetOnCanSendCookie(fn chromiumEventOnCanSendCookie)
- func (m *TCEFChromium) SetOnCertificateError(fn chromiumEventOnCertificateError)
- func (m *TCEFChromium) SetOnCertificateExceptionsCleared(fn chromiumEventOnCertificateExceptionsCleared)
- func (m *TCEFChromium) SetOnChromeCommand(fn chromiumEventOnChromeCommand)
- func (m *TCEFChromium) SetOnClose(fn chromiumEventOnClose)
- func (m *TCEFChromium) SetOnConsoleMessage(fn chromiumEventOnConsoleMessage)
- func (m *TCEFChromium) SetOnContextMenuCommand(fn chromiumEventOnContextMenuCommand)
- func (m *TCEFChromium) SetOnContextMenuDismissed(fn chromiumEventOnContextMenuDismissed)
- func (m *TCEFChromium) SetOnCookieSet(fn chromiumEventOnCookieSet)
- func (m *TCEFChromium) SetOnCookieVisitorDestroyed(fn chromiumEventOnCookieVisitorDestroyed)
- func (m *TCEFChromium) SetOnCookiesDeleted(fn chromiumEventOnCookiesDeleted)
- func (m *TCEFChromium) SetOnCookiesFlushed(fn chromiumEventOnCookiesFlushed)
- func (m *TCEFChromium) SetOnCookiesVisited(fn chromiumEventOnCookiesVisited)
- func (m *TCEFChromium) SetOnCursorChange(fn chromiumEventOnCursorChange)
- func (m *TCEFChromium) SetOnDevToolsAgentAttached(fn chromiumEventOnDevToolsAgentAttached)
- func (m *TCEFChromium) SetOnDevToolsAgentDetached(fn chromiumEventOnDevToolsAgentDetached)
- func (m *TCEFChromium) SetOnDevToolsEvent(fn chromiumEventOnDevToolsEvent)
- func (m *TCEFChromium) SetOnDevToolsMessage(fn chromiumEventOnDevToolsMessage)
- func (m *TCEFChromium) SetOnDevToolsMethodRawResult(fn chromiumEventOnDevToolsMethodRawResult)
- func (m *TCEFChromium) SetOnDevToolsMethodResult(fn chromiumEventOnDevToolsMethodResult)
- func (m *TCEFChromium) SetOnDevToolsRawEvent(fn chromiumEventOnDevToolsRawEvent)
- func (m *TCEFChromium) SetOnDevToolsRawMessage(fn chromiumEventOnDevToolsRawMessage)
- func (m *TCEFChromium) SetOnDialogClosed(fn chromiumEventOnDialogClosed)
- func (m *TCEFChromium) SetOnDismissPermissionPrompt(fn chromiumEventOnDismissPermissionPrompt)
- func (m *TCEFChromium) SetOnDocumentAvailableInMainFrame(fn chromiumEventOnDocumentAvailableInMainFrame)
- func (m *TCEFChromium) SetOnDownloadImageFinished(fn chromiumEventOnDownloadImageFinished)
- func (m *TCEFChromium) SetOnDownloadUpdated(fn chromiumEventOnDownloadUpdated)
- func (m *TCEFChromium) SetOnDragEnter(fn chromiumEventOnDragEnter)
- func (m *TCEFChromium) SetOnDraggableRegionsChanged(fn chromiumEventOnDraggableRegionsChanged)
- func (m *TCEFChromium) SetOnExecuteTaskOnCefThread(fn chromiumEventOnExecuteTaskOnCefThread)
- func (m *TCEFChromium) SetOnExtensionBeforeBackgroundBrowser(fn chromiumEventOnExtensionBeforeBackgroundBrowser)
- func (m *TCEFChromium) SetOnExtensionBeforeBrowser(fn chromiumEventOnExtensionBeforeBrowser)
- func (m *TCEFChromium) SetOnExtensionCanAccessBrowser(fn chromiumEventOnExtensionCanAccessBrowser)
- func (m *TCEFChromium) SetOnExtensionGetActiveBrowser(fn chromiumEventOnExtensionGetActiveBrowser)
- func (m *TCEFChromium) SetOnExtensionGetExtensionResource(fn chromiumEventOnExtensionGetExtensionResource)
- func (m *TCEFChromium) SetOnExtensionLoadFailed(fn chromiumEventOnExtensionLoadFailed)
- func (m *TCEFChromium) SetOnExtensionLoaded(fn chromiumEventOnExtensionLoaded)
- func (m *TCEFChromium) SetOnExtensionUnloaded(fn chromiumEventOnExtensionUnloaded)
- func (m *TCEFChromium) SetOnFavIconUrlChange(fn chromiumEventOnFavIconUrlChange)
- func (m *TCEFChromium) SetOnFileDialog(fn chromiumEventOnFileDialog)
- func (m *TCEFChromium) SetOnFindResult(fn chromiumEventOnFindResult)
- func (m *TCEFChromium) SetOnFrameAttached(fn chromiumEventOnFrameAttached)
- func (m *TCEFChromium) SetOnFrameCreated(fn chromiumEventOnFrameCreated)
- func (m *TCEFChromium) SetOnFrameDetached(fn chromiumEventOnFrameDetached)
- func (m *TCEFChromium) SetOnFullScreenModeChange(fn chromiumEventOnFullScreenModeChange)
- func (m *TCEFChromium) SetOnGetAccessibilityHandler(fn chromiumEventOnGetAccessibilityHandler)
- func (m *TCEFChromium) SetOnGetAudioParameters(fn chromiumEventOnGetAudioParameters)
- func (m *TCEFChromium) SetOnGetAuthCredentials(fn chromiumEventOnGetAuthCredentials)
- func (m *TCEFChromium) SetOnGetResourceHandler(fn chromiumEventOnGetResourceHandler)
- func (m *TCEFChromium) SetOnGetResourceRequestHandlerReqCtxHdlr(fn chromiumEventOnGetResourceRequestHandlerReqCtxHdlr)
- func (m *TCEFChromium) SetOnGetResourceRequestHandlerReqHdlr(fn chromiumEventOnGetResourceRequestHandlerReqHdlr)
- func (m *TCEFChromium) SetOnGetResourceResponseFilter(fn chromiumEventOnGetResourceResponseFilter)
- func (m *TCEFChromium) SetOnGetRootScreenRect(fn chromiumEventOnGetRootScreenRect)
- func (m *TCEFChromium) SetOnGetScreenInfo(fn chromiumEventOnGetScreenInfo)
- func (m *TCEFChromium) SetOnGetScreenPoint(fn chromiumEventOnGetScreenPoint)
- func (m *TCEFChromium) SetOnGetTouchHandleSize(fn chromiumEventOnGetTouchHandleSize)
- func (m *TCEFChromium) SetOnGetViewRect(fn chromiumEventOnGetViewRect)
- func (m *TCEFChromium) SetOnGotFocus(fn chromiumEventOnGotFocus)
- func (m *TCEFChromium) SetOnHttpAuthCredentialsCleared(fn chromiumEventOnHttpAuthCredentialsCleared)
- func (m *TCEFChromium) SetOnIMECompositionRangeChanged(fn chromiumEventOnIMECompositionRangeChanged)
- func (m *TCEFChromium) SetOnJsDialog(fn chromiumEventOnJsDialog)
- func (m *TCEFChromium) SetOnKeyEvent(fn chromiumEventOnKeyEvent)
- func (m *TCEFChromium) SetOnLoadEnd(fn chromiumEventOnLoadEnd)
- func (m *TCEFChromium) SetOnLoadError(fn chromiumEventOnLoadError)
- func (m *TCEFChromium) SetOnLoadStart(fn chromiumEventOnLoadStart)
- func (m *TCEFChromium) SetOnLoadingProgressChange(fn chromiumEventOnLoadingProgressChange)
- func (m *TCEFChromium) SetOnLoadingStateChange(fn chromiumEventOnLoadingStateChange)
- func (m *TCEFChromium) SetOnMainFrameChanged(fn chromiumEventOnMainFrameChanged)
- func (m *TCEFChromium) SetOnMediaAccessChange(fn chromiumEventOnMediaAccessChange)
- func (m *TCEFChromium) SetOnMediaRouteCreateFinished(fn chromiumEventOnMediaRouteCreateFinished)
- func (m *TCEFChromium) SetOnMediaSinkDeviceInfo(fn chromiumEventOnMediaSinkDeviceInfo)
- func (m *TCEFChromium) SetOnNavigationVisitorResultAvailable(fn chromiumEventOnNavigationVisitorResultAvailable)
- func (m *TCEFChromium) SetOnOpenUrlFromTab(fn chromiumEventOnOpenUrlFromTab)
- func (m *TCEFChromium) SetOnPaint(fn chromiumEventOnPaint)
- func (m *TCEFChromium) SetOnPdfPrintFinished(fn chromiumEventOnPdfPrintFinished)
- func (m *TCEFChromium) SetOnPopupShow(fn chromiumEventOnPopupShow)
- func (m *TCEFChromium) SetOnPopupSize(fn chromiumEventOnPopupSize)
- func (m *TCEFChromium) SetOnPreKeyEvent(fn chromiumEventOnPreKeyEvent)
- func (m *TCEFChromium) SetOnPrefsAvailable(fn chromiumEventOnPrefsAvailable)
- func (m *TCEFChromium) SetOnPrefsUpdated(fn chromiumEventOnPrefsUpdated)
- func (m *TCEFChromium) SetOnProcessMessageReceived(fn BrowseProcessMessageReceived)
- func (m *TCEFChromium) SetOnProtocolExecution(fn chromiumEventOnProtocolExecution)
- func (m *TCEFChromium) SetOnQuickMenuCommand(fn chromiumEventOnQuickMenuCommand)
- func (m *TCEFChromium) SetOnQuickMenuDismissed(fn chromiumEventOnQuickMenuDismissed)
- func (m *TCEFChromium) SetOnRenderCompMsg(fn chromiumEventOnCompMsg)
- func (m *TCEFChromium) SetOnRenderProcessTerminated(fn chromiumEventOnRenderProcessTerminated)
- func (m *TCEFChromium) SetOnRenderViewReady(fn chromiumEventOnRenderViewReady)
- func (m *TCEFChromium) SetOnRequestContextInitialized(fn chromiumEventOnRequestContextInitialized)
- func (m *TCEFChromium) SetOnRequestMediaAccessPermission(fn chromiumEventOnRequestMediaAccessPermission)
- func (m *TCEFChromium) SetOnResetDialogState(fn chromiumEventOnResetDialogState)
- func (m *TCEFChromium) SetOnResolvedHostAvailable(fn chromiumEventOnResolvedHostAvailable)
- func (m *TCEFChromium) SetOnResourceLoadComplete(fn chromiumEventOnResourceLoadComplete)
- func (m *TCEFChromium) SetOnResourceRedirect(fn chromiumEventOnResourceRedirect)
- func (m *TCEFChromium) SetOnResourceResponse(fn chromiumEventOnResourceResponse)
- func (m *TCEFChromium) SetOnRouteMessageReceived(fn chromiumEventOnRouteMessageReceived)
- func (m *TCEFChromium) SetOnRouteStateChanged(fn chromiumEventOnRouteStateChanged)
- func (m *TCEFChromium) SetOnRoutes(fn chromiumEventOnRoutes)
- func (m *TCEFChromium) SetOnRunContextMenu(fn chromiumEventOnRunContextMenu)
- func (m *TCEFChromium) SetOnRunQuickMenu(fn chromiumEventOnRunQuickMenu)
- func (m *TCEFChromium) SetOnScrollOffsetChanged(fn chromiumEventOnScrollOffsetChanged)
- func (m *TCEFChromium) SetOnSelectClientCertificate(fn chromiumEventOnSelectClientCertificate)
- func (m *TCEFChromium) SetOnSetFocus(fn chromiumEventOnSetFocus)
- func (m *TCEFChromium) SetOnShowPermissionPrompt(fn chromiumEventOnShowPermissionPrompt)
- func (m *TCEFChromium) SetOnSinks(fn chromiumEventOnSinks)
- func (m *TCEFChromium) SetOnStartDragging(fn chromiumEventOnStartDragging)
- func (m *TCEFChromium) SetOnStatusMessage(fn chromiumEventOnStatusMessage)
- func (m *TCEFChromium) SetOnTakeFocus(fn chromiumEventOnTakeFocus)
- func (m *TCEFChromium) SetOnTextResultAvailable(fn chromiumEventOnTextResultAvailable)
- func (m *TCEFChromium) SetOnTextSelectionChanged(fn chromiumEventOnTextSelectionChanged)
- func (m *TCEFChromium) SetOnTitleChange(fn chromiumEventOnTitleChange)
- func (m *TCEFChromium) SetOnTooltip(fn chromiumEventOnTooltip)
- func (m *TCEFChromium) SetOnTouchHandleStateChanged(fn chromiumEventOnTouchHandleStateChanged)
- func (m *TCEFChromium) SetOnUpdateDragCursor(fn chromiumEventOnUpdateDragCursor)
- func (m *TCEFChromium) SetOnVirtualKeyboardRequested(fn chromiumEventOnVirtualKeyboardRequested)
- func (m *TCEFChromium) SetOnWidgetCompMsg(fn chromiumEventOnCompMsg)
- func (m *TCEFChromium) SetOnZoomPctAvailable(fn chromiumEventOnResultFloat)
- func (m *TCEFChromium) SetPrintingEnabled(value bool)
- func (m *TCEFChromium) SetProxy(cefProxy *TCefProxy)
- func (m *TCEFChromium) SetQuicAllowed(value bool)
- func (m *TCEFChromium) SetSafeSearch(value bool)
- func (m *TCEFChromium) SetSendReferrer(value bool)
- func (m *TCEFChromium) SetSpellCheckerDicts(value string)
- func (m *TCEFChromium) SetSpellChecking(value bool)
- func (m *TCEFChromium) SetWebRTCIPHandlingPolicy(value TCefWebRTCHandlingPolicy)
- func (m *TCEFChromium) SetWebRTCMultipleRoutes(value TCefState)
- func (m *TCEFChromium) SetWebRTCNonproxiedUDP(value TCefState)
- func (m *TCEFChromium) SetYouTubeRestrict(value bool)
- func (m *TCEFChromium) SetZoomLevel(value float64)
- func (m *TCEFChromium) SetZoomPct(value float64)
- func (m *TCEFChromium) SetZoomStep(value int8)
- func (m *TCEFChromium) ShowDevTools(window ICEFWindowParent)
- func (m *TCEFChromium) SpellCheckerDicts() string
- func (m *TCEFChromium) SpellChecking() bool
- func (m *TCEFChromium) StartDownload(url string)
- func (m *TCEFChromium) StopLoad()
- func (m *TCEFChromium) ToString() string
- func (m *TCEFChromium) TryCloseBrowser() bool
- func (m *TCEFChromium) UnsafeAddr() unsafe.Pointer
- func (m *TCEFChromium) UpdatePreferences()
- func (m *TCEFChromium) VisitAllCookies(id int32)
- func (m *TCEFChromium) VisitURLCookies(url string, includeHttpOnly bool, id int32)
- func (m *TCEFChromium) WebRTCIPHandlingPolicy() TCefWebRTCHandlingPolicy
- func (m *TCEFChromium) WebRTCMultipleRoutes() TCefState
- func (m *TCEFChromium) WebRTCNonproxiedUDP() TCefState
- func (m *TCEFChromium) WidgetHandle() types.HWND
- func (m *TCEFChromium) YouTubeRestrict() bool
- func (m *TCEFChromium) ZoomLevel() (result float64)
- func (m *TCEFChromium) ZoomPct() (result float64)
- func (m *TCEFChromium) ZoomStep() int8
- type TCEFChromiumBrowser
- type TCEFLinkedWindowParent
- func (m *TCEFLinkedWindowParent) Align() types.TAlign
- func (m *TCEFLinkedWindowParent) Anchors() types.TAnchors
- func (m *TCEFLinkedWindowParent) BoundsRect() (result types.TRect)
- func (m *TCEFLinkedWindowParent) CreateHandle()
- func (m *TCEFLinkedWindowParent) DefaultAnchors()
- func (m *TCEFLinkedWindowParent) DestroyChildWindow() bool
- func (m *TCEFLinkedWindowParent) Enabled() bool
- func (m *TCEFLinkedWindowParent) Free()
- func (m *TCEFLinkedWindowParent) Handle() types.HWND
- func (m *TCEFLinkedWindowParent) HandleAllocated() bool
- func (m *TCEFLinkedWindowParent) Height() int32
- func (m *TCEFLinkedWindowParent) Instance() uintptr
- func (m *TCEFLinkedWindowParent) Left() int32
- func (m *TCEFLinkedWindowParent) Name() string
- func (m *TCEFLinkedWindowParent) RevertCustomAnchors()
- func (m *TCEFLinkedWindowParent) SetAlign(value types.TAlign)
- func (m *TCEFLinkedWindowParent) SetAnchors(value types.TAnchors)
- func (m *TCEFLinkedWindowParent) SetBoundsRect(value types.TRect)
- func (m *TCEFLinkedWindowParent) SetChromium(chromium IChromium, tag int32)
- func (m *TCEFLinkedWindowParent) SetEnabled(value bool)
- func (m *TCEFLinkedWindowParent) SetHeight(value int32)
- func (m *TCEFLinkedWindowParent) SetLeft(value int32)
- func (m *TCEFLinkedWindowParent) SetName(value string)
- func (m *TCEFLinkedWindowParent) SetOnEnter(fn lcl.TNotifyEvent)
- func (m *TCEFLinkedWindowParent) SetOnExit(fn lcl.TNotifyEvent)
- func (m *TCEFLinkedWindowParent) SetParent(value lcl.IWinControl)
- func (m *TCEFLinkedWindowParent) SetTop(value int32)
- func (m *TCEFLinkedWindowParent) SetVisible(value bool)
- func (m *TCEFLinkedWindowParent) SetWidth(value int32)
- func (m *TCEFLinkedWindowParent) Top() int32
- func (m *TCEFLinkedWindowParent) Type() consts.TCefWindowHandleType
- func (m *TCEFLinkedWindowParent) UpdateSize()
- func (m *TCEFLinkedWindowParent) Visible() bool
- func (m *TCEFLinkedWindowParent) Width() int32
- type TCEFWindowComponent
- func (m *TCEFWindowComponent) Activate()
- func (m *TCEFWindowComponent) AddChildView(browserViewComponent *TCEFBrowserViewComponent)
- func (m *TCEFWindowComponent) Bounds() (result *TCefRect)
- func (m *TCEFWindowComponent) BringToTop()
- func (m *TCEFWindowComponent) CancelMenu()
- func (m *TCEFWindowComponent) CenterWindow(size *TCefSize)
- func (m *TCEFWindowComponent) ClientAreaBoundsInScreen() (result TCefRect)
- func (m *TCEFWindowComponent) Close()
- func (m *TCEFWindowComponent) CreateTopLevelWindow()
- func (m *TCEFWindowComponent) Deactivate()
- func (m *TCEFWindowComponent) Display() *ICefDisplay
- func (m *TCEFWindowComponent) Hide()
- func (m *TCEFWindowComponent) Instance() uintptr
- func (m *TCEFWindowComponent) IsActive() bool
- func (m *TCEFWindowComponent) IsAlwaysOnTop() bool
- func (m *TCEFWindowComponent) IsClosed() bool
- func (m *TCEFWindowComponent) IsFullscreen() bool
- func (m *TCEFWindowComponent) IsMaximized() bool
- func (m *TCEFWindowComponent) IsMinimized() bool
- func (m *TCEFWindowComponent) Maximize()
- func (m *TCEFWindowComponent) Minimize()
- func (m *TCEFWindowComponent) Position() (result *TCefPoint)
- func (m *TCEFWindowComponent) RemoveAccelerator(commandId int32)
- func (m *TCEFWindowComponent) RemoveAllAccelerators()
- func (m *TCEFWindowComponent) Restore()
- func (m *TCEFWindowComponent) SendKeyPress(keyCode int32, eventFlags uint32)
- func (m *TCEFWindowComponent) SendMouseEvents(button consts.TCefMouseButtonType, mouseDown, mouseUp bool)
- func (m *TCEFWindowComponent) SendMouseMove(screenX, screenY int32)
- func (m *TCEFWindowComponent) SetAccelerator(commandId, keyCode int32, shiftPressed, ctrlPressed, altPressed bool)
- func (m *TCEFWindowComponent) SetAlwaysOnTop(onTop bool)
- func (m *TCEFWindowComponent) SetBackgroundColor(rect *types.TCefColor)
- func (m *TCEFWindowComponent) SetBounds(rect *TCefRect)
- func (m *TCEFWindowComponent) SetDraggableRegions(regions []TCefDraggableRegion)
- func (m *TCEFWindowComponent) SetFullscreen(fullscreen bool)
- func (m *TCEFWindowComponent) SetOnAccelerator(fn WindowComponentOnAccelerator)
- func (m *TCEFWindowComponent) SetOnCanClose(fn WindowComponentOnCanClose)
- func (m *TCEFWindowComponent) SetOnCanMaximize(fn WindowComponentOnCanMaximize)
- func (m *TCEFWindowComponent) SetOnCanMinimize(fn WindowComponentOnCanMinimize)
- func (m *TCEFWindowComponent) SetOnCanResize(fn WindowComponentOnCanResize)
- func (m *TCEFWindowComponent) SetOnGetInitialBounds(fn WindowComponentOnGetInitialBounds)
- func (m *TCEFWindowComponent) SetOnGetInitialShowState(fn WindowComponentOnGetInitialShowState)
- func (m *TCEFWindowComponent) SetOnGetParentWindow(fn WindowComponentOnGetParentWindow)
- func (m *TCEFWindowComponent) SetOnIsFrameless(fn WindowComponentOnIsFrameless)
- func (m *TCEFWindowComponent) SetOnKeyEvent(fn WindowComponentOnKeyEvent)
- func (m *TCEFWindowComponent) SetOnWindowActivationChanged(fn WindowComponentOnWindowActivationChanged)
- func (m *TCEFWindowComponent) SetOnWindowCreated(fn WindowComponentOnWindowCreated)
- func (m *TCEFWindowComponent) SetOnWindowDestroyed(fn WindowComponentOnWindowDestroyed)
- func (m *TCEFWindowComponent) SetPosition(point *TCefPoint)
- func (m *TCEFWindowComponent) SetSize(size *TCefSize)
- func (m *TCEFWindowComponent) SetTitle(title string)
- func (m *TCEFWindowComponent) SetWindowAppIcon(icon *ICefImage)
- func (m *TCEFWindowComponent) SetWindowAppIconByFSFile(scaleFactor float32, filename string) error
- func (m *TCEFWindowComponent) SetWindowAppIconByFile(scaleFactor float32, filename string) error
- func (m *TCEFWindowComponent) SetWindowIcon(icon *ICefImage)
- func (m *TCEFWindowComponent) SetWindowIconByFSFile(scaleFactor float32, filename string) error
- func (m *TCEFWindowComponent) SetWindowIconByFile(scaleFactor float32, filename string) error
- func (m *TCEFWindowComponent) Show()
- func (m *TCEFWindowComponent) ShowMenu(menuModel *ICefMenuModel, point TCefPoint, ...)
- func (m *TCEFWindowComponent) Size() (result *TCefSize)
- func (m *TCEFWindowComponent) Title() string
- func (m *TCEFWindowComponent) WindowAppIcon() *ICefImage
- func (m *TCEFWindowComponent) WindowHandle() consts.TCefWindowHandle
- func (m *TCEFWindowComponent) WindowIcon() *ICefImage
- type TCEFWindowParent
- func (m *TCEFWindowParent) Align() types.TAlign
- func (m *TCEFWindowParent) Anchors() types.TAnchors
- func (m *TCEFWindowParent) BoundsRect() (result types.TRect)
- func (m *TCEFWindowParent) CreateHandle()
- func (m *TCEFWindowParent) DefaultAnchors()
- func (m *TCEFWindowParent) DestroyChildWindow() bool
- func (m *TCEFWindowParent) Enabled() bool
- func (m *TCEFWindowParent) Free()
- func (m *TCEFWindowParent) Handle() types.HWND
- func (m *TCEFWindowParent) HandleAllocated() bool
- func (m *TCEFWindowParent) Height() int32
- func (m *TCEFWindowParent) Instance() uintptr
- func (m *TCEFWindowParent) Left() int32
- func (m *TCEFWindowParent) Name() string
- func (m *TCEFWindowParent) RevertCustomAnchors()
- func (m *TCEFWindowParent) SetAlign(value types.TAlign)
- func (m *TCEFWindowParent) SetAnchors(value types.TAnchors)
- func (m *TCEFWindowParent) SetBoundsRect(value types.TRect)
- func (m *TCEFWindowParent) SetChromium(chromium IChromium, tag int32)
- func (m *TCEFWindowParent) SetEnabled(value bool)
- func (m *TCEFWindowParent) SetHeight(value int32)
- func (m *TCEFWindowParent) SetLeft(value int32)
- func (m *TCEFWindowParent) SetName(value string)
- func (m *TCEFWindowParent) SetOnEnter(fn lcl.TNotifyEvent)
- func (m *TCEFWindowParent) SetOnExit(fn lcl.TNotifyEvent)
- func (m *TCEFWindowParent) SetParent(value lcl.IWinControl)
- func (m *TCEFWindowParent) SetTop(value int32)
- func (m *TCEFWindowParent) SetVisible(value bool)
- func (m *TCEFWindowParent) SetWidth(value int32)
- func (m *TCEFWindowParent) Top() int32
- func (m *TCEFWindowParent) Type() consts.TCefWindowHandleType
- func (m *TCEFWindowParent) UpdateSize()
- func (m *TCEFWindowParent) Visible() bool
- func (m *TCEFWindowParent) Width() int32
- type TCefAudioParameters
- type TCefBaseRefCounted
- type TCefBinaryValueArray
- type TCefBrowserSettings
- type TCefCommandLine
- type TCefCursorInfo
- type TCefDraggableRegion
- type TCefDraggableRegions
- type TCefKeyEvent
- type TCefMediaRouteArray
- type TCefMediaSinkArray
- type TCefMouseEvent
- type TCefPoint
- type TCefPopupFeatures
- type TCefPostDataElementArray
- type TCefPreferenceRegistrarRef
- type TCefProxy
- type TCefRange
- type TCefRect
- type TCefRequestContextSettings
- type TCefResourceHandlerClass
- type TCefSchemeRegistrarRef
- type TCefScreenInfo
- type TCefSize
- type TCefTouchEvent
- type TCefTouchHandleState
- type TCefV8ValueArray
- type TCefX509CertificateArray
- type TCloseEvent
- type TCloseQueryEvent
- type TCustomExtensionHandler
- type TCustomHeader
- type TMouseEvent
- type TNotifyEvent
- type TrayICONClick
- type V8AccessorGet
- type V8AccessorSet
- type V8ArrayBufferReleaseCallback
- type V8HandlerExecute
- type V8InterceptorGetByIndex
- type V8InterceptorGetByName
- type V8InterceptorSetByIndex
- type V8InterceptorSetByName
- type ViewsFrameTray
- type ViewsFrameworkBrowserWindow
- func (m *ViewsFrameworkBrowserWindow) AsLCLBrowserWindow() ILCLBrowserWindow
- func (m *ViewsFrameworkBrowserWindow) AsViewsFrameworkBrowserWindow() IViewsFrameworkBrowserWindow
- func (m *ViewsFrameworkBrowserWindow) Bounds() *TCefRect
- func (m *ViewsFrameworkBrowserWindow) Browser() *ICefBrowser
- func (m *ViewsFrameworkBrowserWindow) BrowserViewComponent() *TCEFBrowserViewComponent
- func (m *ViewsFrameworkBrowserWindow) BrowserWindow() *ViewsFrameworkBrowserWindow
- func (m *ViewsFrameworkBrowserWindow) CenterWindow(size *TCefSize)
- func (m *ViewsFrameworkBrowserWindow) Chromium() IChromium
- func (m *ViewsFrameworkBrowserWindow) Close()
- func (m *ViewsFrameworkBrowserWindow) CloseBrowserWindow()
- func (m *ViewsFrameworkBrowserWindow) Component() lcl.IComponent
- func (m *ViewsFrameworkBrowserWindow) CreateTopLevelWindow()
- func (m *ViewsFrameworkBrowserWindow) DisableMaximize()
- func (m *ViewsFrameworkBrowserWindow) DisableMinimize()
- func (m *ViewsFrameworkBrowserWindow) DisableResize()
- func (m *ViewsFrameworkBrowserWindow) EnableAllDefaultEvent()
- func (m *ViewsFrameworkBrowserWindow) EnableMaximize()
- func (m *ViewsFrameworkBrowserWindow) EnableMinimize()
- func (m *ViewsFrameworkBrowserWindow) EnableResize()
- func (m *ViewsFrameworkBrowserWindow) Handle() types.HWND
- func (m *ViewsFrameworkBrowserWindow) Hide()
- func (m *ViewsFrameworkBrowserWindow) HideTitle()
- func (m *ViewsFrameworkBrowserWindow) Id() int32
- func (m *ViewsFrameworkBrowserWindow) IsClosing() bool
- func (m *ViewsFrameworkBrowserWindow) IsLCL() bool
- func (m *ViewsFrameworkBrowserWindow) IsViewsFramework() bool
- func (m *ViewsFrameworkBrowserWindow) Maximize()
- func (m *ViewsFrameworkBrowserWindow) Minimize()
- func (m *ViewsFrameworkBrowserWindow) NewCefTray(width, height int32, url string) ITray
- func (m *ViewsFrameworkBrowserWindow) NewSysTray() ITray
- func (m *ViewsFrameworkBrowserWindow) Point() *TCefPoint
- func (m *ViewsFrameworkBrowserWindow) ResetWindowPropertyForEvent()
- func (m *ViewsFrameworkBrowserWindow) Restore()
- func (m *ViewsFrameworkBrowserWindow) SetBounds(x, y, width, height int32)
- func (m *ViewsFrameworkBrowserWindow) SetCenterWindow(value bool)
- func (m *ViewsFrameworkBrowserWindow) SetDefaultInTaskBar()
- func (m *ViewsFrameworkBrowserWindow) SetHeight(value int32)
- func (m *ViewsFrameworkBrowserWindow) SetNotInTaskBar()
- func (m *ViewsFrameworkBrowserWindow) SetOnGetInitialBounds(onGetInitialBounds WindowComponentOnGetInitialBounds)
- func (m *ViewsFrameworkBrowserWindow) SetOnWindowCreated(onWindowCreated WindowComponentOnWindowCreated)
- func (m *ViewsFrameworkBrowserWindow) SetPoint(x, y int32)
- func (m *ViewsFrameworkBrowserWindow) SetShowInTaskBar()
- func (m *ViewsFrameworkBrowserWindow) SetSize(width, height int32)
- func (m *ViewsFrameworkBrowserWindow) SetTitle(title string)
- func (m *ViewsFrameworkBrowserWindow) SetWidth(value int32)
- func (m *ViewsFrameworkBrowserWindow) SetWindowType(windowType consts.WINDOW_TYPE)
- func (m *ViewsFrameworkBrowserWindow) Show()
- func (m *ViewsFrameworkBrowserWindow) ShowTitle()
- func (m *ViewsFrameworkBrowserWindow) Size() *TCefSize
- func (m *ViewsFrameworkBrowserWindow) WindowComponent() *TCEFWindowComponent
- func (m *ViewsFrameworkBrowserWindow) WindowProperty() *WindowProperty
- func (m *ViewsFrameworkBrowserWindow) WindowState() types.TWindowState
- func (m *ViewsFrameworkBrowserWindow) WindowType() consts.WINDOW_TYPE
- type WindowComponentOnAccelerator
- type WindowComponentOnCanClose
- type WindowComponentOnCanMaximize
- type WindowComponentOnCanMinimize
- type WindowComponentOnCanResize
- type WindowComponentOnGetInitialBounds
- type WindowComponentOnGetInitialShowState
- type WindowComponentOnGetParentWindow
- type WindowComponentOnIsFrameless
- type WindowComponentOnKeyEvent
- type WindowComponentOnWindowActivationChanged
- type WindowComponentOnWindowCreated
- type WindowComponentOnWindowDestroyed
- type WindowProperty
Constants ¶
This section is empty.
Variables ¶
var AccessibilityHandlerRef accessibilityHandler
AccessibilityHandlerRef -> ICefAccessibilityHandler
var AudioHandlerRef audioHandler
AudioHandlerRef -> ICefAudioHandler
var BinaryValueRef cefBinaryValue
BinaryValueRef -> ICefBinaryValue
var BrowserRef browser
BrowserRef -> ICefBrowser
var ( //BrowserWindow 是基于LCL和VF窗口组件的浏览器主窗口 // 可以对窗口的属性设置和事件监听,Chromium的配置和事件监听. // 该窗口是主窗体,因此初始化时必须第一个初始化完成,如果创建子窗口最好在 SetBrowserInitAfter 回调函数中创建 // VF 窗口组件默认在Linux平台 // LCL窗口组件默认在Windows、MacOSX平台 BrowserWindow = &browserWindow{ browserEvent: &BrowserEvent{}, Config: &browserConfig{ WindowProperty: NewWindowProperty(), }, windowInfo: make(map[int32]IBrowserWindow), } )
var CefClientRef cefClient
CefClientRef -> ICefClient
var CommandHandlerRef commandHandler
CommandHandlerRef -> ICefCommandHandler
var CommandLineRef commandLine
var CompletionCallbackRef completionCallback
CompletionCallbackRef -> ICefCompletionCallback
var ContextMenuHandlerRef contextMenuHandler
ContextMenuHandlerRef -> ICefContextMenuHandler
var CookieAccessFilterRef cookieAccessFilter
CookieAccessFilterRef -> ICefCookieAccessFilter
var CookieVisitorRef cookieVisitor
CookieVisitorRef -> ICefCookieVisitor
var DeleteCookiesHandlerRef deleteCookiesHandler
DeleteCookiesHandlerRef -> ICefDeleteCookiesCallback
var DialogHandlerRef dialogHandler
DialogHandlerRef -> ICefDialogHandler
var DictionaryValueRef cefDictionaryValue
DictionaryValueRef -> ICefDictionaryValue
var DisplayHandlerRef displayHandler
DisplayHandlerRef -> ICefDisplayHandler
var DomVisitorRef domVisitor
DomVisitorRef -> ICefDomVisitor
var DownloadHandlerRef downloadHandler
DownloadHandlerRef -> ICefDownloadHandler
var DownloadItemCallbackRef downloadItemCallback
DownloadItemCallbackRef => ICefDownloadItemCallback
var DownloadItemRef downloadItem
DownloadItemRef -> ICefDownloadItem
var DragHandlerRef dragHandler
DragHandlerRef -> ICefDragHandler
var ExtensionHandlerRef extensionHandler
ExtensionHandlerRef -> TCustomExtensionHandler
var FindHandlerRef findHandler
FindHandlerRef -> ICefFindHandler
var FocusHandlerRef focusHandler
FocusHandlerRef -> ICefFocusHandler
var FrameHandlerRef frameHandler
FrameHandlerRef -> ICefFrameHandler
var FrameRef frameRef
FrameRef -> *ICefFrame
var ImageRef image
ImageRef -> ICefImage
var JsDialogHandlerRef jsDialogHandler
JsDialogHandlerRef -> ICefJsDialogHandler
var KeyAccelerator = &keyEventAccelerator{ menuId: MENU_ID_USER_FIRST, commandItems: make(map[MenuId]*MenuItem), acceleratorItems: make(map[string]*MenuItem), acceleratorCustom: make(map[string]*AcceleratorCustom), }
KeyAccelerator 自定义实现快捷键
var KeyboardHandlerRef keyboardHandler
KeyboardHandlerRef -> ICefKeyboardHandler
var LifeSpanHandlerRef lifeSpanHandler
LifeSpanHandlerRef -> ICefLifeSpanHandler
var ListValueRef listValue
ListValueRef -> ICefListValue
var LoadHandlerRef loadHandler
LoadHandlerRef -> ICefLoadHandler
var PdfPrintCallbackRef pdfPrintCallback
PdfPrintCallbackRef -> ICefPdfPrintCallback
var PermissionHandlerRef permissionHandler
PermissionHandlerRef -> ICefPermissionHandler
var PostDataElementRef postDataElement
PostDataElementRef -> ICefPostDataElement
var PostDataRef postData
PostDataRef -> ICefPostData
var PrintHandlerRef printSpanHandler
PrintHandlerRef -> ICefPrintHandler
var PrintSettingsRef printSettings
PrintSettingsRef -> ICefPdfPrintCallback
var ProcessMessageRef processMessage
ProcessMessageRef -> ICefProcessMessage
var RenderHandlerRef renderSpanHandler
RenderHandlerRef -> ICefPrintHandler
var RequestContextHandlerRef requestContextHandler
RequestContextHandlerRef -> ICefRequestContextHandler
var RequestHandlerRef requestHandler
RequestHandlerRef -> ICefRequestHandler
var RequestRef request
RequestRef -> ICefRequest
var ResourceHandlerRef resourceHandler
ResourceHandlerRef -> ICefResourceHandler
var ResourceRequestHandlerRef resourceRequestHandler
ResourceRequestHandlerRef -> ICefResourceRequestHandler
var ResponseFilterRef responseFilter
ResponseFilterRef -> ICefResourceHandler
var ResponseRef response
ResponseRef -> ICefResponse
var SchemeHandlerFactoryRef schemeHandlerFactory
SchemeHandlerFactoryRef -> ICefSchemeHandlerFactory
var SetCookieHandlerRef setCookieHandler
SetCookieHandlerRef -> ICefSetCookieCallback
var StreamReaderRef streamReader
StreamReaderRef -> ICefStreamReader
var StreamWriterRef streamWriter
StreamWriterRef -> ICefStreamWriter
var StringMultiMapRef stringMultiMap
StringMultiMapRef -> ICefStringMultiMap
var V8AccessorRef cefV8Accessor
V8AccessorRef -> ICefV8Accessor
var V8ArrayBufferReleaseCallbackRef cefV8ArrayBufferReleaseCallback
V8ArrayBufferReleaseCallbackRef -> ICefV8ArrayBufferReleaseCallback
var V8ContextRef *cefV8ContextRef
V8ContextRef -> ICefV8Context
var V8HandlerRef cefV8Handler
V8HandlerRef -> ICefV8Handler
var V8InterceptorRef cefV8Interceptor
V8InterceptorRef -> ICefV8Interceptor
var V8ValueArrayRef v8ValueArray
V8ValueArrayRef -> TCefV8ValueArray
var V8ValueRef cefV8Value
V8ValueRef -> ICefV8Value
var ValueConvert v8ValueProcessMessageConvert
ValueConvert
var ValueRef cefValue
ValueRef -> ICefValue
Functions ¶
func CheckLocales ¶
func CheckResources ¶
func CheckSubprocessPath ¶
func ClearSchemeHandlerFactories ¶
func ClearSchemeHandlerFactories() bool
func GetMimeType ¶
func GlobalInit ¶
GlobalInit 全局初始化
需要手动调用的函数,在main函数中调用 参数: libs 内置到应用程序的类库 resources 内置到应用程序的资源文件 MacOSX环境, goland、ide等开发环境需配置命令行参数[energy_env=dev]以保证应用正常运行
func QueueAsyncCall ¶
func QueueAsyncCall(fn qacFn) int
QueueAsyncCall 仅LCL,在主进程中异步调用
在UI主进程中执行, 异步执行
非主进程的多线程操作可使用该函数包裹
在任何变更UI的操作都有可能因非主线程出现不一至, 而出现程序错误或程序崩溃, 可以尝试使用该回调函数解决.
提示: CEF事件或函数中不应使用该函数包裹
func RegisterExtension ¶
func RegisterExtension(name, code string, handler *ICefV8Handler)
RegisterExtension 注册JS扩展
将自定义JS代码植入到当前浏览器 在 WebKitInitialized 回调函数中使用 参数: name: 根对象名, 不允许使用默认的内部名称, 参阅 isInternalBind 函数 code: js code handler: 处理器, 根据本地函数名回调该处理器
func RegisterSchemeHandlerFactory ¶
func RegisterSchemeHandlerFactory(schemeName, domainName string, handler TCefResourceHandlerClass) bool
func SetBrowserProcessStartAfterCallback ¶
func SetBrowserProcessStartAfterCallback(callback browserProcessStartAfterCallbackFunc)
SetBrowserProcessStartAfterCallback 主进程启动之后回调函数
func SetOnException ¶
func SetOnException(exception ExceptionCallback)
SetOnException 设置 lib-lcl -> CEF 低层异常捕获回调函数
func WindowInfoAsChild ¶
WindowInfoAsChild BrowserWindow 设置到指定窗口做为子窗口
func WindowInfoAsPopUp ¶
WindowInfoAsPopUp BrowserWindow 设置到做为弹出窗口
func WindowInfoAsWindowless ¶
WindowInfoAsWindowless BrowserWindow 设置到做为无窗口
Types ¶
type AcceleratorCustom ¶
type AcceleratorCustom struct { Accelerator string KeyType int Callback KeyEventCallback }
type BaseWinControl ¶
type BaseWinControl struct { lcl.IWinControl // contains filtered or unexported fields }
BaseWinControl TCEFWindowParent 和 TCEFLinkedWindowParent 父结构体
type BeforePopupInfo ¶
type BeforePopupInfo struct { TargetUrl string TargetFrameName string TargetDisposition TCefWindowOpenDisposition UserGesture bool }
BeforePopupInfo 弹出子窗口信息
type BrowseProcessMessageReceived ¶
type BrowseProcessMessageReceived func(sender lcl.IObject, browser *ICefBrowser, frame *ICefFrame, sourceProcess consts.CefProcessId, message *ICefProcessMessage) bool
type BrowserEvent ¶
type BrowserEvent struct {
// contains filtered or unexported fields
}
BrowserEvent 浏览器全局事件监听-已被默认实现事件
func (*BrowserEvent) SetOnAddressChange ¶
func (m *BrowserEvent) SetOnAddressChange(event chromiumEventOnAddressChange)
BrowserEvent.SetOnAddressChange
func (*BrowserEvent) SetOnAfterCreated ¶
func (m *BrowserEvent) SetOnAfterCreated(event chromiumEventOnAfterCreated)
BrowserEvent.SetOnAfterCreated
func (*BrowserEvent) SetOnBeforeBrowser ¶
func (m *BrowserEvent) SetOnBeforeBrowser(event chromiumEventOnBeforeBrowser)
BrowserEvent.SetOnBeforeBrowser
func (*BrowserEvent) SetOnBeforeClose ¶
func (m *BrowserEvent) SetOnBeforeClose(event chromiumEventOnBeforeClose)
BrowserEvent.SetOnBeforeClose
func (*BrowserEvent) SetOnBeforeContextMenu ¶
func (m *BrowserEvent) SetOnBeforeContextMenu(event chromiumEventOnBeforeContextMenu)
BrowserEvent.SetOnBeforeContextMenu
func (*BrowserEvent) SetOnBeforeDownload ¶
func (m *BrowserEvent) SetOnBeforeDownload(event chromiumEventOnBeforeDownload)
BrowserEvent.SetOnBeforeDownload
func (*BrowserEvent) SetOnBeforePopup ¶
func (m *BrowserEvent) SetOnBeforePopup(event chromiumEventOnBeforePopupForWindowInfo)
BrowserEvent.SetOnBeforePopup
func (*BrowserEvent) SetOnBeforeResourceLoad ¶
func (m *BrowserEvent) SetOnBeforeResourceLoad(event chromiumEventOnBeforeResourceLoad)
BrowserEvent.SetOnBeforeResourceLoad
func (*BrowserEvent) SetOnBrowseProcessMessageReceived ¶
func (m *BrowserEvent) SetOnBrowseProcessMessageReceived(event BrowseProcessMessageReceived)
BrowserEvent.SetOnBrowseProcessMessageReceived
func (*BrowserEvent) SetOnBrowserCompMsg ¶
func (m *BrowserEvent) SetOnBrowserCompMsg(event chromiumEventOnCompMsg)
BrowserEvent.SetOnBrowserCompMsg windows
func (*BrowserEvent) SetOnClose ¶
func (m *BrowserEvent) SetOnClose(event chromiumEventOnClose)
BrowserEvent.SetOnClose
func (*BrowserEvent) SetOnContextMenuCommand ¶
func (m *BrowserEvent) SetOnContextMenuCommand(event chromiumEventOnContextMenuCommand)
BrowserEvent.SetOnContextMenuCommand
func (*BrowserEvent) SetOnContextMenuDismissed ¶
func (m *BrowserEvent) SetOnContextMenuDismissed(event chromiumEventOnContextMenuDismissed)
BrowserEvent.SetOnContextMenuDismissed
func (*BrowserEvent) SetOnCookieSet ¶
func (m *BrowserEvent) SetOnCookieSet(event chromiumEventOnCookieSet)
BrowserEvent.SetOnCookieSet
func (*BrowserEvent) SetOnCookieVisitorDestroyed ¶
func (m *BrowserEvent) SetOnCookieVisitorDestroyed(event chromiumEventOnCookieVisitorDestroyed)
BrowserEvent.SetOnCookieVisitorDestroyed
func (*BrowserEvent) SetOnCookiesDeleted ¶
func (m *BrowserEvent) SetOnCookiesDeleted(event chromiumEventOnCookiesDeleted)
BrowserEvent.SetOnCookiesDeleted
func (*BrowserEvent) SetOnCookiesFlushed ¶
func (m *BrowserEvent) SetOnCookiesFlushed(event chromiumEventOnCookiesFlushed)
BrowserEvent.SetOnCookiesFlushed
func (*BrowserEvent) SetOnCookiesVisited ¶
func (m *BrowserEvent) SetOnCookiesVisited(event chromiumEventOnCookiesVisited)
BrowserEvent.SetOnCookiesVisited
func (*BrowserEvent) SetOnDownloadUpdated ¶
func (m *BrowserEvent) SetOnDownloadUpdated(event chromiumEventOnDownloadUpdated)
BrowserEvent.SetOnDownloadUpdated
func (*BrowserEvent) SetOnDragEnter ¶
func (m *BrowserEvent) SetOnDragEnter(event chromiumEventOnDragEnter)
BrowserEvent.SetOnDragEnter
func (*BrowserEvent) SetOnDraggableRegionsChanged ¶
func (m *BrowserEvent) SetOnDraggableRegionsChanged(event chromiumEventOnDraggableRegionsChanged)
BrowserEvent.SetOnDraggableRegionsChanged
func (*BrowserEvent) SetOnFindResult ¶
func (m *BrowserEvent) SetOnFindResult(event chromiumEventOnFindResult)
BrowserEvent.SetOnFindResult
func (*BrowserEvent) SetOnFrameAttached ¶
func (m *BrowserEvent) SetOnFrameAttached(event chromiumEventOnFrameAttached)
BrowserEvent.SetOnFrameAttached
func (*BrowserEvent) SetOnFrameCreated ¶
func (m *BrowserEvent) SetOnFrameCreated(event chromiumEventOnFrameCreated)
BrowserEvent.SetOnFrameCreated
func (*BrowserEvent) SetOnFrameDetached ¶
func (m *BrowserEvent) SetOnFrameDetached(event chromiumEventOnFrameDetached)
BrowserEvent.SetOnFrameDetached
func (*BrowserEvent) SetOnFullScreenModeChange ¶
func (m *BrowserEvent) SetOnFullScreenModeChange(event chromiumEventOnFullScreenModeChange)
BrowserEvent.SetOnFullScreenModeChange
func (*BrowserEvent) SetOnKeyEvent ¶
func (m *BrowserEvent) SetOnKeyEvent(event chromiumEventOnKeyEvent)
BrowserEvent.SetOnKeyEvent
func (*BrowserEvent) SetOnLoadEnd ¶
func (m *BrowserEvent) SetOnLoadEnd(event chromiumEventOnLoadEnd)
BrowserEvent.SetOnLoadEnd
func (*BrowserEvent) SetOnLoadError ¶
func (m *BrowserEvent) SetOnLoadError(event chromiumEventOnLoadError)
BrowserEvent.SetOnLoadError
func (*BrowserEvent) SetOnLoadStart ¶
func (m *BrowserEvent) SetOnLoadStart(event chromiumEventOnLoadStart)
BrowserEvent.SetOnLoadStart
func (*BrowserEvent) SetOnLoadingProgressChange ¶
func (m *BrowserEvent) SetOnLoadingProgressChange(event chromiumEventOnLoadingProgressChange)
BrowserEvent.SetOnLoadingProgressChange
func (*BrowserEvent) SetOnLoadingStateChange ¶
func (m *BrowserEvent) SetOnLoadingStateChange(event chromiumEventOnLoadingStateChange)
BrowserEvent.SetOnLoadingStateChange
func (*BrowserEvent) SetOnMainFrameChanged ¶
func (m *BrowserEvent) SetOnMainFrameChanged(event chromiumEventOnMainFrameChanged)
BrowserEvent.SetOnMainFrameChanged
func (*BrowserEvent) SetOnPdfPrintFinished ¶
func (m *BrowserEvent) SetOnPdfPrintFinished(event chromiumEventOnPdfPrintFinished)
BrowserEvent.SetOnPdfPrintFinished
func (*BrowserEvent) SetOnRenderCompMsg ¶
func (m *BrowserEvent) SetOnRenderCompMsg(event chromiumEventOnCompMsg)
BrowserEvent.SetOnRenderCompMsg windows
func (*BrowserEvent) SetOnRenderProcessTerminated ¶
func (m *BrowserEvent) SetOnRenderProcessTerminated(event chromiumEventOnRenderProcessTerminated)
BrowserEvent.SetOnRenderProcessTerminated
func (*BrowserEvent) SetOnRenderViewReady ¶
func (m *BrowserEvent) SetOnRenderViewReady(event chromiumEventOnRenderViewReady)
BrowserEvent.SetOnRenderViewReady
func (*BrowserEvent) SetOnResourceLoadComplete ¶
func (m *BrowserEvent) SetOnResourceLoadComplete(event chromiumEventOnResourceLoadComplete)
BrowserEvent.SetOnResourceLoadComplete
func (*BrowserEvent) SetOnResourceRedirect ¶
func (m *BrowserEvent) SetOnResourceRedirect(event chromiumEventOnResourceRedirect)
BrowserEvent.SetOnResourceRedirect
func (*BrowserEvent) SetOnResourceResponse ¶
func (m *BrowserEvent) SetOnResourceResponse(event chromiumEventOnResourceResponse)
BrowserEvent.SetOnResourceResponse
func (*BrowserEvent) SetOnScrollOffsetChanged ¶
func (m *BrowserEvent) SetOnScrollOffsetChanged(event chromiumEventOnScrollOffsetChanged)
BrowserEvent.SetOnScrollOffsetChanged
func (*BrowserEvent) SetOnTitleChange ¶
func (m *BrowserEvent) SetOnTitleChange(event chromiumEventOnTitleChange)
BrowserEvent.SetOnTitleChange
func (*BrowserEvent) SetOnWidgetCompMsg ¶
func (m *BrowserEvent) SetOnWidgetCompMsg(event chromiumEventOnCompMsg)
BrowserEvent.SetOnWidgetCompMsg windows
func (*BrowserEvent) SetOnZoomPctAvailable ¶
func (m *BrowserEvent) SetOnZoomPctAvailable(event chromiumEventOnResultFloat)
BrowserEvent.SetOnZoomPctAvailable
type BrowserViewComponentOnBrowserCreated ¶
type BrowserViewComponentOnBrowserCreated func(sender lcl.IObject, browserView *ICefBrowserView, browser *ICefBrowser)
type BrowserViewComponentOnBrowserDestroyed ¶
type BrowserViewComponentOnBrowserDestroyed func(sender lcl.IObject, browserView *ICefBrowserView, browser *ICefBrowser)
type BrowserViewComponentOnGetChromeToolbarType ¶
type BrowserViewComponentOnGetChromeToolbarType func(sender lcl.IObject, aResult *consts.TCefChromeToolbarType)
type BrowserViewComponentOnGetDelegateForPopupBrowserView ¶
type BrowserViewComponentOnGetDelegateForPopupBrowserView func(sender lcl.IObject, browserView *ICefBrowserView, browserSettings *TCefBrowserSettings, client *ICefClient, isDevtools bool, aResult *ICefBrowserViewDelegate)
type BrowserViewComponentOnPopupBrowserViewCreated ¶
type BrowserViewComponentOnPopupBrowserViewCreated func(sender lcl.IObject, browserView, popupBrowserView *ICefBrowserView, isDevtools bool, aResult *bool)
type CefPdfPrintSettings ¶
type CefPdfPrintSettings struct { Landscape int32 // Integer PrintBackground int32 // Integer Scale float64 // double PaperWidth float64 // double PaperHeight float64 // double PreferCssPageSize int32 // Integer MarginType TCefPdfPrintMarginType // TCefPdfPrintMarginType MarginTop float64 // double MarginRight float64 // double MarginBottom float64 // double MarginLeft float64 // double PageRanges string // TCefString HeaderTemplate string // TCefString }
func (*CefPdfPrintSettings) ToPtr ¶
func (m *CefPdfPrintSettings) ToPtr() *cefPdfPrintSettingsPtr
type CompletionOnComplete ¶
type CompletionOnComplete func()
type ExceptionCallback ¶
ExceptionCallback 异常回调函数
type FrameNames ¶
type FuncCallback ¶
type FuncCallback func(browser *ICefBrowser, commandId MenuId, params *ICefContextMenuParams, menuType TCefContextMenuType, eventFlags uint32, result *bool)
type GlobalCEFAppEventOnBeforeChildProcessLaunch ¶
type GlobalCEFAppEventOnBeforeChildProcessLaunch func(commandLine *ICefCommandLine)
type GlobalCEFAppEventOnBrowserCreated ¶
type GlobalCEFAppEventOnBrowserCreated func(browser *ICefBrowser, extraInfo *ICefDictionaryValue)
type GlobalCEFAppEventOnBrowserDestroyed ¶
type GlobalCEFAppEventOnBrowserDestroyed func(browser *ICefBrowser)
type GlobalCEFAppEventOnContextCreated ¶
type GlobalCEFAppEventOnContextCreated func(browser *ICefBrowser, frame *ICefFrame, context *ICefV8Context) bool
type GlobalCEFAppEventOnContextInitialized ¶
type GlobalCEFAppEventOnContextInitialized func()
type GlobalCEFAppEventOnContextReleased ¶
type GlobalCEFAppEventOnContextReleased func(browser *ICefBrowser, frame *ICefFrame, context *ICefV8Context)
type GlobalCEFAppEventOnFocusedNodeChanged ¶
type GlobalCEFAppEventOnFocusedNodeChanged func(browser *ICefBrowser, frame *ICefFrame, node *ICefDomNode)
type GlobalCEFAppEventOnGetDataResource ¶
type GlobalCEFAppEventOnGetDataResource func(resourceId int32, data *ResultBytes, aResult *ResultBool)
type GlobalCEFAppEventOnGetDataResourceForScale ¶
type GlobalCEFAppEventOnGetDataResourceForScale func(resourceId int32, scaleFactor consts.TCefScaleFactor, data *ResultBytes, aResult *ResultBool)
type GlobalCEFAppEventOnGetDefaultClient ¶
type GlobalCEFAppEventOnGetDefaultClient func(client *ICefClient)
type GlobalCEFAppEventOnGetLocalizedString ¶
type GlobalCEFAppEventOnGetLocalizedString func(stringId int32, stringVal *ResultString, aResult *ResultBool)
type GlobalCEFAppEventOnRegCustomSchemes ¶
type GlobalCEFAppEventOnRegCustomSchemes func(registrar *TCefSchemeRegistrarRef)
type GlobalCEFAppEventOnRegisterCustomPreferences ¶
type GlobalCEFAppEventOnRegisterCustomPreferences func(type_ consts.TCefPreferencesType, registrar *TCefPreferenceRegistrarRef)
type GlobalCEFAppEventOnRenderLoadEnd ¶
type GlobalCEFAppEventOnRenderLoadEnd func(browser *ICefBrowser, frame *ICefFrame, httpStatusCode int32)
type GlobalCEFAppEventOnRenderLoadError ¶
type GlobalCEFAppEventOnRenderLoadError func(browser *ICefBrowser, frame *ICefFrame, errorCode consts.TCefErrorCode, errorText, failedUrl string)
type GlobalCEFAppEventOnRenderLoadStart ¶
type GlobalCEFAppEventOnRenderLoadStart func(browser *ICefBrowser, frame *ICefFrame, transitionType consts.TCefTransitionType)
type GlobalCEFAppEventOnRenderLoadingStateChange ¶
type GlobalCEFAppEventOnRenderLoadingStateChange func(browser *ICefBrowser, frame *ICefFrame, isLoading, canGoBack, canGoForward bool)
type GlobalCEFAppEventOnUncaughtException ¶
type GlobalCEFAppEventOnUncaughtException func(browser *ICefBrowser, frame *ICefFrame, context *ICefV8Context, exception *ICefV8Exception, stackTrace *ICefV8StackTrace)
type GlobalCEFAppEventOnWebKitInitialized ¶
type GlobalCEFAppEventOnWebKitInitialized func()
type IBrowserWindow ¶
type IBrowserWindow interface { Id() int32 //窗口ID Handle() types.HWND //窗口句柄 Show() //显示窗口 Hide() //隐藏窗口 WindowState() types.TWindowState //返回窗口最小化、最大化、全屏状态 Maximize() //窗口最大化 Minimize() //窗口最小化 Restore() //窗口还原 Close() //关闭窗口 非browser窗口使用 CloseBrowserWindow() //关闭浏览器窗口 带有browser窗口使用 WindowType() consts.WINDOW_TYPE //窗口类型 SetWindowType(windowType consts.WINDOW_TYPE) //设置窗口类型 Browser() *ICefBrowser //窗口内的Browser对象 Chromium() IChromium //窗口内的Chromium对象 DisableMaximize() //禁用最大化 DisableMinimize() //禁用最小化 DisableResize() //禁用窗口大小调整 EnableMaximize() //启用最大化 EnableMinimize() //启用最小化 EnableResize() //启用允许调整窗口大小 IsClosing() bool //返回窗口是否正在关闭/或已关闭 true正在或已关闭 AsViewsFrameworkBrowserWindow() IViewsFrameworkBrowserWindow //转换为ViewsFramework窗口接口, 失败返回nil AsLCLBrowserWindow() ILCLBrowserWindow //转换为LCL窗口接口, 失败返回nil EnableAllDefaultEvent() //启用所有默认事件 SetTitle(title string) //设置窗口标题栏标题 IsViewsFramework() bool //是否为 IViewsFrameworkBrowserWindow 窗口,失败返回false IsLCL() bool //是否为 ILCLBrowserWindow 窗口,失败返回false WindowProperty() *WindowProperty //窗口常用属性 SetWidth(value int32) //设置窗口宽 SetHeight(value int32) //设置窗口高 Point() *TCefPoint //窗口坐标 Size() *TCefSize //窗口宽高 Bounds() *TCefRect //窗口坐标和宽高 SetPoint(x, y int32) //设置窗口坐标 SetSize(width, height int32) //设置窗口宽高 SetBounds(x, y, width, height int32) //设置窗口坐标和宽高 SetCenterWindow(value bool) //设置窗口居中 ShowTitle() //显示窗口标题栏 HideTitle() //隐藏窗口标题栏 SetDefaultInTaskBar() //默认窗口在任务栏上显示按钮 SetShowInTaskBar() //强制窗口在任务栏上显示按钮 SetNotInTaskBar() //强制窗口不在任务栏上显示按钮 NewCefTray(width, height int32, url string) ITray //仅支持windows托盘LCL+[CEF|VF](使用web端技术自定义实现,如使用LCL窗口组件该托盘实现是LCL+CEF,如使用VF窗口组件该托盘实现是LCL+VF) NewSysTray() ITray //systray系统原生 }
IBrowserWindow 浏览器窗口基础接口
定义了常用函数
type ICEFChromiumBrowser ¶
type ICEFChromiumBrowser interface { CreateBrowser() // 创建浏览器 Chromium() IChromium // 返回 chromium WindowParent() ICEFWindowParent // 返回 chromium window 组件 IsCreated() bool // 创建浏览器是否成功 }
ICEFChromiumBrowser
CEFChromium浏览器接口
func NewChromiumBrowser ¶
func NewChromiumBrowser(owner lcl.IWinControl, config *tCefChromiumConfig) ICEFChromiumBrowser
NewChromiumBrowser
初始创建一个 chromium 浏览器
type ICEFWindowParent ¶
type ICEFWindowParent interface { lcl.IWinControl Instance() uintptr Type() consts.TCefWindowHandleType // 组件类型, Windows TCEFWindowParent 组件,MacOSX, Linux TCEFLinkedWindowParent 组件 SetChromium(chromium IChromium, tag int32) // 设置 IChromium, 只 TCEFLinkedWindowParent 有效 UpdateSize() // 更新组件大小 HandleAllocated() bool // 处理所有 CreateHandle() // 创建句柄 SetOnEnter(fn lcl.TNotifyEvent) // 进入事件 SetOnExit(fn lcl.TNotifyEvent) // 退出事件 DestroyChildWindow() bool // 销毁子窗口 Free() // 释放 Handle() types.HWND // 组件句柄 Name() string // 获取组件名称 SetName(value string) // 设置组件名称 SetParent(value lcl.IWinControl) // 设置控件父容器 RevertCustomAnchors() // 恢复到自定义四角锚点定位 DefaultAnchors() // 恢复到默认四角锚点定位 Align() types.TAlign // 获取控件自动调整 SetAlign(value types.TAlign) // 设置控件自动调整 Anchors() types.TAnchors // 获取四个角位置的锚点 SetAnchors(value types.TAnchors) // 设置四个角位置的锚点 Visible() bool // 获取控件可视 SetVisible(value bool) // 设置控件可视 Enabled() bool // 获取是否启用 SetEnabled(value bool) // 设置是否启用 Left() int32 // 获取左边距 SetLeft(value int32) // 设置左边距 Top() int32 // 获取上边距 SetTop(value int32) // 设置上边距 Width() int32 // 获取宽度 SetWidth(value int32) // 设置宽度 Height() int32 // 获取高度 SetHeight(value int32) // 设置高度 BoundsRect() (result types.TRect) // 获取矩形边界 SetBoundsRect(value types.TRect) // 设置矩形边界 // contains filtered or unexported methods }
ICEFWindowParent 接口定义
func NewCEFWindow ¶
func NewCEFWindow(owner lcl.IComponent) ICEFWindowParent
NewCEFWindow 创建CEFWindowParent
Windows return TCEFWindowParent ¶
MacOSX, Linux return TCEFLinkedWindowParent
type ICefAccessibilityHandler ¶
type ICefAccessibilityHandler struct {
// contains filtered or unexported fields
}
ICefAccessibilityHandler
/include/capi/cef_accessibility_handler_capi.h (cef_accessibility_handler_t)
func (*ICefAccessibilityHandler) Free ¶
func (m *ICefAccessibilityHandler) Free()
func (*ICefAccessibilityHandler) Instance ¶
func (m *ICefAccessibilityHandler) Instance() uintptr
Instance 实例
func (*ICefAccessibilityHandler) IsValid ¶
func (m *ICefAccessibilityHandler) IsValid() bool
func (*ICefAccessibilityHandler) SetOnAccessibilityLocationChange ¶
func (m *ICefAccessibilityHandler) SetOnAccessibilityLocationChange(fn onAccessibilityLocationChange)
func (*ICefAccessibilityHandler) SetOnAccessibilityTreeChange ¶
func (m *ICefAccessibilityHandler) SetOnAccessibilityTreeChange(fn onAccessibilityTreeChange)
type ICefAudioHandler ¶
type ICefAudioHandler struct {
// contains filtered or unexported fields
}
ICefAudioHandler
func (*ICefAudioHandler) Free ¶
func (m *ICefAudioHandler) Free()
func (*ICefAudioHandler) IsValid ¶
func (m *ICefAudioHandler) IsValid() bool
func (*ICefAudioHandler) SetOnAudioStreamError ¶
func (m *ICefAudioHandler) SetOnAudioStreamError(fn onAudioStreamError)
func (*ICefAudioHandler) SetOnAudioStreamPacket ¶
func (m *ICefAudioHandler) SetOnAudioStreamPacket(fn onAudioStreamPacket)
func (*ICefAudioHandler) SetOnAudioStreamStarted ¶
func (m *ICefAudioHandler) SetOnAudioStreamStarted(fn onAudioStreamStarted)
func (*ICefAudioHandler) SetOnAudioStreamStopped ¶
func (m *ICefAudioHandler) SetOnAudioStreamStopped(fn onAudioStreamStopped)
func (*ICefAudioHandler) SetOnGetAudioParameters ¶
func (m *ICefAudioHandler) SetOnGetAudioParameters(fn onGetAudioParameters)
type ICefAuthCallback ¶
type ICefAuthCallback struct {
// contains filtered or unexported fields
}
ICefAuthCallback 授权回调
func (*ICefAuthCallback) Cancel ¶
func (m *ICefAuthCallback) Cancel()
func (*ICefAuthCallback) Cont ¶
func (m *ICefAuthCallback) Cont(username, password string)
func (*ICefAuthCallback) Free ¶
func (m *ICefAuthCallback) Free()
func (*ICefAuthCallback) IsValid ¶
func (m *ICefAuthCallback) IsValid() bool
type ICefBaseRefCounted ¶
type ICefBeforeDownloadCallback ¶
type ICefBeforeDownloadCallback struct {
// contains filtered or unexported fields
}
ICefBeforeDownloadCallback
下载之前回调
func (*ICefBeforeDownloadCallback) Cont ¶
func (m *ICefBeforeDownloadCallback) Cont(downloadPath string, showDialog bool)
Cont 设置下载目录 仅在回调函数中使用
downloadPath 设置完整的下载目录, 包含文件名
showDialog 弹出保存目录窗口
func (*ICefBeforeDownloadCallback) Free ¶
func (m *ICefBeforeDownloadCallback) Free()
func (*ICefBeforeDownloadCallback) Instance ¶
func (m *ICefBeforeDownloadCallback) Instance() uintptr
func (*ICefBeforeDownloadCallback) IsValid ¶
func (m *ICefBeforeDownloadCallback) IsValid() bool
type ICefBinaryValue ¶
type ICefBinaryValue struct {
// contains filtered or unexported fields
}
ICefBinaryValue -> ArgumentList
func (*ICefBinaryValue) Copy ¶
func (m *ICefBinaryValue) Copy() *ICefBinaryValue
func (*ICefBinaryValue) Free ¶
func (m *ICefBinaryValue) Free()
func (*ICefBinaryValue) GetData ¶
func (m *ICefBinaryValue) GetData(buffer []byte, dataOffset uint32) uint32
func (*ICefBinaryValue) GetSize ¶
func (m *ICefBinaryValue) GetSize() uint32
func (*ICefBinaryValue) IsOwned ¶
func (m *ICefBinaryValue) IsOwned() bool
func (*ICefBinaryValue) IsValid ¶
func (m *ICefBinaryValue) IsValid() bool
type ICefBrowser ¶
type ICefBrowser struct {
// contains filtered or unexported fields
}
ICefBrowser
func (*ICefBrowser) CloseBrowser ¶
func (m *ICefBrowser) CloseBrowser(forceClose bool)
CloseBrowser 关闭浏览器,同时关闭窗口
func (*ICefBrowser) DownloadImage ¶
func (m *ICefBrowser) DownloadImage(imageUrl string, isFavicon bool, maxImageSize int32, bypassCache bool)
DownloadImage 开始下载图片
func (*ICefBrowser) ExecuteDevToolsMethod ¶
func (m *ICefBrowser) ExecuteDevToolsMethod(messageId int32, method string, dictionaryValue *ICefDictionaryValue)
ExecuteDevToolsMethod 执行开发者工具方法
func (*ICefBrowser) Find ¶
func (m *ICefBrowser) Find(searchText string, forward, matchCase, findNext bool)
Find 检索页面文本
func (*ICefBrowser) FrameId ¶
func (m *ICefBrowser) FrameId() int64
FrameId 获取FrameID 一个窗口中可以有多Frame
func (*ICefBrowser) Free ¶
func (m *ICefBrowser) Free()
func (*ICefBrowser) GetFocusedFrame ¶
func (m *ICefBrowser) GetFocusedFrame() *ICefFrame
GetFocusedFrame 获取当前窗口有焦点的Frame
func (*ICefBrowser) GetFrameById ¶
func (m *ICefBrowser) GetFrameById(frameId int64) *ICefFrame
GetFrameById 根据FrameId获取Frame对象
func (*ICefBrowser) GetFrameByName ¶
func (m *ICefBrowser) GetFrameByName(frameName string) *ICefFrame
GetFrameByName 根据FrameName获取Frame对象
func (*ICefBrowser) GetFrameNames ¶
func (m *ICefBrowser) GetFrameNames() []*FrameNames
GetFrameNames 获取当前窗口所有Frame名称
func (*ICefBrowser) GetRequestContext ¶
func (m *ICefBrowser) GetRequestContext() *ICefRequestContext
GetRequestContext -> ICefBrowserHost -> ICefRequestContext
func (*ICefBrowser) GetZoomLevel ¶
func (m *ICefBrowser) GetZoomLevel() (result float64)
GetZoomLevel 获取缩放级别
func (*ICefBrowser) HostWindowHandle ¶
func (m *ICefBrowser) HostWindowHandle() types.HWND
HostWindowHandle 获取窗口句柄, Browser窗口句柄
func (*ICefBrowser) IsValid ¶
func (m *ICefBrowser) IsValid() bool
func (*ICefBrowser) MainFrame ¶
func (m *ICefBrowser) MainFrame() *ICefFrame
MainFrame 获取当前窗口的主Frame
func (*ICefBrowser) NotifyMoveOrResizeStarted ¶
func (m *ICefBrowser) NotifyMoveOrResizeStarted()
NotifyMoveOrResizeStarted 通用移动或大小开始
func (*ICefBrowser) NotifyScreenInfoChanged ¶
func (m *ICefBrowser) NotifyScreenInfoChanged()
NotifyScreenInfoChanged 通知屏幕改变
func (*ICefBrowser) PrintToPdf ¶
func (m *ICefBrowser) PrintToPdf(path string, settings *CefPdfPrintSettings, callback *ICefPdfPrintCallback)
PrintToPdf
func (*ICefBrowser) ReloadIgnoreCache ¶
func (m *ICefBrowser) ReloadIgnoreCache()
ReloadIgnoreCache 重新加载忽略缓存
func (*ICefBrowser) RunFileDialog ¶
func (m *ICefBrowser) RunFileDialog(mode int32, title, defaultFilePath string, acceptFilters *lcl.TStrings)
RunFileDialog 运行文件选择窗口, 可配合在下载文件事件中使用
func (*ICefBrowser) SendCaptureLostEvent ¶
func (m *ICefBrowser) SendCaptureLostEvent()
SendCaptureLostEvent 发送失去标题事件
func (*ICefBrowser) SendDevToolsMessage ¶
func (m *ICefBrowser) SendDevToolsMessage(message string)
SendDevToolsMessage 发送开发者工具消息
func (*ICefBrowser) SendKeyEvent ¶
func (m *ICefBrowser) SendKeyEvent(event *TCefKeyEvent)
SendKeyEvent 发送模拟键盘事件
func (*ICefBrowser) SendMouseClickEvent ¶
func (m *ICefBrowser) SendMouseClickEvent(event *TCefMouseEvent, type_ TCefMouseButtonType, mouseUp bool, clickCount int32)
SendMouseClickEvent 发送鼠标点击事件
func (*ICefBrowser) SendMouseMoveEvent ¶
func (m *ICefBrowser) SendMouseMoveEvent(event *TCefMouseEvent, mouseLeave bool)
SendMouseMoveEvent 发送鼠标移动事件
func (*ICefBrowser) SendMouseWheelEvent ¶
func (m *ICefBrowser) SendMouseWheelEvent(event *TCefMouseEvent, deltaX, deltaY int32)
SendMouseWheelEvent 发送鼠标滚轮事件
func (*ICefBrowser) SendTouchEvent ¶
func (m *ICefBrowser) SendTouchEvent(event *TCefTouchEvent)
SendTouchEvent 发送触摸事件
func (*ICefBrowser) SetAccessibilityState ¶
func (m *ICefBrowser) SetAccessibilityState(accessibilityState TCefState)
SetAccessibilityState 设置可访问性状态
func (*ICefBrowser) SetAutoResizeEnabled ¶
func (m *ICefBrowser) SetAutoResizeEnabled(enabled bool, minSize, maxSize *TCefSize)
SetAutoResizeEnabled 设置启用自动调整大小
func (*ICefBrowser) SetZoomLevel ¶
func (m *ICefBrowser) SetZoomLevel(zoomLevel float64)
SetZoomLevel 设置缩放级别
func (*ICefBrowser) StartDownload ¶
func (m *ICefBrowser) StartDownload(url string)
StartDownload 开始下载
func (*ICefBrowser) StopFinding ¶
func (m *ICefBrowser) StopFinding(clearSelection bool)
StopFinding 停止加载
func (*ICefBrowser) Target ¶
func (m *ICefBrowser) Target(targetType ...target.Type) target.ITarget
Target
IPC消息接收目标, 当前窗口 参数: targetType 可选, 接收类型
func (*ICefBrowser) TryCloseBrowser ¶
func (m *ICefBrowser) TryCloseBrowser() bool
TryCloseBrowser 尝试关闭浏览器,同时尝试关闭窗口
type ICefBrowserView ¶
type ICefBrowserView struct {
// contains filtered or unexported fields
}
ICefBrowserView
func (*ICefBrowserView) Browser ¶
func (m *ICefBrowserView) Browser() *ICefBrowser
func (*ICefBrowserView) ChromeToolbar ¶
func (m *ICefBrowserView) ChromeToolbar() *ICefView
func (*ICefBrowserView) Instance ¶
func (m *ICefBrowserView) Instance() uintptr
func (*ICefBrowserView) SetPreferAccelerators ¶
func (m *ICefBrowserView) SetPreferAccelerators(preferAccelerators bool)
type ICefBrowserViewDelegate ¶
type ICefBrowserViewDelegate struct {
// contains filtered or unexported fields
}
ICefBrowserViewDelegate TODO 未实现
type ICefCallback ¶
type ICefCallback struct {
// contains filtered or unexported fields
}
ICefCallback
func (*ICefCallback) Free ¶
func (m *ICefCallback) Free()
func (*ICefCallback) IsValid ¶
func (m *ICefCallback) IsValid() bool
type ICefClient ¶
type ICefClient struct {
// contains filtered or unexported fields
}
ICefClient
func (*ICefClient) Free ¶
func (m *ICefClient) Free()
func (*ICefClient) GetAudioHandler ¶
func (m *ICefClient) GetAudioHandler() *ICefAudioHandler
func (*ICefClient) GetCommandHandler ¶
func (m *ICefClient) GetCommandHandler() *ICefCommandHandler
func (*ICefClient) GetContextMenuHandler ¶
func (m *ICefClient) GetContextMenuHandler() *ICefContextMenuHandler
func (*ICefClient) GetDialogHandler ¶
func (m *ICefClient) GetDialogHandler() *ICefDialogHandler
func (*ICefClient) GetDisplayHandler ¶
func (m *ICefClient) GetDisplayHandler() *ICefDisplayHandler
func (*ICefClient) GetDownloadHandler ¶
func (m *ICefClient) GetDownloadHandler() *ICefDownloadHandler
func (*ICefClient) GetDragHandler ¶
func (m *ICefClient) GetDragHandler() *ICefDragHandler
func (*ICefClient) GetFindHandler ¶
func (m *ICefClient) GetFindHandler() *ICefFindHandler
func (*ICefClient) GetFocusHandler ¶
func (m *ICefClient) GetFocusHandler() *ICefFocusHandler
func (*ICefClient) GetFrameHandler ¶
func (m *ICefClient) GetFrameHandler() *ICefFrameHandler
func (*ICefClient) GetJsdialogHandler ¶
func (m *ICefClient) GetJsdialogHandler() *ICefJsDialogHandler
func (*ICefClient) GetKeyboardHandler ¶
func (m *ICefClient) GetKeyboardHandler() *ICefKeyboardHandler
func (*ICefClient) GetLifeSpanHandler ¶
func (m *ICefClient) GetLifeSpanHandler() *ICefLifeSpanHandler
func (*ICefClient) GetLoadHandler ¶
func (m *ICefClient) GetLoadHandler() *ICefLoadHandler
func (*ICefClient) GetPermissionHandler ¶
func (m *ICefClient) GetPermissionHandler() *ICefPermissionHandler
func (*ICefClient) GetPrintHandler ¶
func (m *ICefClient) GetPrintHandler() *ICefPrintHandler
func (*ICefClient) GetRenderHandler ¶
func (m *ICefClient) GetRenderHandler() *ICefRenderHandler
func (*ICefClient) GetRequestHandler ¶
func (m *ICefClient) GetRequestHandler() *ICefRequestHandler
func (*ICefClient) IsChromiumEvent ¶
func (m *ICefClient) IsChromiumEvent() bool
func (*ICefClient) IsTClientEvent ¶
func (m *ICefClient) IsTClientEvent() bool
func (*ICefClient) IsValid ¶
func (m *ICefClient) IsValid() bool
func (*ICefClient) SetClient ¶
func (m *ICefClient) SetClient(newClient *ICefClient)
type ICefCommandHandler ¶
type ICefCommandHandler struct {
// contains filtered or unexported fields
}
ICefCommandHandler
func (*ICefCommandHandler) Free ¶
func (m *ICefCommandHandler) Free()
func (*ICefCommandHandler) IsValid ¶
func (m *ICefCommandHandler) IsValid() bool
func (*ICefCommandHandler) SetOnChromeCommand ¶
func (m *ICefCommandHandler) SetOnChromeCommand(fn onChromeCommand)
type ICefCommandLine ¶
type ICefCommandLine struct {
// contains filtered or unexported fields
}
ICefCommandLine
func (*ICefCommandLine) AppendArgument ¶
func (m *ICefCommandLine) AppendArgument(argument string)
func (*ICefCommandLine) AppendSwitch ¶
func (m *ICefCommandLine) AppendSwitch(name string)
func (*ICefCommandLine) AppendSwitchWithValue ¶
func (m *ICefCommandLine) AppendSwitchWithValue(name, value string)
func (*ICefCommandLine) Copy ¶
func (m *ICefCommandLine) Copy() *ICefCommandLine
func (*ICefCommandLine) Free ¶
func (m *ICefCommandLine) Free()
func (*ICefCommandLine) GetArguments ¶
func (m *ICefCommandLine) GetArguments() *lcl.TStrings
func (*ICefCommandLine) GetArgv ¶
func (m *ICefCommandLine) GetArgv() *lcl.TStrings
func (*ICefCommandLine) GetCommandLineString ¶
func (m *ICefCommandLine) GetCommandLineString() string
func (*ICefCommandLine) GetProgram ¶
func (m *ICefCommandLine) GetProgram() string
func (*ICefCommandLine) GetSwitchValue ¶
func (m *ICefCommandLine) GetSwitchValue(name string) string
func (*ICefCommandLine) GetSwitches ¶
func (m *ICefCommandLine) GetSwitches() *lcl.TStrings
func (*ICefCommandLine) GetSwitchesList ¶
func (m *ICefCommandLine) GetSwitchesList() (*lcl.TStrings, *lcl.TStrings)
func (*ICefCommandLine) HasArguments ¶
func (m *ICefCommandLine) HasArguments() bool
func (*ICefCommandLine) HasSwitch ¶
func (m *ICefCommandLine) HasSwitch(name string) bool
func (*ICefCommandLine) HasSwitches ¶
func (m *ICefCommandLine) HasSwitches() bool
func (*ICefCommandLine) InitFromArgv ¶
func (m *ICefCommandLine) InitFromArgv(argc int32, argv string)
func (*ICefCommandLine) InitFromString ¶
func (m *ICefCommandLine) InitFromString(commandLine string)
func (*ICefCommandLine) Instance ¶
func (m *ICefCommandLine) Instance() uintptr
func (*ICefCommandLine) IsReadOnly ¶
func (m *ICefCommandLine) IsReadOnly() bool
func (*ICefCommandLine) IsValid ¶
func (m *ICefCommandLine) IsValid() bool
func (*ICefCommandLine) PrependWrapper ¶
func (m *ICefCommandLine) PrependWrapper(wrapper string)
func (*ICefCommandLine) Reset ¶
func (m *ICefCommandLine) Reset()
func (*ICefCommandLine) SetProgram ¶
func (m *ICefCommandLine) SetProgram(prog string)
type ICefCompletionCallback ¶
type ICefCompletionCallback struct {
// contains filtered or unexported fields
}
ICefCompletionCallback
func (*ICefCompletionCallback) Free ¶
func (m *ICefCompletionCallback) Free()
func (*ICefCompletionCallback) Instance ¶
func (m *ICefCompletionCallback) Instance() uintptr
Instance 实例
func (*ICefCompletionCallback) IsValid ¶
func (m *ICefCompletionCallback) IsValid() bool
func (*ICefCompletionCallback) SetOnComplete ¶
func (m *ICefCompletionCallback) SetOnComplete(fn CompletionOnComplete)
type ICefContextMenuHandler ¶
type ICefContextMenuHandler struct {
// contains filtered or unexported fields
}
ICefContextMenuHandler
func (*ICefContextMenuHandler) Free ¶
func (m *ICefContextMenuHandler) Free()
func (*ICefContextMenuHandler) Instance ¶
func (m *ICefContextMenuHandler) Instance() uintptr
Instance 实例
func (*ICefContextMenuHandler) IsValid ¶
func (m *ICefContextMenuHandler) IsValid() bool
func (*ICefContextMenuHandler) SetOnBeforeContextMenu ¶
func (m *ICefContextMenuHandler) SetOnBeforeContextMenu(fn onBeforeContextMenu)
func (*ICefContextMenuHandler) SetOnContextMenuCommand ¶
func (m *ICefContextMenuHandler) SetOnContextMenuCommand(fn onContextMenuCommand)
func (*ICefContextMenuHandler) SetOnContextMenuDismissed ¶
func (m *ICefContextMenuHandler) SetOnContextMenuDismissed(fn onContextMenuDismissed)
func (*ICefContextMenuHandler) SetOnQuickMenuCommand ¶
func (m *ICefContextMenuHandler) SetOnQuickMenuCommand(fn onQuickMenuCommand)
func (*ICefContextMenuHandler) SetOnQuickMenuDismissed ¶
func (m *ICefContextMenuHandler) SetOnQuickMenuDismissed(fn onQuickMenuDismissed)
func (*ICefContextMenuHandler) SetRunContextMenu ¶
func (m *ICefContextMenuHandler) SetRunContextMenu(fn runContextMenu)
func (*ICefContextMenuHandler) SetRunQuickMenu ¶
func (m *ICefContextMenuHandler) SetRunQuickMenu(fn runQuickMenu)
type ICefContextMenuParams ¶
type ICefContextMenuParams struct {
// contains filtered or unexported fields
}
ICefContextMenuParams 菜单显示时参数,当前鼠标右键的frame & html元素参数
func (*ICefContextMenuParams) DictionarySuggestions ¶
func (m *ICefContextMenuParams) DictionarySuggestions(suggestions []string) bool
DictionarySuggestions
func (*ICefContextMenuParams) EditStateFlags ¶
func (m *ICefContextMenuParams) EditStateFlags() consts.TCefContextMenuEditStateFlags
EditStateFlags
func (*ICefContextMenuParams) FrameCharset ¶
func (m *ICefContextMenuParams) FrameCharset() string
FrameCharset
func (*ICefContextMenuParams) Free ¶
func (m *ICefContextMenuParams) Free()
func (*ICefContextMenuParams) HasImageContents ¶
func (m *ICefContextMenuParams) HasImageContents() bool
HasImageContents
func (*ICefContextMenuParams) Instance ¶
func (m *ICefContextMenuParams) Instance() uintptr
Instance 实例
func (*ICefContextMenuParams) IsCustomMenu ¶
func (m *ICefContextMenuParams) IsCustomMenu() bool
IsCustomMenu
func (*ICefContextMenuParams) IsEditable ¶
func (m *ICefContextMenuParams) IsEditable() bool
IsEditable
func (*ICefContextMenuParams) IsSpellCheckEnabled ¶
func (m *ICefContextMenuParams) IsSpellCheckEnabled() bool
IsSpellCheckEnabled
func (*ICefContextMenuParams) IsValid ¶
func (m *ICefContextMenuParams) IsValid() bool
func (*ICefContextMenuParams) MediaStateFlags ¶
func (m *ICefContextMenuParams) MediaStateFlags() consts.TCefContextMenuMediaStateFlags
MediaStateFlags
func (*ICefContextMenuParams) MediaType ¶
func (m *ICefContextMenuParams) MediaType() consts.TCefContextMenuMediaType
MediaType
func (*ICefContextMenuParams) MisspelledWord ¶
func (m *ICefContextMenuParams) MisspelledWord() string
MisspelledWord
func (*ICefContextMenuParams) SelectionText ¶
func (m *ICefContextMenuParams) SelectionText() string
SelectionText
func (*ICefContextMenuParams) SourceUrl ¶
func (m *ICefContextMenuParams) SourceUrl() string
SourceUrl
func (*ICefContextMenuParams) TitleText ¶
func (m *ICefContextMenuParams) TitleText() string
TitleText
func (*ICefContextMenuParams) TypeFlags ¶
func (m *ICefContextMenuParams) TypeFlags() consts.TCefContextMenuTypeFlags
TypeFlags
func (*ICefContextMenuParams) UnfilteredLinkUrl ¶
func (m *ICefContextMenuParams) UnfilteredLinkUrl() string
UnfilteredLinkUrl
type ICefCookie ¶
type ICefCookie struct {
Url, Name, Value, Domain, Path string
Secure, Httponly, HasExpires bool
Creation, LastAccess, Expires time.Time
Count, Total, ID int32
SameSite TCefCookieSameSite
Priority TCefCookiePriority
SetImmediately bool
DeleteCookie bool
Result bool
}
ICefCookie CEF Cookie
type ICefCookieAccessFilter ¶
type ICefCookieAccessFilter struct {
// contains filtered or unexported fields
}
ICefCookieAccessFilter
/include/capi/cef_resource_request_handler_capi.h (cef_cookie_access_filter_t)
func (*ICefCookieAccessFilter) Free ¶
func (m *ICefCookieAccessFilter) Free()
func (*ICefCookieAccessFilter) Instance ¶
func (m *ICefCookieAccessFilter) Instance() uintptr
Instance 实例
func (*ICefCookieAccessFilter) IsChromiumEvent ¶
func (m *ICefCookieAccessFilter) IsChromiumEvent() bool
func (*ICefCookieAccessFilter) IsTClientEvent ¶
func (m *ICefCookieAccessFilter) IsTClientEvent() bool
func (*ICefCookieAccessFilter) IsValid ¶
func (m *ICefCookieAccessFilter) IsValid() bool
func (*ICefCookieAccessFilter) SetCanSaveCookie ¶
func (m *ICefCookieAccessFilter) SetCanSaveCookie(fn canSaveCookie)
func (*ICefCookieAccessFilter) SetCanSendCookie ¶
func (m *ICefCookieAccessFilter) SetCanSendCookie(fn canSendCookie)
type ICefCookieManager ¶
type ICefCookieManager struct {
// contains filtered or unexported fields
}
ICefCookieManager
func (*ICefCookieManager) DeleteCookies ¶
func (m *ICefCookieManager) DeleteCookies(url, cookieName string, callback *ICefDeleteCookiesCallback) bool
func (*ICefCookieManager) FlushStore ¶
func (m *ICefCookieManager) FlushStore(callback *ICefCompletionCallback) bool
func (*ICefCookieManager) Free ¶
func (m *ICefCookieManager) Free()
func (*ICefCookieManager) IsValid ¶
func (m *ICefCookieManager) IsValid() bool
func (*ICefCookieManager) SetCookie ¶
func (m *ICefCookieManager) SetCookie(url, name, value, domain, path string, secure, httponly, hasExpires bool, creation, lastAccess, expires time.Time, sameSite consts.TCefCookieSameSite, priority consts.TCefCookiePriority, callback *ICefSetCookieCallback) bool
func (*ICefCookieManager) VisitAllCookies ¶
func (m *ICefCookieManager) VisitAllCookies(visitor *ICefCookieVisitor)
func (*ICefCookieManager) VisitUrlCookies ¶
func (m *ICefCookieManager) VisitUrlCookies(url string, includeHttpOnly bool, visitor *ICefCookieVisitor) bool
type ICefCookieVisitor ¶
type ICefCookieVisitor struct {
// contains filtered or unexported fields
}
ICefCookieVisitor
func (*ICefCookieVisitor) Free ¶
func (m *ICefCookieVisitor) Free()
func (*ICefCookieVisitor) IsValid ¶
func (m *ICefCookieVisitor) IsValid() bool
func (*ICefCookieVisitor) SetOnVisit ¶
func (m *ICefCookieVisitor) SetOnVisit(fn cookieOnVisit)
type ICefDeleteCookiesCallback ¶
type ICefDeleteCookiesCallback struct {
// contains filtered or unexported fields
}
ICefDeleteCookiesCallback
func (*ICefDeleteCookiesCallback) Free ¶
func (m *ICefDeleteCookiesCallback) Free()
func (*ICefDeleteCookiesCallback) Instance ¶
func (m *ICefDeleteCookiesCallback) Instance() uintptr
Instance 实例
func (*ICefDeleteCookiesCallback) IsChromiumEvent ¶
func (m *ICefDeleteCookiesCallback) IsChromiumEvent() bool
func (*ICefDeleteCookiesCallback) IsTClientEvent ¶
func (m *ICefDeleteCookiesCallback) IsTClientEvent() bool
func (*ICefDeleteCookiesCallback) IsValid ¶
func (m *ICefDeleteCookiesCallback) IsValid() bool
func (*ICefDeleteCookiesCallback) SetOnComplete ¶
func (m *ICefDeleteCookiesCallback) SetOnComplete(fn deleteCookiesOnComplete)
type ICefDialogHandler ¶
type ICefDialogHandler struct {
// contains filtered or unexported fields
}
ICefDialogHandler
func (*ICefDialogHandler) Free ¶
func (m *ICefDialogHandler) Free()
func (*ICefDialogHandler) IsValid ¶
func (m *ICefDialogHandler) IsValid() bool
func (*ICefDialogHandler) SetOnFileDialog ¶
func (m *ICefDialogHandler) SetOnFileDialog(fn onFileDialog)
type ICefDictionaryValue ¶
type ICefDictionaryValue struct {
// contains filtered or unexported fields
}
ICefDictionaryValue -> ArgumentList
func (*ICefDictionaryValue) Clear ¶
func (m *ICefDictionaryValue) Clear() (result bool)
func (*ICefDictionaryValue) Copy ¶
func (m *ICefDictionaryValue) Copy(excludeEmptyChildren bool) *ICefDictionaryValue
func (*ICefDictionaryValue) Free ¶
func (m *ICefDictionaryValue) Free()
func (*ICefDictionaryValue) GetBinary ¶
func (m *ICefDictionaryValue) GetBinary(key string) *ICefBinaryValue
func (*ICefDictionaryValue) GetBool ¶
func (m *ICefDictionaryValue) GetBool(key string) bool
func (*ICefDictionaryValue) GetDictionary ¶
func (m *ICefDictionaryValue) GetDictionary(key string) *ICefDictionaryValue
func (*ICefDictionaryValue) GetDouble ¶
func (m *ICefDictionaryValue) GetDouble(key string) (result float64)
func (*ICefDictionaryValue) GetIArray ¶
func (m *ICefDictionaryValue) GetIArray(key string) types.IArrayValue
func (*ICefDictionaryValue) GetIBinary ¶
func (m *ICefDictionaryValue) GetIBinary(key string) types.IBinaryValue
func (*ICefDictionaryValue) GetIKeys ¶
func (m *ICefDictionaryValue) GetIKeys() types.IV8ValueKeys
func (*ICefDictionaryValue) GetIObject ¶
func (m *ICefDictionaryValue) GetIObject(key string) types.IObjectValue
func (*ICefDictionaryValue) GetIValue ¶
func (m *ICefDictionaryValue) GetIValue(key string) types.IValue
func (*ICefDictionaryValue) GetInt ¶
func (m *ICefDictionaryValue) GetInt(key string) int32
func (*ICefDictionaryValue) GetKeys ¶
func (m *ICefDictionaryValue) GetKeys() *ICefV8ValueKeys
func (*ICefDictionaryValue) GetList ¶
func (m *ICefDictionaryValue) GetList(key string) *ICefListValue
func (*ICefDictionaryValue) GetString ¶
func (m *ICefDictionaryValue) GetString(key string) string
func (*ICefDictionaryValue) GetType ¶
func (m *ICefDictionaryValue) GetType(key string) consts.TCefValueType
func (*ICefDictionaryValue) GetValue ¶
func (m *ICefDictionaryValue) GetValue(key string) *ICefValue
func (*ICefDictionaryValue) HasKey ¶
func (m *ICefDictionaryValue) HasKey(key string) bool
func (*ICefDictionaryValue) IsOwned ¶
func (m *ICefDictionaryValue) IsOwned() bool
func (*ICefDictionaryValue) IsReadOnly ¶
func (m *ICefDictionaryValue) IsReadOnly() bool
func (*ICefDictionaryValue) IsValid ¶
func (m *ICefDictionaryValue) IsValid() bool
func (*ICefDictionaryValue) Remove ¶
func (m *ICefDictionaryValue) Remove(key string) bool
func (*ICefDictionaryValue) SetBinary ¶
func (m *ICefDictionaryValue) SetBinary(key string, value *ICefBinaryValue) (result bool)
func (*ICefDictionaryValue) SetBool ¶
func (m *ICefDictionaryValue) SetBool(key string, value bool) bool
func (*ICefDictionaryValue) SetDictionary ¶
func (m *ICefDictionaryValue) SetDictionary(key string, value *ICefDictionaryValue) (result bool)
func (*ICefDictionaryValue) SetDouble ¶
func (m *ICefDictionaryValue) SetDouble(key string, value float64) bool
func (*ICefDictionaryValue) SetInt ¶
func (m *ICefDictionaryValue) SetInt(key string, value int32) bool
func (*ICefDictionaryValue) SetList ¶
func (m *ICefDictionaryValue) SetList(key string, value *ICefListValue) (result bool)
func (*ICefDictionaryValue) SetNull ¶
func (m *ICefDictionaryValue) SetNull(key string) bool
func (*ICefDictionaryValue) SetString ¶
func (m *ICefDictionaryValue) SetString(key string, value string) bool
func (*ICefDictionaryValue) SetValue ¶
func (m *ICefDictionaryValue) SetValue(key string, value *ICefValue) (result bool)
func (*ICefDictionaryValue) Size ¶
func (m *ICefDictionaryValue) Size() uint32
type ICefDisplay ¶
type ICefDisplay struct {
// contains filtered or unexported fields
}
ICefDisplay
func (*ICefDisplay) Bounds ¶
func (m *ICefDisplay) Bounds() (result TCefRect)
func (*ICefDisplay) DeviceScaleFactor ¶
func (m *ICefDisplay) DeviceScaleFactor() float32
func (*ICefDisplay) Free ¶
func (m *ICefDisplay) Free()
func (*ICefDisplay) ID ¶
func (m *ICefDisplay) ID() (result int64)
func (*ICefDisplay) Instance ¶
func (m *ICefDisplay) Instance() uintptr
func (*ICefDisplay) IsValid ¶
func (m *ICefDisplay) IsValid() bool
func (*ICefDisplay) Rotation ¶
func (m *ICefDisplay) Rotation() int32
func (*ICefDisplay) WorkArea ¶
func (m *ICefDisplay) WorkArea() (result TCefRect)
type ICefDisplayHandler ¶
type ICefDisplayHandler struct {
// contains filtered or unexported fields
}
ICefDisplayHandler
func (*ICefDisplayHandler) Free ¶
func (m *ICefDisplayHandler) Free()
func (*ICefDisplayHandler) IsValid ¶
func (m *ICefDisplayHandler) IsValid() bool
func (*ICefDisplayHandler) SetOnAddressChange ¶
func (m *ICefDisplayHandler) SetOnAddressChange(fn onAddressChange)
func (*ICefDisplayHandler) SetOnAutoResize ¶
func (m *ICefDisplayHandler) SetOnAutoResize(fn onAutoResize)
func (*ICefDisplayHandler) SetOnConsoleMessage ¶
func (m *ICefDisplayHandler) SetOnConsoleMessage(fn onConsoleMessage)
func (*ICefDisplayHandler) SetOnCursorChange ¶
func (m *ICefDisplayHandler) SetOnCursorChange(fn onCursorChange)
func (*ICefDisplayHandler) SetOnFaviconUrlChange ¶
func (m *ICefDisplayHandler) SetOnFaviconUrlChange(fn onFaviconUrlChange)
func (*ICefDisplayHandler) SetOnFullScreenModeChange ¶
func (m *ICefDisplayHandler) SetOnFullScreenModeChange(fn onFullScreenModeChange)
func (*ICefDisplayHandler) SetOnLoadingProgressChange ¶
func (m *ICefDisplayHandler) SetOnLoadingProgressChange(fn onLoadingProgressChange)
func (*ICefDisplayHandler) SetOnMediaAccessChange ¶
func (m *ICefDisplayHandler) SetOnMediaAccessChange(fn onMediaAccessChange)
func (*ICefDisplayHandler) SetOnStatusMessage ¶
func (m *ICefDisplayHandler) SetOnStatusMessage(fn onStatusMessage)
func (*ICefDisplayHandler) SetOnTitleChange ¶
func (m *ICefDisplayHandler) SetOnTitleChange(fn onTitleChange)
func (*ICefDisplayHandler) SetOnTooltip ¶
func (m *ICefDisplayHandler) SetOnTooltip(fn onTooltip)
type ICefDomDocument ¶
type ICefDomDocument struct {
// contains filtered or unexported fields
}
ICefDomDocument
func (*ICefDomDocument) Free ¶
func (m *ICefDomDocument) Free()
func (*ICefDomDocument) GetBaseUrl ¶
func (m *ICefDomDocument) GetBaseUrl() string
func (*ICefDomDocument) GetBody ¶
func (m *ICefDomDocument) GetBody() *ICefDomNode
func (*ICefDomDocument) GetCompleteUrl ¶
func (m *ICefDomDocument) GetCompleteUrl() string
func (*ICefDomDocument) GetDocType ¶
func (m *ICefDomDocument) GetDocType() consts.TCefDomDocumentType
func (*ICefDomDocument) GetDocument ¶
func (m *ICefDomDocument) GetDocument() *ICefDomNode
func (*ICefDomDocument) GetElementById ¶
func (m *ICefDomDocument) GetElementById(id string) *ICefDomNode
func (*ICefDomDocument) GetFocusedNode ¶
func (m *ICefDomDocument) GetFocusedNode() *ICefDomNode
func (*ICefDomDocument) GetHead ¶
func (m *ICefDomDocument) GetHead() *ICefDomNode
func (*ICefDomDocument) GetSelectionAsMarkup ¶
func (m *ICefDomDocument) GetSelectionAsMarkup() string
func (*ICefDomDocument) GetSelectionAsText ¶
func (m *ICefDomDocument) GetSelectionAsText() string
func (*ICefDomDocument) GetSelectionEndOffset ¶
func (m *ICefDomDocument) GetSelectionEndOffset() int32
func (*ICefDomDocument) GetSelectionStartOffset ¶
func (m *ICefDomDocument) GetSelectionStartOffset() int32
func (*ICefDomDocument) GetTitle ¶
func (m *ICefDomDocument) GetTitle() string
func (*ICefDomDocument) HasSelection ¶
func (m *ICefDomDocument) HasSelection() bool
func (*ICefDomDocument) IsValid ¶
func (m *ICefDomDocument) IsValid() bool
type ICefDomNode ¶
type ICefDomNode struct {
// contains filtered or unexported fields
}
ICefDomNode
func (*ICefDomNode) Free ¶
func (m *ICefDomNode) Free()
func (*ICefDomNode) GetAsMarkup ¶
func (m *ICefDomNode) GetAsMarkup() string
func (*ICefDomNode) GetDocument ¶
func (m *ICefDomNode) GetDocument() *ICefDomDocument
func (*ICefDomNode) GetElementAttribute ¶
func (m *ICefDomNode) GetElementAttribute(attrName string) string
func (*ICefDomNode) GetElementAttributes ¶
func (m *ICefDomNode) GetElementAttributes() []string
func (*ICefDomNode) GetElementBounds ¶
func (m *ICefDomNode) GetElementBounds() (result TCefRect)
func (*ICefDomNode) GetElementInnerText ¶
func (m *ICefDomNode) GetElementInnerText() string
func (*ICefDomNode) GetElementTagName ¶
func (m *ICefDomNode) GetElementTagName() string
func (*ICefDomNode) GetFirstChild ¶
func (m *ICefDomNode) GetFirstChild() *ICefDomNode
func (*ICefDomNode) GetFormControlElementType ¶
func (m *ICefDomNode) GetFormControlElementType() string
func (*ICefDomNode) GetLastChild ¶
func (m *ICefDomNode) GetLastChild() *ICefDomNode
func (*ICefDomNode) GetName ¶
func (m *ICefDomNode) GetName() string
func (*ICefDomNode) GetNextSibling ¶
func (m *ICefDomNode) GetNextSibling() *ICefDomNode
func (*ICefDomNode) GetNodeType ¶
func (m *ICefDomNode) GetNodeType() consts.TCefDomNodeType
func (*ICefDomNode) GetParent ¶
func (m *ICefDomNode) GetParent() *ICefDomNode
func (*ICefDomNode) GetPreviousSibling ¶
func (m *ICefDomNode) GetPreviousSibling() *ICefDomNode
func (*ICefDomNode) GetValue ¶
func (m *ICefDomNode) GetValue() string
func (*ICefDomNode) HasChildren ¶
func (m *ICefDomNode) HasChildren() bool
func (*ICefDomNode) HasElementAttribute ¶
func (m *ICefDomNode) HasElementAttribute(attrName string) bool
func (*ICefDomNode) HasElementAttributes ¶
func (m *ICefDomNode) HasElementAttributes() bool
func (*ICefDomNode) IsEditable ¶
func (m *ICefDomNode) IsEditable() bool
func (*ICefDomNode) IsElement ¶
func (m *ICefDomNode) IsElement() bool
func (*ICefDomNode) IsFormControlElement ¶
func (m *ICefDomNode) IsFormControlElement() bool
func (*ICefDomNode) IsSame ¶
func (m *ICefDomNode) IsSame() bool
func (*ICefDomNode) IsText ¶
func (m *ICefDomNode) IsText() bool
func (*ICefDomNode) IsValid ¶
func (m *ICefDomNode) IsValid() bool
func (*ICefDomNode) SetElementAttribute ¶
func (m *ICefDomNode) SetElementAttribute(attrName, value string) bool
func (*ICefDomNode) SetValue ¶
func (m *ICefDomNode) SetValue(value string) bool
type ICefDomVisitor ¶
type ICefDomVisitor struct {
// contains filtered or unexported fields
}
ICefDomVisitor
func (*ICefDomVisitor) Free ¶
func (m *ICefDomVisitor) Free()
func (*ICefDomVisitor) IsValid ¶
func (m *ICefDomVisitor) IsValid() bool
func (*ICefDomVisitor) SetOnVisit ¶
func (m *ICefDomVisitor) SetOnVisit(fn onVisit)
type ICefDownloadHandler ¶
type ICefDownloadHandler struct {
// contains filtered or unexported fields
}
ICefDownloadHandler
func (*ICefDownloadHandler) Free ¶
func (m *ICefDownloadHandler) Free()
func (*ICefDownloadHandler) IsValid ¶
func (m *ICefDownloadHandler) IsValid() bool
func (*ICefDownloadHandler) SetCanDownload ¶
func (m *ICefDownloadHandler) SetCanDownload(fn canDownload)
func (*ICefDownloadHandler) SetOnBeforeDownload ¶
func (m *ICefDownloadHandler) SetOnBeforeDownload(fn onBeforeDownload)
func (*ICefDownloadHandler) SetOnDownloadUpdated ¶
func (m *ICefDownloadHandler) SetOnDownloadUpdated(fn onDownloadUpdated)
type ICefDownloadItem ¶
type ICefDownloadItem struct {
// contains filtered or unexported fields
}
ICefDownloadItem 下载项
func (*ICefDownloadItem) ContentDisposition ¶
func (m *ICefDownloadItem) ContentDisposition() string
func (*ICefDownloadItem) CurrentSpeed ¶
func (m *ICefDownloadItem) CurrentSpeed() int64
func (*ICefDownloadItem) EndTime ¶
func (m *ICefDownloadItem) EndTime() time.Time
func (*ICefDownloadItem) Free ¶
func (m *ICefDownloadItem) Free()
func (*ICefDownloadItem) FullPath ¶
func (m *ICefDownloadItem) FullPath() string
func (*ICefDownloadItem) Id ¶
func (m *ICefDownloadItem) Id() uint32
func (*ICefDownloadItem) Instance ¶
func (m *ICefDownloadItem) Instance() uintptr
func (*ICefDownloadItem) IsCanceled ¶
func (m *ICefDownloadItem) IsCanceled() bool
func (*ICefDownloadItem) IsComplete ¶
func (m *ICefDownloadItem) IsComplete() bool
func (*ICefDownloadItem) IsInProgress ¶
func (m *ICefDownloadItem) IsInProgress() bool
func (*ICefDownloadItem) IsValid ¶
func (m *ICefDownloadItem) IsValid() bool
func (*ICefDownloadItem) MimeType ¶
func (m *ICefDownloadItem) MimeType() string
func (*ICefDownloadItem) OriginalUrl ¶
func (m *ICefDownloadItem) OriginalUrl() string
func (*ICefDownloadItem) PercentComplete ¶
func (m *ICefDownloadItem) PercentComplete() int32
func (*ICefDownloadItem) ReceivedBytes ¶
func (m *ICefDownloadItem) ReceivedBytes() int64
func (*ICefDownloadItem) StartTime ¶
func (m *ICefDownloadItem) StartTime() time.Time
func (*ICefDownloadItem) State ¶
func (m *ICefDownloadItem) State() int32
State 下载状态 -1:下载之前 0:下载中 1:下载取消 2:下载完成
func (*ICefDownloadItem) SuggestedFileName ¶
func (m *ICefDownloadItem) SuggestedFileName() string
func (*ICefDownloadItem) TotalBytes ¶
func (m *ICefDownloadItem) TotalBytes() int64
func (*ICefDownloadItem) Url ¶
func (m *ICefDownloadItem) Url() string
type ICefDownloadItemCallback ¶
type ICefDownloadItemCallback struct {
// contains filtered or unexported fields
}
ICefDownloadItemCallback
下载中回调
func (*ICefDownloadItemCallback) Cancel ¶
func (m *ICefDownloadItemCallback) Cancel()
Cancel 取消下载 仅在回调函数中使用
func (*ICefDownloadItemCallback) Free ¶
func (m *ICefDownloadItemCallback) Free()
func (*ICefDownloadItemCallback) Instance ¶
func (m *ICefDownloadItemCallback) Instance() uintptr
func (*ICefDownloadItemCallback) IsValid ¶
func (m *ICefDownloadItemCallback) IsValid() bool
func (*ICefDownloadItemCallback) Pause ¶
func (m *ICefDownloadItemCallback) Pause()
Pause 暂停 仅在回调函数中使用
func (*ICefDownloadItemCallback) Resume ¶
func (m *ICefDownloadItemCallback) Resume()
Resume 恢复下载 仅在回调函数中使用
type ICefDragData ¶
type ICefDragData struct {
// contains filtered or unexported fields
}
ICefDragData
func (*ICefDragData) AddFile ¶
func (m *ICefDragData) AddFile(path, displayName string)
func (*ICefDragData) ClearFilenames ¶
func (m *ICefDragData) ClearFilenames()
func (*ICefDragData) Clone ¶
func (m *ICefDragData) Clone() *ICefDragData
func (*ICefDragData) Free ¶
func (m *ICefDragData) Free()
func (*ICefDragData) GetFileContents ¶
func (m *ICefDragData) GetFileContents(writer *ICefStreamWriter) uint32
func (*ICefDragData) GetFileName ¶
func (m *ICefDragData) GetFileName() string
func (*ICefDragData) GetFileNames ¶
func (m *ICefDragData) GetFileNames() ([]string, int32)
func (*ICefDragData) GetFragmentBaseUrl ¶
func (m *ICefDragData) GetFragmentBaseUrl() string
func (*ICefDragData) GetFragmentHtml ¶
func (m *ICefDragData) GetFragmentHtml() string
func (*ICefDragData) GetFragmentText ¶
func (m *ICefDragData) GetFragmentText() string
func (*ICefDragData) GetImage ¶
func (m *ICefDragData) GetImage() *ICefImage
func (*ICefDragData) GetImageHotspot ¶
func (m *ICefDragData) GetImageHotspot() *TCefPoint
func (*ICefDragData) GetLinkMetadata ¶
func (m *ICefDragData) GetLinkMetadata() string
func (*ICefDragData) GetLinkTitle ¶
func (m *ICefDragData) GetLinkTitle() string
func (*ICefDragData) GetLinkUrl ¶
func (m *ICefDragData) GetLinkUrl() string
func (*ICefDragData) HasImage ¶
func (m *ICefDragData) HasImage() bool
func (*ICefDragData) IsFile ¶
func (m *ICefDragData) IsFile() bool
func (*ICefDragData) IsFragment ¶
func (m *ICefDragData) IsFragment() bool
func (*ICefDragData) IsLink ¶
func (m *ICefDragData) IsLink() bool
func (*ICefDragData) IsReadOnly ¶
func (m *ICefDragData) IsReadOnly() bool
func (*ICefDragData) IsValid ¶
func (m *ICefDragData) IsValid() bool
func (*ICefDragData) ResetFileContents ¶
func (m *ICefDragData) ResetFileContents()
func (*ICefDragData) SetFragmentBaseUrl ¶
func (m *ICefDragData) SetFragmentBaseUrl(baseUrl string)
func (*ICefDragData) SetFragmentHtml ¶
func (m *ICefDragData) SetFragmentHtml(html string)
func (*ICefDragData) SetFragmentText ¶
func (m *ICefDragData) SetFragmentText(text string)
func (*ICefDragData) SetLinkMetadata ¶
func (m *ICefDragData) SetLinkMetadata(data string)
func (*ICefDragData) SetLinkTitle ¶
func (m *ICefDragData) SetLinkTitle(title string)
func (*ICefDragData) SetLinkUrl ¶
func (m *ICefDragData) SetLinkUrl(url string)
type ICefDragHandler ¶
type ICefDragHandler struct {
// contains filtered or unexported fields
}
ICefDragHandler
func (*ICefDragHandler) Free ¶
func (m *ICefDragHandler) Free()
func (*ICefDragHandler) IsValid ¶
func (m *ICefDragHandler) IsValid() bool
func (*ICefDragHandler) SetOnDragEnter ¶
func (m *ICefDragHandler) SetOnDragEnter(fn onDragEnter)
func (*ICefDragHandler) SetOnDraggableRegionsChanged ¶
func (m *ICefDragHandler) SetOnDraggableRegionsChanged(fn onDraggableRegionsChanged)
type ICefExtension ¶
type ICefExtension struct {
// contains filtered or unexported fields
}
ICefExtension
func (*ICefExtension) Free ¶
func (m *ICefExtension) Free()
func (*ICefExtension) GetBackgroundPage ¶
func (m *ICefExtension) GetBackgroundPage() string
func (*ICefExtension) GetBrowserActionIcon ¶
func (m *ICefExtension) GetBrowserActionIcon() string
func (*ICefExtension) GetBrowserActionPopup ¶
func (m *ICefExtension) GetBrowserActionPopup() string
func (*ICefExtension) GetHandler ¶
func (m *ICefExtension) GetHandler() *ICefExtensionHandler
func (*ICefExtension) GetIdentifier ¶
func (m *ICefExtension) GetIdentifier() string
func (*ICefExtension) GetLoaderContext ¶
func (m *ICefExtension) GetLoaderContext() *ICefRequestContext
func (*ICefExtension) GetManifest ¶
func (m *ICefExtension) GetManifest() *ICefDictionaryValue
func (*ICefExtension) GetOptionsPage ¶
func (m *ICefExtension) GetOptionsPage() string
func (*ICefExtension) GetOptionsUIPage ¶
func (m *ICefExtension) GetOptionsUIPage() string
func (*ICefExtension) GetPageActionIcon ¶
func (m *ICefExtension) GetPageActionIcon() string
func (*ICefExtension) GetPageActionPopup ¶
func (m *ICefExtension) GetPageActionPopup() string
func (*ICefExtension) GetPath ¶
func (m *ICefExtension) GetPath() string
func (*ICefExtension) GetURL ¶
func (m *ICefExtension) GetURL() string
func (*ICefExtension) IsLoaded ¶
func (m *ICefExtension) IsLoaded() bool
func (*ICefExtension) IsSame ¶
func (m *ICefExtension) IsSame(that *ICefExtension) bool
func (*ICefExtension) IsValid ¶
func (m *ICefExtension) IsValid() bool
type ICefExtensionHandler ¶
type ICefExtensionHandler struct {
// contains filtered or unexported fields
}
ICefExtensionHandler
func (*ICefExtensionHandler) Free ¶
func (m *ICefExtensionHandler) Free()
func (*ICefExtensionHandler) Instance ¶
func (m *ICefExtensionHandler) Instance() uintptr
Instance 实例
func (*ICefExtensionHandler) IsValid ¶
func (m *ICefExtensionHandler) IsValid() bool
func (*ICefExtensionHandler) SetCanAccessBrowser ¶
func (m *ICefExtensionHandler) SetCanAccessBrowser(fn canAccessBrowser)
func (*ICefExtensionHandler) SetGetActiveBrowser ¶
func (m *ICefExtensionHandler) SetGetActiveBrowser(fn getActiveBrowser)
func (*ICefExtensionHandler) SetGetExtensionResource ¶
func (m *ICefExtensionHandler) SetGetExtensionResource(fn getExtensionResource)
func (*ICefExtensionHandler) SetOnBeforeBackgroundBrowser ¶
func (m *ICefExtensionHandler) SetOnBeforeBackgroundBrowser(fn onBeforeBackgroundBrowser)
func (*ICefExtensionHandler) SetOnBeforeBrowser ¶
func (m *ICefExtensionHandler) SetOnBeforeBrowser(fn onBeforeBrowser)
func (*ICefExtensionHandler) SetOnExtensionLoadFailed ¶
func (m *ICefExtensionHandler) SetOnExtensionLoadFailed(fn onExtensionLoadFailed)
func (*ICefExtensionHandler) SetOnExtensionLoaded ¶
func (m *ICefExtensionHandler) SetOnExtensionLoaded(fn onExtensionLoaded)
func (*ICefExtensionHandler) SetOnExtensionUnloaded ¶
func (m *ICefExtensionHandler) SetOnExtensionUnloaded(fn onExtensionUnloaded)
type ICefFileDialogCallback ¶
type ICefFileDialogCallback struct {
// contains filtered or unexported fields
}
ICefFileDialogCallback
/include/capi/cef_dialog_handler_capi.h (cef_file_dialog_callback_t)
func (*ICefFileDialogCallback) Cancel ¶
func (m *ICefFileDialogCallback) Cancel()
func (*ICefFileDialogCallback) Cont ¶
func (m *ICefFileDialogCallback) Cont(filePaths []string)
func (*ICefFileDialogCallback) Free ¶
func (m *ICefFileDialogCallback) Free()
func (*ICefFileDialogCallback) Instance ¶
func (m *ICefFileDialogCallback) Instance() uintptr
Instance 实例
func (*ICefFileDialogCallback) IsValid ¶
func (m *ICefFileDialogCallback) IsValid() bool
type ICefFindHandler ¶
type ICefFindHandler struct {
// contains filtered or unexported fields
}
ICefFindHandler
func (*ICefFindHandler) Free ¶
func (m *ICefFindHandler) Free()
func (*ICefFindHandler) IsValid ¶
func (m *ICefFindHandler) IsValid() bool
func (*ICefFindHandler) SetOnFindResult ¶
func (m *ICefFindHandler) SetOnFindResult(fn onFindResult)
type ICefFocusHandler ¶
type ICefFocusHandler struct {
// contains filtered or unexported fields
}
ICefFocusHandler
func (*ICefFocusHandler) Free ¶
func (m *ICefFocusHandler) Free()
func (*ICefFocusHandler) IsValid ¶
func (m *ICefFocusHandler) IsValid() bool
func (*ICefFocusHandler) SetOnGotFocus ¶
func (m *ICefFocusHandler) SetOnGotFocus(fn onGotFocus)
func (*ICefFocusHandler) SetOnSetFocus ¶
func (m *ICefFocusHandler) SetOnSetFocus(fn onSetFocus)
func (*ICefFocusHandler) SetOnTakeFocus ¶
func (m *ICefFocusHandler) SetOnTakeFocus(fn onTakeFocus)
type ICefFrame ¶
type ICefFrame struct {
// contains filtered or unexported fields
}
ICefFrame Html <iframe></iframe>
func (*ICefFrame) Browser ¶
func (m *ICefFrame) Browser() *ICefBrowser
func (*ICefFrame) EmitRender ¶
func (m *ICefFrame) EmitRender(messageId int32, eventName string, target target.ITarget, data ...any) bool
EmitRender IPC 发送进程 消息
messageId != 0 是带有回调函数消息
func (*ICefFrame) ExecuteJavaScript ¶
ExecuteJavaScript 执行JS
func (*ICefFrame) Identifier ¶
func (*ICefFrame) LoadRequest ¶
func (m *ICefFrame) LoadRequest(request *ICefRequest)
func (*ICefFrame) SendProcessMessage ¶
func (m *ICefFrame) SendProcessMessage(targetProcess CefProcessId, message *ICefProcessMessage)
SendProcessMessage 发送进程消息
func (*ICefFrame) SendProcessMessageForJSONBytes ¶
func (m *ICefFrame) SendProcessMessageForJSONBytes(messageName string, targetProcess CefProcessId, data []byte)
SendProcessMessageForJSONBytes 发送进程消息
func (*ICefFrame) SendProcessMessageForV8Value ¶
func (m *ICefFrame) SendProcessMessageForV8Value(messageName string, targetProcess CefProcessId, arguments *ICefV8Value)
SendProcessMessageForV8Value 发送进程消息
func (*ICefFrame) V8Context ¶
func (m *ICefFrame) V8Context() *ICefV8Context
func (*ICefFrame) VisitDom ¶
func (m *ICefFrame) VisitDom(visitor *ICefDomVisitor)
type ICefFrameHandler ¶
type ICefFrameHandler struct {
// contains filtered or unexported fields
}
ICefFrameHandler
func (*ICefFrameHandler) Free ¶
func (m *ICefFrameHandler) Free()
func (*ICefFrameHandler) IsValid ¶
func (m *ICefFrameHandler) IsValid() bool
func (*ICefFrameHandler) SetOnFrameAttached ¶
func (m *ICefFrameHandler) SetOnFrameAttached(fn onFrameAttached)
func (*ICefFrameHandler) SetOnFrameCreated ¶
func (m *ICefFrameHandler) SetOnFrameCreated(fn onFrameCreated)
func (*ICefFrameHandler) SetOnFrameDetached ¶
func (m *ICefFrameHandler) SetOnFrameDetached(fn onFrameDetached)
func (*ICefFrameHandler) SetOnMainFrameChanged ¶
func (m *ICefFrameHandler) SetOnMainFrameChanged(fn onMainFrameChanged)
type ICefGetExtensionResourceCallback ¶
type ICefGetExtensionResourceCallback struct {
// contains filtered or unexported fields
}
ICefGetExtensionResourceCallback
func (*ICefGetExtensionResourceCallback) Cancel ¶
func (m *ICefGetExtensionResourceCallback) Cancel()
func (*ICefGetExtensionResourceCallback) Cont ¶
func (m *ICefGetExtensionResourceCallback) Cont(stream *ICefStreamReader)
func (*ICefGetExtensionResourceCallback) Free ¶
func (m *ICefGetExtensionResourceCallback) Free()
func (*ICefGetExtensionResourceCallback) Instance ¶
func (m *ICefGetExtensionResourceCallback) Instance() uintptr
Instance 实例
func (*ICefGetExtensionResourceCallback) IsValid ¶
func (m *ICefGetExtensionResourceCallback) IsValid() bool
type ICefImage ¶
type ICefImage struct {
// contains filtered or unexported fields
}
ICefImage
type ICefJsDialogCallback ¶
type ICefJsDialogCallback struct {
// contains filtered or unexported fields
}
ICefJsDialogCallback
/include/capi/cef_jsdialog_handler_capi.h (cef_jsdialog_callback_t)
func (*ICefJsDialogCallback) Cont ¶
func (m *ICefJsDialogCallback) Cont(success bool, userInput string)
func (*ICefJsDialogCallback) Free ¶
func (m *ICefJsDialogCallback) Free()
func (*ICefJsDialogCallback) Instance ¶
func (m *ICefJsDialogCallback) Instance() uintptr
Instance 实例
func (*ICefJsDialogCallback) IsValid ¶
func (m *ICefJsDialogCallback) IsValid() bool
type ICefJsDialogHandler ¶
type ICefJsDialogHandler struct {
// contains filtered or unexported fields
}
ICefJsDialogHandler
func (*ICefJsDialogHandler) Free ¶
func (m *ICefJsDialogHandler) Free()
func (*ICefJsDialogHandler) IsValid ¶
func (m *ICefJsDialogHandler) IsValid() bool
func (*ICefJsDialogHandler) OnBeforeUnloadDialog ¶
func (m *ICefJsDialogHandler) OnBeforeUnloadDialog(fn onBeforeUnloadDialog)
func (*ICefJsDialogHandler) OnDialogClosed ¶
func (m *ICefJsDialogHandler) OnDialogClosed(fn onDialogClosed)
func (*ICefJsDialogHandler) OnJsDialog ¶
func (m *ICefJsDialogHandler) OnJsDialog(fn onJsDialog)
func (*ICefJsDialogHandler) OnResetDialogState ¶
func (m *ICefJsDialogHandler) OnResetDialogState(fn onResetDialogState)
type ICefKeyboardHandler ¶
type ICefKeyboardHandler struct {
// contains filtered or unexported fields
}
ICefKeyboardHandler
func (*ICefKeyboardHandler) Free ¶
func (m *ICefKeyboardHandler) Free()
func (*ICefKeyboardHandler) IsValid ¶
func (m *ICefKeyboardHandler) IsValid() bool
func (*ICefKeyboardHandler) SetOnKeyEvent ¶
func (m *ICefKeyboardHandler) SetOnKeyEvent(fn onKeyEvent)
func (*ICefKeyboardHandler) SetOnPreKeyEvent ¶
func (m *ICefKeyboardHandler) SetOnPreKeyEvent(fn onPreKeyEvent)
type ICefLifeSpanHandler ¶
type ICefLifeSpanHandler struct {
// contains filtered or unexported fields
}
ICefLifeSpanHandler
func (*ICefLifeSpanHandler) Free ¶
func (m *ICefLifeSpanHandler) Free()
func (*ICefLifeSpanHandler) IsValid ¶
func (m *ICefLifeSpanHandler) IsValid() bool
func (*ICefLifeSpanHandler) SetDoClose ¶
func (m *ICefLifeSpanHandler) SetDoClose(fn doClose)
func (*ICefLifeSpanHandler) SetOnAfterCreated ¶
func (m *ICefLifeSpanHandler) SetOnAfterCreated(fn onAfterCreated)
func (*ICefLifeSpanHandler) SetOnBeforeClose ¶
func (m *ICefLifeSpanHandler) SetOnBeforeClose(fn onBeforeClose)
func (*ICefLifeSpanHandler) SetOnBeforePopup ¶
func (m *ICefLifeSpanHandler) SetOnBeforePopup(fn onBeforePopup)
type ICefListValue ¶
type ICefListValue struct {
// contains filtered or unexported fields
}
ICefListValue -> ArgumentList
func (*ICefListValue) Clear ¶
func (m *ICefListValue) Clear() (result bool)
func (*ICefListValue) Copy ¶
func (m *ICefListValue) Copy() *ICefListValue
func (*ICefListValue) Free ¶
func (m *ICefListValue) Free()
func (*ICefListValue) GetBinary ¶
func (m *ICefListValue) GetBinary(index uint32) *ICefBinaryValue
func (*ICefListValue) GetBool ¶
func (m *ICefListValue) GetBool(index uint32) bool
func (*ICefListValue) GetDictionary ¶
func (m *ICefListValue) GetDictionary(index uint32) *ICefDictionaryValue
func (*ICefListValue) GetDouble ¶
func (m *ICefListValue) GetDouble(index uint32) (result float64)
func (*ICefListValue) GetIArray ¶
func (m *ICefListValue) GetIArray(index uint32) types.IArrayValue
func (*ICefListValue) GetIBinary ¶
func (m *ICefListValue) GetIBinary(index uint32) types.IBinaryValue
func (*ICefListValue) GetIObject ¶
func (m *ICefListValue) GetIObject(index uint32) types.IObjectValue
func (*ICefListValue) GetInt ¶
func (m *ICefListValue) GetInt(index uint32) int32
func (*ICefListValue) GetList ¶
func (m *ICefListValue) GetList(index uint32) *ICefListValue
func (*ICefListValue) GetString ¶
func (m *ICefListValue) GetString(index uint32) string
func (*ICefListValue) GetType ¶
func (m *ICefListValue) GetType(index uint32) consts.TCefValueType
func (*ICefListValue) GetValue ¶
func (m *ICefListValue) GetValue(index uint32) *ICefValue
func (*ICefListValue) Instance ¶
func (m *ICefListValue) Instance() uintptr
func (*ICefListValue) IsOwned ¶
func (m *ICefListValue) IsOwned() bool
func (*ICefListValue) IsReadOnly ¶
func (m *ICefListValue) IsReadOnly() bool
func (*ICefListValue) IsValid ¶
func (m *ICefListValue) IsValid() bool
func (*ICefListValue) Remove ¶
func (m *ICefListValue) Remove(index uint32) bool
func (*ICefListValue) SetBinary ¶
func (m *ICefListValue) SetBinary(index uint32, value *ICefBinaryValue) (result bool)
func (*ICefListValue) SetDictionary ¶
func (m *ICefListValue) SetDictionary(index uint32, value *ICefDictionaryValue) (result bool)
func (*ICefListValue) SetDouble ¶
func (m *ICefListValue) SetDouble(index uint32, value float64) bool
func (*ICefListValue) SetList ¶
func (m *ICefListValue) SetList(index uint32, value *ICefListValue) (result bool)
func (*ICefListValue) SetNull ¶
func (m *ICefListValue) SetNull(index uint32) bool
func (*ICefListValue) SetSize ¶
func (m *ICefListValue) SetSize(size uint32) bool
func (*ICefListValue) SetString ¶
func (m *ICefListValue) SetString(index uint32, value string) bool
func (*ICefListValue) SetValue ¶
func (m *ICefListValue) SetValue(index uint32, value *ICefValue) (result bool)
func (*ICefListValue) Size ¶
func (m *ICefListValue) Size() uint32
type ICefLoadHandler ¶
type ICefLoadHandler struct {
// contains filtered or unexported fields
}
ICefLoadHandler
func (*ICefLoadHandler) Free ¶
func (m *ICefLoadHandler) Free()
func (*ICefLoadHandler) IsValid ¶
func (m *ICefLoadHandler) IsValid() bool
func (*ICefLoadHandler) SetOnLoadEnd ¶
func (m *ICefLoadHandler) SetOnLoadEnd(fn onLoadEnd)
func (*ICefLoadHandler) SetOnLoadError ¶
func (m *ICefLoadHandler) SetOnLoadError(fn onLoadError)
func (*ICefLoadHandler) SetOnLoadStart ¶
func (m *ICefLoadHandler) SetOnLoadStart(fn onLoadStart)
func (*ICefLoadHandler) SetOnLoadingStateChange ¶
func (m *ICefLoadHandler) SetOnLoadingStateChange(fn onLoadingStateChange)
type ICefMediaAccessCallback ¶
type ICefMediaAccessCallback struct {
// contains filtered or unexported fields
}
ICefMediaAccessCallback
This interface is declared twice with almost identical parameters. "allowed_permissions" is defined as int and uint32. /include/capi/cef_media_access_handler_capi.h (cef_media_access_callback_t) /include/capi/cef_permission_handler_capi.h (cef_media_access_callback_t)
func (*ICefMediaAccessCallback) Cancel ¶
func (m *ICefMediaAccessCallback) Cancel()
func (*ICefMediaAccessCallback) Cont ¶
func (m *ICefMediaAccessCallback) Cont(allowedPermissions consts.TCefMediaAccessPermissionTypes)
func (*ICefMediaAccessCallback) Free ¶
func (m *ICefMediaAccessCallback) Free()
func (*ICefMediaAccessCallback) Instance ¶
func (m *ICefMediaAccessCallback) Instance() uintptr
Instance 实例
func (*ICefMediaAccessCallback) IsValid ¶
func (m *ICefMediaAccessCallback) IsValid() bool
type ICefMediaRoute ¶
type ICefMediaRoute struct {
// contains filtered or unexported fields
}
ICefMediaRoute
/include/capi/cef_media_router_capi.h (cef_media_observer_t)
type ICefMediaSink ¶
type ICefMediaSink struct {
// contains filtered or unexported fields
}
ICefMediaSink
/include/capi/cef_media_router_capi.h (cef_media_sink_t)
type ICefMenuModel ¶
type ICefMenuModel struct { CefMis *keyEventAccelerator // contains filtered or unexported fields }
ICefMenuModel 菜单
func (*ICefMenuModel) AddCheckItem ¶
func (m *ICefMenuModel) AddCheckItem(commandId MenuId, text string) bool
AddCheckItem 添加一个复选框菜单项
func (*ICefMenuModel) AddItem ¶
func (m *ICefMenuModel) AddItem(commandId MenuId, text string) bool
AddItem 添加一个菜单项
func (*ICefMenuModel) AddMenuItem ¶
func (m *ICefMenuModel) AddMenuItem(item *MenuItem) bool
AddMenuItem 添加一个菜单项 MenuItem
func (*ICefMenuModel) AddRadioItem ¶
func (m *ICefMenuModel) AddRadioItem(commandId MenuId, text string, groupId int32) bool
AddRadioItem 添加一个单选框菜单项-按分组
func (*ICefMenuModel) AddSeparator ¶
func (m *ICefMenuModel) AddSeparator() bool
AddSeparator 添加一个分隔线
func (*ICefMenuModel) AddSubMenu ¶
func (m *ICefMenuModel) AddSubMenu(commandId MenuId, text string) *ICefMenuModel
AddSubMenu 创建添加并返回一个子菜单项, 使用返回的 ICefMenuModel 给子菜单添加菜单项
func (*ICefMenuModel) Free ¶
func (m *ICefMenuModel) Free()
func (*ICefMenuModel) GetIndexOf ¶
func (m *ICefMenuModel) GetIndexOf(commandId MenuId) int32
GetIndexOf 获取下标
func (*ICefMenuModel) HasAccelerator ¶
func (m *ICefMenuModel) HasAccelerator(commandId MenuId) bool
HasAccelerator 是否有快捷键
func (*ICefMenuModel) Instance ¶
func (m *ICefMenuModel) Instance() uintptr
func (*ICefMenuModel) IsChecked ¶
func (m *ICefMenuModel) IsChecked(commandId MenuId) bool
func (*ICefMenuModel) IsEnabled ¶
func (m *ICefMenuModel) IsEnabled(commandId MenuId) bool
IsEnabled 是启用
func (*ICefMenuModel) IsVisible ¶
func (m *ICefMenuModel) IsVisible(commandId MenuId) bool
IsVisible 是否显示
func (*ICefMenuModel) Remove ¶
func (m *ICefMenuModel) Remove(commandId MenuId) bool
Remove 指定移除一个菜单项,可直接移除Chromium默认实现的菜单项 consts.MenuId => MENU_ID_XXX
func (*ICefMenuModel) RemoveAccelerator ¶
func (m *ICefMenuModel) RemoveAccelerator(commandId MenuId) bool
RemoveAccelerator 删除快捷键
func (*ICefMenuModel) RemoveAt ¶
func (m *ICefMenuModel) RemoveAt(index int32) bool
RemoveAt 指定根据下标移除一个菜单项,可直接移除Chromium默认实现的菜单项 consts.MenuId => MENU_ID_XXX
func (*ICefMenuModel) SetAccelerator ¶
func (m *ICefMenuModel) SetAccelerator(commandId MenuId, keyCode int32, shiftPressed, ctrlPressed, altPressed bool) bool
SetAccelerator 设置快捷键
func (*ICefMenuModel) SetChecked ¶
func (m *ICefMenuModel) SetChecked(commandId MenuId, check bool) bool
SetChecked 设置Check | Radio 选中
func (*ICefMenuModel) SetColor ¶
func (m *ICefMenuModel) SetColor(commandId MenuId, colorType TCefMenuColorType, color *TCefARGB) bool
SetColor 设置可用菜单项 cef.NewCefARGB(a, r, g, b), 颜色根据 consts.TCefMenuColorType
func (*ICefMenuModel) SetEnabled ¶
func (m *ICefMenuModel) SetEnabled(commandId MenuId, enabled bool) bool
SetEnabled 设置是启用
func (*ICefMenuModel) SetLabel ¶
func (m *ICefMenuModel) SetLabel(commandId MenuId, text string) bool
SetLabel 设置标签
func (*ICefMenuModel) SetVisible ¶
func (m *ICefMenuModel) SetVisible(commandId MenuId, visible bool) bool
SetVisible 设置是否显示
type ICefNavigationEntry ¶
type ICefNavigationEntry struct {
// contains filtered or unexported fields
}
ICefNavigationEntry
/include/capi/cef_navigation_entry_capi.h (cef_navigation_entry_t)
type ICefPdfPrintCallback ¶
type ICefPdfPrintCallback struct {
// contains filtered or unexported fields
}
ICefPdfPrintCallback
func (*ICefPdfPrintCallback) Free ¶
func (m *ICefPdfPrintCallback) Free()
func (*ICefPdfPrintCallback) Instance ¶
func (m *ICefPdfPrintCallback) Instance() uintptr
Instance 实例
func (*ICefPdfPrintCallback) IsValid ¶
func (m *ICefPdfPrintCallback) IsValid() bool
func (*ICefPdfPrintCallback) OnPdfPrintFinished ¶
func (m *ICefPdfPrintCallback) OnPdfPrintFinished(fn OnPdfPrintFinished)
type ICefPermissionHandler ¶
type ICefPermissionHandler struct {
// contains filtered or unexported fields
}
ICefPermissionHandler
func (*ICefPermissionHandler) Free ¶
func (m *ICefPermissionHandler) Free()
func (*ICefPermissionHandler) Instance ¶
func (m *ICefPermissionHandler) Instance() uintptr
Instance 实例
func (*ICefPermissionHandler) IsValid ¶
func (m *ICefPermissionHandler) IsValid() bool
func (*ICefPermissionHandler) OnDismissPermissionPrompt ¶
func (m *ICefPermissionHandler) OnDismissPermissionPrompt(fn onDismissPermissionPrompt)
func (*ICefPermissionHandler) OnRequestMediaAccessPermission ¶
func (m *ICefPermissionHandler) OnRequestMediaAccessPermission(fn onRequestMediaAccessPermission)
func (*ICefPermissionHandler) OnShowPermissionPrompt ¶
func (m *ICefPermissionHandler) OnShowPermissionPrompt(fn onShowPermissionPrompt)
type ICefPermissionPromptCallback ¶
type ICefPermissionPromptCallback struct {
// contains filtered or unexported fields
}
ICefPermissionPromptCallback
/include/capi/cef_permission_handler_capi.h (cef_permission_prompt_callback_t)
func (*ICefPermissionPromptCallback) Cont ¶
func (m *ICefPermissionPromptCallback) Cont(result consts.TCefPermissionRequestResult)
func (*ICefPermissionPromptCallback) Free ¶
func (m *ICefPermissionPromptCallback) Free()
func (*ICefPermissionPromptCallback) Instance ¶
func (m *ICefPermissionPromptCallback) Instance() uintptr
Instance 实例
func (*ICefPermissionPromptCallback) IsValid ¶
func (m *ICefPermissionPromptCallback) IsValid() bool
type ICefPostData ¶
type ICefPostData struct {
// contains filtered or unexported fields
}
ICefPostData
func (*ICefPostData) AddElement ¶
func (m *ICefPostData) AddElement(postDataElement *ICefPostDataElement) bool
func (*ICefPostData) GetElementCount ¶
func (m *ICefPostData) GetElementCount() uint32
func (*ICefPostData) GetElements ¶
func (m *ICefPostData) GetElements() *TCefPostDataElementArray
func (*ICefPostData) HasExcludedElements ¶
func (m *ICefPostData) HasExcludedElements() bool
func (*ICefPostData) IsReadOnly ¶
func (m *ICefPostData) IsReadOnly() bool
func (*ICefPostData) IsValid ¶
func (m *ICefPostData) IsValid() bool
func (*ICefPostData) RemoveElement ¶
func (m *ICefPostData) RemoveElement(postDataElement *ICefPostDataElement) bool
func (*ICefPostData) RemoveElements ¶
func (m *ICefPostData) RemoveElements()
type ICefPostDataElement ¶
type ICefPostDataElement struct {
// contains filtered or unexported fields
}
ICefPostDataElement
func (*ICefPostDataElement) GetBytes ¶
func (m *ICefPostDataElement) GetBytes() (result []byte, count uint32)
func (*ICefPostDataElement) GetBytesCount ¶
func (m *ICefPostDataElement) GetBytesCount() uint32
func (*ICefPostDataElement) GetFile ¶
func (m *ICefPostDataElement) GetFile() string
func (*ICefPostDataElement) GetType ¶
func (m *ICefPostDataElement) GetType() consts.TCefPostDataElementType
func (*ICefPostDataElement) IsReadOnly ¶
func (m *ICefPostDataElement) IsReadOnly() bool
func (*ICefPostDataElement) IsValid ¶
func (m *ICefPostDataElement) IsValid() bool
func (*ICefPostDataElement) SetToBytes ¶
func (m *ICefPostDataElement) SetToBytes(bytes []byte)
func (*ICefPostDataElement) SetToEmpty ¶
func (m *ICefPostDataElement) SetToEmpty()
func (*ICefPostDataElement) SetToFile ¶
func (m *ICefPostDataElement) SetToFile(fileName string)
type ICefPrintDialogCallback ¶
type ICefPrintDialogCallback struct {
// contains filtered or unexported fields
}
ICefPrintDialogCallback
func (*ICefPrintDialogCallback) Cancel ¶
func (m *ICefPrintDialogCallback) Cancel()
func (*ICefPrintDialogCallback) Cont ¶
func (m *ICefPrintDialogCallback) Cont(settings *ICefPrintSettings)
func (*ICefPrintDialogCallback) Free ¶
func (m *ICefPrintDialogCallback) Free()
func (*ICefPrintDialogCallback) Instance ¶
func (m *ICefPrintDialogCallback) Instance() uintptr
Instance 实例
func (*ICefPrintDialogCallback) IsValid ¶
func (m *ICefPrintDialogCallback) IsValid() bool
type ICefPrintHandler ¶
type ICefPrintHandler struct {
// contains filtered or unexported fields
}
ICefPrintHandler
func (*ICefPrintHandler) Free ¶
func (m *ICefPrintHandler) Free()
func (*ICefPrintHandler) IsValid ¶
func (m *ICefPrintHandler) IsValid() bool
func (*ICefPrintHandler) SetGetPDFPaperSize ¶
func (m *ICefPrintHandler) SetGetPDFPaperSize(fn getPDFPaperSize)
func (*ICefPrintHandler) SetOnPrintDialog ¶
func (m *ICefPrintHandler) SetOnPrintDialog(fn onPrintDialog)
func (*ICefPrintHandler) SetOnPrintJob ¶
func (m *ICefPrintHandler) SetOnPrintJob(fn onPrintJob)
func (*ICefPrintHandler) SetOnPrintReset ¶
func (m *ICefPrintHandler) SetOnPrintReset(fn onPrintReset)
func (*ICefPrintHandler) SetOnPrintSettings ¶
func (m *ICefPrintHandler) SetOnPrintSettings(fn onPrintSettings)
func (*ICefPrintHandler) SetOnPrintStart ¶
func (m *ICefPrintHandler) SetOnPrintStart(fn onPrintStart)
type ICefPrintJobCallback ¶
type ICefPrintJobCallback struct {
// contains filtered or unexported fields
}
ICefPrintJobCallback
func (*ICefPrintJobCallback) Cont ¶
func (m *ICefPrintJobCallback) Cont()
func (*ICefPrintJobCallback) Free ¶
func (m *ICefPrintJobCallback) Free()
func (*ICefPrintJobCallback) Instance ¶
func (m *ICefPrintJobCallback) Instance() uintptr
Instance 实例
func (*ICefPrintJobCallback) IsValid ¶
func (m *ICefPrintJobCallback) IsValid() bool
type ICefPrintSettings ¶
type ICefPrintSettings struct {
// contains filtered or unexported fields
}
ICefPrintSettings
func (*ICefPrintSettings) Free ¶
func (m *ICefPrintSettings) Free()
func (*ICefPrintSettings) GetColorModel ¶
func (m *ICefPrintSettings) GetColorModel() consts.TCefColorModel
func (*ICefPrintSettings) GetCopies ¶
func (m *ICefPrintSettings) GetCopies() int32
func (*ICefPrintSettings) GetDeviceName ¶
func (m *ICefPrintSettings) GetDeviceName() string
func (*ICefPrintSettings) GetDpi ¶
func (m *ICefPrintSettings) GetDpi() int32
func (*ICefPrintSettings) GetDuplexMode ¶
func (m *ICefPrintSettings) GetDuplexMode() consts.TCefDuplexMode
func (*ICefPrintSettings) GetPageRanges ¶
func (m *ICefPrintSettings) GetPageRanges() []TCefRange
func (*ICefPrintSettings) GetPageRangesCount ¶
func (m *ICefPrintSettings) GetPageRangesCount() uint32
func (*ICefPrintSettings) IsLandscape ¶
func (m *ICefPrintSettings) IsLandscape() bool
func (*ICefPrintSettings) IsReadOnly ¶
func (m *ICefPrintSettings) IsReadOnly() bool
func (*ICefPrintSettings) IsSelectionOnly ¶
func (m *ICefPrintSettings) IsSelectionOnly() bool
func (*ICefPrintSettings) IsValid ¶
func (m *ICefPrintSettings) IsValid() bool
func (*ICefPrintSettings) SetCollate ¶
func (m *ICefPrintSettings) SetCollate(collate bool)
func (*ICefPrintSettings) SetColorModel ¶
func (m *ICefPrintSettings) SetColorModel(model consts.TCefColorModel)
func (*ICefPrintSettings) SetCopies ¶
func (m *ICefPrintSettings) SetCopies(copies int32)
func (*ICefPrintSettings) SetDeviceName ¶
func (m *ICefPrintSettings) SetDeviceName(name string)
func (*ICefPrintSettings) SetDpi ¶
func (m *ICefPrintSettings) SetDpi(dpi int32)
func (*ICefPrintSettings) SetDuplexMode ¶
func (m *ICefPrintSettings) SetDuplexMode(mode consts.TCefDuplexMode)
func (*ICefPrintSettings) SetOrientation ¶
func (m *ICefPrintSettings) SetOrientation(landscape bool)
func (*ICefPrintSettings) SetPageRanges ¶
func (m *ICefPrintSettings) SetPageRanges(ranges []TCefRange)
func (*ICefPrintSettings) SetPrinterPrintableArea ¶
func (m *ICefPrintSettings) SetPrinterPrintableArea(physicalSizeDeviceUnits *TCefSize, printableAreaDeviceUnits *TCefRect, landscapeNeedsFlip bool)
func (*ICefPrintSettings) SetSelectionOnly ¶
func (m *ICefPrintSettings) SetSelectionOnly(selectionOnly bool)
func (*ICefPrintSettings) WillCollate ¶
func (m *ICefPrintSettings) WillCollate() bool
type ICefProcessMessage ¶
type ICefProcessMessage struct {
// contains filtered or unexported fields
}
ICefProcessMessage
func (*ICefProcessMessage) ArgumentList ¶
func (m *ICefProcessMessage) ArgumentList() *ICefListValue
ArgumentList 参数列表
func (*ICefProcessMessage) Copy ¶
func (m *ICefProcessMessage) Copy() *ICefProcessMessage
func (*ICefProcessMessage) Free ¶
func (m *ICefProcessMessage) Free()
func (*ICefProcessMessage) IsValid ¶
func (m *ICefProcessMessage) IsValid() bool
func (*ICefProcessMessage) Name ¶
func (m *ICefProcessMessage) Name() string
type ICefRenderHandler ¶
type ICefRenderHandler struct {
// contains filtered or unexported fields
}
ICefRenderHandler
func (*ICefRenderHandler) Free ¶
func (m *ICefRenderHandler) Free()
func (*ICefRenderHandler) IsValid ¶
func (m *ICefRenderHandler) IsValid() bool
func (*ICefRenderHandler) SetGetAccessibilityHandler ¶
func (m *ICefRenderHandler) SetGetAccessibilityHandler(fn renderHandlerGetAccessibilityHandler)
func (*ICefRenderHandler) SetGetRootScreenRect ¶
func (m *ICefRenderHandler) SetGetRootScreenRect(fn renderHandlerGetRootScreenRect)
func (*ICefRenderHandler) SetGetScreenInfo ¶
func (m *ICefRenderHandler) SetGetScreenInfo(fn renderHandlerGetScreenInfo)
func (*ICefRenderHandler) SetGetScreenPoint ¶
func (m *ICefRenderHandler) SetGetScreenPoint(fn renderHandlerGetScreenPoint)
func (*ICefRenderHandler) SetGetTouchHandleSize ¶
func (m *ICefRenderHandler) SetGetTouchHandleSize(fn renderHandlerGetTouchHandleSize)
func (*ICefRenderHandler) SetGetViewRect ¶
func (m *ICefRenderHandler) SetGetViewRect(fn renderHandlerGetViewRect)
func (*ICefRenderHandler) SetOnAcceleratedPaint ¶
func (m *ICefRenderHandler) SetOnAcceleratedPaint(fn renderHandlerOnAcceleratedPaint)
func (*ICefRenderHandler) SetOnIMECompositionRangeChanged ¶
func (m *ICefRenderHandler) SetOnIMECompositionRangeChanged(fn renderHandlerOnIMECompositionRangeChanged)
func (*ICefRenderHandler) SetOnPaint ¶
func (m *ICefRenderHandler) SetOnPaint(fn renderHandlerOnPaint)
func (*ICefRenderHandler) SetOnPopupShow ¶
func (m *ICefRenderHandler) SetOnPopupShow(fn renderHandlerOnPopupShow)
func (*ICefRenderHandler) SetOnPopupSize ¶
func (m *ICefRenderHandler) SetOnPopupSize(fn renderHandlerOnPopupSize)
func (*ICefRenderHandler) SetOnScrollOffsetChanged ¶
func (m *ICefRenderHandler) SetOnScrollOffsetChanged(fn renderHandlerOnScrollOffsetChanged)
func (*ICefRenderHandler) SetOnStartDragging ¶
func (m *ICefRenderHandler) SetOnStartDragging(fn renderHandlerOnStartDragging)
func (*ICefRenderHandler) SetOnTextSelectionChanged ¶
func (m *ICefRenderHandler) SetOnTextSelectionChanged(fn renderHandlerOnTextSelectionChanged)
func (*ICefRenderHandler) SetOnTouchHandleStateChanged ¶
func (m *ICefRenderHandler) SetOnTouchHandleStateChanged(fn renderHandlerOnTouchHandleStateChanged)
func (*ICefRenderHandler) SetOnUpdateDragCursor ¶
func (m *ICefRenderHandler) SetOnUpdateDragCursor(fn renderHandlerOnUpdateDragCursor)
func (*ICefRenderHandler) SetOnVirtualKeyboardRequested ¶
func (m *ICefRenderHandler) SetOnVirtualKeyboardRequested(fn renderHandlerOnVirtualKeyboardRequested)
type ICefRequest ¶
type ICefRequest struct {
// contains filtered or unexported fields
}
ICefRequest
func (*ICefRequest) Flags ¶
func (m *ICefRequest) Flags() TCefUrlRequestFlags
func (*ICefRequest) Free ¶
func (m *ICefRequest) Free()
func (*ICefRequest) GetFirstPartyForCookies ¶
func (m *ICefRequest) GetFirstPartyForCookies() string
func (*ICefRequest) GetHeaderByName ¶
func (m *ICefRequest) GetHeaderByName(name string) string
GetHeaderByName
func (*ICefRequest) GetHeaderMap ¶
func (m *ICefRequest) GetHeaderMap() *ICefStringMultiMap
GetHeaderMap
func (*ICefRequest) GetPostData ¶
func (m *ICefRequest) GetPostData() *ICefPostData
func (*ICefRequest) Identifier ¶
func (m *ICefRequest) Identifier() (result uint64)
func (*ICefRequest) IsValid ¶
func (m *ICefRequest) IsValid() bool
func (*ICefRequest) Method ¶
func (m *ICefRequest) Method() string
func (*ICefRequest) ReferrerPolicy ¶
func (m *ICefRequest) ReferrerPolicy() TCefReferrerPolicy
func (*ICefRequest) ReferrerUrl ¶
func (m *ICefRequest) ReferrerUrl() string
func (*ICefRequest) ResourceType ¶
func (m *ICefRequest) ResourceType() TCefResourceType
func (*ICefRequest) SetFirstPartyForCookies ¶
func (m *ICefRequest) SetFirstPartyForCookies(url string)
SetFirstPartyForCookies
func (*ICefRequest) SetFlags ¶
func (m *ICefRequest) SetFlags(flags TCefUrlRequestFlags)
SetFlags 设置请求标记
func (*ICefRequest) SetHeaderByName ¶
func (m *ICefRequest) SetHeaderByName(name, value string, overwrite bool)
SetHeaderByName
func (*ICefRequest) SetHeaderMap ¶
func (m *ICefRequest) SetHeaderMap(headerMap *ICefStringMultiMap)
func (*ICefRequest) SetPostData ¶
func (m *ICefRequest) SetPostData(value *ICefPostData)
func (*ICefRequest) SetReferrer ¶
func (m *ICefRequest) SetReferrer(referrerUrl string, policy TCefReferrerPolicy)
SetReferrer 设置来源策略
func (*ICefRequest) TransitionType ¶
func (m *ICefRequest) TransitionType() TCefTransitionType
func (*ICefRequest) URL ¶
func (m *ICefRequest) URL() string
type ICefRequestContext ¶
type ICefRequestContext struct {
// contains filtered or unexported fields
}
ICefRequestContext
func (*ICefRequestContext) CanSetPreference ¶
func (m *ICefRequestContext) CanSetPreference(name string) bool
func (*ICefRequestContext) ClearCertificateExceptions ¶
func (m *ICefRequestContext) ClearCertificateExceptions(callback *ICefCompletionCallback)
func (*ICefRequestContext) ClearHttpAuthCredentials ¶
func (m *ICefRequestContext) ClearHttpAuthCredentials(callback *ICefCompletionCallback)
func (*ICefRequestContext) ClearSchemeHandlerFactories ¶
func (m *ICefRequestContext) ClearSchemeHandlerFactories() bool
func (*ICefRequestContext) CloseAllConnections ¶
func (m *ICefRequestContext) CloseAllConnections(callback *ICefCompletionCallback)
func (*ICefRequestContext) DidLoadExtension ¶
func (m *ICefRequestContext) DidLoadExtension(extensionId string)
func (*ICefRequestContext) Free ¶
func (m *ICefRequestContext) Free()
func (*ICefRequestContext) GetAllPreferences ¶
func (m *ICefRequestContext) GetAllPreferences(includeDefaults bool) *ICefDictionaryValue
func (*ICefRequestContext) GetCachePath ¶
func (m *ICefRequestContext) GetCachePath() string
func (*ICefRequestContext) GetCookieManager ¶
func (m *ICefRequestContext) GetCookieManager(callback *ICefCompletionCallback) *ICefCookieManager
func (*ICefRequestContext) GetExtension ¶
func (m *ICefRequestContext) GetExtension(extensionId string) *ICefExtension
func (*ICefRequestContext) GetExtensions ¶
func (m *ICefRequestContext) GetExtensions() (result []string, ok bool)
func (*ICefRequestContext) GetHandler ¶
func (m *ICefRequestContext) GetHandler() *ICefRequestContextHandler
func (*ICefRequestContext) GetPreference ¶
func (m *ICefRequestContext) GetPreference(name string) *ICefValue
func (*ICefRequestContext) HasExtension ¶
func (m *ICefRequestContext) HasExtension(extensionId string)
func (*ICefRequestContext) HasPreference ¶
func (m *ICefRequestContext) HasPreference(name string) bool
func (*ICefRequestContext) IsGlobal ¶
func (m *ICefRequestContext) IsGlobal() bool
func (*ICefRequestContext) IsSame ¶
func (m *ICefRequestContext) IsSame(other *ICefRequestContext) bool
func (*ICefRequestContext) IsSharingWith ¶
func (m *ICefRequestContext) IsSharingWith(other *ICefRequestContext) bool
func (*ICefRequestContext) IsValid ¶
func (m *ICefRequestContext) IsValid() bool
func (*ICefRequestContext) LoadExtension ¶
func (m *ICefRequestContext) LoadExtension(rootDirectory string, manifest *ICefDictionaryValue, handler *ICefExtensionHandler)
func (*ICefRequestContext) RegisterSchemeHandlerFactory ¶
func (m *ICefRequestContext) RegisterSchemeHandlerFactory(schemeName, domainName string, factory *ICefSchemeHandlerFactory) bool
RegisterSchemeHandlerFactory
func (*ICefRequestContext) ResolveHost ¶
func (m *ICefRequestContext) ResolveHost(origin string)
ResolveHost TODO ICefResolveCallback
func (*ICefRequestContext) SetPreference ¶
func (m *ICefRequestContext) SetPreference(name string, value *ICefValue) (error string, ok bool)
type ICefRequestContextHandler ¶
type ICefRequestContextHandler struct {
// contains filtered or unexported fields
}
ICefRequestContextHandler
func (*ICefRequestContextHandler) Free ¶
func (m *ICefRequestContextHandler) Free()
func (*ICefRequestContextHandler) Instance ¶
func (m *ICefRequestContextHandler) Instance() uintptr
Instance 实例
func (*ICefRequestContextHandler) IsChromiumEvent ¶
func (m *ICefRequestContextHandler) IsChromiumEvent() bool
func (*ICefRequestContextHandler) IsTClientEvent ¶
func (m *ICefRequestContextHandler) IsTClientEvent() bool
func (*ICefRequestContextHandler) IsValid ¶
func (m *ICefRequestContextHandler) IsValid() bool
func (*ICefRequestContextHandler) SetGetResourceRequestHandler ¶
func (m *ICefRequestContextHandler) SetGetResourceRequestHandler(fn getResourceRequestHandler)
func (*ICefRequestContextHandler) SetOnRequestContextInitialized ¶
func (m *ICefRequestContextHandler) SetOnRequestContextInitialized(fn onRequestContextInitialized)
type ICefRequestHandler ¶
type ICefRequestHandler struct {
// contains filtered or unexported fields
}
ICefRequestHandler
func (*ICefRequestHandler) Free ¶
func (m *ICefRequestHandler) Free()
func (*ICefRequestHandler) IsValid ¶
func (m *ICefRequestHandler) IsValid() bool
func (*ICefRequestHandler) SetGetAuthCredentials ¶
func (m *ICefRequestHandler) SetGetAuthCredentials(fn requestHandlerGetAuthCredentials)
func (*ICefRequestHandler) SetGetResourceRequestHandler ¶
func (m *ICefRequestHandler) SetGetResourceRequestHandler(fn requestHandlerGetResourceRequestHandler)
func (*ICefRequestHandler) SetOnBeforeBrowse ¶
func (m *ICefRequestHandler) SetOnBeforeBrowse(fn requestHandlerOnBeforeBrowse)
func (*ICefRequestHandler) SetOnCertificateError ¶
func (m *ICefRequestHandler) SetOnCertificateError(fn requestHandlerOnCertificateError)
func (*ICefRequestHandler) SetOnDocumentAvailableInMainFrame ¶
func (m *ICefRequestHandler) SetOnDocumentAvailableInMainFrame(fn requestHandlerOnDocumentAvailableInMainFrame)
func (*ICefRequestHandler) SetOnOpenUrlFromTab ¶
func (m *ICefRequestHandler) SetOnOpenUrlFromTab(fn requestHandlerOnOpenUrlFromTab)
func (*ICefRequestHandler) SetOnRenderProcessTerminated ¶
func (m *ICefRequestHandler) SetOnRenderProcessTerminated(fn requestHandlerOnRenderProcessTerminated)
func (*ICefRequestHandler) SetOnRenderViewReady ¶
func (m *ICefRequestHandler) SetOnRenderViewReady(fn requestHandlerOnRenderViewReady)
func (*ICefRequestHandler) SetOnSelectClientCertificate ¶
func (m *ICefRequestHandler) SetOnSelectClientCertificate(fn requestHandlerOnSelectClientCertificate)
type ICefResourceHandler ¶
type ICefResourceHandler struct {
// contains filtered or unexported fields
}
ICefResourceHandler
/include/capi/cef_resource_handler_capi.h (cef_resource_handler_t)
func (*ICefResourceHandler) Cancel ¶
func (m *ICefResourceHandler) Cancel(fn resourceHandlerCancel)
func (*ICefResourceHandler) Free ¶
func (m *ICefResourceHandler) Free()
func (*ICefResourceHandler) GetResponseHeaders ¶
func (m *ICefResourceHandler) GetResponseHeaders(fn resourceHandlerGetResponseHeaders)
func (*ICefResourceHandler) IsValid ¶
func (m *ICefResourceHandler) IsValid() bool
func (*ICefResourceHandler) Open ¶
func (m *ICefResourceHandler) Open(fn resourceHandlerOpen)
func (*ICefResourceHandler) ProcessRequest ¶
func (m *ICefResourceHandler) ProcessRequest(fn resourceHandlerProcessRequest)
ProcessRequest deprecated
func (*ICefResourceHandler) Read ¶
func (m *ICefResourceHandler) Read(fn resourceHandlerRead)
func (*ICefResourceHandler) ReadResponse ¶
func (m *ICefResourceHandler) ReadResponse(fn resourceHandlerReadResponse)
ReadResponse deprecated
func (*ICefResourceHandler) Skip ¶
func (m *ICefResourceHandler) Skip(fn resourceHandlerSkip)
type ICefResourceReadCallback ¶
type ICefResourceReadCallback struct {
// contains filtered or unexported fields
}
ICefResourceReadCallback
/include/capi/cef_resource_handler_capi.h (cef_resource_read_callback_t)
func (*ICefResourceReadCallback) Cont ¶
func (m *ICefResourceReadCallback) Cont(bytesSkipped int64)
func (*ICefResourceReadCallback) Free ¶
func (m *ICefResourceReadCallback) Free()
func (*ICefResourceReadCallback) Instance ¶
func (m *ICefResourceReadCallback) Instance() uintptr
Instance 实例
func (*ICefResourceReadCallback) IsValid ¶
func (m *ICefResourceReadCallback) IsValid() bool
type ICefResourceRequestHandler ¶
type ICefResourceRequestHandler struct {
// contains filtered or unexported fields
}
ICefResourceRequestHandler
/include/capi/cef_resource_request_handler_capi.h (cef_resource_request_handler_t)
func (*ICefResourceRequestHandler) Free ¶
func (m *ICefResourceRequestHandler) Free()
func (*ICefResourceRequestHandler) Instance ¶
func (m *ICefResourceRequestHandler) Instance() uintptr
Instance 实例
func (*ICefResourceRequestHandler) IsChromiumEvent ¶
func (m *ICefResourceRequestHandler) IsChromiumEvent() bool
func (*ICefResourceRequestHandler) IsTClientEvent ¶
func (m *ICefResourceRequestHandler) IsTClientEvent() bool
func (*ICefResourceRequestHandler) IsValid ¶
func (m *ICefResourceRequestHandler) IsValid() bool
func (*ICefResourceRequestHandler) SetGetCookieAccessFilter ¶
func (m *ICefResourceRequestHandler) SetGetCookieAccessFilter(fn getCookieAccessFilter)
func (*ICefResourceRequestHandler) SetGetResourceHandler ¶
func (m *ICefResourceRequestHandler) SetGetResourceHandler(fn getResourceHandler)
func (*ICefResourceRequestHandler) SetGetResourceResponseFilter ¶
func (m *ICefResourceRequestHandler) SetGetResourceResponseFilter(fn getResourceResponseFilter)
func (*ICefResourceRequestHandler) SetOnBeforeResourceLoad ¶
func (m *ICefResourceRequestHandler) SetOnBeforeResourceLoad(fn onBeforeResourceLoad)
func (*ICefResourceRequestHandler) SetOnProtocolExecution ¶
func (m *ICefResourceRequestHandler) SetOnProtocolExecution(fn onProtocolExecution)
func (*ICefResourceRequestHandler) SetOnResourceLoadComplete ¶
func (m *ICefResourceRequestHandler) SetOnResourceLoadComplete(fn onResourceLoadComplete)
func (*ICefResourceRequestHandler) SetOnResourceRedirect ¶
func (m *ICefResourceRequestHandler) SetOnResourceRedirect(fn onResourceRedirect)
func (*ICefResourceRequestHandler) SetOnResourceResponse ¶
func (m *ICefResourceRequestHandler) SetOnResourceResponse(fn onResourceResponse)
type ICefResourceSkipCallback ¶
type ICefResourceSkipCallback struct {
// contains filtered or unexported fields
}
ICefResourceSkipCallback
/include/capi/cef_resource_handler_capi.h (cef_resource_skip_callback_t)
func (*ICefResourceSkipCallback) Cont ¶
func (m *ICefResourceSkipCallback) Cont(bytesRead int64)
func (*ICefResourceSkipCallback) Free ¶
func (m *ICefResourceSkipCallback) Free()
func (*ICefResourceSkipCallback) Instance ¶
func (m *ICefResourceSkipCallback) Instance() uintptr
Instance 实例
func (*ICefResourceSkipCallback) IsValid ¶
func (m *ICefResourceSkipCallback) IsValid() bool
type ICefResponse ¶
type ICefResponse struct {
// contains filtered or unexported fields
}
ICefResponse
func (*ICefResponse) Charset ¶
func (m *ICefResponse) Charset() string
func (*ICefResponse) Error ¶
func (m *ICefResponse) Error() TCefErrorCode
func (*ICefResponse) Free ¶
func (m *ICefResponse) Free()
func (*ICefResponse) GetHeaderByName ¶
func (m *ICefResponse) GetHeaderByName(name string) string
GetHeaderByName
func (*ICefResponse) GetHeaderMap ¶
func (m *ICefResponse) GetHeaderMap() *ICefStringMultiMap
GetHeaderMap
func (*ICefResponse) IsValid ¶
func (m *ICefResponse) IsValid() bool
func (*ICefResponse) MimeType ¶
func (m *ICefResponse) MimeType() string
func (*ICefResponse) SetHeaderByName ¶
func (m *ICefResponse) SetHeaderByName(name, value string, overwrite bool)
SetHeaderByName
func (*ICefResponse) SetHeaderMap ¶
func (m *ICefResponse) SetHeaderMap(headerMap *ICefStringMultiMap)
GetHeaderMap
func (*ICefResponse) SetMimeType ¶
func (m *ICefResponse) SetMimeType(mimetype string)
SetMimeType mime类型
func (*ICefResponse) SetStatusText ¶
func (m *ICefResponse) SetStatusText(statusText string)
SetStatusText 设置状态文本
func (*ICefResponse) Status ¶
func (m *ICefResponse) Status() int32
func (*ICefResponse) StatusText ¶
func (m *ICefResponse) StatusText() string
func (*ICefResponse) URL ¶
func (m *ICefResponse) URL() string
type ICefResponseFilter ¶
type ICefResponseFilter struct {
// contains filtered or unexported fields
}
ICefResponseFilter
/include/capi/cef_response_filter_capi.h (cef_response_filter_t)
func (*ICefResponseFilter) Filter ¶
func (m *ICefResponseFilter) Filter(fn responseFilterFilter)
func (*ICefResponseFilter) Free ¶
func (m *ICefResponseFilter) Free()
func (*ICefResponseFilter) InitFilter ¶
func (m *ICefResponseFilter) InitFilter(fn responseFilterInitFilter)
func (*ICefResponseFilter) IsValid ¶
func (m *ICefResponseFilter) IsValid() bool
type ICefRunContextMenuCallback ¶
type ICefRunContextMenuCallback struct {
// contains filtered or unexported fields
}
ICefRunContextMenuCallback
/include/capi/cef_context_menu_handler_capi.h (cef_run_context_menu_callback_t)
func (*ICefRunContextMenuCallback) Cancel ¶
func (m *ICefRunContextMenuCallback) Cancel()
func (*ICefRunContextMenuCallback) Cont ¶
func (m *ICefRunContextMenuCallback) Cont(commandId int32, eventFlags consts.TCefEventFlags)
func (*ICefRunContextMenuCallback) Free ¶
func (m *ICefRunContextMenuCallback) Free()
func (*ICefRunContextMenuCallback) Instance ¶
func (m *ICefRunContextMenuCallback) Instance() uintptr
Instance 实例
func (*ICefRunContextMenuCallback) IsValid ¶
func (m *ICefRunContextMenuCallback) IsValid() bool
type ICefRunQuickMenuCallback ¶
type ICefRunQuickMenuCallback struct {
// contains filtered or unexported fields
}
ICefRunQuickMenuCallback
/include/capi/cef_context_menu_handler_capi.h (cef_run_quick_menu_callback_t)
func (*ICefRunQuickMenuCallback) Cancel ¶
func (m *ICefRunQuickMenuCallback) Cancel()
func (*ICefRunQuickMenuCallback) Cont ¶
func (m *ICefRunQuickMenuCallback) Cont(commandId int32, eventFlags consts.TCefEventFlags)
func (*ICefRunQuickMenuCallback) Free ¶
func (m *ICefRunQuickMenuCallback) Free()
func (*ICefRunQuickMenuCallback) Instance ¶
func (m *ICefRunQuickMenuCallback) Instance() uintptr
Instance 实例
func (*ICefRunQuickMenuCallback) IsValid ¶
func (m *ICefRunQuickMenuCallback) IsValid() bool
type ICefSchemeHandlerFactory ¶
type ICefSchemeHandlerFactory struct {
// contains filtered or unexported fields
}
ICefSchemeHandlerFactory
/include/capi/cef_scheme_capi.h (cef_scheme_handler_factory_t)
func (*ICefSchemeHandlerFactory) Free ¶
func (m *ICefSchemeHandlerFactory) Free()
func (*ICefSchemeHandlerFactory) Instance ¶
func (m *ICefSchemeHandlerFactory) Instance() uintptr
Instance 实例
func (*ICefSchemeHandlerFactory) IsValid ¶
func (m *ICefSchemeHandlerFactory) IsValid() bool
func (*ICefSchemeHandlerFactory) SetNew ¶
func (m *ICefSchemeHandlerFactory) SetNew(fn schemeHandlerFactoryNew)
type ICefSelectClientCertificateCallback ¶
type ICefSelectClientCertificateCallback struct {
// contains filtered or unexported fields
}
ICefSelectClientCertificateCallback
/include/capi/cef_request_handler_capi.h (cef_select_client_certificate_callback_t)
func (*ICefSelectClientCertificateCallback) Free ¶
func (m *ICefSelectClientCertificateCallback) Free()
func (*ICefSelectClientCertificateCallback) Instance ¶
func (m *ICefSelectClientCertificateCallback) Instance() uintptr
Instance 实例
func (*ICefSelectClientCertificateCallback) IsValid ¶
func (m *ICefSelectClientCertificateCallback) IsValid() bool
func (*ICefSelectClientCertificateCallback) Select ¶
func (m *ICefSelectClientCertificateCallback) Select(cert *ICefX509Certificate)
type ICefSetCookieCallback ¶
type ICefSetCookieCallback struct {
// contains filtered or unexported fields
}
ICefSetCookieCallback
func (*ICefSetCookieCallback) Free ¶
func (m *ICefSetCookieCallback) Free()
func (*ICefSetCookieCallback) Instance ¶
func (m *ICefSetCookieCallback) Instance() uintptr
Instance 实例
func (*ICefSetCookieCallback) IsChromiumEvent ¶
func (m *ICefSetCookieCallback) IsChromiumEvent() bool
func (*ICefSetCookieCallback) IsTClientEvent ¶
func (m *ICefSetCookieCallback) IsTClientEvent() bool
func (*ICefSetCookieCallback) IsValid ¶
func (m *ICefSetCookieCallback) IsValid() bool
func (*ICefSetCookieCallback) SetOnComplete ¶
func (m *ICefSetCookieCallback) SetOnComplete(fn setCookieOnComplete)
type ICefSslInfo ¶
type ICefSslInfo struct {
// contains filtered or unexported fields
}
ICefSslInfo
/include/capi/cef_ssl_info_capi.h (cef_sslinfo_t)
func (*ICefSslInfo) Free ¶
func (m *ICefSslInfo) Free()
func (*ICefSslInfo) GetCertStatus ¶
func (m *ICefSslInfo) GetCertStatus() consts.TCefCertStatus
func (*ICefSslInfo) GetX509Certificate ¶
func (m *ICefSslInfo) GetX509Certificate() *ICefX509Certificate
func (*ICefSslInfo) IsValid ¶
func (m *ICefSslInfo) IsValid() bool
type ICefStreamReader ¶
type ICefStreamReader struct {
// contains filtered or unexported fields
}
ICefStreamReader
func (*ICefStreamReader) Eof ¶
func (m *ICefStreamReader) Eof() bool
func (*ICefStreamReader) Free ¶
func (m *ICefStreamReader) Free()
func (*ICefStreamReader) IsValid ¶
func (m *ICefStreamReader) IsValid() bool
func (*ICefStreamReader) MayBlock ¶
func (m *ICefStreamReader) MayBlock() bool
func (*ICefStreamReader) Tell ¶
func (m *ICefStreamReader) Tell() (result int64)
type ICefStreamWriter ¶
type ICefStreamWriter struct {
*TCefBaseRefCounted
}
ICefStreamWriter
/include/capi/cef_stream_capi.h (cef_stream_writer_t)
func (*ICefStreamWriter) Flush ¶
func (m *ICefStreamWriter) Flush() int32
func (*ICefStreamWriter) MayBlock ¶
func (m *ICefStreamWriter) MayBlock() bool
func (*ICefStreamWriter) Tell ¶
func (m *ICefStreamWriter) Tell() (result int64)
type ICefStringMultiMap ¶
type ICefStringMultiMap struct {
// contains filtered or unexported fields
}
ICefStringMultiMap 实例
func (*ICefStringMultiMap) Append ¶
func (m *ICefStringMultiMap) Append(key, value string) bool
Append 给key追加值
func (*ICefStringMultiMap) FindCount ¶
func (m *ICefStringMultiMap) FindCount(key string) uint32
FindCount key值数量
func (*ICefStringMultiMap) GetEnumerate ¶
func (m *ICefStringMultiMap) GetEnumerate(key string, index uint32) string
GetEnumerate 根据 key and index 获取
func (*ICefStringMultiMap) GetKey ¶
func (m *ICefStringMultiMap) GetKey(index uint32) string
GetKey 根据 index 获取key
func (*ICefStringMultiMap) GetValue ¶
func (m *ICefStringMultiMap) GetValue(index uint32) string
GetValue 根据 index 获取value
func (*ICefStringMultiMap) IsValid ¶
func (m *ICefStringMultiMap) IsValid() bool
type ICefV8Accessor ¶
type ICefV8Accessor struct {
// contains filtered or unexported fields
}
ICefV8Accessor
func (*ICefV8Accessor) Destroy ¶
func (m *ICefV8Accessor) Destroy()
func (*ICefV8Accessor) Free ¶
func (m *ICefV8Accessor) Free()
type ICefV8ArrayBufferReleaseCallback ¶
type ICefV8ArrayBufferReleaseCallback struct {
// contains filtered or unexported fields
}
ICefV8ArrayBufferReleaseCallback
func (*ICefV8ArrayBufferReleaseCallback) Instance ¶
func (m *ICefV8ArrayBufferReleaseCallback) Instance() uintptr
Instance 实例
func (*ICefV8ArrayBufferReleaseCallback) ReleaseBuffer ¶
func (m *ICefV8ArrayBufferReleaseCallback) ReleaseBuffer(fn V8ArrayBufferReleaseCallback)
ReleaseBuffer 释放时回调函数, 默认自动释放
array buffer 缓存
返回 true:释放buffer, false:不释放buffer
type ICefV8Context ¶
type ICefV8Context struct {
// contains filtered or unexported fields
}
ICefV8Context
v8上下文对象
生命周期
- 在回调函数中有效
- 回调函数外使用 cef.V8ContextRef.Current() 获取上下文对象
func (*ICefV8Context) Browser ¶
func (m *ICefV8Context) Browser() *ICefBrowser
func (*ICefV8Context) Eval ¶
func (m *ICefV8Context) Eval(code, scriptUrl string, startLine int32) (value *ICefV8Value, exception *ICefV8Exception, ok bool)
func (*ICefV8Context) Frame ¶
func (m *ICefV8Context) Frame() *ICefFrame
func (*ICefV8Context) Free ¶
func (m *ICefV8Context) Free()
func (*ICefV8Context) Global ¶
func (m *ICefV8Context) Global() *ICefV8Value
func (*ICefV8Context) IsSame ¶
func (m *ICefV8Context) IsSame(that *ICefV8Context) bool
func (*ICefV8Context) IsValid ¶
func (m *ICefV8Context) IsValid() bool
type ICefV8Exception ¶
type ICefV8Exception struct {
// contains filtered or unexported fields
}
ICefV8Exception
func (*ICefV8Exception) EndColumn ¶
func (m *ICefV8Exception) EndColumn() int32
func (*ICefV8Exception) EndPosition ¶
func (m *ICefV8Exception) EndPosition() int32
func (*ICefV8Exception) IsValid ¶
func (m *ICefV8Exception) IsValid() bool
func (*ICefV8Exception) LineNumber ¶
func (m *ICefV8Exception) LineNumber() int32
func (*ICefV8Exception) Message ¶
func (m *ICefV8Exception) Message() string
func (*ICefV8Exception) ScriptResourceName ¶
func (m *ICefV8Exception) ScriptResourceName() string
func (*ICefV8Exception) SourceLine ¶
func (m *ICefV8Exception) SourceLine() string
func (*ICefV8Exception) StartColumn ¶
func (m *ICefV8Exception) StartColumn() int32
func (*ICefV8Exception) StartPosition ¶
func (m *ICefV8Exception) StartPosition() int32
type ICefV8Handler ¶
type ICefV8Handler struct {
// contains filtered or unexported fields
}
ICefV8Handler
func (*ICefV8Handler) Destroy ¶
func (m *ICefV8Handler) Destroy()
type ICefV8Interceptor ¶
type ICefV8Interceptor struct {
// contains filtered or unexported fields
}
ICefV8Interceptor
func (*ICefV8Interceptor) GetByIndex ¶
func (m *ICefV8Interceptor) GetByIndex(fn V8InterceptorGetByIndex)
GetByIndex 拦截函数 根据index获取一个值
func (*ICefV8Interceptor) GetByName ¶
func (m *ICefV8Interceptor) GetByName(fn V8InterceptorGetByName)
GetByName 拦截函数 根据name获取一个值
func (*ICefV8Interceptor) SetByIndex ¶
func (m *ICefV8Interceptor) SetByIndex(fn V8InterceptorSetByIndex)
SetByIndex 拦截函数 根据index设置一个值
func (*ICefV8Interceptor) SetByName ¶
func (m *ICefV8Interceptor) SetByName(fn V8InterceptorSetByName)
SetByName 拦截函数 根据name设置一个值
type ICefV8StackTrace ¶
type ICefV8StackTrace struct {
// contains filtered or unexported fields
}
ICefV8StackTrace
type ICefV8Value ¶
type ICefV8Value struct {
// contains filtered or unexported fields
}
ICefV8Value
func (*ICefV8Value) AdjustExternallyAllocatedMemory ¶
func (m *ICefV8Value) AdjustExternallyAllocatedMemory(changeInBytes int32) int32
func (*ICefV8Value) ClearException ¶
func (m *ICefV8Value) ClearException() bool
func (*ICefV8Value) DeleteValueByIndex ¶
func (m *ICefV8Value) DeleteValueByIndex(index int) bool
func (*ICefV8Value) DeleteValueByKey ¶
func (m *ICefV8Value) DeleteValueByKey(key string) bool
DeleteValueByKey export
func (*ICefV8Value) ExecuteFunction ¶
func (m *ICefV8Value) ExecuteFunction(obj *ICefV8Value, arguments *TCefV8ValueArray) *ICefV8Value
func (*ICefV8Value) ExecuteFunctionWithContext ¶
func (m *ICefV8Value) ExecuteFunctionWithContext(v8Context *ICefV8Context, obj *ICefV8Value, arguments *TCefV8ValueArray) *ICefV8Value
func (*ICefV8Value) ExecuteFunctionWithContextForArgsBytes ¶
func (m *ICefV8Value) ExecuteFunctionWithContextForArgsBytes(v8Context *ICefV8Context, obj *ICefV8Value, arguments []byte) *ICefV8Value
func (*ICefV8Value) Free ¶
func (m *ICefV8Value) Free()
func (*ICefV8Value) GetArrayBufferReleaseCallback ¶
func (m *ICefV8Value) GetArrayBufferReleaseCallback() *ICefV8ArrayBufferReleaseCallback
func (*ICefV8Value) GetArrayLength ¶
func (m *ICefV8Value) GetArrayLength() int
func (*ICefV8Value) GetBoolValue ¶
func (m *ICefV8Value) GetBoolValue() bool
func (*ICefV8Value) GetDateValue ¶
func (m *ICefV8Value) GetDateValue() time.Time
func (*ICefV8Value) GetDoubleValue ¶
func (m *ICefV8Value) GetDoubleValue() (result float64)
func (*ICefV8Value) GetExternallyAllocatedMemory ¶
func (m *ICefV8Value) GetExternallyAllocatedMemory() int32
func (*ICefV8Value) GetFunctionHandler ¶
func (m *ICefV8Value) GetFunctionHandler() *ICefV8Handler
func (*ICefV8Value) GetFunctionName ¶
func (m *ICefV8Value) GetFunctionName() string
func (*ICefV8Value) GetIKeys ¶
func (m *ICefV8Value) GetIKeys() types.IV8ValueKeys
func (*ICefV8Value) GetIntValue ¶
func (m *ICefV8Value) GetIntValue() int32
func (*ICefV8Value) GetKeys ¶
func (m *ICefV8Value) GetKeys() *ICefV8ValueKeys
func (*ICefV8Value) GetStringValue ¶
func (m *ICefV8Value) GetStringValue() string
func (*ICefV8Value) GetUIntValue ¶
func (m *ICefV8Value) GetUIntValue() uint32
func (*ICefV8Value) GetUserData ¶
func (m *ICefV8Value) GetUserData() *ICefV8Value
func (*ICefV8Value) GetValueByIndex ¶
func (m *ICefV8Value) GetValueByIndex(index int) *ICefV8Value
GetValueByIndex 当前是数组时,通过下标取值V8Value
func (*ICefV8Value) GetValueByKey ¶
func (m *ICefV8Value) GetValueByKey(key string) *ICefV8Value
GetValueByKey export
func (*ICefV8Value) HasValueByIndex ¶
func (m *ICefV8Value) HasValueByIndex(index int32) bool
func (*ICefV8Value) HasValueByKey ¶
func (m *ICefV8Value) HasValueByKey(key string) bool
func (*ICefV8Value) Instance ¶
func (m *ICefV8Value) Instance() uintptr
func (*ICefV8Value) IsArray ¶
func (m *ICefV8Value) IsArray() bool
func (*ICefV8Value) IsArrayBuffer ¶
func (m *ICefV8Value) IsArrayBuffer() bool
func (*ICefV8Value) IsBool ¶
func (m *ICefV8Value) IsBool() bool
func (*ICefV8Value) IsDate ¶
func (m *ICefV8Value) IsDate() bool
func (*ICefV8Value) IsDouble ¶
func (m *ICefV8Value) IsDouble() bool
func (*ICefV8Value) IsFunction ¶
func (m *ICefV8Value) IsFunction() bool
func (*ICefV8Value) IsInt ¶
func (m *ICefV8Value) IsInt() bool
func (*ICefV8Value) IsNull ¶
func (m *ICefV8Value) IsNull() bool
func (*ICefV8Value) IsObject ¶
func (m *ICefV8Value) IsObject() bool
func (*ICefV8Value) IsPromise ¶
func (m *ICefV8Value) IsPromise() bool
func (*ICefV8Value) IsSame ¶
func (m *ICefV8Value) IsSame() bool
func (*ICefV8Value) IsString ¶
func (m *ICefV8Value) IsString() bool
func (*ICefV8Value) IsUInt ¶
func (m *ICefV8Value) IsUInt() bool
func (*ICefV8Value) IsUndefined ¶
func (m *ICefV8Value) IsUndefined() bool
func (*ICefV8Value) IsUserCreated ¶
func (m *ICefV8Value) IsUserCreated() bool
func (*ICefV8Value) IsValid ¶
func (m *ICefV8Value) IsValid() bool
func (*ICefV8Value) NeuterArrayBuffer ¶
func (m *ICefV8Value) NeuterArrayBuffer() bool
func (*ICefV8Value) RejectPromise ¶
func (m *ICefV8Value) RejectPromise(errorMsg string) bool
func (*ICefV8Value) ResolvePromise ¶
func (m *ICefV8Value) ResolvePromise(arg *ICefV8Value) bool
func (*ICefV8Value) SetCanNotFree ¶
func (m *ICefV8Value) SetCanNotFree(v bool)
func (*ICefV8Value) SetRethrowExceptions ¶
func (m *ICefV8Value) SetRethrowExceptions(reThrow bool) bool
func (*ICefV8Value) SetUserData ¶
func (m *ICefV8Value) SetUserData(data *ICefV8Value) bool
func (*ICefV8Value) SetValueByAccessor ¶
func (m *ICefV8Value) SetValueByAccessor(key string, settings consts.TCefV8AccessControls, attribute consts.TCefV8PropertyAttributes) bool
SetValueByAccessor export
func (*ICefV8Value) SetValueByIndex ¶
func (m *ICefV8Value) SetValueByIndex(index int32, value *ICefV8Value) bool
func (*ICefV8Value) SetValueByKey ¶
func (m *ICefV8Value) SetValueByKey(key string, value *ICefV8Value, attribute consts.TCefV8PropertyAttributes) bool
SetValueByKey export
func (*ICefV8Value) WillRethrowExceptions ¶
func (m *ICefV8Value) WillRethrowExceptions() bool
type ICefV8ValueKeys ¶
type ICefV8ValueKeys struct {
// contains filtered or unexported fields
}
ICefV8ValueKeys
func (*ICefV8ValueKeys) Count ¶
func (m *ICefV8ValueKeys) Count() int
func (*ICefV8ValueKeys) Free ¶
func (m *ICefV8ValueKeys) Free()
func (*ICefV8ValueKeys) Get ¶
func (m *ICefV8ValueKeys) Get(index int) string
type ICefValue ¶
type ICefValue struct {
// contains filtered or unexported fields
}
ICefValue -> ArgumentList
func (*ICefValue) GetBinary ¶
func (m *ICefValue) GetBinary() *ICefBinaryValue
func (*ICefValue) GetDictionary ¶
func (m *ICefValue) GetDictionary() *ICefDictionaryValue
func (*ICefValue) GetIArray ¶
func (m *ICefValue) GetIArray() types.IArrayValue
func (*ICefValue) GetIBinary ¶
func (m *ICefValue) GetIBinary() types.IBinaryValue
func (*ICefValue) GetIObject ¶
func (m *ICefValue) GetIObject() types.IObjectValue
func (*ICefValue) GetList ¶
func (m *ICefValue) GetList() *ICefListValue
func (*ICefValue) GetType ¶
func (m *ICefValue) GetType() consts.TCefValueType
func (*ICefValue) IsReadOnly ¶
func (*ICefValue) SetBinary ¶
func (m *ICefValue) SetBinary(value *ICefBinaryValue) (result bool)
func (*ICefValue) SetDictionary ¶
func (m *ICefValue) SetDictionary(value *ICefDictionaryValue) (result bool)
func (*ICefValue) SetList ¶
func (m *ICefValue) SetList(value *ICefListValue) (result bool)
type ICefWindow ¶
type ICefWindow struct {
// contains filtered or unexported fields
}
ICefWindow
func (*ICefWindow) CenterWindow ¶
func (m *ICefWindow) CenterWindow(size *TCefSize)
CenterWindow 根据大小窗口居中
func (*ICefWindow) ClientAreaBoundsInScreen ¶
func (m *ICefWindow) ClientAreaBoundsInScreen() (result TCefRect)
ClientAreaBoundsInScreen 获取客户端所在指定屏幕位置
func (*ICefWindow) Free ¶
func (m *ICefWindow) Free()
func (*ICefWindow) Instance ¶
func (m *ICefWindow) Instance() uintptr
func (*ICefWindow) RemoveAccelerator ¶
func (m *ICefWindow) RemoveAccelerator(commandId int32)
RemoveAccelerator 移除指定快捷键
func (*ICefWindow) RemoveAllAccelerators ¶
func (m *ICefWindow) RemoveAllAccelerators()
RemoveAllAccelerators 移除所有快捷键
func (*ICefWindow) SendKeyPress ¶
func (m *ICefWindow) SendKeyPress(keyCode int32, eventFlags uint32)
SendKeyPress 发送键盘事件
func (*ICefWindow) SendMouseEvents ¶
func (m *ICefWindow) SendMouseEvents(button consts.TCefMouseButtonType, mouseDown, mouseUp bool)
SendMouseEvents 发送鼠标事件
func (*ICefWindow) SendMouseMove ¶
func (m *ICefWindow) SendMouseMove(screenX, screenY int32)
SendMouseMove 发送鼠标移动事件
func (*ICefWindow) SetAccelerator ¶
func (m *ICefWindow) SetAccelerator(commandId, keyCode int32, shiftPressed, ctrlPressed, altPressed bool)
SetAccelerator 设置快捷键
func (*ICefWindow) SetAlwaysOnTop ¶
func (m *ICefWindow) SetAlwaysOnTop(onTop bool)
SetAlwaysOnTop 设置窗口是否置顶
func (*ICefWindow) SetBackgroundColor ¶
func (m *ICefWindow) SetBackgroundColor(rect *types.TCefColor)
SetBackgroundColor 设置背景色
func (*ICefWindow) SetDraggableRegions ¶
func (m *ICefWindow) SetDraggableRegions(regions []TCefDraggableRegion)
SetDraggableRegions 设置拖拽区域
func (*ICefWindow) SetFullscreen ¶
func (m *ICefWindow) SetFullscreen(fullscreen bool)
SetFullscreen 设置窗口全屏
func (*ICefWindow) SetPosition ¶
func (m *ICefWindow) SetPosition(point *TCefPoint)
SetPosition 设置窗口位置
func (*ICefWindow) SetWindow ¶
func (m *ICefWindow) SetWindow(window *ICefWindow)
func (*ICefWindow) SetWindowAppIcon ¶
func (m *ICefWindow) SetWindowAppIcon(scaleFactor float32, filename string) error
SetWindowAppIcon 设置窗口应用图标
func (*ICefWindow) SetWindowAppIconFS ¶
func (m *ICefWindow) SetWindowAppIconFS(scaleFactor float32, filename string) error
SetWindowAppIconFS 设置窗口应用图标
func (*ICefWindow) SetWindowIcon ¶
func (m *ICefWindow) SetWindowIcon(scaleFactor float32, filename string) error
SetWindowIcon 设置窗口图标
func (*ICefWindow) SetWindowIconFS ¶
func (m *ICefWindow) SetWindowIconFS(scaleFactor float32, filename string) error
SetWindowIconFS 设置窗口图标
func (*ICefWindow) ShowMenu ¶
func (m *ICefWindow) ShowMenu(menuModel *ICefMenuModel, point TCefPoint, anchorPosition consts.TCefMenuAnchorPosition)
ShowMenu 显示菜单
func (*ICefWindow) WindowAppIcon ¶
func (m *ICefWindow) WindowAppIcon() *ICefImage
WindowAppIcon 获取窗口应用图标
func (*ICefWindow) WindowHandle ¶
func (m *ICefWindow) WindowHandle() consts.TCefWindowHandle
WindowHandle 获取窗口句柄
func (*ICefWindow) WindowState ¶
func (m *ICefWindow) WindowState() t.TWindowState
WindowState 返回窗口最小化、最大化、全屏状态
type ICefX509CertPrincipal ¶
type ICefX509CertPrincipal struct {
// contains filtered or unexported fields
}
ICefX509CertPrincipal /include/capi/cef_x509_certificate_capi.h (cef_x509cert_principal_t)
func (*ICefX509CertPrincipal) Free ¶
func (m *ICefX509CertPrincipal) Free()
func (*ICefX509CertPrincipal) GetCommonName ¶
func (m *ICefX509CertPrincipal) GetCommonName() string
func (*ICefX509CertPrincipal) GetCountryName ¶
func (m *ICefX509CertPrincipal) GetCountryName() string
func (*ICefX509CertPrincipal) GetDisplayName ¶
func (m *ICefX509CertPrincipal) GetDisplayName() string
func (*ICefX509CertPrincipal) GetDomainComponents ¶
func (m *ICefX509CertPrincipal) GetDomainComponents() *lcl.TStrings
func (*ICefX509CertPrincipal) GetLocalityName ¶
func (m *ICefX509CertPrincipal) GetLocalityName() string
func (*ICefX509CertPrincipal) GetOrganizationNames ¶
func (m *ICefX509CertPrincipal) GetOrganizationNames() *lcl.TStrings
func (*ICefX509CertPrincipal) GetOrganizationUnitNames ¶
func (m *ICefX509CertPrincipal) GetOrganizationUnitNames() *lcl.TStrings
func (*ICefX509CertPrincipal) GetStateOrProvinceName ¶
func (m *ICefX509CertPrincipal) GetStateOrProvinceName() string
func (*ICefX509CertPrincipal) GetStreetAddresses ¶
func (m *ICefX509CertPrincipal) GetStreetAddresses() *lcl.TStrings
func (*ICefX509CertPrincipal) Instance ¶
func (m *ICefX509CertPrincipal) Instance() uintptr
Instance 实例
func (*ICefX509CertPrincipal) IsValid ¶
func (m *ICefX509CertPrincipal) IsValid() bool
type ICefX509Certificate ¶
type ICefX509Certificate struct {
// contains filtered or unexported fields
}
ICefX509Certificate
/include/capi/cef_x509_certificate_capi.h (cef_x509certificate_t)
func (*ICefX509Certificate) Free ¶
func (m *ICefX509Certificate) Free()
func (*ICefX509Certificate) GetDEREncodedIssuerChain ¶
func (m *ICefX509Certificate) GetDEREncodedIssuerChain(chainCount uint32) *TCefBinaryValueArray
func (*ICefX509Certificate) GetDerEncoded ¶
func (m *ICefX509Certificate) GetDerEncoded() *ICefBinaryValue
func (*ICefX509Certificate) GetIssuer ¶
func (m *ICefX509Certificate) GetIssuer() *ICefX509CertPrincipal
func (*ICefX509Certificate) GetIssuerChainSize ¶
func (m *ICefX509Certificate) GetIssuerChainSize() uint32
func (*ICefX509Certificate) GetPEMEncodedIssuerChain ¶
func (m *ICefX509Certificate) GetPEMEncodedIssuerChain(chainCount uint32) *TCefBinaryValueArray
func (*ICefX509Certificate) GetPemEncoded ¶
func (m *ICefX509Certificate) GetPemEncoded() *ICefBinaryValue
func (*ICefX509Certificate) GetSerialNumber ¶
func (m *ICefX509Certificate) GetSerialNumber() *ICefBinaryValue
func (*ICefX509Certificate) GetSubject ¶
func (m *ICefX509Certificate) GetSubject() *ICefX509CertPrincipal
func (*ICefX509Certificate) GetValidExpiry ¶
func (m *ICefX509Certificate) GetValidExpiry() (result int64)
func (*ICefX509Certificate) GetValidExpiryAsDateTime ¶
func (m *ICefX509Certificate) GetValidExpiryAsDateTime() time.Time
func (*ICefX509Certificate) GetValidStart ¶
func (m *ICefX509Certificate) GetValidStart() (result int64)
func (*ICefX509Certificate) GetValidStartAsDateTime ¶
func (m *ICefX509Certificate) GetValidStartAsDateTime() time.Time
func (*ICefX509Certificate) IsValid ¶
func (m *ICefX509Certificate) IsValid() bool
type IChromium ¶
type IChromium interface { IChromiumProc IChromiumEvent }
IChromium 组件接口
func NewChromium ¶
func NewChromium(owner lcl.IComponent, config *tCefChromiumConfig) IChromium
NewChromium 创建一个新的 TCEFChromium
type IChromiumEvent ¶
type IChromiumEvent interface { lcl.IObject SetOnAfterCreated(fn chromiumEventOnAfterCreated) SetOnBeforeBrowser(fn chromiumEventOnBeforeBrowser) SetOnAddressChange(fn chromiumEventOnAddressChange) SetOnBeforeClose(fn chromiumEventOnBeforeClose) SetOnClose(fn chromiumEventOnClose) SetOnPdfPrintFinished(fn chromiumEventOnPdfPrintFinished) SetOnZoomPctAvailable(fn chromiumEventOnResultFloat) SetOnLoadStart(fn chromiumEventOnLoadStart) SetOnLoadingStateChange(fn chromiumEventOnLoadingStateChange) SetOnLoadingProgressChange(fn chromiumEventOnLoadingProgressChange) SetOnLoadError(fn chromiumEventOnLoadError) SetOnLoadEnd(fn chromiumEventOnLoadEnd) SetOnBeforeDownload(fn chromiumEventOnBeforeDownload) SetOnDownloadUpdated(fn chromiumEventOnDownloadUpdated) SetOnFullScreenModeChange(fn chromiumEventOnFullScreenModeChange) SetOnKeyEvent(fn chromiumEventOnKeyEvent) SetOnTitleChange(fn chromiumEventOnTitleChange) SetOnRenderCompMsg(fn chromiumEventOnCompMsg) SetOnWidgetCompMsg(fn chromiumEventOnCompMsg) SetOnBrowserCompMsg(fn chromiumEventOnCompMsg) SetOnRenderProcessTerminated(fn chromiumEventOnRenderProcessTerminated) SetOnRenderViewReady(fn chromiumEventOnRenderViewReady) SetOnScrollOffsetChanged(fn chromiumEventOnScrollOffsetChanged) SetOnProcessMessageReceived(fn BrowseProcessMessageReceived) SetOnFindResult(fn chromiumEventOnFindResult) SetOnBeforeResourceLoad(fn chromiumEventOnBeforeResourceLoad) SetOnResourceResponse(fn chromiumEventOnResourceResponse) SetOnResourceRedirect(fn chromiumEventOnResourceRedirect) SetOnResourceLoadComplete(fn chromiumEventOnResourceLoadComplete) SetOnCookieSet(fn chromiumEventOnCookieSet) SetOnCookiesDeleted(fn chromiumEventOnCookiesDeleted) SetOnCookiesFlushed(fn chromiumEventOnCookiesFlushed) SetOnCookiesVisited(fn chromiumEventOnCookiesVisited) SetOnCookieVisitorDestroyed(fn chromiumEventOnCookieVisitorDestroyed) SetOnBeforeContextMenu(fn chromiumEventOnBeforeContextMenu) SetOnContextMenuCommand(fn chromiumEventOnContextMenuCommand) SetOnContextMenuDismissed(fn chromiumEventOnContextMenuDismissed) SetOnFrameAttached(fn chromiumEventOnFrameAttached) SetOnFrameCreated(fn chromiumEventOnFrameCreated) SetOnFrameDetached(fn chromiumEventOnFrameDetached) SetOnMainFrameChanged(fn chromiumEventOnMainFrameChanged) SetOnBeforePopup(fn chromiumEventOnBeforePopup) SetOnOpenUrlFromTab(fn chromiumEventOnOpenUrlFromTab) SetOnDragEnter(fn chromiumEventOnDragEnter) SetOnDraggableRegionsChanged(fn chromiumEventOnDraggableRegionsChanged) SetOnGetAuthCredentials(fn chromiumEventOnGetAuthCredentials) SetOnAcceleratedPaint(fn chromiumEventOnAcceleratedPaint) SetOnAllConnectionsClosed(fn chromiumEventOnAllConnectionsClosed) SetOnAudioStreamError(fn chromiumEventOnAudioStreamError) SetOnAudioStreamPacket(fn chromiumEventOnAudioStreamPacket) SetOnAudioStreamStarted(fn chromiumEventOnAudioStreamStarted) SetOnAudioStreamStopped(fn chromiumEventOnAudioStreamStopped) SetOnAutoResize(fn chromiumEventOnAutoResize) SetOnBeforeUnloadDialog(fn chromiumEventOnBeforeUnloadDialog) SetOnCanDownload(fn chromiumEventOnCanDownload) SetOnCanSaveCookie(fn chromiumEventOnCanSaveCookie) SetOnCanSendCookie(fn chromiumEventOnCanSendCookie) SetOnCertificateError(fn chromiumEventOnCertificateError) SetOnCertificateExceptionsCleared(fn chromiumEventOnCertificateExceptionsCleared) SetOnChromeCommand(fn chromiumEventOnChromeCommand) SetOnConsoleMessage(fn chromiumEventOnConsoleMessage) SetOnCursorChange(fn chromiumEventOnCursorChange) SetOnDevToolsAgentAttached(fn chromiumEventOnDevToolsAgentAttached) SetOnDevToolsAgentDetached(fn chromiumEventOnDevToolsAgentDetached) SetOnDevToolsEvent(fn chromiumEventOnDevToolsEvent) SetOnDevToolsMessage(fn chromiumEventOnDevToolsMessage) SetOnDevToolsMethodRawResult(fn chromiumEventOnDevToolsMethodRawResult) SetOnDevToolsMethodResult(fn chromiumEventOnDevToolsMethodResult) SetOnDevToolsRawEvent(fn chromiumEventOnDevToolsRawEvent) SetOnDevToolsRawMessage(fn chromiumEventOnDevToolsRawMessage) SetOnDialogClosed(fn chromiumEventOnDialogClosed) SetOnDismissPermissionPrompt(fn chromiumEventOnDismissPermissionPrompt) SetOnDocumentAvailableInMainFrame(fn chromiumEventOnDocumentAvailableInMainFrame) SetOnDownloadImageFinished(fn chromiumEventOnDownloadImageFinished) SetOnExecuteTaskOnCefThread(fn chromiumEventOnExecuteTaskOnCefThread) SetOnExtensionBeforeBackgroundBrowser(fn chromiumEventOnExtensionBeforeBackgroundBrowser) SetOnExtensionBeforeBrowser(fn chromiumEventOnExtensionBeforeBrowser) SetOnExtensionCanAccessBrowser(fn chromiumEventOnExtensionCanAccessBrowser) SetOnExtensionGetActiveBrowser(fn chromiumEventOnExtensionGetActiveBrowser) SetOnExtensionGetExtensionResource(fn chromiumEventOnExtensionGetExtensionResource) SetOnExtensionLoaded(fn chromiumEventOnExtensionLoaded) SetOnExtensionLoadFailed(fn chromiumEventOnExtensionLoadFailed) SetOnExtensionUnloaded(fn chromiumEventOnExtensionUnloaded) SetOnFavIconUrlChange(fn chromiumEventOnFavIconUrlChange) SetOnFileDialog(fn chromiumEventOnFileDialog) SetOnGetAccessibilityHandler(fn chromiumEventOnGetAccessibilityHandler) SetOnGetAudioParameters(fn chromiumEventOnGetAudioParameters) SetOnGetResourceHandler(fn chromiumEventOnGetResourceHandler) SetOnGetResourceRequestHandlerReqCtxHdlr(fn chromiumEventOnGetResourceRequestHandlerReqCtxHdlr) SetOnGetResourceRequestHandlerReqHdlr(fn chromiumEventOnGetResourceRequestHandlerReqHdlr) SetOnGetResourceResponseFilter(fn chromiumEventOnGetResourceResponseFilter) SetOnGetRootScreenRect(fn chromiumEventOnGetRootScreenRect) SetOnGetScreenInfo(fn chromiumEventOnGetScreenInfo) SetOnGetScreenPoint(fn chromiumEventOnGetScreenPoint) SetOnGetTouchHandleSize(fn chromiumEventOnGetTouchHandleSize) SetOnGetViewRect(fn chromiumEventOnGetViewRect) SetOnGotFocus(fn chromiumEventOnGotFocus) SetOnHttpAuthCredentialsCleared(fn chromiumEventOnHttpAuthCredentialsCleared) SetOnIMECompositionRangeChanged(fn chromiumEventOnIMECompositionRangeChanged) SetOnJsDialog(fn chromiumEventOnJsDialog) SetOnMediaAccessChange(fn chromiumEventOnMediaAccessChange) SetOnMediaRouteCreateFinished(fn chromiumEventOnMediaRouteCreateFinished) SetOnMediaSinkDeviceInfo(fn chromiumEventOnMediaSinkDeviceInfo) SetOnPaint(fn chromiumEventOnPaint) SetOnPopupShow(fn chromiumEventOnPopupShow) SetOnPopupSize(fn chromiumEventOnPopupSize) SetOnPrefsAvailable(fn chromiumEventOnPrefsAvailable) SetOnPrefsUpdated(fn chromiumEventOnPrefsUpdated) SetOnPreKeyEvent(fn chromiumEventOnPreKeyEvent) SetOnProtocolExecution(fn chromiumEventOnProtocolExecution) SetOnQuickMenuCommand(fn chromiumEventOnQuickMenuCommand) SetOnQuickMenuDismissed(fn chromiumEventOnQuickMenuDismissed) SetOnRequestContextInitialized(fn chromiumEventOnRequestContextInitialized) SetOnRequestMediaAccessPermission(fn chromiumEventOnRequestMediaAccessPermission) SetOnResetDialogState(fn chromiumEventOnResetDialogState) SetOnResolvedHostAvailable(fn chromiumEventOnResolvedHostAvailable) SetOnRouteMessageReceived(fn chromiumEventOnRouteMessageReceived) SetOnRoutes(fn chromiumEventOnRoutes) SetOnRouteStateChanged(fn chromiumEventOnRouteStateChanged) SetOnRunContextMenu(fn chromiumEventOnRunContextMenu) SetOnRunQuickMenu(fn chromiumEventOnRunQuickMenu) SetOnSelectClientCertificate(fn chromiumEventOnSelectClientCertificate) SetOnSetFocus(fn chromiumEventOnSetFocus) SetOnShowPermissionPrompt(fn chromiumEventOnShowPermissionPrompt) SetOnSinks(fn chromiumEventOnSinks) SetOnStartDragging(fn chromiumEventOnStartDragging) SetOnStatusMessage(fn chromiumEventOnStatusMessage) SetOnTakeFocus(fn chromiumEventOnTakeFocus) SetOnTextResultAvailable(fn chromiumEventOnTextResultAvailable) SetOnTextSelectionChanged(fn chromiumEventOnTextSelectionChanged) SetOnTooltip(fn chromiumEventOnTooltip) SetOnTouchHandleStateChanged(fn chromiumEventOnTouchHandleStateChanged) SetOnUpdateDragCursor(fn chromiumEventOnUpdateDragCursor) SetOnVirtualKeyboardRequested(fn chromiumEventOnVirtualKeyboardRequested) }
IChromiumEvent Chromium 事件行为接口
type IChromiumProc ¶
type IChromiumProc interface { lcl.IObject Instance() uintptr ChromiumConfig() *tCefChromiumConfig Browser() *ICefBrowser BrowserById(id int32) *ICefBrowser BrowserIdByIndex(index int32) int32 BrowserCount() int32 BrowserId() int32 SetDefaultURL(defaultURL string) SetEnableMultiBrowserMode(enableMultiBrowserMode bool) LoadUrl(url string) LoadHtml(html string) StartDownload(url string) DownloadImage(imageUrl string, isFavicon bool, maxImageSize int32, bypassCache bool) Reload() ReloadIgnoreCache() StopLoad() ResetZoomLevel() CloseAllBrowsers() CreateBrowser(window ICEFWindowParent) bool CreateBrowserByBrowserViewComponent(homePage string, browserViewComponent *TCEFBrowserViewComponent) bool Initialized() bool IsSameBrowser(browser *ICefBrowser) bool PrintToPDF(saveFilePath string) Print() BrowserZoom(zoom ZOOM) GoBack() GoForward() NotifyMoveOrResizeStarted() CloseBrowser(forceClose bool) ExecuteJavaScript(code, scriptURL string, startLine int32) ShowDevTools(window ICEFWindowParent) CloseDevTools(window ICEFWindowParent) VisitAllCookies(id int32) VisitURLCookies(url string, includeHttpOnly bool, id int32) DeleteCookies(url, cookieName string, deleteImmediately bool) SetCookie(url, name, value, domain, path string, secure, httponly, hasExpires bool, creation, lastAccess, expires time.Time, sameSite TCefCookieSameSite, priority TCefCookiePriority, aSetImmediately bool, aID int32) SetProxy(cefProxy *TCefProxy) UpdatePreferences() ExecuteDevToolsMethod(messageId int32, method string, dictionaryValue *ICefDictionaryValue) //SendProcessMessage(targetProcess CefProcessId, processMessage *ICefProcessMessage) CefClient() *ICefClient SendProcessMessageForJSONBytes(name string, targetProcess CefProcessId, message argument.IList) CreateClientHandler(client *ICefClient, alsOSR bool) bool SetFocus(value bool) SendCaptureLostEvent() FrameIsFocused() bool TryCloseBrowser() bool BrowserHandle() types.HWND WidgetHandle() types.HWND RenderHandle() types.HWND SetCustomHeader(customHeader *TCustomHeader) CustomHeader() *TCustomHeader SetJavascriptEnabled(value bool) JavascriptEnabled() bool SetWebRTCIPHandlingPolicy(value TCefWebRTCHandlingPolicy) WebRTCIPHandlingPolicy() TCefWebRTCHandlingPolicy SetWebRTCMultipleRoutes(value TCefState) WebRTCMultipleRoutes() TCefState SetWebRTCNonproxiedUDP(value TCefState) WebRTCNonproxiedUDP() TCefState SetBatterySaverModeState(value TCefBatterySaverModeState) BatterySaverModeState() TCefBatterySaverModeState SetHighEfficiencyMode(value TCefState) HighEfficiencyMode() TCefState SetLoadImagesAutomatically(value bool) LoadImagesAutomatically() bool SetQuicAllowed(value bool) QuicAllowed() bool SetOffline(value bool) Offline() bool SetDefaultWindowInfoExStyle(exStyle types.DWORD) DefaultWindowInfoExStyle() types.DWORD SetBlock3rdPartyCookies(value bool) Block3rdPartyCookies() bool SetAcceptCookies(cp TCefCookiePref) AcceptCookies() TCefCookiePref SetAcceptLanguageList(languageList string) AcceptLanguageList() string SetPrintingEnabled(value bool) PrintingEnabled() bool SetYouTubeRestrict(value bool) YouTubeRestrict() bool SetSafeSearch(value bool) SafeSearch() bool SetAudioMuted(value bool) AudioMuted() bool SetDragOperations(value TCefDragOperations) DragOperations() TCefDragOperations FrameCount() uint32 SetSpellCheckerDicts(value string) SpellCheckerDicts() string SetSpellChecking(value bool) SpellChecking() bool SetAlwaysOpenPDFExternally(value bool) AlwaysOpenPDFExternally() bool SetAlwaysAuthorizePlugins(value bool) AlwaysAuthorizePlugins() bool SetAllowOutdatedPlugins(value bool) AllowOutdatedPlugins() bool SetSendReferrer(value bool) SendReferrer() bool SetDoNotTrack(value bool) DoNotTrack() bool SetZoomStep(value int8) ZoomStep() int8 SetZoomPct(value float64) ZoomPct() float64 SetZoomLevel(value float64) ZoomLevel() float64 SetDefaultEncoding(value string) DefaultEncoding() string }
IChromiumProc Chromium 功能函数接口
type ILCLBrowserWindow ¶
type ILCLBrowserWindow interface { IBrowserWindow BrowserWindow() *LCLBrowserWindow //返回 LCLBrowserWindow 窗口结构 EnableDefaultCloseEvent() //启用默认关闭事件 WindowParent() ICEFWindowParent //浏览器父窗口组件 DisableTransparent() //禁用窗口透明 EnableTransparent(value uint8) //用用并设置窗口透明 DisableSystemMenu() //禁用标题栏系统菜单 DisableHelp() //禁用标题栏帮助 EnableSystemMenu() //启用标题栏系统菜单 EnableHelp() //启用标题栏帮助 NewTray() ITray //创建LCL的系统托盘 }
ILCLBrowserWindow 浏览器 LCL 窗口组件接口 继承 IBrowserWindow
定义了LCL常用函数
type ITray ¶
type ITray interface { SetTitle(title string) //SetTitle 设置标题 Show() //Show 显示/启动 托盘 SetOnClick(fn TrayICONClick) //SetOnClick 单击事件 SetOnDblClick(fn TrayICONClick) //SetOnDblClick 双击事件 SetIconFS(iconResourcePath string) //SetIconFS 设置托盘图标 SetIcon(iconResourcePath string) //SetIcon 设置托盘图标 SetHint(value string) //SetHint 设置托盘hint(鼠标移动到托盘图标显示的文字) AsSysTray() *SysTray //AsSysTray 尝试转换为 SysTray 组件托盘,如果创建的是其它类型托盘返回nil AsViewsFrameTray() *ViewsFrameTray //AsViewsFrameTray 尝试转换为 views framework 组件托盘, 如果创建的是其它类型托盘返回nil AsCEFTray() *CEFTray //AsCEFTray 尝试转换为 LCL+CEF 组件托盘, 如果创建的是其它类型托盘返回nil AsLCLTray() *LCLTray //AsLCLTray 尝试转换为 LCL 组件托盘, 如果创建的是其它类型托盘返回nil Notice(title, content string, timeout int32) //Notice 托盘系统通知 // contains filtered or unexported methods }
ITray 托盘定义接口
实现4种系统托盘 1: LCLTray LCL组件, 2: CEFTray CEF基于LCL组件+html, 3: ViewsFrameTray VF(views framework)组件+html, 4: SysTray 系统原生
1. LCLTray 对Windows、MacOSX支持较好,linux由于gtk2与gtk3原因目前无法正常使用
2. CEFTray Windows
3. ViewsFrameTray Windows
4. SysTray 对Windows、MacOSX和Linux支持较好
type IViewsFrameworkBrowserWindow ¶
type IViewsFrameworkBrowserWindow interface { IBrowserWindow BrowserWindow() *ViewsFrameworkBrowserWindow //返回 ViewsFrameworkBrowserWindow 窗口结构 CreateTopLevelWindow() //创建窗口, 在窗口组件中需要默认调用Show函数 CenterWindow(size *TCefSize) //设置窗口居中,同时指定窗口大小 Component() lcl.IComponent //窗口父组件 WindowComponent() *TCEFWindowComponent //窗口组件 BrowserViewComponent() *TCEFBrowserViewComponent //窗口浏览器组件 SetOnWindowCreated(onWindowCreated WindowComponentOnWindowCreated) //设置窗口默认的创建回调事件函数 SetOnGetInitialBounds(onGetInitialBounds WindowComponentOnGetInitialBounds) //设置窗口初始bounds }
IViewsFrameworkBrowserWindow 浏览器 VF 窗口组件接口 继承 IBrowserWindow
定义了ViewsFramework常用函数
type KeyEventCallback ¶
type KeyEventCallback func(browse *ICefBrowser, event *TCefKeyEvent, result *bool)
type LCLBrowserWindow ¶
LCLBrowserWindow 基于CEF lcl 窗口组件
该窗口使用CEF和LCL组件实现,CEF<=1.106.xx版本 在windows、MacOSX可正常使用, Linux无法输入中文, CEF>=2.107.xx版本linux强制使用 ViewsFrameworkBrowserWindow 窗口组件
func NewLCLBrowserWindow ¶
func NewLCLBrowserWindow(config *tCefChromiumConfig, windowProperty WindowProperty, owner ...lcl.IComponent) *LCLBrowserWindow
NewLCLBrowserWindow 创建一个 LCL 带有 chromium 窗口
该窗口默认不具备默认事件处理能力, 通过 EnableDefaultEvent 函数注册事件处理
func NewLCLWindow ¶
func NewLCLWindow(windowProperty WindowProperty, owner ...lcl.IComponent) *LCLBrowserWindow
NewLCLWindow 创建一个LCL window窗口
func (*LCLBrowserWindow) AsLCLBrowserWindow ¶
func (m *LCLBrowserWindow) AsLCLBrowserWindow() ILCLBrowserWindow
AsLCLBrowserWindow 转换为LCL窗口组件,这里返回LCL窗口组件
func (*LCLBrowserWindow) AsViewsFrameworkBrowserWindow ¶
func (m *LCLBrowserWindow) AsViewsFrameworkBrowserWindow() IViewsFrameworkBrowserWindow
AsViewsFrameworkBrowserWindow 转换为VF窗口组件,这里返回nil
func (*LCLBrowserWindow) BrowserWindow ¶
func (m *LCLBrowserWindow) BrowserWindow() *LCLBrowserWindow
BrowserWindow 返回LCL窗口组件实例对象
func (*LCLBrowserWindow) Chromium ¶
func (m *LCLBrowserWindow) Chromium() IChromium
Chromium 返回 chromium
func (*LCLBrowserWindow) ChromiumCreate ¶
func (m *LCLBrowserWindow) ChromiumCreate(config *tCefChromiumConfig, defaultUrl string)
ChromiumCreate
创建window浏览器组件 不带有默认事件的chromium
func (*LCLBrowserWindow) CloseBrowserWindow ¶
func (m *LCLBrowserWindow) CloseBrowserWindow()
CloseBrowserWindow 关闭带有浏览器的窗口
func (*LCLBrowserWindow) DisableMaximize ¶
func (m *LCLBrowserWindow) DisableMaximize()
DisableMaximize 禁用最大化按钮
func (*LCLBrowserWindow) DisableMinimize ¶
func (m *LCLBrowserWindow) DisableMinimize()
DisableMinimize 禁用最小化按钮
func (*LCLBrowserWindow) DisableResize ¶
func (m *LCLBrowserWindow) DisableResize()
DisableResize 禁用调整窗口大小
func (*LCLBrowserWindow) DisableSystemMenu ¶
func (m *LCLBrowserWindow) DisableSystemMenu()
DisableSystemMenu 禁用系统菜单-同时禁用最小化,最大化,关闭按钮
func (*LCLBrowserWindow) DisableTransparent ¶
func (m *LCLBrowserWindow) DisableTransparent()
DisableTransparent 禁用口透明
func (*LCLBrowserWindow) EnableAllDefaultEvent ¶
func (m *LCLBrowserWindow) EnableAllDefaultEvent()
EnableAllDefaultEvent 启用所有默认事件行为
func (*LCLBrowserWindow) EnableDefaultCloseEvent ¶
func (m *LCLBrowserWindow) EnableDefaultCloseEvent()
EnableDefaultCloseEvent 启用默认关闭事件行为-该窗口将被关闭
func (*LCLBrowserWindow) EnableMaximize ¶
func (m *LCLBrowserWindow) EnableMaximize()
EnableMaximize 启用最大化按钮
func (*LCLBrowserWindow) EnableMinimize ¶
func (m *LCLBrowserWindow) EnableMinimize()
EnableMinimize 启用最小化按钮
func (*LCLBrowserWindow) EnableResize ¶
func (m *LCLBrowserWindow) EnableResize()
EnableResize 启用允许调整窗口大小
func (*LCLBrowserWindow) EnableSystemMenu ¶
func (m *LCLBrowserWindow) EnableSystemMenu()
EnableSystemMenu 启用系统菜单
func (*LCLBrowserWindow) EnableTransparent ¶
func (m *LCLBrowserWindow) EnableTransparent(value uint8)
EnableTransparent 使窗口透明 value 0 ~ 255
func (*LCLBrowserWindow) FormCreate ¶
func (m *LCLBrowserWindow) FormCreate()
FormCreate
创建窗口 不带有默认事件的窗口
func (*LCLBrowserWindow) IsClosing ¶
func (m *LCLBrowserWindow) IsClosing() bool
IsClosing 返回窗口是否正在关闭/或已关闭 true正在或已关闭
func (*LCLBrowserWindow) IsViewsFramework ¶
func (m *LCLBrowserWindow) IsViewsFramework() bool
IsViewsFramework 返回是否VF窗口组件,这里返回false
func (*LCLBrowserWindow) Maximize ¶
func (m *LCLBrowserWindow) Maximize()
for other platform maximize and restore
func (*LCLBrowserWindow) NewCefTray ¶
func (m *LCLBrowserWindow) NewCefTray(width, height int32, url string) ITray
NewCefTray LCL窗口组件 非windows系统不支持CefTray
func (*LCLBrowserWindow) NewSysTray ¶
func (m *LCLBrowserWindow) NewSysTray() ITray
NewSysTray LCL窗口组件,系统托盘
func (*LCLBrowserWindow) NewTray ¶
func (m *LCLBrowserWindow) NewTray() ITray
NewTray 适用于 windows linux macos 系统托盘
func (*LCLBrowserWindow) SetBounds ¶
func (m *LCLBrowserWindow) SetBounds(x, y, width, height int32)
SetBounds 设置窗口坐标和宽高
func (*LCLBrowserWindow) SetCenterWindow ¶
func (m *LCLBrowserWindow) SetCenterWindow(value bool)
SetCenterWindow 窗口居中
func (*LCLBrowserWindow) SetDefaultInTaskBar ¶
func (m *LCLBrowserWindow) SetDefaultInTaskBar()
SetDefaultInTaskBar 以默认的方式展示在任务栏上
func (*LCLBrowserWindow) SetHeight ¶
func (m *LCLBrowserWindow) SetHeight(value int32)
SetHeight 设置窗口高
func (*LCLBrowserWindow) SetNotInTaskBar ¶
func (m *LCLBrowserWindow) SetNotInTaskBar()
SetNotInTaskBar 不会展示在任务栏上
func (*LCLBrowserWindow) SetOnActivate ¶
func (m *LCLBrowserWindow) SetOnActivate(fn TNotifyEvent)
SetOnActivate 事件,不会覆盖默认事件,返回值:false继续执行默认事件, true跳过默认事件
func (*LCLBrowserWindow) SetOnActivateAfter ¶
func (m *LCLBrowserWindow) SetOnActivateAfter(fn lcl.TNotifyEvent)
SetOnActivateAfter 每次激活窗口之后执行一次
func (*LCLBrowserWindow) SetOnClose ¶
func (m *LCLBrowserWindow) SetOnClose(fn TCloseEvent)
SetOnClose 事件,不会覆盖默认事件,返回值:false继续执行默认事件, true跳过默认事件
func (*LCLBrowserWindow) SetOnCloseQuery ¶
func (m *LCLBrowserWindow) SetOnCloseQuery(fn TCloseQueryEvent)
SetOnCloseQuery 事件,不会覆盖默认事件,返回值:false继续执行默认事件, true跳过默认事件
func (*LCLBrowserWindow) SetOnResize ¶
func (m *LCLBrowserWindow) SetOnResize(fn TNotifyEvent)
SetOnResize 事件,不会覆盖默认事件,返回值:false继续执行默认事件, true跳过默认事件
func (*LCLBrowserWindow) SetOnShow ¶
func (m *LCLBrowserWindow) SetOnShow(fn TNotifyEvent)
SetOnShow 事件,不会覆盖默认事件,返回值:false继续执行默认事件, true跳过默认事件
func (*LCLBrowserWindow) SetShowInTaskBar ¶
func (m *LCLBrowserWindow) SetShowInTaskBar()
SetShowInTaskBar 展示在任务栏上
func (*LCLBrowserWindow) SetSize ¶
func (m *LCLBrowserWindow) SetSize(width, height int32)
SetSize 设置窗口宽高
func (*LCLBrowserWindow) SetTitle ¶
func (m *LCLBrowserWindow) SetTitle(title string)
SetTitle 设置窗口标题栏标题
func (*LCLBrowserWindow) SetWindowType ¶
func (m *LCLBrowserWindow) SetWindowType(windowType consts.WINDOW_TYPE)
SetWindowType 设置窗口类型
func (*LCLBrowserWindow) WindowParent ¶
func (m *LCLBrowserWindow) WindowParent() ICEFWindowParent
WindowParent
返回chromium的父组件对象,该对象不是window组件对象,属于window的一个子组件 在windows下它是 TCEFWindowParent, linux或macOSx下它是 TCEFLinkedWindowParent 通过函数可调整该组件的属性
func (*LCLBrowserWindow) WindowProperty ¶
func (m *LCLBrowserWindow) WindowProperty() *WindowProperty
WindowProperty 部分提供部分窗口属性设置
func (*LCLBrowserWindow) WindowState ¶
func (m *LCLBrowserWindow) WindowState() types.TWindowState
WindowState 返回窗口最小化、最大化、全屏状态
func (*LCLBrowserWindow) WindowType ¶
func (m *LCLBrowserWindow) WindowType() consts.WINDOW_TYPE
WindowType 返回窗口类型
type LCLTray ¶
type LCLTray struct {
// contains filtered or unexported fields
}
LCLTray LCL组件 托盘
func (*LCLTray) AddMenuItem ¶
func (m *LCLTray) AddMenuItem(caption string, onClick MenuItemClick) *lcl.TMenuItem
AddMenuItem 添加一个托盘菜单
func (*LCLTray) AsViewsFrameTray ¶
func (m *LCLTray) AsViewsFrameTray() *ViewsFrameTray
AsViewsFrameTray 尝试转换为 views framework 组件托盘, 如果创建的是其它类型托盘返回nil
func (*LCLTray) NewMenuItem ¶
func (m *LCLTray) NewMenuItem(caption string, onClick MenuItemClick) *lcl.TMenuItem
NewMenuItem 创建一个菜单,还未添加到托盘
func (*LCLTray) SetOnDblClick ¶
func (m *LCLTray) SetOnDblClick(fn TrayICONClick)
SetOnDblClick 设置双击事件
func (*LCLTray) SetOnMouseDown ¶
func (m *LCLTray) SetOnMouseDown(fn lcl.TMouseEvent)
SetOnMouseDown 鼠标按下事件
func (*LCLTray) SetOnMouseMove ¶
func (m *LCLTray) SetOnMouseMove(fn lcl.TMouseMoveEvent)
SetOnMouseMove 鼠标移动事件
func (*LCLTray) TrayMenu ¶
func (m *LCLTray) TrayMenu() *lcl.TPopupMenu
TrayMenu 创建并返回托盘根菜单 PopupMenu
type MenuItem ¶
type MenuItem struct { CommandId MenuId // >= 26500 and <= 28500 Accelerator string // 快捷键 shift ctrl alt【按键VK..】(shift+ctrl+alt+n) Text string //显示文本 Label string GroupId int32 //分组 配合 MenuType 使用 MenuType TCefContextMenuType Callback FuncCallback //点击 或 快捷键触发的回调 }
MenuItem 菜单项
type MenuItemClick ¶
type MenuItemClick func()
type OnPdfPrintFinished ¶
type RenderProcessMessageReceived ¶
type RenderProcessMessageReceived func(browser *ICefBrowser, frame *ICefFrame, sourceProcess consts.CefProcessId, message *ICefProcessMessage) bool
type ResultBool ¶
type ResultBool struct {
// contains filtered or unexported fields
}
ResultBool bool返回值
func (*ResultBool) SetValue ¶
func (m *ResultBool) SetValue(value bool)
func (*ResultBool) Value ¶
func (m *ResultBool) Value() bool
type ResultBytes ¶
type ResultBytes struct {
// contains filtered or unexported fields
}
ResultBytes []byte返回值
func (*ResultBytes) SetValue ¶
func (m *ResultBytes) SetValue(value []byte)
func (*ResultBytes) Value ¶
func (m *ResultBytes) Value() []byte
type ResultString ¶
type ResultString struct {
// contains filtered or unexported fields
}
ResultString 字符串返回值
func (*ResultString) SetValue ¶
func (m *ResultString) SetValue(value string)
func (*ResultString) Value ¶
func (m *ResultString) Value() string
type ResultV8Value ¶
type ResultV8Value struct {
// contains filtered or unexported fields
}
ResultV8Value 返回 ICefV8Value 的替代结构
func (*ResultV8Value) SetResult ¶
func (m *ResultV8Value) SetResult(v8value *ICefV8Value)
SetResult 设置 ICefV8Value 返回值
type SysMenu ¶
type SysMenu struct {
// contains filtered or unexported fields
}
SysMenu 系统菜单
func (*SysMenu) AddMenuItem ¶
func (m *SysMenu) AddMenuItem(label string, action MenuItemClick) *SysMenuItem
AddMenuItem 添加菜单项
type SysMenuItem ¶
type SysMenuItem struct {
// contains filtered or unexported fields
}
SysMenuItem 菜单项
func (*SysMenuItem) AddSubMenu ¶
func (m *SysMenuItem) AddSubMenu(label string, click ...MenuItemClick) *SysMenuItem
AddSubMenu 添加并创建子菜单,返回菜单项
func (*SysMenuItem) SetIcon ¶
func (m *SysMenuItem) SetIcon(iconResourcePath string)
SetIcon windows推荐使用ico图标, linux推荐使用png图标, macosx使用ico和png都可
func (*SysMenuItem) SetIconBytes ¶
func (m *SysMenuItem) SetIconBytes(v []byte)
SetIcon windows推荐使用ico图标, linux推荐使用png图标, macosx使用ico和png都可
func (*SysMenuItem) SetIconFS ¶
func (m *SysMenuItem) SetIconFS(iconResourcePath string)
SetIconFS windows推荐使用ico图标, linux推荐使用png图标, macosx使用ico和png都可
type SysTray ¶
type SysTray struct {
// contains filtered or unexported fields
}
SysTray 系统原生
func (*SysTray) AddMenuItem ¶
func (m *SysTray) AddMenuItem(label string, click ...MenuItemClick) *SysMenuItem
AddMenuItem 添加一个菜单项
func (*SysTray) AsViewsFrameTray ¶
func (m *SysTray) AsViewsFrameTray() *ViewsFrameTray
AsViewsFrameTray 尝试转换为 views framework 组件托盘, 如果创建的是其它类型托盘返回nil
func (*SysTray) CreateMenu ¶
func (m *SysTray) CreateMenu()
CreateMenu 创建托盘菜单, 如果托盘菜单是空, 把菜单项添加到托盘 该方法主动调用后 如果托盘菜单已创建则添加进去, 之后鼠标事件失效
仅MacOSX平台
func (*SysTray) NewMenuItem ¶
func (m *SysTray) NewMenuItem(label string, click ...MenuItemClick) *SysMenuItem
NewMenuItem 创建一个新菜单项
func (*SysTray) SetMenuNil ¶
func (m *SysTray) SetMenuNil()
SetMenuNil 托盘菜单设置为nil, 如果托盘菜单不是空, 把菜单项设置为nil 该方法主动调用后 将移除托盘菜单, 之后鼠标事件生效
仅MacOSX平台
func (*SysTray) SetOnDblClick ¶
func (m *SysTray) SetOnDblClick(fn TrayICONClick)
SetOnDblClick 鼠标双击事件
func (*SysTray) SetOnRClick ¶
SetOnRClick 鼠标右键
type TCEFApplication ¶
type TCEFApplication struct {
// contains filtered or unexported fields
}
TCEFApplication CEF应用对象
func NewApplication ¶
func NewApplication(disableRegisDefaultEvent ...bool) *TCEFApplication
NewApplication 创建CEF应用
参数: disableRegisDefaultEvent = true 时不会注册默认事件
func (*TCEFApplication) AcceptLanguageList ¶
func (m *TCEFApplication) AcceptLanguageList() string
func (*TCEFApplication) AddCrDelegate ¶
func (m *TCEFApplication) AddCrDelegate()
AddCrDelegate MacOSX Delegate
func (*TCEFApplication) AddCustomCommandLine ¶
func (m *TCEFApplication) AddCustomCommandLine(commandLine, value string)
func (*TCEFApplication) AllowFileAccessFromFiles ¶
func (m *TCEFApplication) AllowFileAccessFromFiles() bool
func (*TCEFApplication) AllowInsecureLocalhost ¶
func (m *TCEFApplication) AllowInsecureLocalhost() bool
func (*TCEFApplication) AllowRunningInsecureContent ¶
func (m *TCEFApplication) AllowRunningInsecureContent() bool
func (*TCEFApplication) AllowUniversalAccessFromFileUrls ¶
func (m *TCEFApplication) AllowUniversalAccessFromFileUrls() bool
func (*TCEFApplication) ApiHashCommit ¶
func (m *TCEFApplication) ApiHashCommit() string
func (*TCEFApplication) ApiHashPlatform ¶
func (m *TCEFApplication) ApiHashPlatform() string
func (*TCEFApplication) ApiHashUniversal ¶
func (m *TCEFApplication) ApiHashUniversal() string
func (*TCEFApplication) AutoplayPolicy ¶
func (m *TCEFApplication) AutoplayPolicy() TCefAutoplayPolicy
func (*TCEFApplication) AvailableSystemMemory ¶
func (m *TCEFApplication) AvailableSystemMemory() uint64
func (*TCEFApplication) BackgroundColor ¶
func (m *TCEFApplication) BackgroundColor() types.TCefColor
func (*TCEFApplication) BlinkSettings ¶
func (m *TCEFApplication) BlinkSettings() string
func (*TCEFApplication) BrowserSubprocessPath ¶
func (m *TCEFApplication) BrowserSubprocessPath() string
func (*TCEFApplication) Cache ¶
func (m *TCEFApplication) Cache() string
func (*TCEFApplication) CheckCEFFiles ¶
func (m *TCEFApplication) CheckCEFFiles() bool
func (*TCEFApplication) ChildProcessesCount ¶
func (m *TCEFApplication) ChildProcessesCount() int32
func (*TCEFApplication) ChromeBuild ¶
func (m *TCEFApplication) ChromeBuild() uint16
func (*TCEFApplication) ChromeElfPath ¶
func (m *TCEFApplication) ChromeElfPath() string
func (*TCEFApplication) ChromeMajorVer ¶
func (m *TCEFApplication) ChromeMajorVer() uint16
func (*TCEFApplication) ChromeMinorVer ¶
func (m *TCEFApplication) ChromeMinorVer() uint16
func (*TCEFApplication) ChromeRelease ¶
func (m *TCEFApplication) ChromeRelease() uint16
func (*TCEFApplication) ChromeRuntime ¶
func (m *TCEFApplication) ChromeRuntime() bool
func (*TCEFApplication) ChromeVersion ¶
func (m *TCEFApplication) ChromeVersion() string
func (*TCEFApplication) CommandLineArgsDisabled ¶
func (m *TCEFApplication) CommandLineArgsDisabled() bool
func (*TCEFApplication) CookieableSchemesExcludeDefaults ¶
func (m *TCEFApplication) CookieableSchemesExcludeDefaults() bool
func (*TCEFApplication) CookieableSchemesList ¶
func (m *TCEFApplication) CookieableSchemesList() string
func (*TCEFApplication) DefaultEncoding ¶
func (m *TCEFApplication) DefaultEncoding() string
func (*TCEFApplication) DeleteCache ¶
func (m *TCEFApplication) DeleteCache() bool
func (*TCEFApplication) DeleteCookies ¶
func (m *TCEFApplication) DeleteCookies() bool
func (*TCEFApplication) Destroy ¶
func (m *TCEFApplication) Destroy()
func (*TCEFApplication) DevToolsProtocolLogFile ¶
func (m *TCEFApplication) DevToolsProtocolLogFile() string
func (*TCEFApplication) DeviceScaleFactor ¶
func (m *TCEFApplication) DeviceScaleFactor() float32
func (*TCEFApplication) DisableBackForwardCache ¶
func (m *TCEFApplication) DisableBackForwardCache() bool
func (*TCEFApplication) DisableBackgroundNetworking ¶
func (m *TCEFApplication) DisableBackgroundNetworking() bool
func (*TCEFApplication) DisableBlinkFeatures ¶
func (m *TCEFApplication) DisableBlinkFeatures() string
func (*TCEFApplication) DisableChromeLoginPrompt ¶
func (m *TCEFApplication) DisableChromeLoginPrompt() bool
func (*TCEFApplication) DisableComponentUpdate ¶
func (m *TCEFApplication) DisableComponentUpdate() bool
func (*TCEFApplication) DisableExtensions ¶
func (m *TCEFApplication) DisableExtensions() bool
func (*TCEFApplication) DisableFeatures ¶
func (m *TCEFApplication) DisableFeatures() string
func (*TCEFApplication) DisableImageLoading ¶
func (m *TCEFApplication) DisableImageLoading() bool
func (*TCEFApplication) DisableJavascript ¶
func (m *TCEFApplication) DisableJavascript() bool
func (*TCEFApplication) DisableJavascriptAccessClipboard ¶
func (m *TCEFApplication) DisableJavascriptAccessClipboard() bool
func (*TCEFApplication) DisableJavascriptCloseWindows ¶
func (m *TCEFApplication) DisableJavascriptCloseWindows() bool
func (*TCEFApplication) DisableJavascriptDomPaste ¶
func (m *TCEFApplication) DisableJavascriptDomPaste() bool
func (*TCEFApplication) DisableNewBrowserInfoTimeout ¶
func (m *TCEFApplication) DisableNewBrowserInfoTimeout() bool
func (*TCEFApplication) DisablePDFExtension ¶
func (m *TCEFApplication) DisablePDFExtension() bool
func (*TCEFApplication) DisablePopupBlocking ¶
func (m *TCEFApplication) DisablePopupBlocking() bool
func (*TCEFApplication) DisableReadingFromCanvas ¶
func (m *TCEFApplication) DisableReadingFromCanvas() bool
func (*TCEFApplication) DisableRequestHandlingForTesting ¶
func (m *TCEFApplication) DisableRequestHandlingForTesting() bool
func (*TCEFApplication) DisableSafeBrowsing ¶
func (m *TCEFApplication) DisableSafeBrowsing() bool
func (*TCEFApplication) DisableSiteIsolationTrials ¶
func (m *TCEFApplication) DisableSiteIsolationTrials() bool
func (*TCEFApplication) DisableSpellChecking ¶
func (m *TCEFApplication) DisableSpellChecking() bool
func (*TCEFApplication) DisableTabToLinks ¶
func (m *TCEFApplication) DisableTabToLinks() bool
func (*TCEFApplication) DisableTextAreaResize ¶
func (m *TCEFApplication) DisableTextAreaResize() bool
func (*TCEFApplication) DisableWebSecurity ¶
func (m *TCEFApplication) DisableWebSecurity() bool
func (*TCEFApplication) DisableZygote ¶
func (m *TCEFApplication) DisableZygote() bool
func (*TCEFApplication) EnableBlinkFeatures ¶
func (m *TCEFApplication) EnableBlinkFeatures() string
func (*TCEFApplication) EnableFeatures ¶
func (m *TCEFApplication) EnableFeatures() string
func (*TCEFApplication) EnableGPU ¶
func (m *TCEFApplication) EnableGPU() bool
func (*TCEFApplication) EnableHighDPISupport ¶
func (m *TCEFApplication) EnableHighDPISupport() bool
func (*TCEFApplication) EnableMediaStream ¶
func (m *TCEFApplication) EnableMediaStream() bool
func (*TCEFApplication) EnablePrintPreview ¶
func (m *TCEFApplication) EnablePrintPreview() bool
func (*TCEFApplication) EnableProfanityFilter ¶
func (m *TCEFApplication) EnableProfanityFilter() bool
func (*TCEFApplication) EnableSpeechInput ¶
func (m *TCEFApplication) EnableSpeechInput() bool
func (*TCEFApplication) EnableUsermediaScreenCapturing ¶
func (m *TCEFApplication) EnableUsermediaScreenCapturing() bool
func (*TCEFApplication) ExternalMessagePump ¶
func (m *TCEFApplication) ExternalMessagePump() bool
func (*TCEFApplication) FastUnload ¶
func (m *TCEFApplication) FastUnload() bool
func (*TCEFApplication) ForceFieldTrialParams ¶
func (m *TCEFApplication) ForceFieldTrialParams() string
func (*TCEFApplication) ForceFieldTrials ¶
func (m *TCEFApplication) ForceFieldTrials() string
func (*TCEFApplication) ForcedDeviceScaleFactor ¶
func (m *TCEFApplication) ForcedDeviceScaleFactor() float32
func (*TCEFApplication) FrameworkDirPath ¶
func (m *TCEFApplication) FrameworkDirPath() string
func (*TCEFApplication) Free ¶
func (m *TCEFApplication) Free()
func (*TCEFApplication) GlobalContextInitialized ¶
func (m *TCEFApplication) GlobalContextInitialized() bool
func (*TCEFApplication) HyperlinkAuditing ¶
func (m *TCEFApplication) HyperlinkAuditing() bool
func (*TCEFApplication) IgnoreCertificateErrors ¶
func (m *TCEFApplication) IgnoreCertificateErrors() bool
func (*TCEFApplication) ImageShrinkStandaloneToFit ¶
func (m *TCEFApplication) ImageShrinkStandaloneToFit() bool
func (*TCEFApplication) JavaScriptFlags ¶
func (m *TCEFApplication) JavaScriptFlags() string
func (*TCEFApplication) KioskPrinting ¶
func (m *TCEFApplication) KioskPrinting() bool
func (*TCEFApplication) LastErrorMessage ¶
func (m *TCEFApplication) LastErrorMessage() string
func (*TCEFApplication) LibCefPath ¶
func (m *TCEFApplication) LibCefPath() string
func (*TCEFApplication) LibCefVersion ¶
func (m *TCEFApplication) LibCefVersion() string
func (*TCEFApplication) LibLoaded ¶
func (m *TCEFApplication) LibLoaded() bool
func (*TCEFApplication) Locale ¶
func (m *TCEFApplication) Locale() string
func (*TCEFApplication) LocalesDirPath ¶
func (m *TCEFApplication) LocalesDirPath() string
func (*TCEFApplication) LocalesRequired ¶
func (m *TCEFApplication) LocalesRequired() string
func (*TCEFApplication) LogFile ¶
func (m *TCEFApplication) LogFile() string
func (*TCEFApplication) LogProcessInfo ¶
func (m *TCEFApplication) LogProcessInfo() bool
func (*TCEFApplication) LogSeverity ¶
func (m *TCEFApplication) LogSeverity() LogSeverity
func (*TCEFApplication) MainBundlePath ¶
func (m *TCEFApplication) MainBundlePath() string
MainBundlePath 仅用于macOS
func (*TCEFApplication) MetricsRecordingOnly ¶
func (m *TCEFApplication) MetricsRecordingOnly() bool
func (*TCEFApplication) MissingBinariesException ¶
func (m *TCEFApplication) MissingBinariesException() bool
func (*TCEFApplication) MissingLibFiles ¶
func (m *TCEFApplication) MissingLibFiles() string
func (*TCEFApplication) MultiThreadedMessageLoop ¶
func (m *TCEFApplication) MultiThreadedMessageLoop() bool
func (*TCEFApplication) MustCreateBrowserProcessHandler ¶
func (m *TCEFApplication) MustCreateBrowserProcessHandler() bool
func (*TCEFApplication) MustCreateLoadHandler ¶
func (m *TCEFApplication) MustCreateLoadHandler() bool
func (*TCEFApplication) MustCreateRenderProcessHandler ¶
func (m *TCEFApplication) MustCreateRenderProcessHandler() bool
func (*TCEFApplication) MustCreateResourceBundleHandler ¶
func (m *TCEFApplication) MustCreateResourceBundleHandler() bool
func (*TCEFApplication) MustFreeLibrary ¶
func (m *TCEFApplication) MustFreeLibrary() bool
func (*TCEFApplication) MuteAudio ¶
func (m *TCEFApplication) MuteAudio() bool
func (*TCEFApplication) NetLogCaptureMode ¶
func (m *TCEFApplication) NetLogCaptureMode() TCefNetLogCaptureMode
func (*TCEFApplication) NetLogEnabled ¶
func (m *TCEFApplication) NetLogEnabled() bool
func (*TCEFApplication) NetLogFile ¶
func (m *TCEFApplication) NetLogFile() string
func (*TCEFApplication) NoSandbox ¶
func (m *TCEFApplication) NoSandbox() bool
func (*TCEFApplication) OverrideSpellCheckLang ¶
func (m *TCEFApplication) OverrideSpellCheckLang() string
func (*TCEFApplication) PackLoadingDisabled ¶
func (m *TCEFApplication) PackLoadingDisabled() bool
func (*TCEFApplication) PersistSessionCookies ¶
func (m *TCEFApplication) PersistSessionCookies() bool
func (*TCEFApplication) PersistUserPreferences ¶
func (m *TCEFApplication) PersistUserPreferences() bool
func (*TCEFApplication) ProcessType ¶
func (m *TCEFApplication) ProcessType() TCefProcessType
func (*TCEFApplication) ProcessTypeValue ¶
func (m *TCEFApplication) ProcessTypeValue() (processTypeValue TCefProcessTypeValue)
func (*TCEFApplication) QuitMessageLoop ¶
func (m *TCEFApplication) QuitMessageLoop()
QuitMessageLoop 退出消息轮询
func (*TCEFApplication) ReRaiseExceptions ¶
func (m *TCEFApplication) ReRaiseExceptions() bool
func (*TCEFApplication) RemoteDebuggingPort ¶
func (m *TCEFApplication) RemoteDebuggingPort() int32
func (*TCEFApplication) ResourcesDirPath ¶
func (m *TCEFApplication) ResourcesDirPath() string
func (*TCEFApplication) RootCache ¶
func (m *TCEFApplication) RootCache() string
func (*TCEFApplication) SetAcceptLanguageList ¶
func (m *TCEFApplication) SetAcceptLanguageList(value string)
func (*TCEFApplication) SetAllowFileAccessFromFiles ¶
func (m *TCEFApplication) SetAllowFileAccessFromFiles(value bool)
func (*TCEFApplication) SetAllowInsecureLocalhost ¶
func (m *TCEFApplication) SetAllowInsecureLocalhost(value bool)
func (*TCEFApplication) SetAllowRunningInsecureContent ¶
func (m *TCEFApplication) SetAllowRunningInsecureContent(value bool)
func (*TCEFApplication) SetAllowUniversalAccessFromFileUrls ¶
func (m *TCEFApplication) SetAllowUniversalAccessFromFileUrls(value bool)
func (*TCEFApplication) SetAutoplayPolicy ¶
func (m *TCEFApplication) SetAutoplayPolicy(value TCefAutoplayPolicy)
func (*TCEFApplication) SetBackgroundColor ¶
func (m *TCEFApplication) SetBackgroundColor(value types.TCefColor)
func (*TCEFApplication) SetBlinkSettings ¶
func (m *TCEFApplication) SetBlinkSettings(value string)
func (*TCEFApplication) SetBrowserSubprocessPath ¶
func (m *TCEFApplication) SetBrowserSubprocessPath(value string)
func (*TCEFApplication) SetCache ¶
func (m *TCEFApplication) SetCache(value string)
func (*TCEFApplication) SetCheckCEFFiles ¶
func (m *TCEFApplication) SetCheckCEFFiles(value bool)
func (*TCEFApplication) SetChromeRuntime ¶
func (m *TCEFApplication) SetChromeRuntime(value bool)
func (*TCEFApplication) SetCommandLineArgsDisabled ¶
func (m *TCEFApplication) SetCommandLineArgsDisabled(value bool)
SetCommandLineArgsDisabled 开启/禁用设置命令行参数
func (*TCEFApplication) SetCookieableSchemesExcludeDefaults ¶
func (m *TCEFApplication) SetCookieableSchemesExcludeDefaults(value bool)
func (*TCEFApplication) SetCookieableSchemesList ¶
func (m *TCEFApplication) SetCookieableSchemesList(value string)
func (*TCEFApplication) SetCurrentDir ¶
func (m *TCEFApplication) SetCurrentDir() bool
func (*TCEFApplication) SetDefaultEncoding ¶
func (m *TCEFApplication) SetDefaultEncoding(value string)
func (*TCEFApplication) SetDeleteCache ¶
func (m *TCEFApplication) SetDeleteCache(value bool)
func (*TCEFApplication) SetDeleteCookies ¶
func (m *TCEFApplication) SetDeleteCookies(value bool)
func (*TCEFApplication) SetDevToolsProtocolLogFile ¶
func (m *TCEFApplication) SetDevToolsProtocolLogFile(value string)
func (*TCEFApplication) SetDisableBackForwardCache ¶
func (m *TCEFApplication) SetDisableBackForwardCache(value bool)
func (*TCEFApplication) SetDisableBackgroundNetworking ¶
func (m *TCEFApplication) SetDisableBackgroundNetworking(value bool)
func (*TCEFApplication) SetDisableBlinkFeatures ¶
func (m *TCEFApplication) SetDisableBlinkFeatures(value string)
func (*TCEFApplication) SetDisableChromeLoginPrompt ¶
func (m *TCEFApplication) SetDisableChromeLoginPrompt(value bool)
func (*TCEFApplication) SetDisableComponentUpdate ¶
func (m *TCEFApplication) SetDisableComponentUpdate(value bool)
func (*TCEFApplication) SetDisableExtensions ¶
func (m *TCEFApplication) SetDisableExtensions(value bool)
func (*TCEFApplication) SetDisableFeatures ¶
func (m *TCEFApplication) SetDisableFeatures(value string)
func (*TCEFApplication) SetDisableImageLoading ¶
func (m *TCEFApplication) SetDisableImageLoading(value bool)
func (*TCEFApplication) SetDisableJavascript ¶
func (m *TCEFApplication) SetDisableJavascript(value bool)
func (*TCEFApplication) SetDisableJavascriptAccessClipboard ¶
func (m *TCEFApplication) SetDisableJavascriptAccessClipboard(value bool)
func (*TCEFApplication) SetDisableJavascriptCloseWindows ¶
func (m *TCEFApplication) SetDisableJavascriptCloseWindows(value bool)
func (*TCEFApplication) SetDisableJavascriptDomPaste ¶
func (m *TCEFApplication) SetDisableJavascriptDomPaste(value bool)
func (*TCEFApplication) SetDisableNewBrowserInfoTimeout ¶
func (m *TCEFApplication) SetDisableNewBrowserInfoTimeout(value bool)
func (*TCEFApplication) SetDisablePDFExtension ¶
func (m *TCEFApplication) SetDisablePDFExtension(value bool)
func (*TCEFApplication) SetDisablePopupBlocking ¶
func (m *TCEFApplication) SetDisablePopupBlocking(value bool)
func (*TCEFApplication) SetDisableReadingFromCanvas ¶
func (m *TCEFApplication) SetDisableReadingFromCanvas(value bool)
func (*TCEFApplication) SetDisableRequestHandlingForTesting ¶
func (m *TCEFApplication) SetDisableRequestHandlingForTesting(value bool)
func (*TCEFApplication) SetDisableSafeBrowsing ¶
func (m *TCEFApplication) SetDisableSafeBrowsing(value bool)
func (*TCEFApplication) SetDisableSiteIsolationTrials ¶
func (m *TCEFApplication) SetDisableSiteIsolationTrials(value bool)
func (*TCEFApplication) SetDisableSpellChecking ¶
func (m *TCEFApplication) SetDisableSpellChecking(value bool)
func (*TCEFApplication) SetDisableTabToLinks ¶
func (m *TCEFApplication) SetDisableTabToLinks(value bool)
func (*TCEFApplication) SetDisableTextAreaResize ¶
func (m *TCEFApplication) SetDisableTextAreaResize(value bool)
func (*TCEFApplication) SetDisableWebSecurity ¶
func (m *TCEFApplication) SetDisableWebSecurity(value bool)
func (*TCEFApplication) SetDisableZygote ¶
func (m *TCEFApplication) SetDisableZygote(value bool)
func (*TCEFApplication) SetEnableBlinkFeatures ¶
func (m *TCEFApplication) SetEnableBlinkFeatures(value string)
func (*TCEFApplication) SetEnableFeatures ¶
func (m *TCEFApplication) SetEnableFeatures(value string)
func (*TCEFApplication) SetEnableGPU ¶
func (m *TCEFApplication) SetEnableGPU(value bool)
func (*TCEFApplication) SetEnableHighDPISupport ¶
func (m *TCEFApplication) SetEnableHighDPISupport(value bool)
func (*TCEFApplication) SetEnableMediaStream ¶
func (m *TCEFApplication) SetEnableMediaStream(value bool)
func (*TCEFApplication) SetEnablePrintPreview ¶
func (m *TCEFApplication) SetEnablePrintPreview(value bool)
func (*TCEFApplication) SetEnableProfanityFilter ¶
func (m *TCEFApplication) SetEnableProfanityFilter(value bool)
func (*TCEFApplication) SetEnableSpeechInput ¶
func (m *TCEFApplication) SetEnableSpeechInput(value bool)
func (*TCEFApplication) SetEnableUsermediaScreenCapturing ¶
func (m *TCEFApplication) SetEnableUsermediaScreenCapturing(value bool)
func (*TCEFApplication) SetExternalMessagePump ¶
func (m *TCEFApplication) SetExternalMessagePump(value bool)
func (*TCEFApplication) SetFastUnload ¶
func (m *TCEFApplication) SetFastUnload(value bool)
func (*TCEFApplication) SetForceFieldTrialParams ¶
func (m *TCEFApplication) SetForceFieldTrialParams(value string)
func (*TCEFApplication) SetForceFieldTrials ¶
func (m *TCEFApplication) SetForceFieldTrials(value string)
func (*TCEFApplication) SetForcedDeviceScaleFactor ¶
func (m *TCEFApplication) SetForcedDeviceScaleFactor(value float32)
func (*TCEFApplication) SetFrameworkDirPath ¶
func (m *TCEFApplication) SetFrameworkDirPath(value string)
func (*TCEFApplication) SetHyperlinkAuditing ¶
func (m *TCEFApplication) SetHyperlinkAuditing(value bool)
func (*TCEFApplication) SetIgnoreCertificateErrors ¶
func (m *TCEFApplication) SetIgnoreCertificateErrors(value bool)
func (*TCEFApplication) SetImageShrinkStandaloneToFit ¶
func (m *TCEFApplication) SetImageShrinkStandaloneToFit(value bool)
func (*TCEFApplication) SetJavaScriptFlags ¶
func (m *TCEFApplication) SetJavaScriptFlags(value string)
func (*TCEFApplication) SetKioskPrinting ¶
func (m *TCEFApplication) SetKioskPrinting(value bool)
func (*TCEFApplication) SetLocale ¶
func (m *TCEFApplication) SetLocale(value LANGUAGE)
func (*TCEFApplication) SetLocalesDirPath ¶
func (m *TCEFApplication) SetLocalesDirPath(value string)
func (*TCEFApplication) SetLocalesRequired ¶
func (m *TCEFApplication) SetLocalesRequired(value string)
func (*TCEFApplication) SetLogFile ¶
func (m *TCEFApplication) SetLogFile(value string)
func (*TCEFApplication) SetLogProcessInfo ¶
func (m *TCEFApplication) SetLogProcessInfo(value bool)
func (*TCEFApplication) SetLogSeverity ¶
func (m *TCEFApplication) SetLogSeverity(value LogSeverity)
func (*TCEFApplication) SetMainBundlePath ¶
func (m *TCEFApplication) SetMainBundlePath(value string)
SetMainBundlePath 仅用于macOS
func (*TCEFApplication) SetMetricsRecordingOnly ¶
func (m *TCEFApplication) SetMetricsRecordingOnly(value bool)
func (*TCEFApplication) SetMissingBinariesException ¶
func (m *TCEFApplication) SetMissingBinariesException(value bool)
func (*TCEFApplication) SetMultiThreadedMessageLoop ¶
func (m *TCEFApplication) SetMultiThreadedMessageLoop(value bool)
func (*TCEFApplication) SetMustCreateBrowserProcessHandler ¶
func (m *TCEFApplication) SetMustCreateBrowserProcessHandler(value bool)
func (*TCEFApplication) SetMustCreateLoadHandler ¶
func (m *TCEFApplication) SetMustCreateLoadHandler(value bool)
func (*TCEFApplication) SetMustCreateRenderProcessHandler ¶
func (m *TCEFApplication) SetMustCreateRenderProcessHandler(value bool)
func (*TCEFApplication) SetMustCreateResourceBundleHandler ¶
func (m *TCEFApplication) SetMustCreateResourceBundleHandler(value bool)
func (*TCEFApplication) SetMustFreeLibrary ¶
func (m *TCEFApplication) SetMustFreeLibrary(value bool)
func (*TCEFApplication) SetMuteAudio ¶
func (m *TCEFApplication) SetMuteAudio(value bool)
func (*TCEFApplication) SetNetLogCaptureMode ¶
func (m *TCEFApplication) SetNetLogCaptureMode(value TCefNetLogCaptureMode)
func (*TCEFApplication) SetNetLogEnabled ¶
func (m *TCEFApplication) SetNetLogEnabled(value bool)
func (*TCEFApplication) SetNetLogFile ¶
func (m *TCEFApplication) SetNetLogFile(value string)
func (*TCEFApplication) SetNoSandbox ¶
func (m *TCEFApplication) SetNoSandbox(value bool)
func (*TCEFApplication) SetObjectRootName ¶
func (m *TCEFApplication) SetObjectRootName(name string)
SetObjectRootName
GO绑定JS对象类型所属对象名定义
func (*TCEFApplication) SetOnBeforeChildProcessLaunch ¶
func (m *TCEFApplication) SetOnBeforeChildProcessLaunch(fn GlobalCEFAppEventOnBeforeChildProcessLaunch)
启动子进程之前自定义命令行参数设置
func (*TCEFApplication) SetOnBrowserCreated ¶
func (m *TCEFApplication) SetOnBrowserCreated(fn GlobalCEFAppEventOnBrowserCreated)
func (*TCEFApplication) SetOnBrowserDestroyed ¶
func (m *TCEFApplication) SetOnBrowserDestroyed(fn GlobalCEFAppEventOnBrowserDestroyed)
func (*TCEFApplication) SetOnContextCreated ¶
func (m *TCEFApplication) SetOnContextCreated(fn GlobalCEFAppEventOnContextCreated)
func (*TCEFApplication) SetOnContextInitialized ¶
func (m *TCEFApplication) SetOnContextInitialized(fn GlobalCEFAppEventOnContextInitialized)
func (*TCEFApplication) SetOnContextReleased ¶
func (m *TCEFApplication) SetOnContextReleased(fn GlobalCEFAppEventOnContextReleased)
func (*TCEFApplication) SetOnFocusedNodeChanged ¶
func (m *TCEFApplication) SetOnFocusedNodeChanged(fn GlobalCEFAppEventOnFocusedNodeChanged)
func (*TCEFApplication) SetOnGetDataResource ¶
func (m *TCEFApplication) SetOnGetDataResource(fn GlobalCEFAppEventOnGetDataResource)
func (*TCEFApplication) SetOnGetDataResourceForScale ¶
func (m *TCEFApplication) SetOnGetDataResourceForScale(fn GlobalCEFAppEventOnGetDataResourceForScale)
func (*TCEFApplication) SetOnGetDefaultClient ¶
func (m *TCEFApplication) SetOnGetDefaultClient(fn GlobalCEFAppEventOnGetDefaultClient)
func (*TCEFApplication) SetOnGetLocalizedString ¶
func (m *TCEFApplication) SetOnGetLocalizedString(fn GlobalCEFAppEventOnGetLocalizedString)
func (*TCEFApplication) SetOnProcessMessageReceived ¶
func (m *TCEFApplication) SetOnProcessMessageReceived(fn RenderProcessMessageReceived)
进程间通信处理消息接收
func (*TCEFApplication) SetOnRegCustomSchemes ¶
func (m *TCEFApplication) SetOnRegCustomSchemes(fn GlobalCEFAppEventOnRegCustomSchemes)
func (*TCEFApplication) SetOnRegisterCustomPreferences ¶
func (m *TCEFApplication) SetOnRegisterCustomPreferences(fn GlobalCEFAppEventOnRegisterCustomPreferences)
TODO TCefPreferenceRegistrarRef
func (*TCEFApplication) SetOnRenderLoadEnd ¶
func (m *TCEFApplication) SetOnRenderLoadEnd(fn GlobalCEFAppEventOnRenderLoadEnd)
func (*TCEFApplication) SetOnRenderLoadError ¶
func (m *TCEFApplication) SetOnRenderLoadError(fn GlobalCEFAppEventOnRenderLoadError)
func (*TCEFApplication) SetOnRenderLoadStart ¶
func (m *TCEFApplication) SetOnRenderLoadStart(fn GlobalCEFAppEventOnRenderLoadStart)
func (*TCEFApplication) SetOnRenderLoadingStateChange ¶
func (m *TCEFApplication) SetOnRenderLoadingStateChange(fn GlobalCEFAppEventOnRenderLoadingStateChange)
func (*TCEFApplication) SetOnUncaughtException ¶
func (m *TCEFApplication) SetOnUncaughtException(fn GlobalCEFAppEventOnUncaughtException)
func (*TCEFApplication) SetOnWebKitInitialized ¶
func (m *TCEFApplication) SetOnWebKitInitialized(fn GlobalCEFAppEventOnWebKitInitialized)
func (*TCEFApplication) SetOverrideSpellCheckLang ¶
func (m *TCEFApplication) SetOverrideSpellCheckLang(value string)
func (*TCEFApplication) SetPackLoadingDisabled ¶
func (m *TCEFApplication) SetPackLoadingDisabled(value bool)
func (*TCEFApplication) SetPersistSessionCookies ¶
func (m *TCEFApplication) SetPersistSessionCookies(value bool)
func (*TCEFApplication) SetPersistUserPreferences ¶
func (m *TCEFApplication) SetPersistUserPreferences(value bool)
func (*TCEFApplication) SetReRaiseExceptions ¶
func (m *TCEFApplication) SetReRaiseExceptions(value bool)
func (*TCEFApplication) SetRemoteDebuggingPort ¶
func (m *TCEFApplication) SetRemoteDebuggingPort(value int32)
func (*TCEFApplication) SetResourcesDirPath ¶
func (m *TCEFApplication) SetResourcesDirPath(value string)
func (*TCEFApplication) SetRootCache ¶
func (m *TCEFApplication) SetRootCache(value string)
func (*TCEFApplication) SetSetCurrentDir ¶
func (m *TCEFApplication) SetSetCurrentDir(value bool)
func (*TCEFApplication) SetShowMessageDlg ¶
func (m *TCEFApplication) SetShowMessageDlg(value bool)
func (*TCEFApplication) SetSingleProcess ¶
func (m *TCEFApplication) SetSingleProcess(value bool)
func (*TCEFApplication) SetSitePerProcess ¶
func (m *TCEFApplication) SetSitePerProcess(value bool)
func (*TCEFApplication) SetSmoothScrolling ¶
func (m *TCEFApplication) SetSmoothScrolling(value TCefState)
func (*TCEFApplication) SetTouchEvents ¶
func (m *TCEFApplication) SetTouchEvents(value TCefState)
func (*TCEFApplication) SetTreatInsecureOriginAsSecure ¶
func (m *TCEFApplication) SetTreatInsecureOriginAsSecure(value string)
func (*TCEFApplication) SetUncaughtExceptionStackSize ¶
func (m *TCEFApplication) SetUncaughtExceptionStackSize(value int32)
func (*TCEFApplication) SetUseFakeUIForMediaStream ¶
func (m *TCEFApplication) SetUseFakeUIForMediaStream(value bool)
func (*TCEFApplication) SetUseMockKeyChain ¶
func (m *TCEFApplication) SetUseMockKeyChain(value bool)
func (*TCEFApplication) SetUserAgent ¶
func (m *TCEFApplication) SetUserAgent(value string)
func (*TCEFApplication) SetUserAgentProduct ¶
func (m *TCEFApplication) SetUserAgentProduct(value string)
func (*TCEFApplication) SetUserDataPath ¶
func (m *TCEFApplication) SetUserDataPath(value string)
func (*TCEFApplication) SetWindowlessRenderingEnabled ¶
func (m *TCEFApplication) SetWindowlessRenderingEnabled(value bool)
func (*TCEFApplication) ShowMessageDlg ¶
func (m *TCEFApplication) ShowMessageDlg() bool
func (*TCEFApplication) SingleProcess ¶
func (m *TCEFApplication) SingleProcess() bool
func (*TCEFApplication) SitePerProcess ¶
func (m *TCEFApplication) SitePerProcess() bool
func (*TCEFApplication) SmoothScrolling ¶
func (m *TCEFApplication) SmoothScrolling() TCefState
func (*TCEFApplication) StartMainProcess ¶
func (m *TCEFApplication) StartMainProcess() bool
StartMainProcess 启动主进程
func (*TCEFApplication) StartSubProcess ¶
func (m *TCEFApplication) StartSubProcess() (result bool)
StartSubProcess 启动子进程, 如果指定了子进程执行程序, 将执行指定的子进程程序
func (*TCEFApplication) Status ¶
func (m *TCEFApplication) Status() TCefApplicationStatus
func (*TCEFApplication) StopScheduler ¶
func (m *TCEFApplication) StopScheduler()
func (*TCEFApplication) SystemMemoryLoad ¶
func (m *TCEFApplication) SystemMemoryLoad() types.Cardinal
func (*TCEFApplication) TotalSystemMemory ¶
func (m *TCEFApplication) TotalSystemMemory() uint64
func (*TCEFApplication) TouchEvents ¶
func (m *TCEFApplication) TouchEvents() TCefState
func (*TCEFApplication) TreatInsecureOriginAsSecure ¶
func (m *TCEFApplication) TreatInsecureOriginAsSecure() string
func (*TCEFApplication) UncaughtExceptionStackSize ¶
func (m *TCEFApplication) UncaughtExceptionStackSize() int32
func (*TCEFApplication) UseFakeUIForMediaStream ¶
func (m *TCEFApplication) UseFakeUIForMediaStream() bool
func (*TCEFApplication) UseMockKeyChain ¶
func (m *TCEFApplication) UseMockKeyChain() bool
func (*TCEFApplication) UsedMemory ¶
func (m *TCEFApplication) UsedMemory() uint64
func (*TCEFApplication) UserAgent ¶
func (m *TCEFApplication) UserAgent() string
func (*TCEFApplication) UserAgentProduct ¶
func (m *TCEFApplication) UserAgentProduct() string
func (*TCEFApplication) UserDataPath ¶
func (m *TCEFApplication) UserDataPath() string
func (*TCEFApplication) WindowlessRenderingEnabled ¶
func (m *TCEFApplication) WindowlessRenderingEnabled() bool
type TCEFBrowserViewComponent ¶
type TCEFBrowserViewComponent struct { lcl.IComponent // contains filtered or unexported fields }
TCEFBrowserViewComponent
func NewBrowserViewComponent ¶
func NewBrowserViewComponent(AOwner lcl.IComponent) *TCEFBrowserViewComponent
NewBrowserViewComponent
func (*TCEFBrowserViewComponent) Browser ¶
func (m *TCEFBrowserViewComponent) Browser() *ICefBrowser
Browser
func (*TCEFBrowserViewComponent) CreateBrowserView ¶
func (m *TCEFBrowserViewComponent) CreateBrowserView(client *ICefClient, url string, requestContextSettings *TCefRequestContextSettings, browserSettings *TCefBrowserSettings, extraInfo *ICefDictionaryValue)
CreateBrowserView
func (*TCEFBrowserViewComponent) GetForBrowser ¶
func (m *TCEFBrowserViewComponent) GetForBrowser(browser *ICefBrowser)
GetForBrowser
func (*TCEFBrowserViewComponent) Instance ¶
func (m *TCEFBrowserViewComponent) Instance() uintptr
Instance
func (*TCEFBrowserViewComponent) RequestFocus ¶
func (m *TCEFBrowserViewComponent) RequestFocus()
RequestFocus
func (*TCEFBrowserViewComponent) SetOnBrowserCreated ¶
func (m *TCEFBrowserViewComponent) SetOnBrowserCreated(fn BrowserViewComponentOnBrowserCreated)
SetOnBrowserCreated
func (*TCEFBrowserViewComponent) SetOnBrowserDestroyed ¶
func (m *TCEFBrowserViewComponent) SetOnBrowserDestroyed(fn BrowserViewComponentOnBrowserDestroyed)
SetOnBrowserDestroyed
func (*TCEFBrowserViewComponent) SetOnGetChromeToolbarType ¶
func (m *TCEFBrowserViewComponent) SetOnGetChromeToolbarType(fn BrowserViewComponentOnGetChromeToolbarType)
SetOnGetChromeToolbarType
func (*TCEFBrowserViewComponent) SetOnGetDelegateForPopupBrowserView ¶
func (m *TCEFBrowserViewComponent) SetOnGetDelegateForPopupBrowserView(fn BrowserViewComponentOnGetDelegateForPopupBrowserView)
SetOnGetDelegateForPopupBrowserView
func (*TCEFBrowserViewComponent) SetOnPopupBrowserViewCreated ¶
func (m *TCEFBrowserViewComponent) SetOnPopupBrowserViewCreated(fn BrowserViewComponentOnPopupBrowserViewCreated)
SetOnPopupBrowserViewCreated
func (*TCEFBrowserViewComponent) SetPreferAccelerators ¶
func (m *TCEFBrowserViewComponent) SetPreferAccelerators(preferAccelerators bool)
SetPreferAccelerators
type TCEFChromium ¶
type TCEFChromium struct { *lcl.TComponent // contains filtered or unexported fields }
TCEFChromium 组件
func (*TCEFChromium) AcceptCookies ¶
func (m *TCEFChromium) AcceptCookies() TCefCookiePref
func (*TCEFChromium) AcceptLanguageList ¶
func (m *TCEFChromium) AcceptLanguageList() string
func (*TCEFChromium) AllowOutdatedPlugins ¶
func (m *TCEFChromium) AllowOutdatedPlugins() bool
func (*TCEFChromium) AlwaysAuthorizePlugins ¶
func (m *TCEFChromium) AlwaysAuthorizePlugins() bool
func (*TCEFChromium) AlwaysOpenPDFExternally ¶
func (m *TCEFChromium) AlwaysOpenPDFExternally() bool
func (*TCEFChromium) AudioMuted ¶
func (m *TCEFChromium) AudioMuted() bool
func (*TCEFChromium) BatterySaverModeState ¶
func (m *TCEFChromium) BatterySaverModeState() TCefBatterySaverModeState
func (*TCEFChromium) Block3rdPartyCookies ¶
func (m *TCEFChromium) Block3rdPartyCookies() bool
func (*TCEFChromium) Browser ¶
func (m *TCEFChromium) Browser() *ICefBrowser
func (*TCEFChromium) BrowserById ¶
func (m *TCEFChromium) BrowserById(id int32) *ICefBrowser
func (*TCEFChromium) BrowserCount ¶
func (m *TCEFChromium) BrowserCount() int32
func (*TCEFChromium) BrowserHandle ¶
func (m *TCEFChromium) BrowserHandle() types.HWND
func (*TCEFChromium) BrowserId ¶
func (m *TCEFChromium) BrowserId() int32
func (*TCEFChromium) BrowserIdByIndex ¶
func (m *TCEFChromium) BrowserIdByIndex(index int32) int32
func (*TCEFChromium) BrowserZoom ¶
func (m *TCEFChromium) BrowserZoom(zoom ZOOM)
func (*TCEFChromium) ChromiumConfig ¶
func (m *TCEFChromium) ChromiumConfig() *tCefChromiumConfig
func (*TCEFChromium) ClassName ¶
func (m *TCEFChromium) ClassName() string
func (*TCEFChromium) ClassType ¶
func (m *TCEFChromium) ClassType() types.TClass
func (*TCEFChromium) CloseAllBrowsers ¶
func (m *TCEFChromium) CloseAllBrowsers()
func (*TCEFChromium) CloseBrowser ¶
func (m *TCEFChromium) CloseBrowser(forceClose bool)
func (*TCEFChromium) CloseDevTools ¶
func (m *TCEFChromium) CloseDevTools(window ICEFWindowParent)
func (*TCEFChromium) CreateBrowser ¶
func (m *TCEFChromium) CreateBrowser(window ICEFWindowParent) bool
func (*TCEFChromium) CreateBrowserByBrowserViewComponent ¶
func (m *TCEFChromium) CreateBrowserByBrowserViewComponent(homePage string, browserViewComponent *TCEFBrowserViewComponent) bool
func (*TCEFChromium) CreateClientHandler ¶
func (m *TCEFChromium) CreateClientHandler(client *ICefClient, alsOSR bool) bool
func (*TCEFChromium) CustomHeader ¶
func (m *TCEFChromium) CustomHeader() *TCustomHeader
func (*TCEFChromium) DefaultEncoding ¶
func (m *TCEFChromium) DefaultEncoding() string
DefaultEncoding 获取默认编码
func (*TCEFChromium) DefaultWindowInfoExStyle ¶
func (m *TCEFChromium) DefaultWindowInfoExStyle() types.DWORD
func (*TCEFChromium) DeleteCookies ¶
func (m *TCEFChromium) DeleteCookies(url, cookieName string, deleteImmediately bool)
删除所有cookie
func (*TCEFChromium) DoNotTrack ¶
func (m *TCEFChromium) DoNotTrack() bool
func (*TCEFChromium) DownloadImage ¶
func (m *TCEFChromium) DownloadImage(imageUrl string, isFavicon bool, maxImageSize int32, bypassCache bool)
DownloadImage 开始下载图片
func (*TCEFChromium) DragOperations ¶
func (m *TCEFChromium) DragOperations() TCefDragOperations
func (*TCEFChromium) EmitRender ¶
func (m *TCEFChromium) EmitRender(messageId int32, eventName string, target target.ITarget, data ...any) bool
EmitRender IPC 发送进程 消息
messageId != 0 是带有回调函数消息
func (*TCEFChromium) ExecuteDevToolsMethod ¶
func (m *TCEFChromium) ExecuteDevToolsMethod(messageId int32, method string, dictionaryValue *ICefDictionaryValue)
func (*TCEFChromium) ExecuteJavaScript ¶
func (m *TCEFChromium) ExecuteJavaScript(code, scriptURL string, startLine int32)
ExecuteJavaScript 执行JS代码
code: js代码
scriptURL: js脚本地址 默认about:blank
startLine: js脚本启始执行行号
func (*TCEFChromium) FrameCount ¶
func (m *TCEFChromium) FrameCount() uint32
func (*TCEFChromium) FrameIsFocused ¶
func (m *TCEFChromium) FrameIsFocused() bool
func (*TCEFChromium) Free ¶
func (m *TCEFChromium) Free()
func (*TCEFChromium) GoBack ¶
func (m *TCEFChromium) GoBack()
func (*TCEFChromium) GoForward ¶
func (m *TCEFChromium) GoForward()
func (*TCEFChromium) HashCode ¶
func (m *TCEFChromium) HashCode() int32
func (*TCEFChromium) HighEfficiencyMode ¶
func (m *TCEFChromium) HighEfficiencyMode() TCefState
func (*TCEFChromium) InheritsFrom ¶
func (m *TCEFChromium) InheritsFrom(class types.TClass) bool
func (*TCEFChromium) Initialized ¶
func (m *TCEFChromium) Initialized() bool
func (*TCEFChromium) InstanceSize ¶
func (m *TCEFChromium) InstanceSize() int32
func (*TCEFChromium) IsSameBrowser ¶
func (m *TCEFChromium) IsSameBrowser(browser *ICefBrowser) bool
func (*TCEFChromium) JavascriptEnabled ¶
func (m *TCEFChromium) JavascriptEnabled() bool
func (*TCEFChromium) LoadImagesAutomatically ¶
func (m *TCEFChromium) LoadImagesAutomatically() bool
func (*TCEFChromium) NotifyMoveOrResizeStarted ¶
func (m *TCEFChromium) NotifyMoveOrResizeStarted()
func (*TCEFChromium) Offline ¶
func (m *TCEFChromium) Offline() bool
func (*TCEFChromium) Print ¶
func (m *TCEFChromium) Print()
func (*TCEFChromium) PrintToPDF ¶
func (m *TCEFChromium) PrintToPDF(saveFilePath string)
func (*TCEFChromium) PrintingEnabled ¶
func (m *TCEFChromium) PrintingEnabled() bool
func (*TCEFChromium) QuicAllowed ¶
func (m *TCEFChromium) QuicAllowed() bool
func (*TCEFChromium) Reload ¶
func (m *TCEFChromium) Reload()
func (*TCEFChromium) ReloadIgnoreCache ¶
func (m *TCEFChromium) ReloadIgnoreCache()
func (*TCEFChromium) RenderHandle ¶
func (m *TCEFChromium) RenderHandle() types.HWND
func (*TCEFChromium) ResetZoomLevel ¶
func (m *TCEFChromium) ResetZoomLevel()
func (*TCEFChromium) SafeSearch ¶
func (m *TCEFChromium) SafeSearch() bool
func (*TCEFChromium) SendCaptureLostEvent ¶
func (m *TCEFChromium) SendCaptureLostEvent()
func (*TCEFChromium) SendProcessMessage ¶
func (m *TCEFChromium) SendProcessMessage(targetProcess CefProcessId, message *ICefProcessMessage)
SendProcessMessage 发送进程消息
func (*TCEFChromium) SendProcessMessageForJSONBytes ¶
func (m *TCEFChromium) SendProcessMessageForJSONBytes(name string, targetProcess CefProcessId, message argument.IList)
SendProcessMessageForJSONBytes 发送进程消息
func (*TCEFChromium) SendProcessMessageForV8Value ¶
func (m *TCEFChromium) SendProcessMessageForV8Value(messageName string, targetProcess CefProcessId, arguments *ICefV8Value)
SendProcessMessageForV8Value 发送进程消息
func (*TCEFChromium) SendReferrer ¶
func (m *TCEFChromium) SendReferrer() bool
func (*TCEFChromium) SetAcceptCookies ¶
func (m *TCEFChromium) SetAcceptCookies(cp TCefCookiePref)
func (*TCEFChromium) SetAcceptLanguageList ¶
func (m *TCEFChromium) SetAcceptLanguageList(languageList string)
func (*TCEFChromium) SetAllowOutdatedPlugins ¶
func (m *TCEFChromium) SetAllowOutdatedPlugins(value bool)
func (*TCEFChromium) SetAlwaysAuthorizePlugins ¶
func (m *TCEFChromium) SetAlwaysAuthorizePlugins(value bool)
func (*TCEFChromium) SetAlwaysOpenPDFExternally ¶
func (m *TCEFChromium) SetAlwaysOpenPDFExternally(value bool)
func (*TCEFChromium) SetAudioMuted ¶
func (m *TCEFChromium) SetAudioMuted(value bool)
func (*TCEFChromium) SetBatterySaverModeState ¶
func (m *TCEFChromium) SetBatterySaverModeState(value TCefBatterySaverModeState)
func (*TCEFChromium) SetBlock3rdPartyCookies ¶
func (m *TCEFChromium) SetBlock3rdPartyCookies(value bool)
func (*TCEFChromium) SetCustomHeader ¶
func (m *TCEFChromium) SetCustomHeader(customHeader *TCustomHeader)
func (*TCEFChromium) SetDefaultEncoding ¶
func (m *TCEFChromium) SetDefaultEncoding(value string)
SetDefaultEncoding 设置默认编码
func (*TCEFChromium) SetDefaultURL ¶
func (m *TCEFChromium) SetDefaultURL(defaultURL string)
SetDefaultURL 设置默认地址
func (*TCEFChromium) SetDefaultWindowInfoExStyle ¶
func (m *TCEFChromium) SetDefaultWindowInfoExStyle(exStyle types.DWORD)
func (*TCEFChromium) SetDoNotTrack ¶
func (m *TCEFChromium) SetDoNotTrack(value bool)
func (*TCEFChromium) SetDragOperations ¶
func (m *TCEFChromium) SetDragOperations(value TCefDragOperations)
func (*TCEFChromium) SetEnableMultiBrowserMode ¶
func (m *TCEFChromium) SetEnableMultiBrowserMode(enableMultiBrowserMode bool)
SetEnableMultiBrowserMode 设置启用多浏览器模式
func (*TCEFChromium) SetFocus ¶
func (m *TCEFChromium) SetFocus(value bool)
func (*TCEFChromium) SetHighEfficiencyMode ¶
func (m *TCEFChromium) SetHighEfficiencyMode(value TCefState)
func (*TCEFChromium) SetJavascriptEnabled ¶
func (m *TCEFChromium) SetJavascriptEnabled(value bool)
func (*TCEFChromium) SetLoadImagesAutomatically ¶
func (m *TCEFChromium) SetLoadImagesAutomatically(value bool)
func (*TCEFChromium) SetOffline ¶
func (m *TCEFChromium) SetOffline(value bool)
func (*TCEFChromium) SetOnAcceleratedPaint ¶
func (m *TCEFChromium) SetOnAcceleratedPaint(fn chromiumEventOnAcceleratedPaint)
func (*TCEFChromium) SetOnAddressChange ¶
func (m *TCEFChromium) SetOnAddressChange(fn chromiumEventOnAddressChange)
func (*TCEFChromium) SetOnAfterCreated ¶
func (m *TCEFChromium) SetOnAfterCreated(fn chromiumEventOnAfterCreated)
func (*TCEFChromium) SetOnAllConnectionsClosed ¶
func (m *TCEFChromium) SetOnAllConnectionsClosed(fn chromiumEventOnAllConnectionsClosed)
func (*TCEFChromium) SetOnAudioStreamError ¶
func (m *TCEFChromium) SetOnAudioStreamError(fn chromiumEventOnAudioStreamError)
func (*TCEFChromium) SetOnAudioStreamPacket ¶
func (m *TCEFChromium) SetOnAudioStreamPacket(fn chromiumEventOnAudioStreamPacket)
func (*TCEFChromium) SetOnAudioStreamStarted ¶
func (m *TCEFChromium) SetOnAudioStreamStarted(fn chromiumEventOnAudioStreamStarted)
func (*TCEFChromium) SetOnAudioStreamStopped ¶
func (m *TCEFChromium) SetOnAudioStreamStopped(fn chromiumEventOnAudioStreamStopped)
func (*TCEFChromium) SetOnAutoResize ¶
func (m *TCEFChromium) SetOnAutoResize(fn chromiumEventOnAutoResize)
func (*TCEFChromium) SetOnBeforeBrowser ¶
func (m *TCEFChromium) SetOnBeforeBrowser(fn chromiumEventOnBeforeBrowser)
func (*TCEFChromium) SetOnBeforeClose ¶
func (m *TCEFChromium) SetOnBeforeClose(fn chromiumEventOnBeforeClose)
func (*TCEFChromium) SetOnBeforeContextMenu ¶
func (m *TCEFChromium) SetOnBeforeContextMenu(fn chromiumEventOnBeforeContextMenu)
func (*TCEFChromium) SetOnBeforeDownload ¶
func (m *TCEFChromium) SetOnBeforeDownload(fn chromiumEventOnBeforeDownload)
func (*TCEFChromium) SetOnBeforePopup ¶
func (m *TCEFChromium) SetOnBeforePopup(fn chromiumEventOnBeforePopup)
func (*TCEFChromium) SetOnBeforeResourceLoad ¶
func (m *TCEFChromium) SetOnBeforeResourceLoad(fn chromiumEventOnBeforeResourceLoad)
func (*TCEFChromium) SetOnBeforeUnloadDialog ¶
func (m *TCEFChromium) SetOnBeforeUnloadDialog(fn chromiumEventOnBeforeUnloadDialog)
func (*TCEFChromium) SetOnBrowserCompMsg ¶
func (m *TCEFChromium) SetOnBrowserCompMsg(fn chromiumEventOnCompMsg)
func (*TCEFChromium) SetOnCanDownload ¶
func (m *TCEFChromium) SetOnCanDownload(fn chromiumEventOnCanDownload)
func (*TCEFChromium) SetOnCanSaveCookie ¶
func (m *TCEFChromium) SetOnCanSaveCookie(fn chromiumEventOnCanSaveCookie)
func (*TCEFChromium) SetOnCanSendCookie ¶
func (m *TCEFChromium) SetOnCanSendCookie(fn chromiumEventOnCanSendCookie)
func (*TCEFChromium) SetOnCertificateError ¶
func (m *TCEFChromium) SetOnCertificateError(fn chromiumEventOnCertificateError)
func (*TCEFChromium) SetOnCertificateExceptionsCleared ¶
func (m *TCEFChromium) SetOnCertificateExceptionsCleared(fn chromiumEventOnCertificateExceptionsCleared)
func (*TCEFChromium) SetOnChromeCommand ¶
func (m *TCEFChromium) SetOnChromeCommand(fn chromiumEventOnChromeCommand)
func (*TCEFChromium) SetOnClose ¶
func (m *TCEFChromium) SetOnClose(fn chromiumEventOnClose)
func (*TCEFChromium) SetOnConsoleMessage ¶
func (m *TCEFChromium) SetOnConsoleMessage(fn chromiumEventOnConsoleMessage)
func (*TCEFChromium) SetOnContextMenuCommand ¶
func (m *TCEFChromium) SetOnContextMenuCommand(fn chromiumEventOnContextMenuCommand)
func (*TCEFChromium) SetOnContextMenuDismissed ¶
func (m *TCEFChromium) SetOnContextMenuDismissed(fn chromiumEventOnContextMenuDismissed)
func (*TCEFChromium) SetOnCookieSet ¶
func (m *TCEFChromium) SetOnCookieSet(fn chromiumEventOnCookieSet)
func (*TCEFChromium) SetOnCookieVisitorDestroyed ¶
func (m *TCEFChromium) SetOnCookieVisitorDestroyed(fn chromiumEventOnCookieVisitorDestroyed)
func (*TCEFChromium) SetOnCookiesDeleted ¶
func (m *TCEFChromium) SetOnCookiesDeleted(fn chromiumEventOnCookiesDeleted)
func (*TCEFChromium) SetOnCookiesFlushed ¶
func (m *TCEFChromium) SetOnCookiesFlushed(fn chromiumEventOnCookiesFlushed)
func (*TCEFChromium) SetOnCookiesVisited ¶
func (m *TCEFChromium) SetOnCookiesVisited(fn chromiumEventOnCookiesVisited)
func (*TCEFChromium) SetOnCursorChange ¶
func (m *TCEFChromium) SetOnCursorChange(fn chromiumEventOnCursorChange)
func (*TCEFChromium) SetOnDevToolsAgentAttached ¶
func (m *TCEFChromium) SetOnDevToolsAgentAttached(fn chromiumEventOnDevToolsAgentAttached)
func (*TCEFChromium) SetOnDevToolsAgentDetached ¶
func (m *TCEFChromium) SetOnDevToolsAgentDetached(fn chromiumEventOnDevToolsAgentDetached)
func (*TCEFChromium) SetOnDevToolsEvent ¶
func (m *TCEFChromium) SetOnDevToolsEvent(fn chromiumEventOnDevToolsEvent)
func (*TCEFChromium) SetOnDevToolsMessage ¶
func (m *TCEFChromium) SetOnDevToolsMessage(fn chromiumEventOnDevToolsMessage)
func (*TCEFChromium) SetOnDevToolsMethodRawResult ¶
func (m *TCEFChromium) SetOnDevToolsMethodRawResult(fn chromiumEventOnDevToolsMethodRawResult)
func (*TCEFChromium) SetOnDevToolsMethodResult ¶
func (m *TCEFChromium) SetOnDevToolsMethodResult(fn chromiumEventOnDevToolsMethodResult)
func (*TCEFChromium) SetOnDevToolsRawEvent ¶
func (m *TCEFChromium) SetOnDevToolsRawEvent(fn chromiumEventOnDevToolsRawEvent)
func (*TCEFChromium) SetOnDevToolsRawMessage ¶
func (m *TCEFChromium) SetOnDevToolsRawMessage(fn chromiumEventOnDevToolsRawMessage)
func (*TCEFChromium) SetOnDialogClosed ¶
func (m *TCEFChromium) SetOnDialogClosed(fn chromiumEventOnDialogClosed)
func (*TCEFChromium) SetOnDismissPermissionPrompt ¶
func (m *TCEFChromium) SetOnDismissPermissionPrompt(fn chromiumEventOnDismissPermissionPrompt)
func (*TCEFChromium) SetOnDocumentAvailableInMainFrame ¶
func (m *TCEFChromium) SetOnDocumentAvailableInMainFrame(fn chromiumEventOnDocumentAvailableInMainFrame)
func (*TCEFChromium) SetOnDownloadImageFinished ¶
func (m *TCEFChromium) SetOnDownloadImageFinished(fn chromiumEventOnDownloadImageFinished)
func (*TCEFChromium) SetOnDownloadUpdated ¶
func (m *TCEFChromium) SetOnDownloadUpdated(fn chromiumEventOnDownloadUpdated)
func (*TCEFChromium) SetOnDragEnter ¶
func (m *TCEFChromium) SetOnDragEnter(fn chromiumEventOnDragEnter)
func (*TCEFChromium) SetOnDraggableRegionsChanged ¶
func (m *TCEFChromium) SetOnDraggableRegionsChanged(fn chromiumEventOnDraggableRegionsChanged)
func (*TCEFChromium) SetOnExecuteTaskOnCefThread ¶
func (m *TCEFChromium) SetOnExecuteTaskOnCefThread(fn chromiumEventOnExecuteTaskOnCefThread)
func (*TCEFChromium) SetOnExtensionBeforeBackgroundBrowser ¶
func (m *TCEFChromium) SetOnExtensionBeforeBackgroundBrowser(fn chromiumEventOnExtensionBeforeBackgroundBrowser)
func (*TCEFChromium) SetOnExtensionBeforeBrowser ¶
func (m *TCEFChromium) SetOnExtensionBeforeBrowser(fn chromiumEventOnExtensionBeforeBrowser)
func (*TCEFChromium) SetOnExtensionCanAccessBrowser ¶
func (m *TCEFChromium) SetOnExtensionCanAccessBrowser(fn chromiumEventOnExtensionCanAccessBrowser)
func (*TCEFChromium) SetOnExtensionGetActiveBrowser ¶
func (m *TCEFChromium) SetOnExtensionGetActiveBrowser(fn chromiumEventOnExtensionGetActiveBrowser)
func (*TCEFChromium) SetOnExtensionGetExtensionResource ¶
func (m *TCEFChromium) SetOnExtensionGetExtensionResource(fn chromiumEventOnExtensionGetExtensionResource)
func (*TCEFChromium) SetOnExtensionLoadFailed ¶
func (m *TCEFChromium) SetOnExtensionLoadFailed(fn chromiumEventOnExtensionLoadFailed)
func (*TCEFChromium) SetOnExtensionLoaded ¶
func (m *TCEFChromium) SetOnExtensionLoaded(fn chromiumEventOnExtensionLoaded)
func (*TCEFChromium) SetOnExtensionUnloaded ¶
func (m *TCEFChromium) SetOnExtensionUnloaded(fn chromiumEventOnExtensionUnloaded)
func (*TCEFChromium) SetOnFavIconUrlChange ¶
func (m *TCEFChromium) SetOnFavIconUrlChange(fn chromiumEventOnFavIconUrlChange)
func (*TCEFChromium) SetOnFileDialog ¶
func (m *TCEFChromium) SetOnFileDialog(fn chromiumEventOnFileDialog)
func (*TCEFChromium) SetOnFindResult ¶
func (m *TCEFChromium) SetOnFindResult(fn chromiumEventOnFindResult)
func (*TCEFChromium) SetOnFrameAttached ¶
func (m *TCEFChromium) SetOnFrameAttached(fn chromiumEventOnFrameAttached)
func (*TCEFChromium) SetOnFrameCreated ¶
func (m *TCEFChromium) SetOnFrameCreated(fn chromiumEventOnFrameCreated)
func (*TCEFChromium) SetOnFrameDetached ¶
func (m *TCEFChromium) SetOnFrameDetached(fn chromiumEventOnFrameDetached)
func (*TCEFChromium) SetOnFullScreenModeChange ¶
func (m *TCEFChromium) SetOnFullScreenModeChange(fn chromiumEventOnFullScreenModeChange)
func (*TCEFChromium) SetOnGetAccessibilityHandler ¶
func (m *TCEFChromium) SetOnGetAccessibilityHandler(fn chromiumEventOnGetAccessibilityHandler)
func (*TCEFChromium) SetOnGetAudioParameters ¶
func (m *TCEFChromium) SetOnGetAudioParameters(fn chromiumEventOnGetAudioParameters)
func (*TCEFChromium) SetOnGetAuthCredentials ¶
func (m *TCEFChromium) SetOnGetAuthCredentials(fn chromiumEventOnGetAuthCredentials)
func (*TCEFChromium) SetOnGetResourceHandler ¶
func (m *TCEFChromium) SetOnGetResourceHandler(fn chromiumEventOnGetResourceHandler)
func (*TCEFChromium) SetOnGetResourceRequestHandlerReqCtxHdlr ¶
func (m *TCEFChromium) SetOnGetResourceRequestHandlerReqCtxHdlr(fn chromiumEventOnGetResourceRequestHandlerReqCtxHdlr)
func (*TCEFChromium) SetOnGetResourceRequestHandlerReqHdlr ¶
func (m *TCEFChromium) SetOnGetResourceRequestHandlerReqHdlr(fn chromiumEventOnGetResourceRequestHandlerReqHdlr)
func (*TCEFChromium) SetOnGetResourceResponseFilter ¶
func (m *TCEFChromium) SetOnGetResourceResponseFilter(fn chromiumEventOnGetResourceResponseFilter)
func (*TCEFChromium) SetOnGetRootScreenRect ¶
func (m *TCEFChromium) SetOnGetRootScreenRect(fn chromiumEventOnGetRootScreenRect)
func (*TCEFChromium) SetOnGetScreenInfo ¶
func (m *TCEFChromium) SetOnGetScreenInfo(fn chromiumEventOnGetScreenInfo)
func (*TCEFChromium) SetOnGetScreenPoint ¶
func (m *TCEFChromium) SetOnGetScreenPoint(fn chromiumEventOnGetScreenPoint)
func (*TCEFChromium) SetOnGetTouchHandleSize ¶
func (m *TCEFChromium) SetOnGetTouchHandleSize(fn chromiumEventOnGetTouchHandleSize)
func (*TCEFChromium) SetOnGetViewRect ¶
func (m *TCEFChromium) SetOnGetViewRect(fn chromiumEventOnGetViewRect)
func (*TCEFChromium) SetOnGotFocus ¶
func (m *TCEFChromium) SetOnGotFocus(fn chromiumEventOnGotFocus)
func (*TCEFChromium) SetOnHttpAuthCredentialsCleared ¶
func (m *TCEFChromium) SetOnHttpAuthCredentialsCleared(fn chromiumEventOnHttpAuthCredentialsCleared)
func (*TCEFChromium) SetOnIMECompositionRangeChanged ¶
func (m *TCEFChromium) SetOnIMECompositionRangeChanged(fn chromiumEventOnIMECompositionRangeChanged)
func (*TCEFChromium) SetOnJsDialog ¶
func (m *TCEFChromium) SetOnJsDialog(fn chromiumEventOnJsDialog)
func (*TCEFChromium) SetOnKeyEvent ¶
func (m *TCEFChromium) SetOnKeyEvent(fn chromiumEventOnKeyEvent)
func (*TCEFChromium) SetOnLoadEnd ¶
func (m *TCEFChromium) SetOnLoadEnd(fn chromiumEventOnLoadEnd)
func (*TCEFChromium) SetOnLoadError ¶
func (m *TCEFChromium) SetOnLoadError(fn chromiumEventOnLoadError)
func (*TCEFChromium) SetOnLoadStart ¶
func (m *TCEFChromium) SetOnLoadStart(fn chromiumEventOnLoadStart)
func (*TCEFChromium) SetOnLoadingProgressChange ¶
func (m *TCEFChromium) SetOnLoadingProgressChange(fn chromiumEventOnLoadingProgressChange)
func (*TCEFChromium) SetOnLoadingStateChange ¶
func (m *TCEFChromium) SetOnLoadingStateChange(fn chromiumEventOnLoadingStateChange)
func (*TCEFChromium) SetOnMainFrameChanged ¶
func (m *TCEFChromium) SetOnMainFrameChanged(fn chromiumEventOnMainFrameChanged)
func (*TCEFChromium) SetOnMediaAccessChange ¶
func (m *TCEFChromium) SetOnMediaAccessChange(fn chromiumEventOnMediaAccessChange)
func (*TCEFChromium) SetOnMediaRouteCreateFinished ¶
func (m *TCEFChromium) SetOnMediaRouteCreateFinished(fn chromiumEventOnMediaRouteCreateFinished)
func (*TCEFChromium) SetOnMediaSinkDeviceInfo ¶
func (m *TCEFChromium) SetOnMediaSinkDeviceInfo(fn chromiumEventOnMediaSinkDeviceInfo)
func (*TCEFChromium) SetOnNavigationVisitorResultAvailable ¶
func (m *TCEFChromium) SetOnNavigationVisitorResultAvailable(fn chromiumEventOnNavigationVisitorResultAvailable)
func (*TCEFChromium) SetOnOpenUrlFromTab ¶
func (m *TCEFChromium) SetOnOpenUrlFromTab(fn chromiumEventOnOpenUrlFromTab)
func (*TCEFChromium) SetOnPaint ¶
func (m *TCEFChromium) SetOnPaint(fn chromiumEventOnPaint)
func (*TCEFChromium) SetOnPdfPrintFinished ¶
func (m *TCEFChromium) SetOnPdfPrintFinished(fn chromiumEventOnPdfPrintFinished)
func (*TCEFChromium) SetOnPopupShow ¶
func (m *TCEFChromium) SetOnPopupShow(fn chromiumEventOnPopupShow)
func (*TCEFChromium) SetOnPopupSize ¶
func (m *TCEFChromium) SetOnPopupSize(fn chromiumEventOnPopupSize)
func (*TCEFChromium) SetOnPreKeyEvent ¶
func (m *TCEFChromium) SetOnPreKeyEvent(fn chromiumEventOnPreKeyEvent)
func (*TCEFChromium) SetOnPrefsAvailable ¶
func (m *TCEFChromium) SetOnPrefsAvailable(fn chromiumEventOnPrefsAvailable)
func (*TCEFChromium) SetOnPrefsUpdated ¶
func (m *TCEFChromium) SetOnPrefsUpdated(fn chromiumEventOnPrefsUpdated)
func (*TCEFChromium) SetOnProcessMessageReceived ¶
func (m *TCEFChromium) SetOnProcessMessageReceived(fn BrowseProcessMessageReceived)
func (*TCEFChromium) SetOnProtocolExecution ¶
func (m *TCEFChromium) SetOnProtocolExecution(fn chromiumEventOnProtocolExecution)
func (*TCEFChromium) SetOnQuickMenuCommand ¶
func (m *TCEFChromium) SetOnQuickMenuCommand(fn chromiumEventOnQuickMenuCommand)
func (*TCEFChromium) SetOnQuickMenuDismissed ¶
func (m *TCEFChromium) SetOnQuickMenuDismissed(fn chromiumEventOnQuickMenuDismissed)
func (*TCEFChromium) SetOnRenderCompMsg ¶
func (m *TCEFChromium) SetOnRenderCompMsg(fn chromiumEventOnCompMsg)
func (*TCEFChromium) SetOnRenderProcessTerminated ¶
func (m *TCEFChromium) SetOnRenderProcessTerminated(fn chromiumEventOnRenderProcessTerminated)
func (*TCEFChromium) SetOnRenderViewReady ¶
func (m *TCEFChromium) SetOnRenderViewReady(fn chromiumEventOnRenderViewReady)
func (*TCEFChromium) SetOnRequestContextInitialized ¶
func (m *TCEFChromium) SetOnRequestContextInitialized(fn chromiumEventOnRequestContextInitialized)
func (*TCEFChromium) SetOnRequestMediaAccessPermission ¶
func (m *TCEFChromium) SetOnRequestMediaAccessPermission(fn chromiumEventOnRequestMediaAccessPermission)
func (*TCEFChromium) SetOnResetDialogState ¶
func (m *TCEFChromium) SetOnResetDialogState(fn chromiumEventOnResetDialogState)
func (*TCEFChromium) SetOnResolvedHostAvailable ¶
func (m *TCEFChromium) SetOnResolvedHostAvailable(fn chromiumEventOnResolvedHostAvailable)
func (*TCEFChromium) SetOnResourceLoadComplete ¶
func (m *TCEFChromium) SetOnResourceLoadComplete(fn chromiumEventOnResourceLoadComplete)
func (*TCEFChromium) SetOnResourceRedirect ¶
func (m *TCEFChromium) SetOnResourceRedirect(fn chromiumEventOnResourceRedirect)
func (*TCEFChromium) SetOnResourceResponse ¶
func (m *TCEFChromium) SetOnResourceResponse(fn chromiumEventOnResourceResponse)
func (*TCEFChromium) SetOnRouteMessageReceived ¶
func (m *TCEFChromium) SetOnRouteMessageReceived(fn chromiumEventOnRouteMessageReceived)
func (*TCEFChromium) SetOnRouteStateChanged ¶
func (m *TCEFChromium) SetOnRouteStateChanged(fn chromiumEventOnRouteStateChanged)
func (*TCEFChromium) SetOnRoutes ¶
func (m *TCEFChromium) SetOnRoutes(fn chromiumEventOnRoutes)
func (*TCEFChromium) SetOnRunContextMenu ¶
func (m *TCEFChromium) SetOnRunContextMenu(fn chromiumEventOnRunContextMenu)
func (*TCEFChromium) SetOnRunQuickMenu ¶
func (m *TCEFChromium) SetOnRunQuickMenu(fn chromiumEventOnRunQuickMenu)
func (*TCEFChromium) SetOnScrollOffsetChanged ¶
func (m *TCEFChromium) SetOnScrollOffsetChanged(fn chromiumEventOnScrollOffsetChanged)
func (*TCEFChromium) SetOnSelectClientCertificate ¶
func (m *TCEFChromium) SetOnSelectClientCertificate(fn chromiumEventOnSelectClientCertificate)
func (*TCEFChromium) SetOnSetFocus ¶
func (m *TCEFChromium) SetOnSetFocus(fn chromiumEventOnSetFocus)
func (*TCEFChromium) SetOnShowPermissionPrompt ¶
func (m *TCEFChromium) SetOnShowPermissionPrompt(fn chromiumEventOnShowPermissionPrompt)
func (*TCEFChromium) SetOnSinks ¶
func (m *TCEFChromium) SetOnSinks(fn chromiumEventOnSinks)
func (*TCEFChromium) SetOnStartDragging ¶
func (m *TCEFChromium) SetOnStartDragging(fn chromiumEventOnStartDragging)
func (*TCEFChromium) SetOnStatusMessage ¶
func (m *TCEFChromium) SetOnStatusMessage(fn chromiumEventOnStatusMessage)
func (*TCEFChromium) SetOnTakeFocus ¶
func (m *TCEFChromium) SetOnTakeFocus(fn chromiumEventOnTakeFocus)
func (*TCEFChromium) SetOnTextResultAvailable ¶
func (m *TCEFChromium) SetOnTextResultAvailable(fn chromiumEventOnTextResultAvailable)
func (*TCEFChromium) SetOnTextSelectionChanged ¶
func (m *TCEFChromium) SetOnTextSelectionChanged(fn chromiumEventOnTextSelectionChanged)
func (*TCEFChromium) SetOnTitleChange ¶
func (m *TCEFChromium) SetOnTitleChange(fn chromiumEventOnTitleChange)
func (*TCEFChromium) SetOnTooltip ¶
func (m *TCEFChromium) SetOnTooltip(fn chromiumEventOnTooltip)
func (*TCEFChromium) SetOnTouchHandleStateChanged ¶
func (m *TCEFChromium) SetOnTouchHandleStateChanged(fn chromiumEventOnTouchHandleStateChanged)
func (*TCEFChromium) SetOnUpdateDragCursor ¶
func (m *TCEFChromium) SetOnUpdateDragCursor(fn chromiumEventOnUpdateDragCursor)
func (*TCEFChromium) SetOnVirtualKeyboardRequested ¶
func (m *TCEFChromium) SetOnVirtualKeyboardRequested(fn chromiumEventOnVirtualKeyboardRequested)
func (*TCEFChromium) SetOnWidgetCompMsg ¶
func (m *TCEFChromium) SetOnWidgetCompMsg(fn chromiumEventOnCompMsg)
func (*TCEFChromium) SetOnZoomPctAvailable ¶
func (m *TCEFChromium) SetOnZoomPctAvailable(fn chromiumEventOnResultFloat)
func (*TCEFChromium) SetPrintingEnabled ¶
func (m *TCEFChromium) SetPrintingEnabled(value bool)
func (*TCEFChromium) SetProxy ¶
func (m *TCEFChromium) SetProxy(cefProxy *TCefProxy)
func (*TCEFChromium) SetQuicAllowed ¶
func (m *TCEFChromium) SetQuicAllowed(value bool)
func (*TCEFChromium) SetSafeSearch ¶
func (m *TCEFChromium) SetSafeSearch(value bool)
func (*TCEFChromium) SetSendReferrer ¶
func (m *TCEFChromium) SetSendReferrer(value bool)
func (*TCEFChromium) SetSpellCheckerDicts ¶
func (m *TCEFChromium) SetSpellCheckerDicts(value string)
func (*TCEFChromium) SetSpellChecking ¶
func (m *TCEFChromium) SetSpellChecking(value bool)
func (*TCEFChromium) SetWebRTCIPHandlingPolicy ¶
func (m *TCEFChromium) SetWebRTCIPHandlingPolicy(value TCefWebRTCHandlingPolicy)
func (*TCEFChromium) SetWebRTCMultipleRoutes ¶
func (m *TCEFChromium) SetWebRTCMultipleRoutes(value TCefState)
func (*TCEFChromium) SetWebRTCNonproxiedUDP ¶
func (m *TCEFChromium) SetWebRTCNonproxiedUDP(value TCefState)
func (*TCEFChromium) SetYouTubeRestrict ¶
func (m *TCEFChromium) SetYouTubeRestrict(value bool)
func (*TCEFChromium) SetZoomLevel ¶
func (m *TCEFChromium) SetZoomLevel(value float64)
SetZoomLevel 设置缩放级别
func (*TCEFChromium) SetZoomPct ¶
func (m *TCEFChromium) SetZoomPct(value float64)
SetZoomPct 设置缩放百分比
func (*TCEFChromium) SetZoomStep ¶
func (m *TCEFChromium) SetZoomStep(value int8)
SetZoomStep 设置缩放步 0~255
func (*TCEFChromium) ShowDevTools ¶
func (m *TCEFChromium) ShowDevTools(window ICEFWindowParent)
func (*TCEFChromium) SpellCheckerDicts ¶
func (m *TCEFChromium) SpellCheckerDicts() string
func (*TCEFChromium) SpellChecking ¶
func (m *TCEFChromium) SpellChecking() bool
func (*TCEFChromium) StartDownload ¶
func (m *TCEFChromium) StartDownload(url string)
StartDownload 开始下载
func (*TCEFChromium) StopLoad ¶
func (m *TCEFChromium) StopLoad()
func (*TCEFChromium) ToString ¶
func (m *TCEFChromium) ToString() string
func (*TCEFChromium) TryCloseBrowser ¶
func (m *TCEFChromium) TryCloseBrowser() bool
func (*TCEFChromium) UnsafeAddr ¶
func (m *TCEFChromium) UnsafeAddr() unsafe.Pointer
UnsafeAddr 实例指针
func (*TCEFChromium) UpdatePreferences ¶
func (m *TCEFChromium) UpdatePreferences()
func (*TCEFChromium) VisitAllCookies ¶
func (m *TCEFChromium) VisitAllCookies(id int32)
查看所有cookie,该函数触发 OnCookiesVisited 事件返回结果
func (*TCEFChromium) VisitURLCookies ¶
func (m *TCEFChromium) VisitURLCookies(url string, includeHttpOnly bool, id int32)
查看指针URL cookie,该函数触发 OnCookiesVisited 事件返回结果 url https://www.demo.com
func (*TCEFChromium) WebRTCIPHandlingPolicy ¶
func (m *TCEFChromium) WebRTCIPHandlingPolicy() TCefWebRTCHandlingPolicy
func (*TCEFChromium) WebRTCMultipleRoutes ¶
func (m *TCEFChromium) WebRTCMultipleRoutes() TCefState
func (*TCEFChromium) WebRTCNonproxiedUDP ¶
func (m *TCEFChromium) WebRTCNonproxiedUDP() TCefState
func (*TCEFChromium) WidgetHandle ¶
func (m *TCEFChromium) WidgetHandle() types.HWND
func (*TCEFChromium) YouTubeRestrict ¶
func (m *TCEFChromium) YouTubeRestrict() bool
func (*TCEFChromium) ZoomLevel ¶
func (m *TCEFChromium) ZoomLevel() (result float64)
ZoomLevel 获取缩放级别
type TCEFChromiumBrowser ¶
type TCEFChromiumBrowser struct {
// contains filtered or unexported fields
}
TCEFChromiumBrowser
CEFChromium浏览器包装结构
func (*TCEFChromiumBrowser) Chromium ¶
func (m *TCEFChromiumBrowser) Chromium() IChromium
Chromium
返回 chromium
func (*TCEFChromiumBrowser) CreateBrowser ¶
func (m *TCEFChromiumBrowser) CreateBrowser()
CreateBrowser
创建浏览器 创建时如果未创建成功, 使用定时任务创建直到成功
func (*TCEFChromiumBrowser) IsCreated ¶
func (m *TCEFChromiumBrowser) IsCreated() bool
IsCreated
创建浏览器是否成功
func (*TCEFChromiumBrowser) WindowParent ¶
func (m *TCEFChromiumBrowser) WindowParent() ICEFWindowParent
WindowParent
返回 chromium window 组件
type TCEFLinkedWindowParent ¶
type TCEFLinkedWindowParent struct { BaseWinControl // contains filtered or unexported fields }
TCEFLinkedWindowParent 组件
func NewCEFLinkedWindowParent ¶
func NewCEFLinkedWindowParent(owner lcl.IComponent) *TCEFLinkedWindowParent
NewCEFLinkedWindowParent 创建一个新的WindowParent组件
func (*TCEFLinkedWindowParent) Align ¶
func (m *TCEFLinkedWindowParent) Align() types.TAlign
Align Align 获取控件自动调整
func (*TCEFLinkedWindowParent) Anchors ¶
func (m *TCEFLinkedWindowParent) Anchors() types.TAnchors
Anchors 获取四个角位置的锚点
func (*TCEFLinkedWindowParent) BoundsRect ¶
func (m *TCEFLinkedWindowParent) BoundsRect() (result types.TRect)
BoundsRect 获取矩形边界
func (*TCEFLinkedWindowParent) CreateHandle ¶
func (m *TCEFLinkedWindowParent) CreateHandle()
CreateHandle 创建句柄
func (*TCEFLinkedWindowParent) DefaultAnchors ¶
func (m *TCEFLinkedWindowParent) DefaultAnchors()
DefaultAnchors 恢复到默认四角锚点定位
func (*TCEFLinkedWindowParent) DestroyChildWindow ¶
func (m *TCEFLinkedWindowParent) DestroyChildWindow() bool
DestroyChildWindow 销毁子窗口
func (*TCEFLinkedWindowParent) Enabled ¶
func (m *TCEFLinkedWindowParent) Enabled() bool
Enabled 获取是否启用
func (*TCEFLinkedWindowParent) Handle ¶
func (m *TCEFLinkedWindowParent) Handle() types.HWND
Handle 组件句柄
func (*TCEFLinkedWindowParent) HandleAllocated ¶
func (m *TCEFLinkedWindowParent) HandleAllocated() bool
HandleAllocated 处理所有
func (*TCEFLinkedWindowParent) Instance ¶
func (m *TCEFLinkedWindowParent) Instance() uintptr
func (*TCEFLinkedWindowParent) RevertCustomAnchors ¶
func (m *TCEFLinkedWindowParent) RevertCustomAnchors()
RevertCustomAnchors 恢复到自定义四角锚点定位
func (*TCEFLinkedWindowParent) SetAlign ¶
func (m *TCEFLinkedWindowParent) SetAlign(value types.TAlign)
SetAlign 设置控件自动调整
func (*TCEFLinkedWindowParent) SetAnchors ¶
func (m *TCEFLinkedWindowParent) SetAnchors(value types.TAnchors)
SetAnchors 设置四个角位置的锚点
func (*TCEFLinkedWindowParent) SetBoundsRect ¶
func (m *TCEFLinkedWindowParent) SetBoundsRect(value types.TRect)
SetBoundsRect 设置矩形边界
func (*TCEFLinkedWindowParent) SetChromium ¶
func (m *TCEFLinkedWindowParent) SetChromium(chromium IChromium, tag int32)
SetChromium 设置 IChromium, 只 TCEFLinkedWindowParent 有效
func (*TCEFLinkedWindowParent) SetEnabled ¶
func (m *TCEFLinkedWindowParent) SetEnabled(value bool)
SetEnabled 设置是否启用
func (*TCEFLinkedWindowParent) SetHeight ¶
func (m *TCEFLinkedWindowParent) SetHeight(value int32)
SetHeight 设置高度
func (*TCEFLinkedWindowParent) SetLeft ¶
func (m *TCEFLinkedWindowParent) SetLeft(value int32)
SetLeft 设置左边距
func (*TCEFLinkedWindowParent) SetName ¶
func (m *TCEFLinkedWindowParent) SetName(value string)
SetName 设置组件名称
func (*TCEFLinkedWindowParent) SetOnEnter ¶
func (m *TCEFLinkedWindowParent) SetOnEnter(fn lcl.TNotifyEvent)
SetOnEnter 进入事件
func (*TCEFLinkedWindowParent) SetOnExit ¶
func (m *TCEFLinkedWindowParent) SetOnExit(fn lcl.TNotifyEvent)
SetOnExit 退出事件
func (*TCEFLinkedWindowParent) SetParent ¶
func (m *TCEFLinkedWindowParent) SetParent(value lcl.IWinControl)
SetParent 设置控件父容器
func (*TCEFLinkedWindowParent) SetTop ¶
func (m *TCEFLinkedWindowParent) SetTop(value int32)
SetTop 设置上边距
func (*TCEFLinkedWindowParent) SetVisible ¶
func (m *TCEFLinkedWindowParent) SetVisible(value bool)
SetVisible 设置控件可视
func (*TCEFLinkedWindowParent) SetWidth ¶
func (m *TCEFLinkedWindowParent) SetWidth(value int32)
SetWidth 设置宽度
func (*TCEFLinkedWindowParent) Type ¶
func (m *TCEFLinkedWindowParent) Type() consts.TCefWindowHandleType
Type 组件类型, 这里返回 TCEFLinkedWindowParent 类型
func (*TCEFLinkedWindowParent) UpdateSize ¶
func (m *TCEFLinkedWindowParent) UpdateSize()
UpdateSize 更新组件大小
func (*TCEFLinkedWindowParent) Visible ¶
func (m *TCEFLinkedWindowParent) Visible() bool
Visible 获取控件可视
type TCEFWindowComponent ¶
type TCEFWindowComponent struct { lcl.IComponent // contains filtered or unexported fields }
TCEFWindowComponent 窗口组件
func NewWindowComponent ¶
func NewWindowComponent(AOwner lcl.IComponent) *TCEFWindowComponent
NewWindowComponent 创建一个Window组件
func (*TCEFWindowComponent) AddChildView ¶
func (m *TCEFWindowComponent) AddChildView(browserViewComponent *TCEFBrowserViewComponent)
AddChildView 添加浏览器显示组件
func (*TCEFWindowComponent) Bounds ¶
func (m *TCEFWindowComponent) Bounds() (result *TCefRect)
SetBounds 获取窗口边界
func (*TCEFWindowComponent) BringToTop ¶
func (m *TCEFWindowComponent) BringToTop()
BringToTop 将窗口移至最上层
func (*TCEFWindowComponent) CenterWindow ¶
func (m *TCEFWindowComponent) CenterWindow(size *TCefSize)
CenterWindow 根据大小窗口居中
func (*TCEFWindowComponent) ClientAreaBoundsInScreen ¶
func (m *TCEFWindowComponent) ClientAreaBoundsInScreen() (result TCefRect)
ClientAreaBoundsInScreen 获取客户端所在指定屏幕位置
func (*TCEFWindowComponent) CreateTopLevelWindow ¶
func (m *TCEFWindowComponent) CreateTopLevelWindow()
CreateTopLevelWindow 创建顶层窗口
func (*TCEFWindowComponent) Deactivate ¶
func (m *TCEFWindowComponent) Deactivate()
Deactivate 停止激活窗口
func (*TCEFWindowComponent) IsAlwaysOnTop ¶
func (m *TCEFWindowComponent) IsAlwaysOnTop() bool
IsAlwaysOnTop 窗口是否置顶
func (*TCEFWindowComponent) IsFullscreen ¶
func (m *TCEFWindowComponent) IsFullscreen() bool
IsFullscreen 是否全屏
func (*TCEFWindowComponent) IsMaximized ¶
func (m *TCEFWindowComponent) IsMaximized() bool
IsMaximized 是否最大化
func (*TCEFWindowComponent) IsMinimized ¶
func (m *TCEFWindowComponent) IsMinimized() bool
IsMinimized 是否最小化
func (*TCEFWindowComponent) Position ¶
func (m *TCEFWindowComponent) Position() (result *TCefPoint)
Position 获取窗口位置
func (*TCEFWindowComponent) RemoveAccelerator ¶
func (m *TCEFWindowComponent) RemoveAccelerator(commandId int32)
RemoveAccelerator 移除指定快捷键
func (*TCEFWindowComponent) RemoveAllAccelerators ¶
func (m *TCEFWindowComponent) RemoveAllAccelerators()
RemoveAllAccelerators 移除所有快捷键
func (*TCEFWindowComponent) SendKeyPress ¶
func (m *TCEFWindowComponent) SendKeyPress(keyCode int32, eventFlags uint32)
SendKeyPress 发送键盘事件
func (*TCEFWindowComponent) SendMouseEvents ¶
func (m *TCEFWindowComponent) SendMouseEvents(button consts.TCefMouseButtonType, mouseDown, mouseUp bool)
SendMouseEvents 发送鼠标事件
func (*TCEFWindowComponent) SendMouseMove ¶
func (m *TCEFWindowComponent) SendMouseMove(screenX, screenY int32)
SendMouseMove 发送鼠标移动事件
func (*TCEFWindowComponent) SetAccelerator ¶
func (m *TCEFWindowComponent) SetAccelerator(commandId, keyCode int32, shiftPressed, ctrlPressed, altPressed bool)
SetAccelerator 设置快捷键
func (*TCEFWindowComponent) SetAlwaysOnTop ¶
func (m *TCEFWindowComponent) SetAlwaysOnTop(onTop bool)
SetAlwaysOnTop 设置窗口是否置顶
func (*TCEFWindowComponent) SetBackgroundColor ¶
func (m *TCEFWindowComponent) SetBackgroundColor(rect *types.TCefColor)
SetBackgroundColor 设置背景色
func (*TCEFWindowComponent) SetBounds ¶
func (m *TCEFWindowComponent) SetBounds(rect *TCefRect)
SetBounds 设置窗口边界
func (*TCEFWindowComponent) SetDraggableRegions ¶
func (m *TCEFWindowComponent) SetDraggableRegions(regions []TCefDraggableRegion)
SetDraggableRegions 设置拖拽区域
func (*TCEFWindowComponent) SetFullscreen ¶
func (m *TCEFWindowComponent) SetFullscreen(fullscreen bool)
SetFullscreen 设置窗口全屏
func (*TCEFWindowComponent) SetOnAccelerator ¶
func (m *TCEFWindowComponent) SetOnAccelerator(fn WindowComponentOnAccelerator)
SetOnAccelerator 设置快捷键回调事件
func (*TCEFWindowComponent) SetOnCanClose ¶
func (m *TCEFWindowComponent) SetOnCanClose(fn WindowComponentOnCanClose)
SetOnCanClose 设置窗口是否允许关闭回调事件
func (*TCEFWindowComponent) SetOnCanMaximize ¶
func (m *TCEFWindowComponent) SetOnCanMaximize(fn WindowComponentOnCanMaximize)
SetOnCanMaximize 设置窗口是否允许最大化回调事件
func (*TCEFWindowComponent) SetOnCanMinimize ¶
func (m *TCEFWindowComponent) SetOnCanMinimize(fn WindowComponentOnCanMinimize)
SetOnCanMinimize 设置窗口是否允许最小化回调事件
func (*TCEFWindowComponent) SetOnCanResize ¶
func (m *TCEFWindowComponent) SetOnCanResize(fn WindowComponentOnCanResize)
SetOnCanResize 设置窗口是否允许调整大小回调事件
func (*TCEFWindowComponent) SetOnGetInitialBounds ¶
func (m *TCEFWindowComponent) SetOnGetInitialBounds(fn WindowComponentOnGetInitialBounds)
SetOnGetInitialBounds 窗口初始窗口边界回调事件
func (*TCEFWindowComponent) SetOnGetInitialShowState ¶
func (m *TCEFWindowComponent) SetOnGetInitialShowState(fn WindowComponentOnGetInitialShowState)
SetOnGetInitialShowState 窗口初始显示状态回调事件
func (*TCEFWindowComponent) SetOnGetParentWindow ¶
func (m *TCEFWindowComponent) SetOnGetParentWindow(fn WindowComponentOnGetParentWindow)
SetOnGetParentWindow 获取父组件回调事件
func (*TCEFWindowComponent) SetOnIsFrameless ¶
func (m *TCEFWindowComponent) SetOnIsFrameless(fn WindowComponentOnIsFrameless)
SetOnIsFrameless 窗口无边框回调事件
func (*TCEFWindowComponent) SetOnKeyEvent ¶
func (m *TCEFWindowComponent) SetOnKeyEvent(fn WindowComponentOnKeyEvent)
SetOnKeyEvent 设置键盘事件回调事件
func (*TCEFWindowComponent) SetOnWindowActivationChanged ¶
func (m *TCEFWindowComponent) SetOnWindowActivationChanged(fn WindowComponentOnWindowActivationChanged)
SetOnWindowActivationChanged 窗口激活改变回调事件
func (*TCEFWindowComponent) SetOnWindowCreated ¶
func (m *TCEFWindowComponent) SetOnWindowCreated(fn WindowComponentOnWindowCreated)
SetOnWindowCreated 窗口创建回调事件
func (*TCEFWindowComponent) SetOnWindowDestroyed ¶
func (m *TCEFWindowComponent) SetOnWindowDestroyed(fn WindowComponentOnWindowDestroyed)
SetOnWindowDestroyed 窗口销毁回调事件
func (*TCEFWindowComponent) SetPosition ¶
func (m *TCEFWindowComponent) SetPosition(point *TCefPoint)
SetPosition 设置窗口位置
func (*TCEFWindowComponent) SetSize ¶
func (m *TCEFWindowComponent) SetSize(size *TCefSize)
SetSize 设置窗口宽高
func (*TCEFWindowComponent) SetTitle ¶
func (m *TCEFWindowComponent) SetTitle(title string)
SetTitle 设置窗口标题
func (*TCEFWindowComponent) SetWindowAppIcon ¶
func (m *TCEFWindowComponent) SetWindowAppIcon(icon *ICefImage)
func (*TCEFWindowComponent) SetWindowAppIconByFSFile ¶
func (m *TCEFWindowComponent) SetWindowAppIconByFSFile(scaleFactor float32, filename string) error
SetWindowAppIconByFSFile 设置窗口应用图标
func (*TCEFWindowComponent) SetWindowAppIconByFile ¶
func (m *TCEFWindowComponent) SetWindowAppIconByFile(scaleFactor float32, filename string) error
SetWindowAppIconByFile 设置窗口应用图标
func (*TCEFWindowComponent) SetWindowIcon ¶
func (m *TCEFWindowComponent) SetWindowIcon(icon *ICefImage)
func (*TCEFWindowComponent) SetWindowIconByFSFile ¶
func (m *TCEFWindowComponent) SetWindowIconByFSFile(scaleFactor float32, filename string) error
SetWindowIconByFSFile 设置窗口图标
func (*TCEFWindowComponent) SetWindowIconByFile ¶
func (m *TCEFWindowComponent) SetWindowIconByFile(scaleFactor float32, filename string) error
SetWindowIconByFile 设置窗口图标
func (*TCEFWindowComponent) ShowMenu ¶
func (m *TCEFWindowComponent) ShowMenu(menuModel *ICefMenuModel, point TCefPoint, anchorPosition consts.TCefMenuAnchorPosition)
ShowMenu 显示菜单
func (*TCEFWindowComponent) Size ¶
func (m *TCEFWindowComponent) Size() (result *TCefSize)
SetSize 获取窗口宽高
func (*TCEFWindowComponent) WindowAppIcon ¶
func (m *TCEFWindowComponent) WindowAppIcon() *ICefImage
WindowAppIcon 获取窗口应用图标
func (*TCEFWindowComponent) WindowHandle ¶
func (m *TCEFWindowComponent) WindowHandle() consts.TCefWindowHandle
WindowHandle 获取窗口句柄
func (*TCEFWindowComponent) WindowIcon ¶
func (m *TCEFWindowComponent) WindowIcon() *ICefImage
WindowIcon 获取窗口图标
type TCEFWindowParent ¶
type TCEFWindowParent struct { BaseWinControl // contains filtered or unexported fields }
TCEFWindowParent 组件
func NewCEFWindowParent ¶
func NewCEFWindowParent(owner lcl.IComponent) *TCEFWindowParent
NewCEFWindowParent 创建一个新的WindowParent组件
func (*TCEFWindowParent) Anchors ¶
func (m *TCEFWindowParent) Anchors() types.TAnchors
Anchors 获取四个角位置的锚点
func (*TCEFWindowParent) BoundsRect ¶
func (m *TCEFWindowParent) BoundsRect() (result types.TRect)
BoundsRect 获取坐标位置和宽高
func (*TCEFWindowParent) DefaultAnchors ¶
func (m *TCEFWindowParent) DefaultAnchors()
DefaultAnchors 恢复到默认四角锚点定位
func (*TCEFWindowParent) DestroyChildWindow ¶
func (m *TCEFWindowParent) DestroyChildWindow() bool
DestroyChildWindow 销毁子窗口
func (*TCEFWindowParent) HandleAllocated ¶
func (m *TCEFWindowParent) HandleAllocated() bool
HandleAllocated 处理所有
func (*TCEFWindowParent) Instance ¶
func (m *TCEFWindowParent) Instance() uintptr
func (*TCEFWindowParent) RevertCustomAnchors ¶
func (m *TCEFWindowParent) RevertCustomAnchors()
RevertCustomAnchors 恢复到自定义四角锚点定位
func (*TCEFWindowParent) SetAlign ¶
func (m *TCEFWindowParent) SetAlign(value types.TAlign)
SetAlign 设置控件自动调整
func (*TCEFWindowParent) SetAnchors ¶
func (m *TCEFWindowParent) SetAnchors(value types.TAnchors)
SetAnchors 设置四个角位置的锚点
func (*TCEFWindowParent) SetBoundsRect ¶
func (m *TCEFWindowParent) SetBoundsRect(value types.TRect)
SetBoundsRect 设置坐标位置和宽高
func (*TCEFWindowParent) SetChromium ¶
func (m *TCEFWindowParent) SetChromium(chromium IChromium, tag int32)
SetChromium 设置 IChromium, 只 TCEFLinkedWindowParent 有效
func (*TCEFWindowParent) SetEnabled ¶
func (m *TCEFWindowParent) SetEnabled(value bool)
SetEnabled 设置是否启用
func (*TCEFWindowParent) SetHeight ¶
func (m *TCEFWindowParent) SetHeight(value int32)
SetHeight 设置高度
func (*TCEFWindowParent) SetOnEnter ¶
func (m *TCEFWindowParent) SetOnEnter(fn lcl.TNotifyEvent)
SetOnEnter 进入事件
func (*TCEFWindowParent) SetOnExit ¶
func (m *TCEFWindowParent) SetOnExit(fn lcl.TNotifyEvent)
SetOnExit 退出事件
func (*TCEFWindowParent) SetParent ¶
func (m *TCEFWindowParent) SetParent(value lcl.IWinControl)
SetParent 设置控件父容器
func (*TCEFWindowParent) SetVisible ¶
func (m *TCEFWindowParent) SetVisible(value bool)
SetVisible 设置控件可视
func (*TCEFWindowParent) Type ¶
func (m *TCEFWindowParent) Type() consts.TCefWindowHandleType
Type 组件类型, 这里返回 TCEFWindowParent 类型
type TCefAudioParameters ¶
type TCefAudioParameters struct {
// contains filtered or unexported fields
}
TCefAudioParameters /include/internal/cef_types.h (cef_audio_parameters_t)
type TCefBaseRefCounted ¶
type TCefBaseRefCounted struct {
// contains filtered or unexported fields
}
TCefBaseRefCounted
func NewBaseRefCounted ¶
func NewBaseRefCounted(instance uintptr) *TCefBaseRefCounted
func (*TCefBaseRefCounted) IsValid ¶
func (m *TCefBaseRefCounted) IsValid() bool
type TCefBinaryValueArray ¶
type TCefBinaryValueArray struct {
// contains filtered or unexported fields
}
TCefBinaryValueArray
[]ICefBinaryValue
func (*TCefBinaryValueArray) Count ¶
func (m *TCefBinaryValueArray) Count() uint32
func (*TCefBinaryValueArray) Free ¶
func (m *TCefBinaryValueArray) Free()
func (*TCefBinaryValueArray) Get ¶
func (m *TCefBinaryValueArray) Get(index uint32) *ICefBinaryValue
type TCefBrowserSettings ¶
type TCefBrowserSettings struct { Size NativeUInt WindowlessFrameRate Integer StandardFontFamily TCefString FixedFontFamily TCefString SerifFontFamily TCefString SansSerifFontFamily TCefString CursiveFontFamily TCefString FantasyFontFamily TCefString DefaultFontSize Integer DefaultFixedFontSize Integer MinimumFontSize Integer MinimumLogicalFontSize Integer DefaultEncoding TCefString RemoteFonts TCefState Javascript TCefState JavascriptCloseWindows TCefState JavascriptAccessClipboard TCefState JavascriptDomPaste TCefState ImageLoading TCefState ImageShrinkStandaLonetoFit TCefState TextAreaResize TCefState TabToLinks TCefState LocalStorage TCefState Databases TCefState Webgl TCefState BackgroundColor TCefColor AcceptLanguageList TCefString ChromeStatusBubble TCefState }
TCefBrowserSettings CEF Browser配置
func (*TCefBrowserSettings) ToPtr ¶
func (m *TCefBrowserSettings) ToPtr() *tCefBrowserSettingsPtr
ToPtr 转换为指针
type TCefCommandLine ¶
type TCefCommandLine struct {
// contains filtered or unexported fields
}
TCefCommandLine 进程启动命令行参数设置
func (*TCefCommandLine) AppendArgument ¶
func (m *TCefCommandLine) AppendArgument(argument string)
func (*TCefCommandLine) AppendSwitch ¶
func (m *TCefCommandLine) AppendSwitch(name, value string)
type TCefCursorInfo ¶
type TCefCursorInfo struct { Hotspot TCefPoint ImageScaleFactor Single Buffer uintptr Size TCefSize }
TCefCursorInfo
/include/internal/cef_types.h (cef_cursor_info_t)
type TCefDraggableRegion ¶
TCefDraggableRegion 拖拽区域集
func NewCefDraggableRegion ¶
func NewCefDraggableRegion(rect *TCefRect, draggable bool) TCefDraggableRegion
NewCefDraggableRegion 创建一个拖拽区域
type TCefDraggableRegions ¶
type TCefDraggableRegions struct {
// contains filtered or unexported fields
}
TCefDraggableRegions 拖拽区域集合
func NewCefDraggableRegions ¶
func NewCefDraggableRegions() *TCefDraggableRegions
NewCefDraggableRegions 创建拖拽区域
func (*TCefDraggableRegions) Append ¶
func (m *TCefDraggableRegions) Append(region TCefDraggableRegion)
Append 添加拖拽区域
func (*TCefDraggableRegions) Region ¶
func (m *TCefDraggableRegions) Region(i int) *TCefDraggableRegion
Region 获取指定的拖拽区域
func (*TCefDraggableRegions) Regions ¶
func (m *TCefDraggableRegions) Regions() []TCefDraggableRegion
Regions 获取拖拽区域
func (*TCefDraggableRegions) RegionsCount ¶
func (m *TCefDraggableRegions) RegionsCount() int
RegionsCount 拖拽区域数量
type TCefKeyEvent ¶
type TCefKeyEvent struct { Kind TCefKeyEventType // called 'type' in the original CEF source code Modifiers TCefEventFlags WindowsKeyCode Int32 NativeKeyCode Int32 IsSystemKey Int32 Character UInt16 UnmodifiedCharacter UInt16 FocusOnEditableField Int32 }
TCefKeyEvent CEF 键盘事件
func (*TCefKeyEvent) KeyDown ¶
func (m *TCefKeyEvent) KeyDown() bool
func (*TCefKeyEvent) KeyUp ¶
func (m *TCefKeyEvent) KeyUp() bool
type TCefMediaRouteArray ¶
type TCefMediaRouteArray struct {
// contains filtered or unexported fields
}
TCefMediaRouteArray
[]ICefMediaRoute
type TCefMediaSinkArray ¶
type TCefMediaSinkArray struct {
// contains filtered or unexported fields
}
TCefMediaSinkArray
[]ICefMediaSink
type TCefMouseEvent ¶
TCefMouseEvent 鼠标事件
type TCefPopupFeatures ¶
type TCefPopupFeatures struct { X int32 XSet int32 Y int32 YSet int32 Width int32 WidthSet int32 Height int32 HeightSet int32 MenuBarVisible int32 StatusBarVisible int32 ToolBarVisible int32 ScrollbarsVisible int32 }
/include/internal/cef_types.h (cef_popup_features_t)
type TCefPostDataElementArray ¶
type TCefPostDataElementArray struct {
// contains filtered or unexported fields
}
TCefPostDataElementArray
func (*TCefPostDataElementArray) Get ¶
func (m *TCefPostDataElementArray) Get(index uint32) *ICefPostDataElement
func (*TCefPostDataElementArray) Size ¶
func (m *TCefPostDataElementArray) Size() uint32
type TCefPreferenceRegistrarRef ¶
type TCefPreferenceRegistrarRef struct {
// contains filtered or unexported fields
}
TCefPreferenceRegistrarRef
type TCefProxy ¶
type TCefProxy struct { ProxyType TCefProxyType ProxyScheme TCefProxyScheme ProxyServer string ProxyPort int32 ProxyUsername string ProxyPassword string ProxyScriptURL string ProxyByPassList string MaxConnectionsPerProxy int32 }
TCefProxy 代理配置
type TCefRequestContextSettings ¶
type TCefRequestContextSettings struct { Size UInt32 CachePath TCefString PersistSessionCookies Int32 PersistUserPreferences Int32 AcceptLanguageList TCefString CookieableSchemesList TCefString CookieableSchemesExcludeDefaults Int32 }
TCefRequestContextSettings CEF 请求上下文配置
func (*TCefRequestContextSettings) ToPtr ¶
func (m *TCefRequestContextSettings) ToPtr() *tCefRequestContextSettingsPtr
type TCefSchemeRegistrarRef ¶
type TCefSchemeRegistrarRef struct {
// contains filtered or unexported fields
}
TCefSchemeRegistrarRef
func (*TCefSchemeRegistrarRef) AddCustomScheme ¶
func (m *TCefSchemeRegistrarRef) AddCustomScheme(schemeName string, options consts.CefSchemeOption) bool
func (*TCefSchemeRegistrarRef) Free ¶
func (m *TCefSchemeRegistrarRef) Free()
func (*TCefSchemeRegistrarRef) Instance ¶
func (m *TCefSchemeRegistrarRef) Instance() uintptr
Instance 实例
func (*TCefSchemeRegistrarRef) IsValid ¶
func (m *TCefSchemeRegistrarRef) IsValid() bool
type TCefScreenInfo ¶
type TCefScreenInfo struct { DeviceScaleFactor int16 Depth int32 DepthPerComponent int32 IsMonochrome int32 Rect TCefRect AvailableRect TCefRect }
TCefScreenInfo
/include/internal/cef_types.h (cef_screen_info_t)
type TCefTouchEvent ¶
type TCefTouchEvent struct { Id int32 X float32 Y float32 RadiusX float32 RadiusY float32 RotationAngle float32 Pressure float32 Type TCefTouchEeventType Modifiers TCefEventFlags PointerType TCefPointerType }
TCefTouchEvent 触摸事件
type TCefTouchHandleState ¶
type TCefTouchHandleState struct { TouchHandleId int32 Flags uint32 Enabled int32 Orientation TCefHorizontalAlignment MirrorVertical int32 MirrorHorizontal int32 Origin TCefPoint Alpha float32 }
TCefTouchHandleState
/include/internal/cef_types.h (cef_touch_handle_state_t)
type TCefV8ValueArray ¶
type TCefV8ValueArray struct {
// contains filtered or unexported fields
}
TCefV8ValueArray ICefV8Value 数组的替代结构
func (*TCefV8ValueArray) Add ¶
func (m *TCefV8ValueArray) Add(value *ICefV8Value)
func (*TCefV8ValueArray) Free ¶
func (m *TCefV8ValueArray) Free()
func (*TCefV8ValueArray) Get ¶
func (m *TCefV8ValueArray) Get(index int) *ICefV8Value
Get 根据下标获取 ICefV8Value
func (*TCefV8ValueArray) Instance ¶
func (m *TCefV8ValueArray) Instance() uintptr
func (*TCefV8ValueArray) Set ¶
func (m *TCefV8ValueArray) Set(value []*ICefV8Value)
type TCefX509CertificateArray ¶
type TCefX509CertificateArray struct {
// contains filtered or unexported fields
}
TCefX509CertificateArray []ICefX509Certificate
func (*TCefX509CertificateArray) Count ¶
func (m *TCefX509CertificateArray) Count() uint32
func (*TCefX509CertificateArray) Free ¶
func (m *TCefX509CertificateArray) Free()
func (*TCefX509CertificateArray) Get ¶
func (m *TCefX509CertificateArray) Get(index uint32) *ICefX509Certificate
type TCloseEvent ¶
type TCloseEvent func(sender lcl.IObject, action *types.TCloseAction) bool
type TCustomExtensionHandler ¶
type TCustomExtensionHandler struct {
// contains filtered or unexported fields
}
TCustomExtensionHandler
func (*TCustomExtensionHandler) Free ¶
func (m *TCustomExtensionHandler) Free()
func (*TCustomExtensionHandler) Instance ¶
func (m *TCustomExtensionHandler) Instance() uintptr
Instance 实例
func (*TCustomExtensionHandler) IsValid ¶
func (m *TCustomExtensionHandler) IsValid() bool
type TCustomHeader ¶
TCustomHeader 自定义请求头
type TMouseEvent ¶
type TMouseEvent func(sender lcl.IObject, button types.TMouseButton, shift types.TShiftState, x, y int32) bool
TMouseEvent 鼠标事件
type TNotifyEvent ¶
type V8AccessorGet ¶
type V8AccessorGet func(name string, object *ICefV8Value, retVal *ResultV8Value, exception *ResultString) bool
V8AccessorGet 读取时函数 name 字段或对象名 retVal 读取返回的值 exception 返回的异常信息 return true 读取成功-返回值有效
type V8AccessorSet ¶
type V8AccessorSet func(name string, object *ICefV8Value, value *ICefV8Value, exception *ResultString) bool
V8AccessorSet 写入时函数 name 字段或对象名 value 将要写入的新值 exception 返回的异常信息 return true 写入成功
type V8ArrayBufferReleaseCallback ¶
V8ArrayBufferReleaseCallback 释放时回调函数 array buffer 缓存 返回 true:释放buffer, false:不释放
type V8HandlerExecute ¶
type V8HandlerExecute func(name string, object *ICefV8Value, arguments *TCefV8ValueArray, retVal *ResultV8Value, exception *ResultString) bool
V8HandlerExecute 执行函数处理执行 name 函数名 object 当前对象 arguments 函数传入的参数 retVal 函数执行完返回结果 exception 返回的异常信息 return true 执行成功-返回值有效
type V8InterceptorGetByIndex ¶
type V8InterceptorGetByIndex func(index int32, object, retVal *ICefV8Value, exception *ResultString)
V8InterceptorGetByIndex 拦截函数 根据index获取一个值
type V8InterceptorGetByName ¶
type V8InterceptorGetByName func(name string, object, retVal *ICefV8Value, exception *ResultString)
V8InterceptorGetByName 拦截函数 根据name获取一个值
type V8InterceptorSetByIndex ¶
type V8InterceptorSetByIndex func(index int32, object, value *ICefV8Value, exception *ResultString)
V8InterceptorSetByIndex 拦截函数 根据index设置一个值
type V8InterceptorSetByName ¶
type V8InterceptorSetByName func(name string, object, value *ICefV8Value, exception *ResultString)
V8InterceptorSetByName 拦截函数 根据name设置一个值
type ViewsFrameTray ¶
type ViewsFrameTray struct {
// contains filtered or unexported fields
}
ViewsFrameTray VF(views framework)组件+html 托盘
type ViewsFrameworkBrowserWindow ¶
type ViewsFrameworkBrowserWindow struct {
// contains filtered or unexported fields
}
ViewsFrameworkBrowserWindow 基于CEF views framework 窗口组件
该窗口使用CEF内部实现,在linux下107.xx以后版本默认使用GTK3,但无法使用lcl组件集成到窗口中
当创建应用配置时 MultiThreadedMessageLoop 和 ExternalMessagePump 属性同时为false(linux系统默认强制false)时启用ViewsFramework窗口
func NewViewsFrameworkBrowserWindow ¶
func NewViewsFrameworkBrowserWindow(chromiumConfig *tCefChromiumConfig, windowProperty WindowProperty, owner ...lcl.IComponent) *ViewsFrameworkBrowserWindow
NewViewsFrameworkBrowserWindow 创建 ViewsFrameworkBrowserWindow 窗口
func (*ViewsFrameworkBrowserWindow) AsLCLBrowserWindow ¶
func (m *ViewsFrameworkBrowserWindow) AsLCLBrowserWindow() ILCLBrowserWindow
AsLCLBrowserWindow 转换为LCL窗口组件,这里返回nil
func (*ViewsFrameworkBrowserWindow) AsViewsFrameworkBrowserWindow ¶
func (m *ViewsFrameworkBrowserWindow) AsViewsFrameworkBrowserWindow() IViewsFrameworkBrowserWindow
AsViewsFrameworkBrowserWindow 转换为VF窗口组件,这里返回VF窗口组件
func (*ViewsFrameworkBrowserWindow) Bounds ¶
func (m *ViewsFrameworkBrowserWindow) Bounds() *TCefRect
Bounds 返回窗口坐标和宽高
func (*ViewsFrameworkBrowserWindow) Browser ¶
func (m *ViewsFrameworkBrowserWindow) Browser() *ICefBrowser
Browser 返回browser
func (*ViewsFrameworkBrowserWindow) BrowserViewComponent ¶
func (m *ViewsFrameworkBrowserWindow) BrowserViewComponent() *TCEFBrowserViewComponent
BrowserViewComponent 返回浏览器显示组件
func (*ViewsFrameworkBrowserWindow) BrowserWindow ¶
func (m *ViewsFrameworkBrowserWindow) BrowserWindow() *ViewsFrameworkBrowserWindow
BrowserWindow 返回VF窗口组件实现
func (*ViewsFrameworkBrowserWindow) CenterWindow ¶
func (m *ViewsFrameworkBrowserWindow) CenterWindow(size *TCefSize)
CenterWindow 设置窗口居中,同时指定窗口大小
func (*ViewsFrameworkBrowserWindow) Chromium ¶
func (m *ViewsFrameworkBrowserWindow) Chromium() IChromium
Chromium 返回 chromium
func (*ViewsFrameworkBrowserWindow) Close ¶
func (m *ViewsFrameworkBrowserWindow) Close()
Close 关闭窗口,一搬不使用
func (*ViewsFrameworkBrowserWindow) CloseBrowserWindow ¶
func (m *ViewsFrameworkBrowserWindow) CloseBrowserWindow()
CloseBrowserWindow 关闭浏览器窗口
func (*ViewsFrameworkBrowserWindow) Component ¶
func (m *ViewsFrameworkBrowserWindow) Component() lcl.IComponent
Component 返回窗口父组件
func (*ViewsFrameworkBrowserWindow) CreateTopLevelWindow ¶
func (m *ViewsFrameworkBrowserWindow) CreateTopLevelWindow()
CreateTopLevelWindow 创建顶层窗口
func (*ViewsFrameworkBrowserWindow) DisableMaximize ¶
func (m *ViewsFrameworkBrowserWindow) DisableMaximize()
DisableMaximize 禁用最大化按钮
func (*ViewsFrameworkBrowserWindow) DisableMinimize ¶
func (m *ViewsFrameworkBrowserWindow) DisableMinimize()
DisableMinimize 禁用最小化按钮
func (*ViewsFrameworkBrowserWindow) DisableResize ¶
func (m *ViewsFrameworkBrowserWindow) DisableResize()
DisableResize 禁用调整窗口大小
func (*ViewsFrameworkBrowserWindow) EnableAllDefaultEvent ¶
func (m *ViewsFrameworkBrowserWindow) EnableAllDefaultEvent()
EnableAllDefaultEvent 启用所有默认事件行为
func (*ViewsFrameworkBrowserWindow) EnableMaximize ¶
func (m *ViewsFrameworkBrowserWindow) EnableMaximize()
EnableMaximize 启用最大化按钮
func (*ViewsFrameworkBrowserWindow) EnableMinimize ¶
func (m *ViewsFrameworkBrowserWindow) EnableMinimize()
EnableMinimize 启用最小化按钮
func (*ViewsFrameworkBrowserWindow) EnableResize ¶
func (m *ViewsFrameworkBrowserWindow) EnableResize()
EnableResize 启用允许调整窗口大小
func (*ViewsFrameworkBrowserWindow) Handle ¶
func (m *ViewsFrameworkBrowserWindow) Handle() types.HWND
Handle 返回窗口句柄
func (*ViewsFrameworkBrowserWindow) HideTitle ¶
func (m *ViewsFrameworkBrowserWindow) HideTitle()
隐藏标题栏
func (*ViewsFrameworkBrowserWindow) IsClosing ¶
func (m *ViewsFrameworkBrowserWindow) IsClosing() bool
IsClosing 返回窗口是否正在关闭/或已关闭 true正在或已关闭
func (*ViewsFrameworkBrowserWindow) IsLCL ¶
func (m *ViewsFrameworkBrowserWindow) IsLCL() bool
IsLCL 返回是否LCL窗口组件,这里返回false
func (*ViewsFrameworkBrowserWindow) IsViewsFramework ¶
func (m *ViewsFrameworkBrowserWindow) IsViewsFramework() bool
IsViewsFramework 返回是否VF窗口组件,这里返回true
func (*ViewsFrameworkBrowserWindow) Maximize ¶
func (m *ViewsFrameworkBrowserWindow) Maximize()
Maximize 窗口最大化/还原
func (*ViewsFrameworkBrowserWindow) Minimize ¶
func (m *ViewsFrameworkBrowserWindow) Minimize()
Minimize 窗口最小化
func (*ViewsFrameworkBrowserWindow) NewCefTray ¶
func (m *ViewsFrameworkBrowserWindow) NewCefTray(width, height int32, url string) ITray
NewCefTray VF窗口组件 非windows系统不支持CefTray
func (*ViewsFrameworkBrowserWindow) NewSysTray ¶
func (m *ViewsFrameworkBrowserWindow) NewSysTray() ITray
NewSysTray VF窗口组件,只适用于windows的无菜单托盘
func (*ViewsFrameworkBrowserWindow) Point ¶
func (m *ViewsFrameworkBrowserWindow) Point() *TCefPoint
Point 返回窗口坐标
func (*ViewsFrameworkBrowserWindow) ResetWindowPropertyForEvent ¶
func (m *ViewsFrameworkBrowserWindow) ResetWindowPropertyForEvent()
ResetWindowPropertyForEvent 重置窗口属性-通过事件函数
func (*ViewsFrameworkBrowserWindow) Restore ¶
func (m *ViewsFrameworkBrowserWindow) Restore()
Restore 窗口还原
func (*ViewsFrameworkBrowserWindow) SetBounds ¶
func (m *ViewsFrameworkBrowserWindow) SetBounds(x, y, width, height int32)
SetBounds 设置窗口坐标和宽高
func (*ViewsFrameworkBrowserWindow) SetCenterWindow ¶
func (m *ViewsFrameworkBrowserWindow) SetCenterWindow(value bool)
SetCenterWindow 设置窗口居中显示
func (*ViewsFrameworkBrowserWindow) SetDefaultInTaskBar ¶
func (m *ViewsFrameworkBrowserWindow) SetDefaultInTaskBar()
func (*ViewsFrameworkBrowserWindow) SetHeight ¶
func (m *ViewsFrameworkBrowserWindow) SetHeight(value int32)
SetHeight 设置窗口高
func (*ViewsFrameworkBrowserWindow) SetNotInTaskBar ¶
func (m *ViewsFrameworkBrowserWindow) SetNotInTaskBar()
func (*ViewsFrameworkBrowserWindow) SetOnGetInitialBounds ¶
func (m *ViewsFrameworkBrowserWindow) SetOnGetInitialBounds(onGetInitialBounds WindowComponentOnGetInitialBounds)
SetOnGetInitialBounds 窗口初始坐标和大小
func (*ViewsFrameworkBrowserWindow) SetOnWindowCreated ¶
func (m *ViewsFrameworkBrowserWindow) SetOnWindowCreated(onWindowCreated WindowComponentOnWindowCreated)
SetOnWindowCreated 窗口创建
func (*ViewsFrameworkBrowserWindow) SetPoint ¶
func (m *ViewsFrameworkBrowserWindow) SetPoint(x, y int32)
SetPoint 设置窗口坐标
func (*ViewsFrameworkBrowserWindow) SetShowInTaskBar ¶
func (m *ViewsFrameworkBrowserWindow) SetShowInTaskBar()
func (*ViewsFrameworkBrowserWindow) SetSize ¶
func (m *ViewsFrameworkBrowserWindow) SetSize(width, height int32)
SetSize 设置窗口宽高
func (*ViewsFrameworkBrowserWindow) SetTitle ¶
func (m *ViewsFrameworkBrowserWindow) SetTitle(title string)
SetTitle 设置窗口标题
func (*ViewsFrameworkBrowserWindow) SetWidth ¶
func (m *ViewsFrameworkBrowserWindow) SetWidth(value int32)
SetWidth 设置窗口宽
func (*ViewsFrameworkBrowserWindow) SetWindowType ¶
func (m *ViewsFrameworkBrowserWindow) SetWindowType(windowType consts.WINDOW_TYPE)
SetWindowType 设置窗口类型
func (*ViewsFrameworkBrowserWindow) ShowTitle ¶
func (m *ViewsFrameworkBrowserWindow) ShowTitle()
显示标题栏
func (*ViewsFrameworkBrowserWindow) Size ¶
func (m *ViewsFrameworkBrowserWindow) Size() *TCefSize
Size 返回窗口宽高
func (*ViewsFrameworkBrowserWindow) WindowComponent ¶
func (m *ViewsFrameworkBrowserWindow) WindowComponent() *TCEFWindowComponent
WindowComponent 返回窗口组件
func (*ViewsFrameworkBrowserWindow) WindowProperty ¶
func (m *ViewsFrameworkBrowserWindow) WindowProperty() *WindowProperty
WindowProperty 部分提供部分窗口属性设置
func (*ViewsFrameworkBrowserWindow) WindowState ¶
func (m *ViewsFrameworkBrowserWindow) WindowState() types.TWindowState
WindowState 返回窗口最小化、最大化、全屏状态
func (*ViewsFrameworkBrowserWindow) WindowType ¶
func (m *ViewsFrameworkBrowserWindow) WindowType() consts.WINDOW_TYPE
WindowType 返回窗口类型
type WindowComponentOnAccelerator ¶
type WindowComponentOnAccelerator func(sender lcl.IObject, window *ICefWindow, commandId int32, aResult *bool)
type WindowComponentOnCanClose ¶
type WindowComponentOnCanClose func(sender lcl.IObject, window *ICefWindow, aResult *bool)
type WindowComponentOnCanMaximize ¶
type WindowComponentOnCanMaximize func(sender lcl.IObject, window *ICefWindow, aResult *bool)
type WindowComponentOnCanMinimize ¶
type WindowComponentOnCanMinimize func(sender lcl.IObject, window *ICefWindow, aResult *bool)
type WindowComponentOnCanResize ¶
type WindowComponentOnCanResize func(sender lcl.IObject, window *ICefWindow, aResult *bool)
type WindowComponentOnGetInitialBounds ¶
type WindowComponentOnGetInitialBounds func(sender lcl.IObject, window *ICefWindow, aResult *TCefRect)
type WindowComponentOnGetInitialShowState ¶
type WindowComponentOnGetInitialShowState func(sender lcl.IObject, window *ICefWindow, aResult *consts.TCefShowState)
type WindowComponentOnGetParentWindow ¶
type WindowComponentOnGetParentWindow func(sender lcl.IObject, window *ICefWindow, isMenu, canActivateMenu *bool, aResult *ICefWindow)
type WindowComponentOnIsFrameless ¶
type WindowComponentOnIsFrameless func(sender lcl.IObject, window *ICefWindow, aResult *bool)
type WindowComponentOnKeyEvent ¶
type WindowComponentOnKeyEvent func(sender lcl.IObject, window *ICefWindow, event *TCefKeyEvent, aResult *bool)
type WindowComponentOnWindowActivationChanged ¶
type WindowComponentOnWindowActivationChanged func(sender lcl.IObject, window *ICefWindow, active bool)
type WindowComponentOnWindowCreated ¶
type WindowComponentOnWindowCreated func(sender lcl.IObject, window *ICefWindow)
type WindowComponentOnWindowDestroyed ¶
type WindowComponentOnWindowDestroyed func(sender lcl.IObject, window *ICefWindow)
type WindowProperty ¶
type WindowProperty struct { IsShowModel bool //是否以模态窗口显示 WindowType consts.WINDOW_TYPE //窗口 类型 WINDOW_TYPE default: WT_MAIN_BROWSER Title string //窗口 标题 Url string //默认打开URL Icon string //窗口图标 加载本地图标 local > /app/resources/icon.ico, linux使用png IconFS string //窗口图标 加载emfs内置图标 emfs > resources/icon.ico, linux使用png EnableHideCaption bool //窗口 是否隐藏标题栏, VF窗口组件Linux下不能动态控制 EnableMinimize bool //窗口 是否启用最小化 default: true EnableMaximize bool //窗口 是否启用最大化 default: true EnableResize bool //窗口 是否允许调整大小 default: true EnableClose bool //窗口 关闭时是否关闭窗口 default: true EnableCenterWindow bool //窗口 居中显示 default: true EnableDragFile bool //窗口 是否允许向窗口内拖拽文件 EnableWebkitAppRegion bool //窗口 html元素中设置css属性 -webkit-app-region: drag/no-drag 是否允许拖拽区域 default: true EnableWebkitAppRegionDClk bool //窗口 拖拽区域是否启用标题栏双击最大化和还原 default: true AlwaysOnTop bool //窗口 窗口置顶 X int32 //窗口 EnableCenterWindow=false X坐标 default: 100 Y int32 //窗口 EnableCenterWindow=false Y坐标 default: 100 Width int32 //窗口 宽 default: 1024 Height int32 //窗口 高 default: 768 // contains filtered or unexported fields }
WindowProperty 窗口属性配置器
部分属性配置并不支持所有平台
func NewWindowProperty ¶
func NewWindowProperty() WindowProperty
NewWindowProperty 创建一个属性配置器,带有窗口默认属性值
Source Files ¶
- application-callback.go
- application-config.go
- application-queue-async-call.go
- application-queue-async-call_posix.go
- application-run.go
- application.go
- aux-dev-tools-window.go
- aux-view-source-window.go
- base-ref-counted.go
- base-win-control.go
- browser-config.go
- browser-main-window.go
- browser-view-component.go
- browser-view-delegate.go
- browser-view.go
- browser-window-lcl.go
- browser-window-lcl_other.go
- browser-window-views-framework.go
- browser-window-views-framework_other.go
- browser-window.go
- chromium-browser.go
- chromium-callback.go
- chromium-config.go
- chromium-events.go
- chromium-proc.go
- chromium.go
- command-line.go
- component.go
- component_other.go
- context-menu-item.go
- def.go
- draggable-regions.go
- events-def.go
- events.go
- i-window-parent.go
- init.go
- ipc-browser.go
- ipc-render.go
- ipc-value-convert.go
- ipc.go
- key-event.go
- linked-window-parent.go
- misc-functions.go
- proc-def-index.go
- proc-def.go
- process.go
- sys-menu.go
- tray-commponent.go
- tray-lcl-commponent.go
- tray-sys-commponent.go
- types-accessibility-handler.go
- types-audio-handler.go
- types-auth-callback.go
- types-binary-value.go
- types-browser.go
- types-callback.go
- types-client.go
- types-command-handler.go
- types-command-line.go
- types-completion-callback.go
- types-contextmenu-handler.go
- types-contextmenu-params.go
- types-cookie-access-filter.go
- types-cookie-callbacks.go
- types-cookie-manager.go
- types-cookie-visitor.go
- types-dialog-handler.go
- types-dictionary-value.go
- types-display-handler.go
- types-display.go
- types-dom-document.go
- types-dom-node.go
- types-dom-visitor.go
- types-download-handler.go
- types-download-item.go
- types-drag-data.go
- types-drag-handler.go
- types-extension-handler.go
- types-extension-resource-callback.go
- types-extension.go
- types-filedialog-callback.go
- types-find-handler.go
- types-focus-handler.go
- types-frame-handler.go
- types-frame.go
- types-image.go
- types-jsdialog-callback.go
- types-jsdialog-handler.go
- types-keyboard-handler.go
- types-lifespan-handler.go
- types-list-value.go
- types-load-handler.go
- types-mediaaccess-callback.go
- types-pdfprint-callback.go
- types-permission-handler.go
- types-permissionprompt-callback.go
- types-post-data-element.go
- types-post-data.go
- types-print-handler.go
- types-print-settings.go
- types-printdialog-callback.go
- types-printjob-callback.go
- types-process-message.go
- types-ptr.go
- types-render-handler.go
- types-request-context-handler.go
- types-request-context.go
- types-request-handler.go
- types-request.go
- types-resource-callbacks.go
- types-resource-handler.go
- types-resourcerequest-handler.go
- types-response-filter.go
- types-response.go
- types-runcontextmenu-callback.go
- types-runquickmenu-callback.go
- types-scheme-registrar.go
- types-schemehandler-factory.go
- types-stream-reader.go
- types-stream-writer.go
- types-string-multi-map.go
- types-v8-accessor.go
- types-v8-array-buf-release-callback.go
- types-v8-context.go
- types-v8-exception.go
- types-v8-handler.go
- types-v8-interceptor.go
- types-v8-value.go
- types-value.go
- types-view.go
- types-window.go
- types-x509-certificate.go
- types.go
- v8-bind-browser.go
- v8-bind-extension.go
- v8-bind-render.go
- v8-bind.go
- window-component.go
- window-parent.go