energy/cef/component_other.go

27 lines
664 B
Go
Raw Normal View History

2022-10-04 13:21:05 +08:00
//----------------------------------------
//
// Copyright © yanghy. All Rights Reserved.
//
// Licensed under Apache License Version 2.0, January 2004
//
// https://www.apache.org/licenses/LICENSE-2.0
2022-10-04 13:21:05 +08:00
//
//----------------------------------------
//go:build !windows
// +build !windows
2023-05-31 17:41:14 +08:00
// CEF 扩展组件定义-非windows
2022-10-04 13:21:05 +08:00
package cef
2023-02-20 14:42:17 +08:00
// NewCefTray LCL窗口组件 非windows系统不支持CefTray
func (m *LCLBrowserWindow) NewCefTray(width, height int32, url string) ITray {
2022-10-04 13:21:05 +08:00
return nil
}
2023-02-20 14:42:17 +08:00
// NewCefTray VF窗口组件 非windows系统不支持CefTray
func (m *ViewsFrameworkBrowserWindow) NewCefTray(width, height int32, url string) ITray {
return nil
}