webkit

package
v0.19.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2023 License: BSD-2-Clause Imports: 12 Imported by: 0

Documentation

Overview

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

auto-generated code, do not modify

Index

Constants

This section is empty.

Variables

View Source
var BackForwardListClass = _BackForwardListClass{objc.GetClass("WKBackForwardList")}
View Source
var BackForwardListItemClass = _BackForwardListItemClass{objc.GetClass("WKBackForwardListItem")}
View Source
var ContentRuleListClass = _ContentRuleListClass{objc.GetClass("WKContentRuleList")}
View Source
var ContentWorldClass = _ContentWorldClass{objc.GetClass("WKContentWorld")}
View Source
var DownloadClass = _DownloadClass{objc.GetClass("WKDownload")}
View Source
var FindConfigurationClass = _FindConfigurationClass{objc.GetClass("WKFindConfiguration")}
View Source
var FindResultClass = _FindResultClass{objc.GetClass("WKFindResult")}
View Source
var FrameInfoClass = _FrameInfoClass{objc.GetClass("WKFrameInfo")}
View Source
var HTTPCookieStoreClass = _HTTPCookieStoreClass{objc.GetClass("WKHTTPCookieStore")}
View Source
var NavigationActionClass = _NavigationActionClass{objc.GetClass("WKNavigationAction")}
View Source
var NavigationClass = _NavigationClass{objc.GetClass("WKNavigation")}
View Source
var NavigationResponseClass = _NavigationResponseClass{objc.GetClass("WKNavigationResponse")}
View Source
var PDFConfigurationClass = _PDFConfigurationClass{objc.GetClass("WKPDFConfiguration")}
View Source
var PreferencesClass = _PreferencesClass{objc.GetClass("WKPreferences")}
View Source
var ProcessPoolClass = _ProcessPoolClass{objc.GetClass("WKProcessPool")}
View Source
var ScriptMessageClass = _ScriptMessageClass{objc.GetClass("WKScriptMessage")}
View Source
var SecurityOriginClass = _SecurityOriginClass{objc.GetClass("WKSecurityOrigin")}
View Source
var SnapshotConfigurationClass = _SnapshotConfigurationClass{objc.GetClass("WKSnapshotConfiguration")}
View Source
var UserContentControllerClass = _UserContentControllerClass{objc.GetClass("WKUserContentController")}
View Source
var UserScriptClass = _UserScriptClass{objc.GetClass("WKUserScript")}
View Source
var WebViewClass = _WebViewClass{objc.GetClass("WKWebView")}
View Source
var WebViewConfigurationClass = _WebViewConfigurationClass{objc.GetClass("WKWebViewConfiguration")}
View Source
var WebpagePreferencesClass = _WebpagePreferencesClass{objc.GetClass("WKWebpagePreferences")}
View Source
var WebsiteDataRecordClass = _WebsiteDataRecordClass{objc.GetClass("WKWebsiteDataRecord")}
View Source
var WebsiteDataStoreClass = _WebsiteDataStoreClass{objc.GetClass("WKWebsiteDataStore")}
View Source
var WindowFeaturesClass = _WindowFeaturesClass{objc.GetClass("WKWindowFeatures")}

Functions

func AddScriptMessageHandler added in v0.14.5

func AddScriptMessageHandler(v IWebView, name string, handler func(message objc.Object))

AddScriptMessageHandler is convinent method for adding ScriptMessageHandler to WebView ContentController

func AddScriptMessageHandlerWithReply added in v0.14.5

func AddScriptMessageHandlerWithReply(v IWebView, name string, handler func(message objc.Object) (objc.IObject, error))

AddScriptMessageHandlerWithReply is convinent method for adding ScriptMessageHandlerWithReply to WebView ContentController

func LoadURL added in v0.14.5

func LoadURL(v IWebView, url string)

LoadURL is convinent method for loading url into webview

func WrapNavigationDelegate added in v0.18.0

func WrapNavigationDelegate(v NavigationDelegate) objc.Object

func WrapScriptMessageHandler added in v0.18.0

func WrapScriptMessageHandler(v ScriptMessageHandler) objc.Object

func WrapScriptMessageHandlerWithReply added in v0.18.0

func WrapScriptMessageHandlerWithReply(v ScriptMessageHandlerWithReply) objc.Object

func WrapUIDelegate added in v0.18.0

func WrapUIDelegate(v UIDelegate) objc.Object

func WrapURLSchemeHandler added in v0.18.0

func WrapURLSchemeHandler(v URLSchemeHandler) objc.Object

Types

type AudiovisualMediaTypes

type AudiovisualMediaTypes uint
const AudiovisualMediaTypeAll AudiovisualMediaTypes = 18446744073709551615
const AudiovisualMediaTypeAudio AudiovisualMediaTypes = 1
const AudiovisualMediaTypeNone AudiovisualMediaTypes = 0
const AudiovisualMediaTypeVideo AudiovisualMediaTypes = 2

type BackForwardList

type BackForwardList struct {
	objc.Object
}

func MakeBackForwardList

func MakeBackForwardList(ptr unsafe.Pointer) BackForwardList

func NewBackForwardList added in v0.13.0

func NewBackForwardList() BackForwardList

func (BackForwardList) BackItem

func (b_ BackForwardList) BackItem() BackForwardListItem

func (BackForwardList) BackList

func (b_ BackForwardList) BackList() []BackForwardListItem

func (BackForwardList) CurrentItem

func (b_ BackForwardList) CurrentItem() BackForwardListItem

func (BackForwardList) ForwardItem

func (b_ BackForwardList) ForwardItem() BackForwardListItem

func (BackForwardList) ForwardList

func (b_ BackForwardList) ForwardList() []BackForwardListItem

func (BackForwardList) Init added in v0.13.0

func (b_ BackForwardList) Init() BackForwardList

func (BackForwardList) ItemAtIndex

func (b_ BackForwardList) ItemAtIndex(index int) BackForwardListItem

type BackForwardListItem

type BackForwardListItem struct {
	objc.Object
}

func MakeBackForwardListItem

func MakeBackForwardListItem(ptr unsafe.Pointer) BackForwardListItem

func NewBackForwardListItem added in v0.13.0

func NewBackForwardListItem() BackForwardListItem

func (BackForwardListItem) Init added in v0.13.0

func (BackForwardListItem) InitialURL

func (b_ BackForwardListItem) InitialURL() foundation.URL

func (BackForwardListItem) Title

func (b_ BackForwardListItem) Title() string

func (BackForwardListItem) URL

type ContentMode

type ContentMode int
const ContentModeDesktop ContentMode = 2
const ContentModeMobile ContentMode = 1
const ContentModeRecommended ContentMode = 0

type ContentRuleList

type ContentRuleList struct {
	objc.Object
}

func MakeContentRuleList

func MakeContentRuleList(ptr unsafe.Pointer) ContentRuleList

func NewContentRuleList

func NewContentRuleList() ContentRuleList

func (ContentRuleList) Identifier

func (c_ ContentRuleList) Identifier() string

func (ContentRuleList) Init added in v0.11.0

func (c_ ContentRuleList) Init() ContentRuleList

type ContentWorld

type ContentWorld struct {
	objc.Object
}

func MakeContentWorld

func MakeContentWorld(ptr unsafe.Pointer) ContentWorld

func NewContentWorld added in v0.13.0

func NewContentWorld() ContentWorld

func (ContentWorld) Init added in v0.13.0

func (c_ ContentWorld) Init() ContentWorld

func (ContentWorld) Name

func (c_ ContentWorld) Name() string

type Download

type Download struct {
	objc.Object
}

func MakeDownload

func MakeDownload(ptr unsafe.Pointer) Download

func NewDownload

func NewDownload() Download

func (Download) Cancel added in v0.13.3

func (d_ Download) Cancel(completionHandler func(resumeData []byte))

func (Download) Init added in v0.11.0

func (d_ Download) Init() Download

func (Download) OriginalRequest

func (d_ Download) OriginalRequest() foundation.URLRequest

func (Download) WebView

func (d_ Download) WebView() WebView

weak property

type FileSystemURLSchemeHandler added in v0.14.5

type FileSystemURLSchemeHandler struct {
	FS fs.FS
}

FileSystemURLSchemeHandler is a WebView URLSchemeHandler supportting the go FileSystem.

func (*FileSystemURLSchemeHandler) WebView_StartURLSchemeTask added in v0.14.5

func (h *FileSystemURLSchemeHandler) WebView_StartURLSchemeTask(webView WebView, urlSchemeTask URLSchemeTask)

WebView_StartURLSchemeTask implements URLSchemeHandler

func (*FileSystemURLSchemeHandler) WebView_StopURLSchemeTask added in v0.14.5

func (h *FileSystemURLSchemeHandler) WebView_StopURLSchemeTask(webView WebView, urlSchemeTask URLSchemeTask)

WebView_StopURLSchemeTask implements URLSchemeHandler

type FindConfiguration added in v0.14.5

type FindConfiguration struct {
	objc.Object
}

func MakeFindConfiguration added in v0.14.5

func MakeFindConfiguration(ptr unsafe.Pointer) FindConfiguration

func NewFindConfiguration added in v0.14.5

func NewFindConfiguration() FindConfiguration

func (FindConfiguration) Backwards added in v0.14.5

func (f_ FindConfiguration) Backwards() bool

func (FindConfiguration) CaseSensitive added in v0.14.5

func (f_ FindConfiguration) CaseSensitive() bool

func (FindConfiguration) Init added in v0.14.5

func (FindConfiguration) SetBackwards added in v0.14.5

func (f_ FindConfiguration) SetBackwards(value bool)

func (FindConfiguration) SetCaseSensitive added in v0.14.5

func (f_ FindConfiguration) SetCaseSensitive(value bool)

func (FindConfiguration) SetWraps added in v0.14.5

func (f_ FindConfiguration) SetWraps(value bool)

func (FindConfiguration) Wraps added in v0.14.5

func (f_ FindConfiguration) Wraps() bool

type FindResult added in v0.14.5

type FindResult struct {
	objc.Object
}

func MakeFindResult added in v0.14.5

func MakeFindResult(ptr unsafe.Pointer) FindResult

func NewFindResult added in v0.14.5

func NewFindResult() FindResult

func (FindResult) Init added in v0.14.5

func (f_ FindResult) Init() FindResult

func (FindResult) MatchFound added in v0.14.5

func (f_ FindResult) MatchFound() bool

type FrameInfo

type FrameInfo struct {
	objc.Object
}

func MakeFrameInfo

func MakeFrameInfo(ptr unsafe.Pointer) FrameInfo

func NewFrameInfo

func NewFrameInfo() FrameInfo

func (FrameInfo) Init added in v0.11.0

func (f_ FrameInfo) Init() FrameInfo

func (FrameInfo) IsMainFrame

func (f_ FrameInfo) IsMainFrame() bool

func (FrameInfo) Request

func (f_ FrameInfo) Request() foundation.URLRequest

func (FrameInfo) SecurityOrigin

func (f_ FrameInfo) SecurityOrigin() SecurityOrigin

func (FrameInfo) WebView

func (f_ FrameInfo) WebView() WebView

weak property

type FullscreenState added in v0.12.0

type FullscreenState int
const FullscreenStateEnteringFullscreen FullscreenState = 1
const FullscreenStateExitingFullscreen FullscreenState = 3
const FullscreenStateInFullscreen FullscreenState = 2
const FullscreenStateNotInFullscreen FullscreenState = 0

type HTTPCookieStore

type HTTPCookieStore struct {
	objc.Object
}

func MakeHTTPCookieStore

func MakeHTTPCookieStore(ptr unsafe.Pointer) HTTPCookieStore

func NewHTTPCookieStore added in v0.13.0

func NewHTTPCookieStore() HTTPCookieStore

func (HTTPCookieStore) DeleteCookie_CompletionHandler added in v0.13.3

func (h_ HTTPCookieStore) DeleteCookie_CompletionHandler(cookie foundation.IHTTPCookie, completionHandler func())

func (HTTPCookieStore) GetAllCookies added in v0.13.3

func (h_ HTTPCookieStore) GetAllCookies(completionHandler func(param1 []foundation.HTTPCookie))

func (HTTPCookieStore) Init added in v0.13.0

func (h_ HTTPCookieStore) Init() HTTPCookieStore

func (HTTPCookieStore) SetCookie_CompletionHandler added in v0.13.3

func (h_ HTTPCookieStore) SetCookie_CompletionHandler(cookie foundation.IHTTPCookie, completionHandler func())

type IBackForwardList added in v0.11.0

type IBackForwardList interface {
	objc.IObject
	ItemAtIndex(index int) BackForwardListItem
	BackItem() BackForwardListItem
	CurrentItem() BackForwardListItem
	ForwardItem() BackForwardListItem
	BackList() []BackForwardListItem
	ForwardList() []BackForwardListItem
}

type IBackForwardListItem added in v0.11.0

type IBackForwardListItem interface {
	objc.IObject
	Title() string
	URL() foundation.URL
	InitialURL() foundation.URL
}

type IContentRuleList added in v0.11.0

type IContentRuleList interface {
	objc.IObject
	Identifier() string
}

type IContentWorld added in v0.11.0

type IContentWorld interface {
	objc.IObject
	Name() string
}

type IDownload added in v0.11.0

type IDownload interface {
	objc.IObject
	Cancel(completionHandler func(resumeData []byte))
	OriginalRequest() foundation.URLRequest
	WebView() WebView
}

type IFindConfiguration added in v0.14.5

type IFindConfiguration interface {
	objc.IObject
	Backwards() bool
	SetBackwards(value bool)
	CaseSensitive() bool
	SetCaseSensitive(value bool)
	Wraps() bool
	SetWraps(value bool)
}

type IFindResult added in v0.14.5

type IFindResult interface {
	objc.IObject
	MatchFound() bool
}

type IFrameInfo added in v0.11.0

type IFrameInfo interface {
	objc.IObject
	IsMainFrame() bool
	Request() foundation.URLRequest
	SecurityOrigin() SecurityOrigin
	WebView() WebView
}

type IHTTPCookieStore added in v0.11.0

type IHTTPCookieStore interface {
	objc.IObject
	GetAllCookies(completionHandler func(param1 []foundation.HTTPCookie))
	SetCookie_CompletionHandler(cookie foundation.IHTTPCookie, completionHandler func())
	DeleteCookie_CompletionHandler(cookie foundation.IHTTPCookie, completionHandler func())
}

type INavigation added in v0.11.0

type INavigation interface {
	objc.IObject
	EffectiveContentMode() ContentMode
}

type INavigationAction added in v0.11.0

type INavigationAction interface {
	objc.IObject
	NavigationType() NavigationType
	Request() foundation.URLRequest
	SourceFrame() FrameInfo
	TargetFrame() FrameInfo
	ButtonNumber() int
	ModifierFlags() appkit.EventModifierFlags
	ShouldPerformDownload() bool
}

type INavigationResponse added in v0.11.0

type INavigationResponse interface {
	objc.IObject
	Response() foundation.URLResponse
	CanShowMIMEType() bool
	IsForMainFrame() bool
}

type IPDFConfiguration added in v0.14.5

type IPDFConfiguration interface {
	objc.IObject
	Rect() coregraphics.Rect
	SetRect(value coregraphics.Rect)
}

type IPreferences added in v0.11.0

type IPreferences interface {
	objc.IObject
	MinimumFontSize() float64
	SetMinimumFontSize(value float64)
	TabFocusesLinks() bool
	SetTabFocusesLinks(value bool)
	JavaScriptCanOpenWindowsAutomatically() bool
	SetJavaScriptCanOpenWindowsAutomatically(value bool)
	IsFraudulentWebsiteWarningEnabled() bool
	SetFraudulentWebsiteWarningEnabled(value bool)
	// deprecated
	JavaEnabled() bool
	// deprecated
	SetJavaEnabled(value bool)
	// deprecated
	JavaScriptEnabled() bool
	// deprecated
	SetJavaScriptEnabled(value bool)
	// deprecated
	PlugInsEnabled() bool
	// deprecated
	SetPlugInsEnabled(value bool)
	IsElementFullscreenEnabled() bool
	SetElementFullscreenEnabled(value bool)
	IsSiteSpecificQuirksModeEnabled() bool
	SetSiteSpecificQuirksModeEnabled(value bool)
	IsTextInteractionEnabled() bool
	SetTextInteractionEnabled(value bool)
}

type IProcessPool added in v0.11.0

type IProcessPool interface {
	objc.IObject
}

type IScriptMessage added in v0.14.5

type IScriptMessage interface {
	objc.IObject
	Body() objc.Object
	FrameInfo() FrameInfo
	WebView() WebView
	World() ContentWorld
	Name() string
}

type ISecurityOrigin added in v0.11.0

type ISecurityOrigin interface {
	objc.IObject
	Host() string
	Port() int
	Protocol() string
}

type ISnapshotConfiguration added in v0.11.0

type ISnapshotConfiguration interface {
	objc.IObject
	Rect() coregraphics.Rect
	SetRect(value coregraphics.Rect)
	SnapshotWidth() foundation.Number
	SetSnapshotWidth(value foundation.INumber)
	AfterScreenUpdates() bool
	SetAfterScreenUpdates(value bool)
}

type IUserContentController added in v0.11.0

type IUserContentController interface {
	objc.IObject
	AddUserScript(userScript IUserScript)
	RemoveAllUserScripts()
	AddScriptMessageHandler_Name(scriptMessageHandler objc.IObject, name string)
	AddScriptMessageHandler_ContentWorld_Name(scriptMessageHandler objc.IObject, world IContentWorld, name string)
	AddScriptMessageHandlerWithReply_ContentWorld_Name(scriptMessageHandlerWithReply objc.IObject, contentWorld IContentWorld, name string)
	RemoveScriptMessageHandlerForName(name string)
	RemoveScriptMessageHandlerForName_ContentWorld(name string, contentWorld IContentWorld)
	RemoveAllScriptMessageHandlersFromContentWorld(contentWorld IContentWorld)
	RemoveAllScriptMessageHandlers()
	AddContentRuleList(contentRuleList IContentRuleList)
	RemoveContentRuleList(contentRuleList IContentRuleList)
	RemoveAllContentRuleLists()
	UserScripts() []UserScript
}

type IUserScript added in v0.11.0

type IUserScript interface {
	objc.IObject
	Source() string
	InjectionTime() UserScriptInjectionTime
	IsForMainFrameOnly() bool
}

type IWebView added in v0.11.0

type IWebView interface {
	appkit.IView
	LoadRequest(request foundation.IURLRequest) Navigation
	LoadData_MIMEType_CharacterEncodingName_BaseURL(data []byte, MIMEType string, characterEncodingName string, baseURL foundation.IURL) Navigation
	LoadHTMLString_BaseURL(string_ string, baseURL foundation.IURL) Navigation
	LoadFileRequest_AllowingReadAccessToURL(request foundation.IURLRequest, readAccessURL foundation.IURL) Navigation
	LoadFileURL_AllowingReadAccessToURL(URL foundation.IURL, readAccessURL foundation.IURL) Navigation
	LoadSimulatedRequest_Response_ResponseData(request foundation.IURLRequest, response foundation.IURLResponse, data []byte) Navigation
	LoadSimulatedRequest_ResponseHTMLString(request foundation.IURLRequest, string_ string) Navigation
	Reload() Navigation
	Reload1(sender objc.IObject)
	ReloadFromOrigin() Navigation
	ReloadFromOrigin1(sender objc.IObject)
	StopLoading()
	StopLoading1(sender objc.IObject)
	StartDownloadUsingRequest_CompletionHandler(request foundation.IURLRequest, completionHandler func(param1 Download))
	ResumeDownloadFromResumeData_CompletionHandler(resumeData []byte, completionHandler func(param1 Download))
	SetMagnification_CenteredAtPoint(magnification float64, point coregraphics.Point)
	PauseAllMediaPlaybackWithCompletionHandler(completionHandler func())
	// deprecated
	PauseAllMediaPlayback(completionHandler func())
	RequestMediaPlaybackStateWithCompletionHandler(completionHandler func(param1 MediaPlaybackState))
	// deprecated
	RequestMediaPlaybackState(completionHandler func(param1 MediaPlaybackState))
	SetAllMediaPlaybackSuspended_CompletionHandler(suspended bool, completionHandler func())
	// deprecated
	SuspendAllMediaPlayback(completionHandler func())
	// deprecated
	ResumeAllMediaPlayback(completionHandler func())
	CloseAllMediaPresentationsWithCompletionHandler(completionHandler func())
	SetCameraCaptureState_CompletionHandler(state MediaCaptureState, completionHandler func())
	SetMicrophoneCaptureState_CompletionHandler(state MediaCaptureState, completionHandler func())
	FindString_WithConfiguration_CompletionHandler(string_ string, configuration IFindConfiguration, completionHandler func(result FindResult))
	GoBack1(sender objc.IObject)
	GoBack() Navigation
	GoForward1(sender objc.IObject)
	GoForward() Navigation
	GoToBackForwardListItem(item IBackForwardListItem) Navigation
	EvaluateJavaScript_CompletionHandler(javaScriptString string, completionHandler func(param1 objc.Object, error foundation.Error))
	EvaluateJavaScript_InFrame_InContentWorld_CompletionHandler(javaScriptString string, frame IFrameInfo, contentWorld IContentWorld, completionHandler func(param1 objc.Object, error foundation.Error))
	CallAsyncJavaScript_Arguments_InFrame_InContentWorld_CompletionHandler(functionBody string, arguments map[string]objc.IObject, frame IFrameInfo, contentWorld IContentWorld, completionHandler func(param1 objc.Object, error foundation.Error))
	TakeSnapshotWithConfiguration_CompletionHandler(snapshotConfiguration ISnapshotConfiguration, completionHandler func(snapshotImage appkit.Image, error foundation.Error))
	CreatePDFWithConfiguration_CompletionHandler(pdfConfiguration IPDFConfiguration, completionHandler func(pdfDocumentData []byte, error foundation.Error))
	CreateWebArchiveDataWithCompletionHandler(completionHandler func(param1 []byte, param2 foundation.Error))
	PrintOperationWithPrintInfo(printInfo appkit.IPrintInfo) appkit.PrintOperation
	SetMinimumViewportInset_MaximumViewportInset(minimumViewportInset foundation.EdgeInsets, maximumViewportInset foundation.EdgeInsets)
	// deprecated
	CloseAllMediaPresentations()
	// deprecated
	LoadSimulatedRequest_WithResponse_ResponseData(request foundation.IURLRequest, response foundation.IURLResponse, data []byte) Navigation
	// deprecated
	LoadSimulatedRequest_WithResponseHTMLString(request foundation.IURLRequest, string_ string) Navigation
	Configuration() WebViewConfiguration
	UIDelegate() objc.Object
	SetUIDelegate(value objc.IObject)
	NavigationDelegate() objc.Object
	SetNavigationDelegate(value objc.IObject)
	IsLoading() bool
	EstimatedProgress() float64
	Title() string
	URL() foundation.URL
	MediaType() string
	SetMediaType(value string)
	CustomUserAgent() string
	SetCustomUserAgent(value string)
	HasOnlySecureContent() bool
	ThemeColor() appkit.Color
	UnderPageBackgroundColor() appkit.Color
	SetUnderPageBackgroundColor(value appkit.IColor)
	PageZoom() float64
	SetPageZoom(value float64)
	AllowsMagnification() bool
	SetAllowsMagnification(value bool)
	Magnification() float64
	SetMagnification(value float64)
	CameraCaptureState() MediaCaptureState
	MicrophoneCaptureState() MediaCaptureState
	AllowsBackForwardNavigationGestures() bool
	SetAllowsBackForwardNavigationGestures(value bool)
	BackForwardList() BackForwardList
	CanGoBack() bool
	CanGoForward() bool
	AllowsLinkPreview() bool
	SetAllowsLinkPreview(value bool)
	InteractionState() objc.Object
	SetInteractionState(value objc.IObject)
	FullscreenState() FullscreenState
	MaximumViewportInset() foundation.EdgeInsets
	MinimumViewportInset() foundation.EdgeInsets
	// deprecated
	CertificateChain() []objc.Object
}

type IWebViewConfiguration added in v0.11.0

type IWebViewConfiguration interface {
	objc.IObject
	SetURLSchemeHandler_ForURLScheme(urlSchemeHandler objc.IObject, urlScheme string)
	UrlSchemeHandlerForURLScheme(urlScheme string) objc.Object
	WebsiteDataStore() WebsiteDataStore
	SetWebsiteDataStore(value IWebsiteDataStore)
	UserContentController() UserContentController
	SetUserContentController(value IUserContentController)
	ProcessPool() ProcessPool
	SetProcessPool(value IProcessPool)
	ApplicationNameForUserAgent() string
	SetApplicationNameForUserAgent(value string)
	LimitsNavigationsToAppBoundDomains() bool
	SetLimitsNavigationsToAppBoundDomains(value bool)
	Preferences() Preferences
	SetPreferences(value IPreferences)
	DefaultWebpagePreferences() WebpagePreferences
	SetDefaultWebpagePreferences(value IWebpagePreferences)
	SuppressesIncrementalRendering() bool
	SetSuppressesIncrementalRendering(value bool)
	AllowsAirPlayForMediaPlayback() bool
	SetAllowsAirPlayForMediaPlayback(value bool)
	MediaTypesRequiringUserActionForPlayback() AudiovisualMediaTypes
	SetMediaTypesRequiringUserActionForPlayback(value AudiovisualMediaTypes)
	UserInterfaceDirectionPolicy() UserInterfaceDirectionPolicy
	SetUserInterfaceDirectionPolicy(value UserInterfaceDirectionPolicy)
	UpgradeKnownHostsToHTTPS() bool
	SetUpgradeKnownHostsToHTTPS(value bool)
}

type IWebpagePreferences added in v0.11.0

type IWebpagePreferences interface {
	objc.IObject
	AllowsContentJavaScript() bool
	SetAllowsContentJavaScript(value bool)
	PreferredContentMode() ContentMode
	SetPreferredContentMode(value ContentMode)
	IsLockdownModeEnabled() bool
	SetLockdownModeEnabled(value bool)
}

type IWebsiteDataRecord added in v0.14.3

type IWebsiteDataRecord interface {
	objc.IObject
	DisplayName() string
	DataTypes() foundation.Set
}

type IWebsiteDataStore added in v0.11.0

type IWebsiteDataStore interface {
	objc.IObject
	FetchDataRecordsOfTypes_CompletionHandler(dataTypes foundation.ISet, completionHandler func(param1 []WebsiteDataRecord))
	RemoveDataOfTypes_ForDataRecords_CompletionHandler(dataTypes foundation.ISet, dataRecords []IWebsiteDataRecord, completionHandler func())
	RemoveDataOfTypes_ModifiedSince_CompletionHandler(dataTypes foundation.ISet, date foundation.IDate, completionHandler func())
	IsPersistent() bool
	HttpCookieStore() HTTPCookieStore
}

type IWindowFeatures added in v0.11.0

type IWindowFeatures interface {
	objc.IObject
	AllowsResizing() foundation.Number
	Height() foundation.Number
	Width() foundation.Number
	X() foundation.Number
	Y() foundation.Number
	MenuBarVisibility() foundation.Number
	StatusBarVisibility() foundation.Number
	ToolbarsVisibility() foundation.Number
}

type MediaCaptureState added in v0.12.0

type MediaCaptureState int
const MediaCaptureStateActive MediaCaptureState = 1
const MediaCaptureStateMuted MediaCaptureState = 2
const MediaCaptureStateNone MediaCaptureState = 0

type MediaCaptureType added in v0.12.5

type MediaCaptureType int
const MediaCaptureTypeCamera MediaCaptureType = 0
const MediaCaptureTypeCameraAndMicrophone MediaCaptureType = 2
const MediaCaptureTypeMicrophone MediaCaptureType = 1

type MediaPlaybackState added in v0.13.3

type MediaPlaybackState int
const MediaPlaybackStateNone MediaPlaybackState = 0
const MediaPlaybackStatePaused MediaPlaybackState = 1
const MediaPlaybackStatePlaying MediaPlaybackState = 3
const MediaPlaybackStateSuspended MediaPlaybackState = 2
type Navigation struct {
	objc.Object
}

func MakeNavigation

func MakeNavigation(ptr unsafe.Pointer) Navigation

func NewNavigation

func NewNavigation() Navigation
func (n_ Navigation) EffectiveContentMode() ContentMode
func (n_ Navigation) Init() Navigation
type NavigationAction struct {
	objc.Object
}

func MakeNavigationAction

func MakeNavigationAction(ptr unsafe.Pointer) NavigationAction

func NewNavigationAction

func NewNavigationAction() NavigationAction
func (n_ NavigationAction) ButtonNumber() int
func (n_ NavigationAction) ModifierFlags() appkit.EventModifierFlags
func (n_ NavigationAction) NavigationType() NavigationType
func (n_ NavigationAction) Request() foundation.URLRequest
func (n_ NavigationAction) ShouldPerformDownload() bool
func (n_ NavigationAction) SourceFrame() FrameInfo
func (n_ NavigationAction) TargetFrame() FrameInfo
type NavigationActionPolicy int
const NavigationActionPolicyAllow NavigationActionPolicy = 1
const NavigationActionPolicyCancel NavigationActionPolicy = 0
const NavigationActionPolicyDownload NavigationActionPolicy = 2
type NavigationDelegate interface {
	ImplementsWebView_DecidePolicyForNavigationAction_Preferences_DecisionHandler() bool
	// optional
	WebView_DecidePolicyForNavigationAction_Preferences_DecisionHandler(webView WebView, navigationAction NavigationAction, preferences WebpagePreferences, decisionHandler func(param1 NavigationActionPolicy, param2 IWebpagePreferences))
	ImplementsWebView_DecidePolicyForNavigationAction_DecisionHandler() bool
	// optional
	WebView_DecidePolicyForNavigationAction_DecisionHandler(webView WebView, navigationAction NavigationAction, decisionHandler func(param1 NavigationActionPolicy))
	ImplementsWebView_DecidePolicyForNavigationResponse_DecisionHandler() bool
	// optional
	WebView_DecidePolicyForNavigationResponse_DecisionHandler(webView WebView, navigationResponse NavigationResponse, decisionHandler func(param1 NavigationResponsePolicy))
	ImplementsWebView_DidStartProvisionalNavigation() bool
	// optional
	WebView_DidStartProvisionalNavigation(webView WebView, navigation Navigation)
	ImplementsWebView_DidReceiveServerRedirectForProvisionalNavigation() bool
	// optional
	WebView_DidReceiveServerRedirectForProvisionalNavigation(webView WebView, navigation Navigation)
	ImplementsWebView_DidCommitNavigation() bool
	// optional
	WebView_DidCommitNavigation(webView WebView, navigation Navigation)
	ImplementsWebView_DidFinishNavigation() bool
	// optional
	WebView_DidFinishNavigation(webView WebView, navigation Navigation)
	ImplementsWebView_DidFailNavigation_WithError() bool
	// optional
	WebView_DidFailNavigation_WithError(webView WebView, navigation Navigation, error foundation.Error)
	ImplementsWebView_DidFailProvisionalNavigation_WithError() bool
	// optional
	WebView_DidFailProvisionalNavigation_WithError(webView WebView, navigation Navigation, error foundation.Error)
	ImplementsWebViewWebContentProcessDidTerminate() bool
	// optional
	WebViewWebContentProcessDidTerminate(webView WebView)
	ImplementsWebView_NavigationResponse_DidBecomeDownload() bool
	// optional
	WebView_NavigationResponse_DidBecomeDownload(webView WebView, navigationResponse NavigationResponse, download Download)
	ImplementsWebView_NavigationAction_DidBecomeDownload() bool
	// optional
	WebView_NavigationAction_DidBecomeDownload(webView WebView, navigationAction NavigationAction, download Download)
}
type NavigationDelegateBase struct {
}
func (p *NavigationDelegateBase) ImplementsWebViewWebContentProcessDidTerminate() bool
func (p *NavigationDelegateBase) ImplementsWebView_DecidePolicyForNavigationAction_DecisionHandler() bool
func (p *NavigationDelegateBase) ImplementsWebView_DecidePolicyForNavigationAction_Preferences_DecisionHandler() bool
func (p *NavigationDelegateBase) ImplementsWebView_DecidePolicyForNavigationResponse_DecisionHandler() bool
func (p *NavigationDelegateBase) ImplementsWebView_DidCommitNavigation() bool
func (p *NavigationDelegateBase) ImplementsWebView_DidFailNavigation_WithError() bool
func (p *NavigationDelegateBase) ImplementsWebView_DidFailProvisionalNavigation_WithError() bool
func (p *NavigationDelegateBase) ImplementsWebView_DidFinishNavigation() bool
func (p *NavigationDelegateBase) ImplementsWebView_DidReceiveServerRedirectForProvisionalNavigation() bool
func (p *NavigationDelegateBase) ImplementsWebView_DidStartProvisionalNavigation() bool
func (p *NavigationDelegateBase) ImplementsWebView_NavigationAction_DidBecomeDownload() bool
func (p *NavigationDelegateBase) ImplementsWebView_NavigationResponse_DidBecomeDownload() bool
func (p *NavigationDelegateBase) WebViewWebContentProcessDidTerminate(webView WebView)
func (p *NavigationDelegateBase) WebView_DecidePolicyForNavigationAction_DecisionHandler(webView WebView, navigationAction NavigationAction, decisionHandler func(param1 NavigationActionPolicy))
func (p *NavigationDelegateBase) WebView_DecidePolicyForNavigationAction_Preferences_DecisionHandler(webView WebView, navigationAction NavigationAction, preferences WebpagePreferences, decisionHandler func(param1 NavigationActionPolicy, param2 IWebpagePreferences))
func (p *NavigationDelegateBase) WebView_DecidePolicyForNavigationResponse_DecisionHandler(webView WebView, navigationResponse NavigationResponse, decisionHandler func(param1 NavigationResponsePolicy))
func (p *NavigationDelegateBase) WebView_DidCommitNavigation(webView WebView, navigation Navigation)
func (p *NavigationDelegateBase) WebView_DidFailNavigation_WithError(webView WebView, navigation Navigation, error foundation.Error)
func (p *NavigationDelegateBase) WebView_DidFailProvisionalNavigation_WithError(webView WebView, navigation Navigation, error foundation.Error)
func (p *NavigationDelegateBase) WebView_DidFinishNavigation(webView WebView, navigation Navigation)
func (p *NavigationDelegateBase) WebView_DidReceiveServerRedirectForProvisionalNavigation(webView WebView, navigation Navigation)
func (p *NavigationDelegateBase) WebView_DidStartProvisionalNavigation(webView WebView, navigation Navigation)
func (p *NavigationDelegateBase) WebView_NavigationAction_DidBecomeDownload(webView WebView, navigationAction NavigationAction, download Download)
func (p *NavigationDelegateBase) WebView_NavigationResponse_DidBecomeDownload(webView WebView, navigationResponse NavigationResponse, download Download)
type NavigationDelegateCreator struct {
	// contains filtered or unexported fields
}

func NewNavigationDelegateCreator added in v0.19.0

func NewNavigationDelegateCreator(name string) *NavigationDelegateCreator
func (c *NavigationDelegateCreator) SetWebViewWebContentProcessDidTerminate(handle func(o objc.ProtocolBase, webView WebView))
func (c *NavigationDelegateCreator) SetWebView_DecidePolicyForNavigationAction_DecisionHandler(handle func(o objc.ProtocolBase, webView WebView, navigationAction NavigationAction, decisionHandler func(param1 NavigationActionPolicy)))
func (c *NavigationDelegateCreator) SetWebView_DecidePolicyForNavigationAction_Preferences_DecisionHandler(handle func(o objc.ProtocolBase, webView WebView, navigationAction NavigationAction, preferences WebpagePreferences, decisionHandler func(param1 NavigationActionPolicy, param2 IWebpagePreferences)))
func (c *NavigationDelegateCreator) SetWebView_DecidePolicyForNavigationResponse_DecisionHandler(handle func(o objc.ProtocolBase, webView WebView, navigationResponse NavigationResponse, decisionHandler func(param1 NavigationResponsePolicy)))
func (c *NavigationDelegateCreator) SetWebView_DidCommitNavigation(handle func(o objc.ProtocolBase, webView WebView, navigation Navigation))
func (c *NavigationDelegateCreator) SetWebView_DidFailNavigation_WithError(handle func(o objc.ProtocolBase, webView WebView, navigation Navigation, error foundation.Error))
func (c *NavigationDelegateCreator) SetWebView_DidFailProvisionalNavigation_WithError(handle func(o objc.ProtocolBase, webView WebView, navigation Navigation, error foundation.Error))
func (c *NavigationDelegateCreator) SetWebView_DidFinishNavigation(handle func(o objc.ProtocolBase, webView WebView, navigation Navigation))
func (c *NavigationDelegateCreator) SetWebView_DidReceiveServerRedirectForProvisionalNavigation(handle func(o objc.ProtocolBase, webView WebView, navigation Navigation))
func (c *NavigationDelegateCreator) SetWebView_DidStartProvisionalNavigation(handle func(o objc.ProtocolBase, webView WebView, navigation Navigation))
func (c *NavigationDelegateCreator) SetWebView_NavigationAction_DidBecomeDownload(handle func(o objc.ProtocolBase, webView WebView, navigationAction NavigationAction, download Download))
func (c *NavigationDelegateCreator) SetWebView_NavigationResponse_DidBecomeDownload(handle func(o objc.ProtocolBase, webView WebView, navigationResponse NavigationResponse, download Download))
type NavigationResponse struct {
	objc.Object
}

func MakeNavigationResponse

func MakeNavigationResponse(ptr unsafe.Pointer) NavigationResponse

func NewNavigationResponse

func NewNavigationResponse() NavigationResponse
func (n_ NavigationResponse) CanShowMIMEType() bool
func (n_ NavigationResponse) IsForMainFrame() bool
type NavigationResponsePolicy int
const NavigationResponsePolicyAllow NavigationResponsePolicy = 1
const NavigationResponsePolicyCancel NavigationResponsePolicy = 0
const NavigationResponsePolicyDownload NavigationResponsePolicy = 2
type NavigationType int
const NavigationTypeBackForward NavigationType = 2
const NavigationTypeFormResubmitted NavigationType = 4
const NavigationTypeFormSubmitted NavigationType = 1
const NavigationTypeLinkActivated NavigationType = 0
const NavigationTypeOther NavigationType = -1
const NavigationTypeReload NavigationType = 3

type PDFConfiguration added in v0.14.5

type PDFConfiguration struct {
	objc.Object
}

func MakePDFConfiguration added in v0.14.5

func MakePDFConfiguration(ptr unsafe.Pointer) PDFConfiguration

func NewPDFConfiguration added in v0.14.5

func NewPDFConfiguration() PDFConfiguration

func (PDFConfiguration) Init added in v0.14.5

func (PDFConfiguration) Rect added in v0.14.5

func (PDFConfiguration) SetRect added in v0.14.5

func (p_ PDFConfiguration) SetRect(value coregraphics.Rect)

type PermissionDecision added in v0.13.3

type PermissionDecision int
const PermissionDecisionDeny PermissionDecision = 2
const PermissionDecisionGrant PermissionDecision = 1
const PermissionDecisionPrompt PermissionDecision = 0

type Preferences

type Preferences struct {
	objc.Object
}

func MakePreferences

func MakePreferences(ptr unsafe.Pointer) Preferences

func NewPreferences

func NewPreferences() Preferences

func (Preferences) Init added in v0.11.0

func (p_ Preferences) Init() Preferences

func (Preferences) IsElementFullscreenEnabled added in v0.12.0

func (p_ Preferences) IsElementFullscreenEnabled() bool

func (Preferences) IsFraudulentWebsiteWarningEnabled

func (p_ Preferences) IsFraudulentWebsiteWarningEnabled() bool

func (Preferences) IsSiteSpecificQuirksModeEnabled added in v0.12.0

func (p_ Preferences) IsSiteSpecificQuirksModeEnabled() bool

func (Preferences) IsTextInteractionEnabled added in v0.12.0

func (p_ Preferences) IsTextInteractionEnabled() bool

func (Preferences) JavaEnabled added in v0.14.5

func (p_ Preferences) JavaEnabled() bool

deprecated

func (Preferences) JavaScriptCanOpenWindowsAutomatically

func (p_ Preferences) JavaScriptCanOpenWindowsAutomatically() bool

func (Preferences) JavaScriptEnabled added in v0.14.5

func (p_ Preferences) JavaScriptEnabled() bool

deprecated

func (Preferences) MinimumFontSize

func (p_ Preferences) MinimumFontSize() float64

func (Preferences) PlugInsEnabled added in v0.14.5

func (p_ Preferences) PlugInsEnabled() bool

deprecated

func (Preferences) SetElementFullscreenEnabled added in v0.12.0

func (p_ Preferences) SetElementFullscreenEnabled(value bool)

func (Preferences) SetFraudulentWebsiteWarningEnabled

func (p_ Preferences) SetFraudulentWebsiteWarningEnabled(value bool)

func (Preferences) SetJavaEnabled added in v0.14.5

func (p_ Preferences) SetJavaEnabled(value bool)

deprecated

func (Preferences) SetJavaScriptCanOpenWindowsAutomatically

func (p_ Preferences) SetJavaScriptCanOpenWindowsAutomatically(value bool)

func (Preferences) SetJavaScriptEnabled added in v0.14.5

func (p_ Preferences) SetJavaScriptEnabled(value bool)

deprecated

func (Preferences) SetMinimumFontSize

func (p_ Preferences) SetMinimumFontSize(value float64)

func (Preferences) SetPlugInsEnabled added in v0.14.5

func (p_ Preferences) SetPlugInsEnabled(value bool)

deprecated

func (Preferences) SetSiteSpecificQuirksModeEnabled added in v0.12.0

func (p_ Preferences) SetSiteSpecificQuirksModeEnabled(value bool)
func (p_ Preferences) SetTabFocusesLinks(value bool)

func (Preferences) SetTextInteractionEnabled

func (p_ Preferences) SetTextInteractionEnabled(value bool)
func (p_ Preferences) TabFocusesLinks() bool

type ProcessPool

type ProcessPool struct {
	objc.Object
}

func MakeProcessPool

func MakeProcessPool(ptr unsafe.Pointer) ProcessPool

func NewProcessPool

func NewProcessPool() ProcessPool

func (ProcessPool) Init added in v0.11.0

func (p_ ProcessPool) Init() ProcessPool

type ScriptMessage added in v0.14.5

type ScriptMessage struct {
	objc.Object
}

func MakeScriptMessage added in v0.14.5

func MakeScriptMessage(ptr unsafe.Pointer) ScriptMessage

func NewScriptMessage added in v0.14.5

func NewScriptMessage() ScriptMessage

func (ScriptMessage) Body added in v0.14.5

func (s_ ScriptMessage) Body() objc.Object

func (ScriptMessage) FrameInfo added in v0.14.5

func (s_ ScriptMessage) FrameInfo() FrameInfo

func (ScriptMessage) Init added in v0.14.5

func (s_ ScriptMessage) Init() ScriptMessage

func (ScriptMessage) Name added in v0.14.5

func (s_ ScriptMessage) Name() string

func (ScriptMessage) WebView added in v0.14.5

func (s_ ScriptMessage) WebView() WebView

weak property

func (ScriptMessage) World added in v0.14.5

func (s_ ScriptMessage) World() ContentWorld

type ScriptMessageHandler added in v0.14.5

type ScriptMessageHandler interface {
	// required
	UserContentController_DidReceiveScriptMessage(userContentController UserContentController, message ScriptMessage)
}

type ScriptMessageHandlerBase added in v0.14.5

type ScriptMessageHandlerBase struct {
}

type ScriptMessageHandlerWithReply added in v0.14.5

type ScriptMessageHandlerWithReply interface {
	// required
	UserContentController_DidReceiveScriptMessage_ReplyHandler(userContentController UserContentController, message ScriptMessage, replyHandler func(reply objc.IObject, errorMessage foundation.String))
}

type ScriptMessageHandlerWithReplyBase added in v0.14.5

type ScriptMessageHandlerWithReplyBase struct {
}

type SecurityOrigin

type SecurityOrigin struct {
	objc.Object
}

func MakeSecurityOrigin

func MakeSecurityOrigin(ptr unsafe.Pointer) SecurityOrigin

func NewSecurityOrigin added in v0.13.0

func NewSecurityOrigin() SecurityOrigin

func (SecurityOrigin) Host

func (s_ SecurityOrigin) Host() string

func (SecurityOrigin) Init added in v0.13.0

func (s_ SecurityOrigin) Init() SecurityOrigin

func (SecurityOrigin) Port

func (s_ SecurityOrigin) Port() int

func (SecurityOrigin) Protocol

func (s_ SecurityOrigin) Protocol() string

type SnapshotConfiguration

type SnapshotConfiguration struct {
	objc.Object
}

func MakeSnapshotConfiguration

func MakeSnapshotConfiguration(ptr unsafe.Pointer) SnapshotConfiguration

func NewSnapshotConfiguration

func NewSnapshotConfiguration() SnapshotConfiguration

func (SnapshotConfiguration) AfterScreenUpdates

func (s_ SnapshotConfiguration) AfterScreenUpdates() bool

func (SnapshotConfiguration) Init added in v0.11.0

func (SnapshotConfiguration) Rect

func (SnapshotConfiguration) SetAfterScreenUpdates

func (s_ SnapshotConfiguration) SetAfterScreenUpdates(value bool)

func (SnapshotConfiguration) SetRect

func (s_ SnapshotConfiguration) SetRect(value coregraphics.Rect)

func (SnapshotConfiguration) SetSnapshotWidth

func (s_ SnapshotConfiguration) SetSnapshotWidth(value foundation.INumber)

func (SnapshotConfiguration) SnapshotWidth

func (s_ SnapshotConfiguration) SnapshotWidth() foundation.Number

type UIDelegate

type UIDelegate interface {
	ImplementsWebView_CreateWebViewWithConfiguration_ForNavigationAction_WindowFeatures() bool
	// optional
	WebView_CreateWebViewWithConfiguration_ForNavigationAction_WindowFeatures(webView WebView, configuration WebViewConfiguration, navigationAction NavigationAction, windowFeatures WindowFeatures) IWebView
	ImplementsWebViewDidClose() bool
	// optional
	WebViewDidClose(webView WebView)
	ImplementsWebView_RunJavaScriptAlertPanelWithMessage_InitiatedByFrame_CompletionHandler() bool
	// optional
	WebView_RunJavaScriptAlertPanelWithMessage_InitiatedByFrame_CompletionHandler(webView WebView, message string, frame FrameInfo, completionHandler func())
	ImplementsWebView_RunJavaScriptConfirmPanelWithMessage_InitiatedByFrame_CompletionHandler() bool
	// optional
	WebView_RunJavaScriptConfirmPanelWithMessage_InitiatedByFrame_CompletionHandler(webView WebView, message string, frame FrameInfo, completionHandler func(result bool))
	ImplementsWebView_RunJavaScriptTextInputPanelWithPrompt_DefaultText_InitiatedByFrame_CompletionHandler() bool
	// optional
	WebView_RunJavaScriptTextInputPanelWithPrompt_DefaultText_InitiatedByFrame_CompletionHandler(webView WebView, prompt string, defaultText string, frame FrameInfo, completionHandler func(result string))
	ImplementsWebView_RequestMediaCapturePermissionForOrigin_InitiatedByFrame_Type_DecisionHandler() bool
	// optional
	WebView_RequestMediaCapturePermissionForOrigin_InitiatedByFrame_Type_DecisionHandler(webView WebView, origin SecurityOrigin, frame FrameInfo, type_ MediaCaptureType, decisionHandler func(decision PermissionDecision))
}

type UIDelegateBase added in v0.18.0

type UIDelegateBase struct {
}

func (*UIDelegateBase) ImplementsWebViewDidClose added in v0.18.0

func (p *UIDelegateBase) ImplementsWebViewDidClose() bool

func (*UIDelegateBase) ImplementsWebView_CreateWebViewWithConfiguration_ForNavigationAction_WindowFeatures added in v0.18.0

func (p *UIDelegateBase) ImplementsWebView_CreateWebViewWithConfiguration_ForNavigationAction_WindowFeatures() bool

func (*UIDelegateBase) ImplementsWebView_RequestMediaCapturePermissionForOrigin_InitiatedByFrame_Type_DecisionHandler added in v0.18.0

func (p *UIDelegateBase) ImplementsWebView_RequestMediaCapturePermissionForOrigin_InitiatedByFrame_Type_DecisionHandler() bool

func (*UIDelegateBase) ImplementsWebView_RunJavaScriptAlertPanelWithMessage_InitiatedByFrame_CompletionHandler added in v0.18.0

func (p *UIDelegateBase) ImplementsWebView_RunJavaScriptAlertPanelWithMessage_InitiatedByFrame_CompletionHandler() bool

func (*UIDelegateBase) ImplementsWebView_RunJavaScriptConfirmPanelWithMessage_InitiatedByFrame_CompletionHandler added in v0.18.0

func (p *UIDelegateBase) ImplementsWebView_RunJavaScriptConfirmPanelWithMessage_InitiatedByFrame_CompletionHandler() bool

func (*UIDelegateBase) ImplementsWebView_RunJavaScriptTextInputPanelWithPrompt_DefaultText_InitiatedByFrame_CompletionHandler added in v0.18.0

func (p *UIDelegateBase) ImplementsWebView_RunJavaScriptTextInputPanelWithPrompt_DefaultText_InitiatedByFrame_CompletionHandler() bool

func (*UIDelegateBase) WebViewDidClose added in v0.18.0

func (p *UIDelegateBase) WebViewDidClose(webView WebView)

func (*UIDelegateBase) WebView_CreateWebViewWithConfiguration_ForNavigationAction_WindowFeatures added in v0.18.0

func (p *UIDelegateBase) WebView_CreateWebViewWithConfiguration_ForNavigationAction_WindowFeatures(webView WebView, configuration WebViewConfiguration, navigationAction NavigationAction, windowFeatures WindowFeatures) IWebView

func (*UIDelegateBase) WebView_RequestMediaCapturePermissionForOrigin_InitiatedByFrame_Type_DecisionHandler added in v0.18.0

func (p *UIDelegateBase) WebView_RequestMediaCapturePermissionForOrigin_InitiatedByFrame_Type_DecisionHandler(webView WebView, origin SecurityOrigin, frame FrameInfo, type_ MediaCaptureType, decisionHandler func(decision PermissionDecision))

func (*UIDelegateBase) WebView_RunJavaScriptAlertPanelWithMessage_InitiatedByFrame_CompletionHandler added in v0.18.0

func (p *UIDelegateBase) WebView_RunJavaScriptAlertPanelWithMessage_InitiatedByFrame_CompletionHandler(webView WebView, message string, frame FrameInfo, completionHandler func())

func (*UIDelegateBase) WebView_RunJavaScriptConfirmPanelWithMessage_InitiatedByFrame_CompletionHandler added in v0.18.0

func (p *UIDelegateBase) WebView_RunJavaScriptConfirmPanelWithMessage_InitiatedByFrame_CompletionHandler(webView WebView, message string, frame FrameInfo, completionHandler func(result bool))

func (*UIDelegateBase) WebView_RunJavaScriptTextInputPanelWithPrompt_DefaultText_InitiatedByFrame_CompletionHandler added in v0.18.0

func (p *UIDelegateBase) WebView_RunJavaScriptTextInputPanelWithPrompt_DefaultText_InitiatedByFrame_CompletionHandler(webView WebView, prompt string, defaultText string, frame FrameInfo, completionHandler func(result string))

type UIDelegateCreator added in v0.19.0

type UIDelegateCreator struct {
	// contains filtered or unexported fields
}

func NewUIDelegateCreator added in v0.19.0

func NewUIDelegateCreator(name string) *UIDelegateCreator

func (*UIDelegateCreator) Create added in v0.19.0

func (c *UIDelegateCreator) Create() objc.ProtocolBase

func (*UIDelegateCreator) SetWebViewDidClose added in v0.19.0

func (c *UIDelegateCreator) SetWebViewDidClose(handle func(o objc.ProtocolBase, webView WebView))

func (*UIDelegateCreator) SetWebView_CreateWebViewWithConfiguration_ForNavigationAction_WindowFeatures added in v0.19.0

func (c *UIDelegateCreator) SetWebView_CreateWebViewWithConfiguration_ForNavigationAction_WindowFeatures(handle func(o objc.ProtocolBase, webView WebView, configuration WebViewConfiguration, navigationAction NavigationAction, windowFeatures WindowFeatures) IWebView)

func (*UIDelegateCreator) SetWebView_RequestMediaCapturePermissionForOrigin_InitiatedByFrame_Type_DecisionHandler added in v0.19.0

func (c *UIDelegateCreator) SetWebView_RequestMediaCapturePermissionForOrigin_InitiatedByFrame_Type_DecisionHandler(handle func(o objc.ProtocolBase, webView WebView, origin SecurityOrigin, frame FrameInfo, type_ MediaCaptureType, decisionHandler func(decision PermissionDecision)))

func (*UIDelegateCreator) SetWebView_RunJavaScriptAlertPanelWithMessage_InitiatedByFrame_CompletionHandler added in v0.19.0

func (c *UIDelegateCreator) SetWebView_RunJavaScriptAlertPanelWithMessage_InitiatedByFrame_CompletionHandler(handle func(o objc.ProtocolBase, webView WebView, message string, frame FrameInfo, completionHandler func()))

func (*UIDelegateCreator) SetWebView_RunJavaScriptConfirmPanelWithMessage_InitiatedByFrame_CompletionHandler added in v0.19.0

func (c *UIDelegateCreator) SetWebView_RunJavaScriptConfirmPanelWithMessage_InitiatedByFrame_CompletionHandler(handle func(o objc.ProtocolBase, webView WebView, message string, frame FrameInfo, completionHandler func(result bool)))

func (*UIDelegateCreator) SetWebView_RunJavaScriptTextInputPanelWithPrompt_DefaultText_InitiatedByFrame_CompletionHandler added in v0.19.0

func (c *UIDelegateCreator) SetWebView_RunJavaScriptTextInputPanelWithPrompt_DefaultText_InitiatedByFrame_CompletionHandler(handle func(o objc.ProtocolBase, webView WebView, prompt string, defaultText string, frame FrameInfo, completionHandler func(result string)))

type URLSchemeHandler added in v0.14.5

type URLSchemeHandler interface {
	// required
	WebView_StartURLSchemeTask(webView WebView, urlSchemeTask URLSchemeTask)
	// required
	WebView_StopURLSchemeTask(webView WebView, urlSchemeTask URLSchemeTask)
}

type URLSchemeHandlerBase added in v0.14.5

type URLSchemeHandlerBase struct {
}

type URLSchemeTask added in v0.14.5

type URLSchemeTask struct {
	objc.Object
}

func (URLSchemeTask) DidFailWithError added in v0.14.5

func (u_ URLSchemeTask) DidFailWithError(error foundation.IError)

func (URLSchemeTask) DidFinish added in v0.14.5

func (u_ URLSchemeTask) DidFinish()

func (URLSchemeTask) DidReceiveData added in v0.14.5

func (u_ URLSchemeTask) DidReceiveData(data []byte)

func (URLSchemeTask) DidReceiveResponse added in v0.14.5

func (u_ URLSchemeTask) DidReceiveResponse(response foundation.IURLResponse)

func (URLSchemeTask) Request added in v0.14.5

func (u_ URLSchemeTask) Request() foundation.URLRequest

type UserContentController

type UserContentController struct {
	objc.Object
}

func MakeUserContentController

func MakeUserContentController(ptr unsafe.Pointer) UserContentController

func NewUserContentController

func NewUserContentController() UserContentController

func (UserContentController) AddContentRuleList

func (u_ UserContentController) AddContentRuleList(contentRuleList IContentRuleList)

func (UserContentController) AddScriptMessageHandlerWithReply_ContentWorld_Name

func (u_ UserContentController) AddScriptMessageHandlerWithReply_ContentWorld_Name(scriptMessageHandlerWithReply objc.IObject, contentWorld IContentWorld, name string)

func (UserContentController) AddScriptMessageHandler_ContentWorld_Name

func (u_ UserContentController) AddScriptMessageHandler_ContentWorld_Name(scriptMessageHandler objc.IObject, world IContentWorld, name string)

func (UserContentController) AddScriptMessageHandler_Name

func (u_ UserContentController) AddScriptMessageHandler_Name(scriptMessageHandler objc.IObject, name string)

func (UserContentController) AddUserScript

func (u_ UserContentController) AddUserScript(userScript IUserScript)

func (UserContentController) Init added in v0.11.0

func (UserContentController) RemoveAllContentRuleLists

func (u_ UserContentController) RemoveAllContentRuleLists()

func (UserContentController) RemoveAllScriptMessageHandlers

func (u_ UserContentController) RemoveAllScriptMessageHandlers()

func (UserContentController) RemoveAllScriptMessageHandlersFromContentWorld

func (u_ UserContentController) RemoveAllScriptMessageHandlersFromContentWorld(contentWorld IContentWorld)

func (UserContentController) RemoveAllUserScripts

func (u_ UserContentController) RemoveAllUserScripts()

func (UserContentController) RemoveContentRuleList

func (u_ UserContentController) RemoveContentRuleList(contentRuleList IContentRuleList)

func (UserContentController) RemoveScriptMessageHandlerForName

func (u_ UserContentController) RemoveScriptMessageHandlerForName(name string)

func (UserContentController) RemoveScriptMessageHandlerForName_ContentWorld

func (u_ UserContentController) RemoveScriptMessageHandlerForName_ContentWorld(name string, contentWorld IContentWorld)

func (UserContentController) UserScripts

func (u_ UserContentController) UserScripts() []UserScript

type UserInterfaceDirectionPolicy

type UserInterfaceDirectionPolicy int
const UserInterfaceDirectionPolicyContent UserInterfaceDirectionPolicy = 0
const UserInterfaceDirectionPolicySystem UserInterfaceDirectionPolicy = 1

type UserScript

type UserScript struct {
	objc.Object
}

func MakeUserScript

func MakeUserScript(ptr unsafe.Pointer) UserScript

func NewUserScript

func NewUserScript() UserScript

func (UserScript) Init added in v0.11.0

func (u_ UserScript) Init() UserScript

func (UserScript) InitWithSource_InjectionTime_ForMainFrameOnly added in v0.11.0

func (u_ UserScript) InitWithSource_InjectionTime_ForMainFrameOnly(source string, injectionTime UserScriptInjectionTime, forMainFrameOnly bool) UserScript

func (UserScript) InitWithSource_InjectionTime_ForMainFrameOnly_InContentWorld added in v0.11.0

func (u_ UserScript) InitWithSource_InjectionTime_ForMainFrameOnly_InContentWorld(source string, injectionTime UserScriptInjectionTime, forMainFrameOnly bool, contentWorld IContentWorld) UserScript

func (UserScript) InjectionTime

func (u_ UserScript) InjectionTime() UserScriptInjectionTime

func (UserScript) IsForMainFrameOnly

func (u_ UserScript) IsForMainFrameOnly() bool

func (UserScript) Source

func (u_ UserScript) Source() string

type UserScriptInjectionTime

type UserScriptInjectionTime int
const UserScriptInjectionTimeAtDocumentEnd UserScriptInjectionTime = 1
const UserScriptInjectionTimeAtDocumentStart UserScriptInjectionTime = 0

type WebView

type WebView struct {
	appkit.View
}

func MakeWebView

func MakeWebView(ptr unsafe.Pointer) WebView

func NewWebView

func NewWebView() WebView

func (WebView) AllowsBackForwardNavigationGestures

func (w_ WebView) AllowsBackForwardNavigationGestures() bool

func (WebView) AllowsLinkPreview

func (w_ WebView) AllowsLinkPreview() bool

func (WebView) AllowsMagnification

func (w_ WebView) AllowsMagnification() bool

func (WebView) BackForwardList

func (w_ WebView) BackForwardList() BackForwardList

func (WebView) CallAsyncJavaScript_Arguments_InFrame_InContentWorld_CompletionHandler added in v0.13.3

func (w_ WebView) CallAsyncJavaScript_Arguments_InFrame_InContentWorld_CompletionHandler(functionBody string, arguments map[string]objc.IObject, frame IFrameInfo, contentWorld IContentWorld, completionHandler func(param1 objc.Object, error foundation.Error))

func (WebView) CameraCaptureState added in v0.12.0

func (w_ WebView) CameraCaptureState() MediaCaptureState

func (WebView) CanGoBack

func (w_ WebView) CanGoBack() bool

func (WebView) CanGoForward

func (w_ WebView) CanGoForward() bool

func (WebView) CertificateChain added in v0.14.5

func (w_ WebView) CertificateChain() []objc.Object

deprecated

func (WebView) CloseAllMediaPresentations

func (w_ WebView) CloseAllMediaPresentations()

deprecated

func (WebView) CloseAllMediaPresentationsWithCompletionHandler added in v0.13.3

func (w_ WebView) CloseAllMediaPresentationsWithCompletionHandler(completionHandler func())

func (WebView) Configuration

func (w_ WebView) Configuration() WebViewConfiguration

func (WebView) CreatePDFWithConfiguration_CompletionHandler added in v0.14.5

func (w_ WebView) CreatePDFWithConfiguration_CompletionHandler(pdfConfiguration IPDFConfiguration, completionHandler func(pdfDocumentData []byte, error foundation.Error))

func (WebView) CreateWebArchiveDataWithCompletionHandler added in v0.13.3

func (w_ WebView) CreateWebArchiveDataWithCompletionHandler(completionHandler func(param1 []byte, param2 foundation.Error))

func (WebView) CustomUserAgent

func (w_ WebView) CustomUserAgent() string

func (WebView) EstimatedProgress

func (w_ WebView) EstimatedProgress() float64

func (WebView) EvaluateJavaScript_CompletionHandler added in v0.13.3

func (w_ WebView) EvaluateJavaScript_CompletionHandler(javaScriptString string, completionHandler func(param1 objc.Object, error foundation.Error))

func (WebView) EvaluateJavaScript_InFrame_InContentWorld_CompletionHandler added in v0.13.3

func (w_ WebView) EvaluateJavaScript_InFrame_InContentWorld_CompletionHandler(javaScriptString string, frame IFrameInfo, contentWorld IContentWorld, completionHandler func(param1 objc.Object, error foundation.Error))

func (WebView) FindString_WithConfiguration_CompletionHandler added in v0.14.5

func (w_ WebView) FindString_WithConfiguration_CompletionHandler(string_ string, configuration IFindConfiguration, completionHandler func(result FindResult))

func (WebView) FullscreenState added in v0.12.0

func (w_ WebView) FullscreenState() FullscreenState

func (WebView) GoBack

func (w_ WebView) GoBack() Navigation

func (WebView) GoBack1 added in v0.16.0

func (w_ WebView) GoBack1(sender objc.IObject)

func (WebView) GoForward

func (w_ WebView) GoForward() Navigation

func (WebView) GoForward1 added in v0.16.0

func (w_ WebView) GoForward1(sender objc.IObject)

func (WebView) GoToBackForwardListItem

func (w_ WebView) GoToBackForwardListItem(item IBackForwardListItem) Navigation

func (WebView) HasOnlySecureContent

func (w_ WebView) HasOnlySecureContent() bool

func (WebView) Init added in v0.11.0

func (w_ WebView) Init() WebView

func (WebView) InitWithFrame added in v0.11.0

func (w_ WebView) InitWithFrame(frameRect foundation.Rect) WebView

func (WebView) InitWithFrame_Configuration added in v0.11.0

func (w_ WebView) InitWithFrame_Configuration(frame coregraphics.Rect, configuration IWebViewConfiguration) WebView

func (WebView) InteractionState added in v0.12.0

func (w_ WebView) InteractionState() objc.Object

func (WebView) IsLoading

func (w_ WebView) IsLoading() bool

func (WebView) LoadData_MIMEType_CharacterEncodingName_BaseURL

func (w_ WebView) LoadData_MIMEType_CharacterEncodingName_BaseURL(data []byte, MIMEType string, characterEncodingName string, baseURL foundation.IURL) Navigation

func (WebView) LoadFileRequest_AllowingReadAccessToURL added in v0.12.0

func (w_ WebView) LoadFileRequest_AllowingReadAccessToURL(request foundation.IURLRequest, readAccessURL foundation.IURL) Navigation

func (WebView) LoadFileURL_AllowingReadAccessToURL

func (w_ WebView) LoadFileURL_AllowingReadAccessToURL(URL foundation.IURL, readAccessURL foundation.IURL) Navigation

func (WebView) LoadHTMLString_BaseURL

func (w_ WebView) LoadHTMLString_BaseURL(string_ string, baseURL foundation.IURL) Navigation

func (WebView) LoadRequest

func (w_ WebView) LoadRequest(request foundation.IURLRequest) Navigation

func (WebView) LoadSimulatedRequest_ResponseHTMLString added in v0.12.0

func (w_ WebView) LoadSimulatedRequest_ResponseHTMLString(request foundation.IURLRequest, string_ string) Navigation

func (WebView) LoadSimulatedRequest_Response_ResponseData added in v0.12.0

func (w_ WebView) LoadSimulatedRequest_Response_ResponseData(request foundation.IURLRequest, response foundation.IURLResponse, data []byte) Navigation

func (WebView) LoadSimulatedRequest_WithResponseHTMLString added in v0.14.5

func (w_ WebView) LoadSimulatedRequest_WithResponseHTMLString(request foundation.IURLRequest, string_ string) Navigation

deprecated

func (WebView) LoadSimulatedRequest_WithResponse_ResponseData added in v0.14.5

func (w_ WebView) LoadSimulatedRequest_WithResponse_ResponseData(request foundation.IURLRequest, response foundation.IURLResponse, data []byte) Navigation

deprecated

func (WebView) Magnification

func (w_ WebView) Magnification() float64

func (WebView) MaximumViewportInset added in v0.13.5

func (w_ WebView) MaximumViewportInset() foundation.EdgeInsets

func (WebView) MediaType

func (w_ WebView) MediaType() string

func (WebView) MicrophoneCaptureState added in v0.12.0

func (w_ WebView) MicrophoneCaptureState() MediaCaptureState

func (WebView) MinimumViewportInset added in v0.13.5

func (w_ WebView) MinimumViewportInset() foundation.EdgeInsets

func (WebView) NavigationDelegate

func (w_ WebView) NavigationDelegate() objc.Object

weak property

func (WebView) PageZoom

func (w_ WebView) PageZoom() float64

func (WebView) PauseAllMediaPlayback added in v0.14.5

func (w_ WebView) PauseAllMediaPlayback(completionHandler func())

deprecated

func (WebView) PauseAllMediaPlaybackWithCompletionHandler added in v0.13.3

func (w_ WebView) PauseAllMediaPlaybackWithCompletionHandler(completionHandler func())

func (WebView) PrintOperationWithPrintInfo

func (w_ WebView) PrintOperationWithPrintInfo(printInfo appkit.IPrintInfo) appkit.PrintOperation

func (WebView) Reload

func (w_ WebView) Reload() Navigation

func (WebView) Reload1 added in v0.16.0

func (w_ WebView) Reload1(sender objc.IObject)

func (WebView) ReloadFromOrigin

func (w_ WebView) ReloadFromOrigin() Navigation

func (WebView) ReloadFromOrigin1 added in v0.16.0

func (w_ WebView) ReloadFromOrigin1(sender objc.IObject)

func (WebView) RequestMediaPlaybackState added in v0.14.5

func (w_ WebView) RequestMediaPlaybackState(completionHandler func(param1 MediaPlaybackState))

deprecated

func (WebView) RequestMediaPlaybackStateWithCompletionHandler added in v0.13.3

func (w_ WebView) RequestMediaPlaybackStateWithCompletionHandler(completionHandler func(param1 MediaPlaybackState))

func (WebView) ResumeAllMediaPlayback added in v0.14.5

func (w_ WebView) ResumeAllMediaPlayback(completionHandler func())

deprecated

func (WebView) ResumeDownloadFromResumeData_CompletionHandler added in v0.13.3

func (w_ WebView) ResumeDownloadFromResumeData_CompletionHandler(resumeData []byte, completionHandler func(param1 Download))

func (WebView) SetAllMediaPlaybackSuspended_CompletionHandler added in v0.13.3

func (w_ WebView) SetAllMediaPlaybackSuspended_CompletionHandler(suspended bool, completionHandler func())

func (WebView) SetAllowsBackForwardNavigationGestures

func (w_ WebView) SetAllowsBackForwardNavigationGestures(value bool)

func (WebView) SetAllowsLinkPreview

func (w_ WebView) SetAllowsLinkPreview(value bool)

func (WebView) SetAllowsMagnification

func (w_ WebView) SetAllowsMagnification(value bool)

func (WebView) SetCameraCaptureState_CompletionHandler added in v0.13.3

func (w_ WebView) SetCameraCaptureState_CompletionHandler(state MediaCaptureState, completionHandler func())

func (WebView) SetCustomUserAgent

func (w_ WebView) SetCustomUserAgent(value string)

func (WebView) SetInteractionState added in v0.12.0

func (w_ WebView) SetInteractionState(value objc.IObject)

func (WebView) SetMagnification

func (w_ WebView) SetMagnification(value float64)

func (WebView) SetMagnification_CenteredAtPoint

func (w_ WebView) SetMagnification_CenteredAtPoint(magnification float64, point coregraphics.Point)

func (WebView) SetMediaType

func (w_ WebView) SetMediaType(value string)

func (WebView) SetMicrophoneCaptureState_CompletionHandler added in v0.13.3

func (w_ WebView) SetMicrophoneCaptureState_CompletionHandler(state MediaCaptureState, completionHandler func())

func (WebView) SetMinimumViewportInset_MaximumViewportInset added in v0.13.5

func (w_ WebView) SetMinimumViewportInset_MaximumViewportInset(minimumViewportInset foundation.EdgeInsets, maximumViewportInset foundation.EdgeInsets)

func (WebView) SetNavigationDelegate

func (w_ WebView) SetNavigationDelegate(value objc.IObject)

weak property

func (WebView) SetPageZoom

func (w_ WebView) SetPageZoom(value float64)

func (WebView) SetUIDelegate

func (w_ WebView) SetUIDelegate(value objc.IObject)

weak property

func (WebView) SetUnderPageBackgroundColor added in v0.12.0

func (w_ WebView) SetUnderPageBackgroundColor(value appkit.IColor)

func (WebView) StartDownloadUsingRequest_CompletionHandler added in v0.13.3

func (w_ WebView) StartDownloadUsingRequest_CompletionHandler(request foundation.IURLRequest, completionHandler func(param1 Download))

func (WebView) StopLoading

func (w_ WebView) StopLoading()

func (WebView) StopLoading1 added in v0.16.0

func (w_ WebView) StopLoading1(sender objc.IObject)

func (WebView) SuspendAllMediaPlayback added in v0.14.5

func (w_ WebView) SuspendAllMediaPlayback(completionHandler func())

deprecated

func (WebView) TakeSnapshotWithConfiguration_CompletionHandler added in v0.13.3

func (w_ WebView) TakeSnapshotWithConfiguration_CompletionHandler(snapshotConfiguration ISnapshotConfiguration, completionHandler func(snapshotImage appkit.Image, error foundation.Error))

func (WebView) ThemeColor added in v0.12.0

func (w_ WebView) ThemeColor() appkit.Color

func (WebView) Title

func (w_ WebView) Title() string

func (WebView) UIDelegate

func (w_ WebView) UIDelegate() objc.Object

weak property

func (WebView) URL

func (w_ WebView) URL() foundation.URL

func (WebView) UnderPageBackgroundColor added in v0.12.0

func (w_ WebView) UnderPageBackgroundColor() appkit.Color

type WebViewConfiguration

type WebViewConfiguration struct {
	objc.Object
}

func MakeWebViewConfiguration

func MakeWebViewConfiguration(ptr unsafe.Pointer) WebViewConfiguration

func NewWebViewConfiguration

func NewWebViewConfiguration() WebViewConfiguration

func (WebViewConfiguration) AllowsAirPlayForMediaPlayback

func (w_ WebViewConfiguration) AllowsAirPlayForMediaPlayback() bool

func (WebViewConfiguration) ApplicationNameForUserAgent

func (w_ WebViewConfiguration) ApplicationNameForUserAgent() string

func (WebViewConfiguration) DefaultWebpagePreferences

func (w_ WebViewConfiguration) DefaultWebpagePreferences() WebpagePreferences

func (WebViewConfiguration) Init added in v0.11.0

func (WebViewConfiguration) LimitsNavigationsToAppBoundDomains

func (w_ WebViewConfiguration) LimitsNavigationsToAppBoundDomains() bool

func (WebViewConfiguration) MediaTypesRequiringUserActionForPlayback

func (w_ WebViewConfiguration) MediaTypesRequiringUserActionForPlayback() AudiovisualMediaTypes

func (WebViewConfiguration) Preferences

func (w_ WebViewConfiguration) Preferences() Preferences

func (WebViewConfiguration) ProcessPool

func (w_ WebViewConfiguration) ProcessPool() ProcessPool

func (WebViewConfiguration) SetAllowsAirPlayForMediaPlayback

func (w_ WebViewConfiguration) SetAllowsAirPlayForMediaPlayback(value bool)

func (WebViewConfiguration) SetApplicationNameForUserAgent

func (w_ WebViewConfiguration) SetApplicationNameForUserAgent(value string)

func (WebViewConfiguration) SetDefaultWebpagePreferences

func (w_ WebViewConfiguration) SetDefaultWebpagePreferences(value IWebpagePreferences)

func (WebViewConfiguration) SetLimitsNavigationsToAppBoundDomains

func (w_ WebViewConfiguration) SetLimitsNavigationsToAppBoundDomains(value bool)

func (WebViewConfiguration) SetMediaTypesRequiringUserActionForPlayback

func (w_ WebViewConfiguration) SetMediaTypesRequiringUserActionForPlayback(value AudiovisualMediaTypes)

func (WebViewConfiguration) SetPreferences

func (w_ WebViewConfiguration) SetPreferences(value IPreferences)

func (WebViewConfiguration) SetProcessPool

func (w_ WebViewConfiguration) SetProcessPool(value IProcessPool)

func (WebViewConfiguration) SetSuppressesIncrementalRendering

func (w_ WebViewConfiguration) SetSuppressesIncrementalRendering(value bool)

func (WebViewConfiguration) SetURLSchemeHandler_ForURLScheme

func (w_ WebViewConfiguration) SetURLSchemeHandler_ForURLScheme(urlSchemeHandler objc.IObject, urlScheme string)

func (WebViewConfiguration) SetUpgradeKnownHostsToHTTPS added in v0.12.0

func (w_ WebViewConfiguration) SetUpgradeKnownHostsToHTTPS(value bool)

func (WebViewConfiguration) SetUserContentController

func (w_ WebViewConfiguration) SetUserContentController(value IUserContentController)

func (WebViewConfiguration) SetUserInterfaceDirectionPolicy

func (w_ WebViewConfiguration) SetUserInterfaceDirectionPolicy(value UserInterfaceDirectionPolicy)

func (WebViewConfiguration) SetWebsiteDataStore

func (w_ WebViewConfiguration) SetWebsiteDataStore(value IWebsiteDataStore)

func (WebViewConfiguration) SuppressesIncrementalRendering

func (w_ WebViewConfiguration) SuppressesIncrementalRendering() bool

func (WebViewConfiguration) UpgradeKnownHostsToHTTPS added in v0.12.0

func (w_ WebViewConfiguration) UpgradeKnownHostsToHTTPS() bool

func (WebViewConfiguration) UrlSchemeHandlerForURLScheme

func (w_ WebViewConfiguration) UrlSchemeHandlerForURLScheme(urlScheme string) objc.Object

func (WebViewConfiguration) UserContentController

func (w_ WebViewConfiguration) UserContentController() UserContentController

func (WebViewConfiguration) UserInterfaceDirectionPolicy

func (w_ WebViewConfiguration) UserInterfaceDirectionPolicy() UserInterfaceDirectionPolicy

func (WebViewConfiguration) WebsiteDataStore

func (w_ WebViewConfiguration) WebsiteDataStore() WebsiteDataStore

type WebpagePreferences

type WebpagePreferences struct {
	objc.Object
}

func MakeWebpagePreferences

func MakeWebpagePreferences(ptr unsafe.Pointer) WebpagePreferences

func NewWebpagePreferences

func NewWebpagePreferences() WebpagePreferences

func (WebpagePreferences) AllowsContentJavaScript

func (w_ WebpagePreferences) AllowsContentJavaScript() bool

func (WebpagePreferences) Init added in v0.11.0

func (WebpagePreferences) IsLockdownModeEnabled added in v0.15.0

func (w_ WebpagePreferences) IsLockdownModeEnabled() bool

func (WebpagePreferences) PreferredContentMode

func (w_ WebpagePreferences) PreferredContentMode() ContentMode

func (WebpagePreferences) SetAllowsContentJavaScript

func (w_ WebpagePreferences) SetAllowsContentJavaScript(value bool)

func (WebpagePreferences) SetLockdownModeEnabled added in v0.15.0

func (w_ WebpagePreferences) SetLockdownModeEnabled(value bool)

func (WebpagePreferences) SetPreferredContentMode

func (w_ WebpagePreferences) SetPreferredContentMode(value ContentMode)

type WebsiteDataRecord added in v0.14.3

type WebsiteDataRecord struct {
	objc.Object
}

func MakeWebsiteDataRecord added in v0.14.3

func MakeWebsiteDataRecord(ptr unsafe.Pointer) WebsiteDataRecord

func NewWebsiteDataRecord added in v0.14.3

func NewWebsiteDataRecord() WebsiteDataRecord

func (WebsiteDataRecord) DataTypes added in v0.14.3

func (w_ WebsiteDataRecord) DataTypes() foundation.Set

func (WebsiteDataRecord) DisplayName added in v0.14.3

func (w_ WebsiteDataRecord) DisplayName() string

func (WebsiteDataRecord) Init added in v0.14.3

type WebsiteDataStore

type WebsiteDataStore struct {
	objc.Object
}

func MakeWebsiteDataStore

func MakeWebsiteDataStore(ptr unsafe.Pointer) WebsiteDataStore

func NewWebsiteDataStore added in v0.13.0

func NewWebsiteDataStore() WebsiteDataStore

func (WebsiteDataStore) FetchDataRecordsOfTypes_CompletionHandler added in v0.14.3

func (w_ WebsiteDataStore) FetchDataRecordsOfTypes_CompletionHandler(dataTypes foundation.ISet, completionHandler func(param1 []WebsiteDataRecord))

func (WebsiteDataStore) HttpCookieStore

func (w_ WebsiteDataStore) HttpCookieStore() HTTPCookieStore

func (WebsiteDataStore) Init added in v0.13.0

func (WebsiteDataStore) IsPersistent

func (w_ WebsiteDataStore) IsPersistent() bool

func (WebsiteDataStore) RemoveDataOfTypes_ForDataRecords_CompletionHandler added in v0.14.3

func (w_ WebsiteDataStore) RemoveDataOfTypes_ForDataRecords_CompletionHandler(dataTypes foundation.ISet, dataRecords []IWebsiteDataRecord, completionHandler func())

func (WebsiteDataStore) RemoveDataOfTypes_ModifiedSince_CompletionHandler added in v0.14.3

func (w_ WebsiteDataStore) RemoveDataOfTypes_ModifiedSince_CompletionHandler(dataTypes foundation.ISet, date foundation.IDate, completionHandler func())

type WindowFeatures

type WindowFeatures struct {
	objc.Object
}

func MakeWindowFeatures

func MakeWindowFeatures(ptr unsafe.Pointer) WindowFeatures

func NewWindowFeatures

func NewWindowFeatures() WindowFeatures

func (WindowFeatures) AllowsResizing

func (w_ WindowFeatures) AllowsResizing() foundation.Number

func (WindowFeatures) Height

func (w_ WindowFeatures) Height() foundation.Number

func (WindowFeatures) Init added in v0.11.0

func (w_ WindowFeatures) Init() WindowFeatures

func (WindowFeatures) MenuBarVisibility

func (w_ WindowFeatures) MenuBarVisibility() foundation.Number

func (WindowFeatures) StatusBarVisibility

func (w_ WindowFeatures) StatusBarVisibility() foundation.Number

func (WindowFeatures) ToolbarsVisibility

func (w_ WindowFeatures) ToolbarsVisibility() foundation.Number

func (WindowFeatures) Width

func (w_ WindowFeatures) Width() foundation.Number

func (WindowFeatures) X

func (WindowFeatures) Y

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL