[v3] implement Window interface

This commit is contained in:
Travis McLane
2023-09-28 11:39:39 -05:00
parent a428a730d5
commit c87489adf3
18 changed files with 171 additions and 114 deletions
@@ -70,7 +70,7 @@ var windowMethodNames = map[int]string{
WindowSetZoomLevel: "SetZoomLevel",
}
func (m *MessageProcessor) processWindowMethod(method int, rw http.ResponseWriter, _ *http.Request, window *WebviewWindow, params QueryParams) {
func (m *MessageProcessor) processWindowMethod(method int, rw http.ResponseWriter, _ *http.Request, window Window, params QueryParams) {
args, err := params.Args()
if err != nil {