Documentation ¶
Index ¶
- Constants
- func IsEqualGUID(guid1 *GUID, guid2 *GUID) bool
- type COREWEBVIEW2_COLOR
- type COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND
- type COREWEBVIEW2_KEY_EVENT_KIND
- type COREWEBVIEW2_MOVE_FOCUS_REASON
- type COREWEBVIEW2_PHYSICAL_KEY_STATUS
- type COREWEBVIEW2_WEB_RESOURCE_CONTEXT
- type GUID
- type ICoreWebView2AcceleratorKeyPressedEventArgs
- func (i *ICoreWebView2AcceleratorKeyPressedEventArgs) AddRef() uintptr
- func (i *ICoreWebView2AcceleratorKeyPressedEventArgs) GetKeyEventKind() (COREWEBVIEW2_KEY_EVENT_KIND, error)
- func (i *ICoreWebView2AcceleratorKeyPressedEventArgs) GetPhysicalKeyStatus() (COREWEBVIEW2_PHYSICAL_KEY_STATUS, error)
- func (i *ICoreWebView2AcceleratorKeyPressedEventArgs) GetVirtualKey() (uint, error)
- func (i *ICoreWebView2AcceleratorKeyPressedEventArgs) PutHandled(handled bool) error
- type ICoreWebView2AcceleratorKeyPressedEventHandler
- type ICoreWebView2Controller
- func (i *ICoreWebView2Controller) AddAcceleratorKeyPressed(eventHandler *ICoreWebView2AcceleratorKeyPressedEventHandler, ...) error
- func (i *ICoreWebView2Controller) AddRef() uintptr
- func (i *ICoreWebView2Controller) GetBounds() (*w32.Rect, error)
- func (i *ICoreWebView2Controller) GetICoreWebView2Controller2() *ICoreWebView2Controller2
- func (i *ICoreWebView2Controller) MoveFocus(reason COREWEBVIEW2_MOVE_FOCUS_REASON) error
- func (i *ICoreWebView2Controller) NotifyParentWindowPositionChanged() error
- func (i *ICoreWebView2Controller) PutBounds(bounds w32.Rect) error
- func (i *ICoreWebView2Controller) PutIsVisible(isVisible bool) error
- type ICoreWebView2Controller2
- type ICoreWebView2HttpHeadersCollectionIterator
- func (i *ICoreWebView2HttpHeadersCollectionIterator) GetCurrentHeader() (string, string, error)
- func (i *ICoreWebView2HttpHeadersCollectionIterator) HasCurrentHeader() (bool, error)
- func (i *ICoreWebView2HttpHeadersCollectionIterator) MoveNext() (bool, error)
- func (i *ICoreWebView2HttpHeadersCollectionIterator) Release() error
- type ICoreWebView2HttpRequestHeaders
- func (i *ICoreWebView2HttpRequestHeaders) GetHeader(name string) (string, error)
- func (i *ICoreWebView2HttpRequestHeaders) GetIterator() (*ICoreWebView2HttpHeadersCollectionIterator, error)
- func (i *ICoreWebView2HttpRequestHeaders) Release() error
- func (i *ICoreWebView2HttpRequestHeaders) SetHeader(name, value string) error
- type ICoreWebView2NavigationCompletedEventArgs
- type ICoreWebView2NavigationCompletedEventHandler
- type ICoreWebView2Settings
- func (i *ICoreWebView2Settings) AddRef() uintptr
- func (i *ICoreWebView2Settings) GetAreDefaultContextMenusEnabled() (bool, error)
- func (i *ICoreWebView2Settings) GetAreDefaultScriptDialogsEnabled() (bool, error)
- func (i *ICoreWebView2Settings) GetAreDevToolsEnabled() (bool, error)
- func (i *ICoreWebView2Settings) GetAreHostObjectsAllowed() (bool, error)
- func (i *ICoreWebView2Settings) GetIsBuiltInErrorPageEnabled() (bool, error)
- func (i *ICoreWebView2Settings) GetIsScriptEnabled() (bool, error)
- func (i *ICoreWebView2Settings) GetIsStatusBarEnabled() (bool, error)
- func (i *ICoreWebView2Settings) GetIsWebMessageEnabled() (bool, error)
- func (i *ICoreWebView2Settings) GetIsZoomControlEnabled() (bool, error)
- func (i *ICoreWebView2Settings) PutAreDefaultContextMenusEnabled(enabled bool) error
- func (i *ICoreWebView2Settings) PutAreDefaultScriptDialogsEnabled(areDefaultScriptDialogsEnabled bool) error
- func (i *ICoreWebView2Settings) PutAreDevToolsEnabled(areDevToolsEnabled bool) error
- func (i *ICoreWebView2Settings) PutAreHostObjectsAllowed(allowed bool) error
- func (i *ICoreWebView2Settings) PutIsBuiltInErrorPageEnabled(enabled bool) error
- func (i *ICoreWebView2Settings) PutIsScriptEnabled(isScriptEnabled bool) error
- func (i *ICoreWebView2Settings) PutIsStatusBarEnabled(isStatusBarEnabled bool) error
- func (i *ICoreWebView2Settings) PutIsWebMessageEnabled(isWebMessageEnabled bool) error
- func (i *ICoreWebView2Settings) PutIsZoomControlEnabled(enabled bool) error
- type ICoreWebView2WebResourceRequest
- func (i *ICoreWebView2WebResourceRequest) AddRef() uintptr
- func (i *ICoreWebView2WebResourceRequest) GetContent() (*IStream, error)
- func (i *ICoreWebView2WebResourceRequest) GetHeaders() (*ICoreWebView2HttpRequestHeaders, error)
- func (i *ICoreWebView2WebResourceRequest) GetMethod() (string, error)
- func (i *ICoreWebView2WebResourceRequest) GetUri() (string, error)
- func (i *ICoreWebView2WebResourceRequest) Release() error
- type ICoreWebView2WebResourceRequestedEventArgs
- type ICoreWebView2WebResourceResponse
- type ICoreWebView2_2
- type ICoreWebView2_3
- type ICoreWebViewSettings
- func (i *ICoreWebViewSettings) AddRef() uintptr
- func (i *ICoreWebViewSettings) GetAreBrowserAcceleratorKeysEnabled() (bool, error)
- func (i *ICoreWebViewSettings) GetAreDefaultContextMenusEnabled() (bool, error)
- func (i *ICoreWebViewSettings) GetAreDefaultScriptDialogsEnabled() (bool, error)
- func (i *ICoreWebViewSettings) GetAreDevToolsEnabled() (bool, error)
- func (i *ICoreWebViewSettings) GetAreHostObjectsAllowed() (bool, error)
- func (i *ICoreWebViewSettings) GetIsBuiltInErrorPageEnabled() (bool, error)
- func (i *ICoreWebViewSettings) GetIsPinchZoomEnabled() (bool, error)
- func (i *ICoreWebViewSettings) GetIsScriptEnabled() (bool, error)
- func (i *ICoreWebViewSettings) GetIsStatusBarEnabled() (bool, error)
- func (i *ICoreWebViewSettings) GetIsSwipeNavigationEnabled() (bool, error)
- func (i *ICoreWebViewSettings) GetIsWebMessageEnabled() (bool, error)
- func (i *ICoreWebViewSettings) GetIsZoomControlEnabled() (bool, error)
- func (i *ICoreWebViewSettings) GetUserAgent() (string, error)
- func (i *ICoreWebViewSettings) PutAreBrowserAcceleratorKeysEnabled(enabled bool) error
- func (i *ICoreWebViewSettings) PutAreDefaultContextMenusEnabled(enabled bool) error
- func (i *ICoreWebViewSettings) PutAreDefaultScriptDialogsEnabled(areDefaultScriptDialogsEnabled bool) error
- func (i *ICoreWebViewSettings) PutAreDevToolsEnabled(areDevToolsEnabled bool) error
- func (i *ICoreWebViewSettings) PutAreHostObjectsAllowed(allowed bool) error
- func (i *ICoreWebViewSettings) PutIsBuiltInErrorPageEnabled(enabled bool) error
- func (i *ICoreWebViewSettings) PutIsPinchZoomEnabled(enabled bool) error
- func (i *ICoreWebViewSettings) PutIsScriptEnabled(isScriptEnabled bool) error
- func (i *ICoreWebViewSettings) PutIsStatusBarEnabled(isStatusBarEnabled bool) error
- func (i *ICoreWebViewSettings) PutIsSwipeNavigationEnabled(enabled bool) error
- func (i *ICoreWebViewSettings) PutIsWebMessageEnabled(isWebMessageEnabled bool) error
- func (i *ICoreWebViewSettings) PutIsZoomControlEnabled(enabled bool) error
- func (i *ICoreWebViewSettings) PutUserAgent(userAgent string) error
- type IStream
Constants ¶
const ( COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND_DENY = iota COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND_ALLOW COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND_DENY_CORS )
const ( COREWEBVIEW2_KEY_EVENT_KIND_KEY_DOWN = 0 COREWEBVIEW2_KEY_EVENT_KIND_KEY_UP = 1 COREWEBVIEW2_KEY_EVENT_KIND_SYSTEM_KEY_DOWN = 2 COREWEBVIEW2_KEY_EVENT_KIND_SYSTEM_KEY_UP = 3 )
const ( COREWEBVIEW2_MOVE_FOCUS_REASON_PROGRAMMATIC = 0 COREWEBVIEW2_MOVE_FOCUS_REASON_NEXT = 1 COREWEBVIEW2_MOVE_FOCUS_REASON_PREVIOUS = 2 )
const ( COREWEBVIEW2_WEB_RESOURCE_CONTEXT_ALL = 0 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_DOCUMENT = 1 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_STYLESHEET = 2 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_IMAGE = 3 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_MEDIA = 4 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_FONT = 5 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_SCRIPT = 6 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_XML_HTTP_REQUEST = 7 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_FETCH = 8 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_TEXT_TRACK = 9 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_EVENT_SOURCE = 10 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_WEBSOCKET = 11 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_MANIFEST = 12 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_SIGNED_EXCHANGE = 13 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_PING = 14 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_CSP_VIOLATION_REPORT = 15 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_OTHER = 16 )
const (
ERROR_ELEMENT_NOT_FOUND syscall.Errno = 0x80070490
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND ¶
type COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND uint32
type COREWEBVIEW2_KEY_EVENT_KIND ¶
type COREWEBVIEW2_KEY_EVENT_KIND uint32
type COREWEBVIEW2_MOVE_FOCUS_REASON ¶
type COREWEBVIEW2_MOVE_FOCUS_REASON uint32
type COREWEBVIEW2_WEB_RESOURCE_CONTEXT ¶
type COREWEBVIEW2_WEB_RESOURCE_CONTEXT uint32
type GUID ¶
GUID is Windows API specific GUID type.
This exists to match Windows GUID type for direct passing for COM. Format is in xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxxxxxx.
func NewGUID ¶
NewGUID converts the given string into a globally unique identifier that is compliant with the Windows API.
The supplied string may be in any of these formats:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}
The conversion of the supplied string is not case-sensitive.
type ICoreWebView2AcceleratorKeyPressedEventArgs ¶
type ICoreWebView2AcceleratorKeyPressedEventArgs struct {
// contains filtered or unexported fields
}
func (*ICoreWebView2AcceleratorKeyPressedEventArgs) AddRef ¶
func (i *ICoreWebView2AcceleratorKeyPressedEventArgs) AddRef() uintptr
func (*ICoreWebView2AcceleratorKeyPressedEventArgs) GetKeyEventKind ¶
func (i *ICoreWebView2AcceleratorKeyPressedEventArgs) GetKeyEventKind() (COREWEBVIEW2_KEY_EVENT_KIND, error)
func (*ICoreWebView2AcceleratorKeyPressedEventArgs) GetPhysicalKeyStatus ¶
func (i *ICoreWebView2AcceleratorKeyPressedEventArgs) GetPhysicalKeyStatus() (COREWEBVIEW2_PHYSICAL_KEY_STATUS, error)
func (*ICoreWebView2AcceleratorKeyPressedEventArgs) GetVirtualKey ¶
func (i *ICoreWebView2AcceleratorKeyPressedEventArgs) GetVirtualKey() (uint, error)
func (*ICoreWebView2AcceleratorKeyPressedEventArgs) PutHandled ¶
func (i *ICoreWebView2AcceleratorKeyPressedEventArgs) PutHandled(handled bool) error
type ICoreWebView2AcceleratorKeyPressedEventHandler ¶
type ICoreWebView2AcceleratorKeyPressedEventHandler struct {
// contains filtered or unexported fields
}
func (*ICoreWebView2AcceleratorKeyPressedEventHandler) AddRef ¶
func (i *ICoreWebView2AcceleratorKeyPressedEventHandler) AddRef() uintptr
type ICoreWebView2Controller ¶
type ICoreWebView2Controller struct {
// contains filtered or unexported fields
}
func (*ICoreWebView2Controller) AddAcceleratorKeyPressed ¶
func (i *ICoreWebView2Controller) AddAcceleratorKeyPressed(eventHandler *ICoreWebView2AcceleratorKeyPressedEventHandler, token *_EventRegistrationToken) error
func (*ICoreWebView2Controller) AddRef ¶
func (i *ICoreWebView2Controller) AddRef() uintptr
func (*ICoreWebView2Controller) GetBounds ¶
func (i *ICoreWebView2Controller) GetBounds() (*w32.Rect, error)
func (*ICoreWebView2Controller) GetICoreWebView2Controller2 ¶
func (i *ICoreWebView2Controller) GetICoreWebView2Controller2() *ICoreWebView2Controller2
func (*ICoreWebView2Controller) MoveFocus ¶
func (i *ICoreWebView2Controller) MoveFocus(reason COREWEBVIEW2_MOVE_FOCUS_REASON) error
func (*ICoreWebView2Controller) NotifyParentWindowPositionChanged ¶
func (i *ICoreWebView2Controller) NotifyParentWindowPositionChanged() error
func (*ICoreWebView2Controller) PutBounds ¶
func (i *ICoreWebView2Controller) PutBounds(bounds w32.Rect) error
func (*ICoreWebView2Controller) PutIsVisible ¶
func (i *ICoreWebView2Controller) PutIsVisible(isVisible bool) error
type ICoreWebView2Controller2 ¶
type ICoreWebView2Controller2 struct {
// contains filtered or unexported fields
}
func (*ICoreWebView2Controller2) AddRef ¶
func (i *ICoreWebView2Controller2) AddRef() uintptr
func (*ICoreWebView2Controller2) GetDefaultBackgroundColor ¶
func (i *ICoreWebView2Controller2) GetDefaultBackgroundColor() (*COREWEBVIEW2_COLOR, error)
func (*ICoreWebView2Controller2) PutDefaultBackgroundColor ¶
func (i *ICoreWebView2Controller2) PutDefaultBackgroundColor(backgroundColor COREWEBVIEW2_COLOR) error
type ICoreWebView2HttpHeadersCollectionIterator ¶
type ICoreWebView2HttpHeadersCollectionIterator struct {
// contains filtered or unexported fields
}
func (*ICoreWebView2HttpHeadersCollectionIterator) GetCurrentHeader ¶
func (i *ICoreWebView2HttpHeadersCollectionIterator) GetCurrentHeader() (string, string, error)
func (*ICoreWebView2HttpHeadersCollectionIterator) HasCurrentHeader ¶
func (i *ICoreWebView2HttpHeadersCollectionIterator) HasCurrentHeader() (bool, error)
func (*ICoreWebView2HttpHeadersCollectionIterator) MoveNext ¶
func (i *ICoreWebView2HttpHeadersCollectionIterator) MoveNext() (bool, error)
func (*ICoreWebView2HttpHeadersCollectionIterator) Release ¶
func (i *ICoreWebView2HttpHeadersCollectionIterator) Release() error
type ICoreWebView2HttpRequestHeaders ¶
type ICoreWebView2HttpRequestHeaders struct {
// contains filtered or unexported fields
}
func (*ICoreWebView2HttpRequestHeaders) GetHeader ¶
func (i *ICoreWebView2HttpRequestHeaders) GetHeader(name string) (string, error)
GetHeader returns the value of the specified header. If the header is not found ERROR_ELEMENT_NOT_FOUND is returned as error.
func (*ICoreWebView2HttpRequestHeaders) GetIterator ¶
func (i *ICoreWebView2HttpRequestHeaders) GetIterator() (*ICoreWebView2HttpHeadersCollectionIterator, error)
GetIterator returns an iterator over the collection of request headers. Make sure to call Release on the returned Object after finished using it.
func (*ICoreWebView2HttpRequestHeaders) Release ¶
func (i *ICoreWebView2HttpRequestHeaders) Release() error
func (*ICoreWebView2HttpRequestHeaders) SetHeader ¶
func (i *ICoreWebView2HttpRequestHeaders) SetHeader(name, value string) error
SetHeader sets the specified header to the value.
type ICoreWebView2NavigationCompletedEventArgs ¶
type ICoreWebView2NavigationCompletedEventArgs struct {
// contains filtered or unexported fields
}
func (*ICoreWebView2NavigationCompletedEventArgs) AddRef ¶
func (i *ICoreWebView2NavigationCompletedEventArgs) AddRef() uintptr
type ICoreWebView2NavigationCompletedEventHandler ¶
type ICoreWebView2NavigationCompletedEventHandler struct {
// contains filtered or unexported fields
}
func (*ICoreWebView2NavigationCompletedEventHandler) AddRef ¶
func (i *ICoreWebView2NavigationCompletedEventHandler) AddRef() uintptr
type ICoreWebView2Settings ¶
type ICoreWebView2Settings struct {
// contains filtered or unexported fields
}
func (*ICoreWebView2Settings) AddRef ¶
func (i *ICoreWebView2Settings) AddRef() uintptr
func (*ICoreWebView2Settings) GetAreDefaultContextMenusEnabled ¶
func (i *ICoreWebView2Settings) GetAreDefaultContextMenusEnabled() (bool, error)
func (*ICoreWebView2Settings) GetAreDefaultScriptDialogsEnabled ¶
func (i *ICoreWebView2Settings) GetAreDefaultScriptDialogsEnabled() (bool, error)
func (*ICoreWebView2Settings) GetAreDevToolsEnabled ¶
func (i *ICoreWebView2Settings) GetAreDevToolsEnabled() (bool, error)
func (*ICoreWebView2Settings) GetAreHostObjectsAllowed ¶
func (i *ICoreWebView2Settings) GetAreHostObjectsAllowed() (bool, error)
func (*ICoreWebView2Settings) GetIsBuiltInErrorPageEnabled ¶
func (i *ICoreWebView2Settings) GetIsBuiltInErrorPageEnabled() (bool, error)
func (*ICoreWebView2Settings) GetIsScriptEnabled ¶
func (i *ICoreWebView2Settings) GetIsScriptEnabled() (bool, error)
func (*ICoreWebView2Settings) GetIsStatusBarEnabled ¶
func (i *ICoreWebView2Settings) GetIsStatusBarEnabled() (bool, error)
func (*ICoreWebView2Settings) GetIsWebMessageEnabled ¶
func (i *ICoreWebView2Settings) GetIsWebMessageEnabled() (bool, error)
func (*ICoreWebView2Settings) GetIsZoomControlEnabled ¶
func (i *ICoreWebView2Settings) GetIsZoomControlEnabled() (bool, error)
func (*ICoreWebView2Settings) PutAreDefaultContextMenusEnabled ¶
func (i *ICoreWebView2Settings) PutAreDefaultContextMenusEnabled(enabled bool) error
func (*ICoreWebView2Settings) PutAreDefaultScriptDialogsEnabled ¶
func (i *ICoreWebView2Settings) PutAreDefaultScriptDialogsEnabled(areDefaultScriptDialogsEnabled bool) error
func (*ICoreWebView2Settings) PutAreDevToolsEnabled ¶
func (i *ICoreWebView2Settings) PutAreDevToolsEnabled(areDevToolsEnabled bool) error
func (*ICoreWebView2Settings) PutAreHostObjectsAllowed ¶
func (i *ICoreWebView2Settings) PutAreHostObjectsAllowed(allowed bool) error
func (*ICoreWebView2Settings) PutIsBuiltInErrorPageEnabled ¶
func (i *ICoreWebView2Settings) PutIsBuiltInErrorPageEnabled(enabled bool) error
func (*ICoreWebView2Settings) PutIsScriptEnabled ¶
func (i *ICoreWebView2Settings) PutIsScriptEnabled(isScriptEnabled bool) error
func (*ICoreWebView2Settings) PutIsStatusBarEnabled ¶
func (i *ICoreWebView2Settings) PutIsStatusBarEnabled(isStatusBarEnabled bool) error
func (*ICoreWebView2Settings) PutIsWebMessageEnabled ¶
func (i *ICoreWebView2Settings) PutIsWebMessageEnabled(isWebMessageEnabled bool) error
func (*ICoreWebView2Settings) PutIsZoomControlEnabled ¶
func (i *ICoreWebView2Settings) PutIsZoomControlEnabled(enabled bool) error
type ICoreWebView2WebResourceRequest ¶
type ICoreWebView2WebResourceRequest struct {
// contains filtered or unexported fields
}
func (*ICoreWebView2WebResourceRequest) AddRef ¶
func (i *ICoreWebView2WebResourceRequest) AddRef() uintptr
func (*ICoreWebView2WebResourceRequest) GetContent ¶
func (i *ICoreWebView2WebResourceRequest) GetContent() (*IStream, error)
GetContent returns the body of the request. Returns nil if there's no body. Make sure to call Release on the returned IStream after finished using it.
func (*ICoreWebView2WebResourceRequest) GetHeaders ¶
func (i *ICoreWebView2WebResourceRequest) GetHeaders() (*ICoreWebView2HttpRequestHeaders, error)
GetHeaders returns the mutable HTTP request headers. Make sure to call Release on the returned Object after finished using it.
func (*ICoreWebView2WebResourceRequest) GetMethod ¶
func (i *ICoreWebView2WebResourceRequest) GetMethod() (string, error)
func (*ICoreWebView2WebResourceRequest) GetUri ¶
func (i *ICoreWebView2WebResourceRequest) GetUri() (string, error)
func (*ICoreWebView2WebResourceRequest) Release ¶
func (i *ICoreWebView2WebResourceRequest) Release() error
type ICoreWebView2WebResourceRequestedEventArgs ¶
type ICoreWebView2WebResourceRequestedEventArgs struct {
// contains filtered or unexported fields
}
func (*ICoreWebView2WebResourceRequestedEventArgs) AddRef ¶
func (i *ICoreWebView2WebResourceRequestedEventArgs) AddRef() uintptr
func (*ICoreWebView2WebResourceRequestedEventArgs) GetRequest ¶
func (i *ICoreWebView2WebResourceRequestedEventArgs) GetRequest() (*ICoreWebView2WebResourceRequest, error)
func (*ICoreWebView2WebResourceRequestedEventArgs) PutResponse ¶
func (i *ICoreWebView2WebResourceRequestedEventArgs) PutResponse(response *ICoreWebView2WebResourceResponse) error
type ICoreWebView2WebResourceResponse ¶
type ICoreWebView2WebResourceResponse struct {
// contains filtered or unexported fields
}
func (*ICoreWebView2WebResourceResponse) AddRef ¶
func (i *ICoreWebView2WebResourceResponse) AddRef() uintptr
func (*ICoreWebView2WebResourceResponse) Release ¶
func (i *ICoreWebView2WebResourceResponse) Release() error
type ICoreWebView2_2 ¶
type ICoreWebView2_2 struct {
// contains filtered or unexported fields
}
type ICoreWebView2_3 ¶
type ICoreWebView2_3 struct {
// contains filtered or unexported fields
}
func (*ICoreWebView2_3) SetVirtualHostNameToFolderMapping ¶
func (i *ICoreWebView2_3) SetVirtualHostNameToFolderMapping(hostName, folderPath string, accessKind COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND) error
type ICoreWebViewSettings ¶
type ICoreWebViewSettings struct {
// contains filtered or unexported fields
}
func (*ICoreWebViewSettings) AddRef ¶
func (i *ICoreWebViewSettings) AddRef() uintptr
func (*ICoreWebViewSettings) GetAreBrowserAcceleratorKeysEnabled ¶
func (i *ICoreWebViewSettings) GetAreBrowserAcceleratorKeysEnabled() (bool, error)
func (*ICoreWebViewSettings) GetAreDefaultContextMenusEnabled ¶
func (i *ICoreWebViewSettings) GetAreDefaultContextMenusEnabled() (bool, error)
func (*ICoreWebViewSettings) GetAreDefaultScriptDialogsEnabled ¶
func (i *ICoreWebViewSettings) GetAreDefaultScriptDialogsEnabled() (bool, error)
func (*ICoreWebViewSettings) GetAreDevToolsEnabled ¶
func (i *ICoreWebViewSettings) GetAreDevToolsEnabled() (bool, error)
func (*ICoreWebViewSettings) GetAreHostObjectsAllowed ¶
func (i *ICoreWebViewSettings) GetAreHostObjectsAllowed() (bool, error)
func (*ICoreWebViewSettings) GetIsBuiltInErrorPageEnabled ¶
func (i *ICoreWebViewSettings) GetIsBuiltInErrorPageEnabled() (bool, error)
func (*ICoreWebViewSettings) GetIsPinchZoomEnabled ¶
func (i *ICoreWebViewSettings) GetIsPinchZoomEnabled() (bool, error)
func (*ICoreWebViewSettings) GetIsScriptEnabled ¶
func (i *ICoreWebViewSettings) GetIsScriptEnabled() (bool, error)
func (*ICoreWebViewSettings) GetIsStatusBarEnabled ¶
func (i *ICoreWebViewSettings) GetIsStatusBarEnabled() (bool, error)
func (*ICoreWebViewSettings) GetIsSwipeNavigationEnabled ¶
func (i *ICoreWebViewSettings) GetIsSwipeNavigationEnabled() (bool, error)
func (*ICoreWebViewSettings) GetIsWebMessageEnabled ¶
func (i *ICoreWebViewSettings) GetIsWebMessageEnabled() (bool, error)
func (*ICoreWebViewSettings) GetIsZoomControlEnabled ¶
func (i *ICoreWebViewSettings) GetIsZoomControlEnabled() (bool, error)
func (*ICoreWebViewSettings) GetUserAgent ¶
func (i *ICoreWebViewSettings) GetUserAgent() (string, error)
func (*ICoreWebViewSettings) PutAreBrowserAcceleratorKeysEnabled ¶
func (i *ICoreWebViewSettings) PutAreBrowserAcceleratorKeysEnabled(enabled bool) error
func (*ICoreWebViewSettings) PutAreDefaultContextMenusEnabled ¶
func (i *ICoreWebViewSettings) PutAreDefaultContextMenusEnabled(enabled bool) error
func (*ICoreWebViewSettings) PutAreDefaultScriptDialogsEnabled ¶
func (i *ICoreWebViewSettings) PutAreDefaultScriptDialogsEnabled(areDefaultScriptDialogsEnabled bool) error
func (*ICoreWebViewSettings) PutAreDevToolsEnabled ¶
func (i *ICoreWebViewSettings) PutAreDevToolsEnabled(areDevToolsEnabled bool) error
func (*ICoreWebViewSettings) PutAreHostObjectsAllowed ¶
func (i *ICoreWebViewSettings) PutAreHostObjectsAllowed(allowed bool) error
func (*ICoreWebViewSettings) PutIsBuiltInErrorPageEnabled ¶
func (i *ICoreWebViewSettings) PutIsBuiltInErrorPageEnabled(enabled bool) error
func (*ICoreWebViewSettings) PutIsPinchZoomEnabled ¶
func (i *ICoreWebViewSettings) PutIsPinchZoomEnabled(enabled bool) error
func (*ICoreWebViewSettings) PutIsScriptEnabled ¶
func (i *ICoreWebViewSettings) PutIsScriptEnabled(isScriptEnabled bool) error
func (*ICoreWebViewSettings) PutIsStatusBarEnabled ¶
func (i *ICoreWebViewSettings) PutIsStatusBarEnabled(isStatusBarEnabled bool) error
func (*ICoreWebViewSettings) PutIsSwipeNavigationEnabled ¶
func (i *ICoreWebViewSettings) PutIsSwipeNavigationEnabled(enabled bool) error
func (*ICoreWebViewSettings) PutIsWebMessageEnabled ¶
func (i *ICoreWebViewSettings) PutIsWebMessageEnabled(isWebMessageEnabled bool) error
func (*ICoreWebViewSettings) PutIsZoomControlEnabled ¶
func (i *ICoreWebViewSettings) PutIsZoomControlEnabled(enabled bool) error
func (*ICoreWebViewSettings) PutUserAgent ¶
func (i *ICoreWebViewSettings) PutUserAgent(userAgent string) error
Source Files ¶
- COREWEBVIEW2_COLOR.go
- COREWEBVIEW2_HOST_RESOURCE_ACCESS_KIND.go
- COREWEBVIEW2_KEY_EVENT_KIND.go
- COREWEBVIEW2_MOVE_FOCUS_REASON.go
- COREWEBVIEW2_PHYSICAL_KEY_STATUS.go
- COREWEBVIEW2_WEB_RESOURCE_CONTEXT.go
- ICoreWebView2AcceleratorKeyPressedEventArgs.go
- ICoreWebView2AcceleratorKeyPressedEventHandler.go
- ICoreWebView2Controller.go
- ICoreWebView2Controller2.go
- ICoreWebView2CreateCoreWebView2ControllerCompletedHandler.go
- ICoreWebView2HttpHeadersCollectionIterator.go
- ICoreWebView2HttpRequestHeaders.go
- ICoreWebView2NavigationCompletedEventArgs.go
- ICoreWebView2NavigationCompletedEventHandler.go
- ICoreWebView2Settings.go
- ICoreWebView2WebResourceRequest.go
- ICoreWebView2WebResourceRequestedEventArgs.go
- ICoreWebView2WebResourceRequestedEventHandler.go
- ICoreWebView2WebResourceResponse.go
- ICoreWebView2_2.go
- ICoreWebView2_3.go
- ICoreWebViewSettings.go
- IStream.go
- guid.go