2022-10-04 13:21:05 +08:00
|
|
|
//----------------------------------------
|
|
|
|
//
|
|
|
|
// Copyright © yanghy. All Rights Reserved.
|
|
|
|
//
|
2023-02-19 23:21:47 +08:00
|
|
|
// 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
|
2023-01-05 13:18:05 +08:00
|
|
|
func (m *LCLBrowserWindow) NewCefTray(width, height int32, url string) ITray {
|
2022-10-04 13:21:05 +08:00
|
|
|
return nil
|
|
|
|
}
|
2023-01-07 16:14:13 +08:00
|
|
|
|
2023-02-20 14:42:17 +08:00
|
|
|
// NewCefTray VF窗口组件 非windows系统不支持CefTray
|
2023-01-07 16:14:13 +08:00
|
|
|
func (m *ViewsFrameworkBrowserWindow) NewCefTray(width, height int32, url string) ITray {
|
|
|
|
return nil
|
|
|
|
}
|