返回 DeepSeek-Reasonix
chromium_amd64.go
根目录 / desktop / third_party / go-webview2 / pkg / edge / chromium_amd64.go
1 //go:build windows
2 // +build windows
3
4 package edge
5
6 import (
7 "github.com/wailsapp/go-webview2/internal/w32"
8 )
9
10 func (e *Chromium) SetSize(bounds w32.Rect) {
11 if e.controller == nil {
12 return
13 }
14
15 err := e.controller.PutBounds(bounds)
16 if err != nil {
17 e.errorCallback(err)
18 }
19 }
20
20 lines GO