window interface for webview