2022-10-04 13:21:05 +08:00
|
|
|
//----------------------------------------
|
|
|
|
//
|
|
|
|
// Copyright © yanghy. All Rights Reserved.
|
|
|
|
//
|
2022-10-04 16:38:43 +08:00
|
|
|
// Licensed under GNU General Public License v3.0
|
2022-10-04 13:21:05 +08:00
|
|
|
//
|
|
|
|
//----------------------------------------
|
|
|
|
|
|
|
|
package cef
|
|
|
|
|
|
|
|
import (
|
2022-11-02 12:47:47 +08:00
|
|
|
. "github.com/energye/energy/common"
|
2022-10-04 22:34:57 +08:00
|
|
|
. "github.com/energye/energy/consts"
|
2022-10-04 13:21:05 +08:00
|
|
|
"github.com/energye/golcl/lcl"
|
|
|
|
"github.com/energye/golcl/lcl/api"
|
|
|
|
"github.com/energye/golcl/lcl/types"
|
|
|
|
"unsafe"
|
|
|
|
)
|
|
|
|
|
|
|
|
//type ICefBrowser
|
|
|
|
type ICefBrowser struct {
|
2022-12-05 12:07:58 +08:00
|
|
|
chromium unsafe.Pointer
|
2022-10-04 13:21:05 +08:00
|
|
|
browseId int32
|
|
|
|
}
|
|
|
|
|
|
|
|
type frameNamesPtr struct {
|
|
|
|
Name uintptr
|
|
|
|
Value uintptr
|
|
|
|
}
|
|
|
|
|
|
|
|
type FrameNames struct {
|
|
|
|
Name string
|
|
|
|
Value string
|
|
|
|
}
|
|
|
|
|
2022-10-24 22:52:08 +08:00
|
|
|
func (m *ICefBrowser) GetBrowserId() int32 {
|
|
|
|
return m.browseId
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) GetFrameId() int64 {
|
|
|
|
if mainFrame := m.MainFrame(); mainFrame != nil {
|
|
|
|
return mainFrame.Id
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2022-12-31 13:16:30 +08:00
|
|
|
//浏览器ID号
|
2022-10-04 13:21:05 +08:00
|
|
|
func (m *ICefBrowser) Identifier() int32 {
|
|
|
|
return m.browseId
|
|
|
|
}
|
|
|
|
|
2022-12-31 13:16:30 +08:00
|
|
|
//HostWindowHandle
|
2022-10-04 13:21:05 +08:00
|
|
|
func (m *ICefBrowser) HostWindowHandle() types.HWND {
|
2022-12-05 12:07:58 +08:00
|
|
|
r1, _, _ := Proc(internale_CEFBrowser_GetHostWindowHandle).Call(uintptr(m.browseId))
|
2022-10-04 13:21:05 +08:00
|
|
|
return r1
|
|
|
|
}
|
|
|
|
|
|
|
|
//CloseBrowser
|
|
|
|
func (m *ICefBrowser) CloseBrowser(forceClose bool) {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_CloseBrowser).Call(uintptr(m.browseId), api.PascalBool(forceClose))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
//TryCloseBrowser
|
|
|
|
func (m *ICefBrowser) TryCloseBrowser() bool {
|
2022-12-05 12:07:58 +08:00
|
|
|
r1, _, _ := Proc(internale_CEFBrowser_TryCloseBrowser).Call(uintptr(m.browseId))
|
2022-12-03 21:56:51 +08:00
|
|
|
return api.GoBool(r1)
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
//SetFocus
|
|
|
|
func (m *ICefBrowser) SetFocus(focus bool) {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_SetFocus).Call(uintptr(m.browseId), api.PascalBool(focus))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
//GetZoomLevel
|
2022-12-05 12:07:58 +08:00
|
|
|
func (m *ICefBrowser) GetZoomLevel() (result float64) {
|
|
|
|
Proc(internale_CEFBrowser_GetZoomLevel).Call(uintptr(m.browseId), uintptr(unsafe.Pointer(&result)))
|
|
|
|
return result
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
//SetZoomLevel
|
|
|
|
func (m *ICefBrowser) SetZoomLevel(zoomLevel float64) {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_SetZoomLevel).Call(uintptr(m.browseId), uintptr(unsafe.Pointer(&zoomLevel)))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
//RunFileDialog
|
|
|
|
func (m *ICefBrowser) RunFileDialog(mode int32, title, defaultFilePath string, acceptFilters *lcl.TStrings) {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_RunFileDialog).Call(uintptr(m.browseId), uintptr(mode), api.PascalStr(title), api.PascalStr(defaultFilePath), acceptFilters.Instance())
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
//StartDownload
|
|
|
|
func (m *ICefBrowser) StartDownload(url string) {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_StartDownload).Call(uintptr(m.browseId), api.PascalStr(url))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
//DownloadImage
|
|
|
|
func (m *ICefBrowser) DownloadImage(imageUrl string, isFavicon bool, maxImageSize int32, bypassCache bool) {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_DownloadImage).Call(uintptr(m.browseId), api.PascalStr(imageUrl), api.PascalBool(isFavicon), uintptr(maxImageSize), api.PascalBool(bypassCache))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
//Print
|
|
|
|
func (m *ICefBrowser) Print() {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_Print).Call(uintptr(m.browseId))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) GetFocusedFrame() *ICefFrame {
|
2022-12-05 12:07:58 +08:00
|
|
|
r1, _, _ := Proc(internale_CEFBrowser_GetFocusedFrame).Call(uintptr(m.browseId))
|
2022-10-04 13:21:05 +08:00
|
|
|
cf := (*cefFrame)(unsafe.Pointer(r1))
|
|
|
|
if cf != nil {
|
|
|
|
ret := &ICefFrame{}
|
|
|
|
ret.Browser = m
|
2022-12-03 21:56:51 +08:00
|
|
|
ret.Id = StrToInt64(api.GoStr(cf.Identifier))
|
|
|
|
ret.Name = api.GoStr(cf.Name)
|
|
|
|
ret.Url = api.GoStr(cf.Url)
|
2022-10-04 13:21:05 +08:00
|
|
|
return ret
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
func (m *ICefBrowser) MainFrame() *ICefFrame {
|
2022-12-05 12:07:58 +08:00
|
|
|
r1, _, _ := Proc(internale_CEFBrowser_GetMainFrame).Call(uintptr(m.browseId))
|
2022-10-04 13:21:05 +08:00
|
|
|
cf := (*cefFrame)(unsafe.Pointer(r1))
|
|
|
|
if cf != nil {
|
|
|
|
ret := &ICefFrame{}
|
|
|
|
ret.Browser = m
|
2022-12-03 21:56:51 +08:00
|
|
|
ret.Id = StrToInt64(api.GoStr(cf.Identifier))
|
|
|
|
ret.Name = api.GoStr(cf.Name)
|
|
|
|
ret.Url = api.GoStr(cf.Url)
|
2022-10-04 13:21:05 +08:00
|
|
|
return ret
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) GetFrameById(frameId int64) *ICefFrame {
|
2022-12-05 12:07:58 +08:00
|
|
|
r1, _, _ := Proc(internale_CEFBrowser_GetFrameById).Call(uintptr(m.browseId), uintptr(unsafe.Pointer(&frameId)))
|
2022-10-04 13:21:05 +08:00
|
|
|
cf := (*cefFrame)(unsafe.Pointer(r1))
|
|
|
|
if cf != nil {
|
|
|
|
ret := &ICefFrame{}
|
|
|
|
ret.Browser = m
|
2022-12-03 21:56:51 +08:00
|
|
|
ret.Id = StrToInt64(api.GoStr(cf.Identifier))
|
|
|
|
ret.Name = api.GoStr(cf.Name)
|
|
|
|
ret.Url = api.GoStr(cf.Url)
|
2022-10-04 13:21:05 +08:00
|
|
|
cf = nil
|
|
|
|
return ret
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) GetFrameByName(frameName string) *ICefFrame {
|
2022-12-05 12:07:58 +08:00
|
|
|
r1, _, _ := Proc(internale_CEFBrowser_GetFrameByName).Call(uintptr(m.browseId), api.PascalStr(frameName))
|
2022-10-04 13:21:05 +08:00
|
|
|
cf := (*cefFrame)(unsafe.Pointer(r1))
|
|
|
|
if cf != nil {
|
|
|
|
ret := &ICefFrame{}
|
|
|
|
ret.Browser = m
|
2022-12-03 21:56:51 +08:00
|
|
|
ret.Id = StrToInt64(api.GoStr(cf.Identifier))
|
|
|
|
ret.Name = api.GoStr(cf.Name)
|
|
|
|
ret.Url = api.GoStr(cf.Url)
|
2022-10-04 13:21:05 +08:00
|
|
|
cf = nil
|
|
|
|
return ret
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
//PrintToPdf
|
|
|
|
//func (m *ICefBrowser) PrintToPdf(path string) {
|
2022-12-05 12:07:58 +08:00
|
|
|
// Proc(internale_CEFBrowser_PrintToPdf).Call(uintptr(m.browseId), api.PascalStr(path))
|
2022-10-04 13:21:05 +08:00
|
|
|
//}
|
|
|
|
|
|
|
|
//ExecuteDevToolsMethod
|
|
|
|
func (m *ICefBrowser) ExecuteDevToolsMethod(messageId int32, method string, dictionaryValue *ICefDictionaryValue) {
|
|
|
|
var data = []byte{}
|
|
|
|
var dataPtr unsafe.Pointer
|
|
|
|
var dataLen int = 0
|
|
|
|
var argsLen int = 0
|
|
|
|
if dictionaryValue != nil && dictionaryValue.dataLen > 0 {
|
|
|
|
defer func() {
|
|
|
|
dictionaryValue.Clear()
|
|
|
|
dictionaryValue = nil
|
|
|
|
data = nil
|
|
|
|
dataPtr = nil
|
|
|
|
}()
|
|
|
|
data = dictionaryValue.Package()
|
|
|
|
argsLen = dictionaryValue.dataLen
|
|
|
|
dataPtr = unsafe.Pointer(&data[0])
|
|
|
|
dataLen = len(data) - 1
|
|
|
|
} else {
|
|
|
|
dataPtr = unsafe.Pointer(&data)
|
|
|
|
}
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_ExecuteDevToolsMethod).Call(uintptr(m.browseId), uintptr(messageId), api.PascalStr(method), uintptr(argsLen), uintptr(dataPtr), uintptr(dataLen))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
//SendKeyEvent
|
|
|
|
func (m *ICefBrowser) SendKeyEvent(event *TCefKeyEvent) {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_SendKeyEvent).Call(uintptr(m.browseId), uintptr(unsafe.Pointer(event)))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) SetAudioMuted(mute bool) {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_SetAudioMuted).Call(uintptr(m.browseId), api.PascalBool(mute))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) IsAudioMuted() bool {
|
2022-12-05 12:07:58 +08:00
|
|
|
r1, _, _ := Proc(internale_CEFBrowser_IsAudioMuted).Call(uintptr(m.browseId))
|
2022-12-03 21:56:51 +08:00
|
|
|
return api.GoBool(r1)
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) SetAutoResizeEnabled(enabled bool, minSize, maxSize *TCefSize) {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_SetAutoResizeEnabled).Call(uintptr(m.browseId), api.PascalBool(enabled), uintptr(unsafe.Pointer(minSize)), uintptr(unsafe.Pointer(maxSize)))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) SetAccessibilityState(accessibilityState TCefState) {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_SetAccessibilityState).Call(uintptr(m.browseId), uintptr(accessibilityState))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) NotifyMoveOrResizeStarted() {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_NotifyMoveOrResizeStarted).Call(uintptr(m.browseId))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) NotifyScreenInfoChanged() {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_NotifyScreenInfoChanged).Call(uintptr(m.browseId))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) SendCaptureLostEvent() {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_SendCaptureLostEvent).Call(uintptr(m.browseId))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) SendTouchEvent(event *TCefTouchEvent) {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_SendTouchEvent).Call(uintptr(m.browseId), uintptr(unsafe.Pointer(event)))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) SendMouseWheelEvent(event *TCefMouseEvent, deltaX, deltaY int32) {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_SendMouseWheelEvent).Call(uintptr(m.browseId), uintptr(unsafe.Pointer(event)), uintptr(deltaX), uintptr(deltaY))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) SendMouseMoveEvent(event *TCefMouseEvent, mouseLeave bool) {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_SendMouseMoveEvent).Call(uintptr(m.browseId), uintptr(unsafe.Pointer(event)), api.PascalBool(mouseLeave))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) SendMouseClickEvent(event *TCefMouseEvent, type_ TCefMouseButtonType, mouseUp bool, clickCount int32) {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_SendMouseClickEvent).Call(uintptr(m.browseId), uintptr(unsafe.Pointer(event)), uintptr(type_), api.PascalBool(mouseUp), uintptr(clickCount))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) ViewSource(frame *ICefFrame) {
|
2023-01-09 08:53:01 +08:00
|
|
|
m.createBrowserViewSource(frame)
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
//显示开发者工具
|
|
|
|
func (m *ICefBrowser) ShowDevTools() {
|
|
|
|
if browserWinInfo := BrowserWindow.GetWindowInfo(m.Identifier()); browserWinInfo != nil {
|
2023-01-09 08:53:01 +08:00
|
|
|
m.createBrowserDevTools(browserWinInfo)
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//关闭开发者工具
|
|
|
|
func (m *ICefBrowser) CloseDevTools() {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_CloseDevTools).Call(uintptr(m.browseId))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) HasDevTools() bool {
|
2022-12-05 12:07:58 +08:00
|
|
|
r1, _, _ := Proc(internale_CEFBrowser_HasDevTools).Call(uintptr(m.browseId))
|
2022-12-03 21:56:51 +08:00
|
|
|
return api.GoBool(r1)
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) CanGoBack() bool {
|
2022-12-05 12:07:58 +08:00
|
|
|
r1, _, _ := Proc(internale_CEFBrowser_CanGoBack).Call(uintptr(m.browseId))
|
2022-12-03 21:56:51 +08:00
|
|
|
return api.GoBool(r1)
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) GoBack() {
|
|
|
|
if m.CanGoBack() {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_GoBack).Call(uintptr(m.browseId))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) CanGoForward() bool {
|
2022-12-05 12:07:58 +08:00
|
|
|
r1, _, _ := Proc(internale_CEFBrowser_CanGoForward).Call(uintptr(m.browseId))
|
2022-12-03 21:56:51 +08:00
|
|
|
return api.GoBool(r1)
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) GoForward() {
|
|
|
|
if m.CanGoForward() {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_GoForward).Call(uintptr(m.browseId))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) IsLoading() bool {
|
2022-12-05 12:07:58 +08:00
|
|
|
r1, _, _ := Proc(internale_CEFBrowser_IsLoading).Call(uintptr(m.browseId))
|
2022-12-03 21:56:51 +08:00
|
|
|
return api.GoBool(r1)
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) Reload() {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_Reload).Call(uintptr(m.browseId))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) ReloadIgnoreCache() {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_ReloadIgnoreCache).Call(uintptr(m.browseId))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) StopLoad() {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_StopLoad).Call(uintptr(m.browseId))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) FrameCount() int {
|
2022-12-05 12:07:58 +08:00
|
|
|
r1, _, _ := Proc(internale_CEFBrowser_FrameCount).Call(uintptr(m.browseId))
|
2022-10-04 13:21:05 +08:00
|
|
|
return int(r1)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) GetFrameNames() []*FrameNames {
|
|
|
|
var result uintptr
|
|
|
|
var resultSize int32
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_GetFrameNames).Call(uintptr(m.browseId), uintptr(unsafe.Pointer(&result)), uintptr(unsafe.Pointer(&resultSize)))
|
2022-10-04 13:21:05 +08:00
|
|
|
frameNames := make([]*FrameNames, resultSize, resultSize)
|
|
|
|
for i := 0; i < int(resultSize); i++ {
|
2022-10-04 22:34:57 +08:00
|
|
|
fnsPtr := (*frameNamesPtr)(unsafe.Pointer(GetParamOf(i, result)))
|
2022-10-04 13:21:05 +08:00
|
|
|
frameNames[i] = &FrameNames{
|
2022-12-03 21:56:51 +08:00
|
|
|
Name: api.GoStr(fnsPtr.Name),
|
|
|
|
Value: api.GoStr(fnsPtr.Value),
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
result = 0
|
|
|
|
resultSize = 0
|
|
|
|
return frameNames
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) Find(searchText string, forward, matchCase, findNext bool) {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_Find).Call(uintptr(m.browseId), api.PascalStr(searchText), api.PascalBool(forward), api.PascalBool(matchCase), api.PascalBool(findNext))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (m *ICefBrowser) StopFinding(clearSelection bool) {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_StopFinding).Call(uintptr(m.browseId), api.PascalBool(clearSelection))
|
2022-10-04 13:21:05 +08:00
|
|
|
}
|
2022-12-05 10:44:24 +08:00
|
|
|
|
|
|
|
// ICefBrowser _CEFBrowser_ShowDevTools
|
|
|
|
func _CEFBrowser_ShowDevTools(chromium, browser, windowParent, name uintptr) {
|
2022-12-05 12:07:58 +08:00
|
|
|
Proc(internale_CEFBrowser_ShowDevTools).Call(chromium, browser, windowParent, name)
|
2022-12-05 10:44:24 +08:00
|
|
|
}
|