pub trait WKWebView: Sized {
Show 46 methods // Required methods unsafe fn handlesURLScheme_(_: Self, urlScheme: id) -> BOOL; unsafe fn configuration(self) -> id; unsafe fn initWithFrame_configuration_( self, frameRect: NSRect, configuration: id ) -> id; unsafe fn initWithCoder_(self, coder: id) -> id; unsafe fn scrollView(self) -> id; unsafe fn title(self) -> id; unsafe fn URL(self) -> id; unsafe fn customUserAgent(self) -> id; unsafe fn setCustomUserAgent_(self, customUserAgent: id); unsafe fn navigationDelegate(self) -> id; unsafe fn setNavigationDelegate_(self, navigationDelegate: id); unsafe fn UIDelegate(self) -> id; unsafe fn setUIDelegate_(self, navigationDelegate: id); unsafe fn estimatedProgress(self) -> c_double; unsafe fn hasOnlySecureContent(self) -> BOOL; unsafe fn loadHTMLString_baseURL_(self, string: id, baseURL: id) -> id; unsafe fn loading(self) -> BOOL; unsafe fn reload_(self) -> id; unsafe fn reload_sender_(self, sender: id) -> id; unsafe fn reloadFromOrigin_(self) -> id; unsafe fn reloadFromOrigin_sender_(self, sender: id) -> id; unsafe fn stopLoading_(self); unsafe fn stopLoading_sender_(self, sender: id) -> id; unsafe fn loadData_MIMEType_characterEncodingName_baseURL_( self, data: id, MIMEType: id, characterEncodingName: id, baseURL: id ) -> id; unsafe fn loadFileURL_allowingReadAccessToURL_( self, URL: id, allowingReadAccessToURL: id ) -> id; unsafe fn allowsMagnification(self) -> BOOL; unsafe fn setAllowsMagnification_(self, allowsMagnification: BOOL); unsafe fn magnification(self) -> CGFloat; unsafe fn setMagnification_(self, magnification: CGFloat); unsafe fn setMagnification_centeredAtPoint_( self, magnification: CGFloat, centeredAtPoint: CGPoint ); unsafe fn allowsBackForwardNavigationGestures(self) -> BOOL; unsafe fn setAllowsBackForwardNavigationGestures_( self, allowsBackForwardNavigationGestures: BOOL ); unsafe fn backForwardList(self) -> id; unsafe fn canGoBack(self) -> BOOL; unsafe fn canGoForward(self) -> BOOL; unsafe fn allowsLinkPreview(self) -> BOOL; unsafe fn setAllowsLinkPreview_(self, allowsLinkPreview: BOOL); unsafe fn goBack_(self) -> id; unsafe fn goBack_sender_(self, sender: id) -> id; unsafe fn goForward_(self) -> id; unsafe fn goForward_sender_(self, sender: id) -> id; unsafe fn goToBackForwardListItem_(self, item: id) -> id; unsafe fn loadRequest_(self, request: id); unsafe fn evaluateJavaScript_( self, javascriptString: id, completionHandler: &Block<(id, id), ()> ); unsafe fn takeSnapshotWithConfiguration_( self, snapshotConfiguration: id, completionHandler: extern "C" fn(_: id, _: id) ); // Provided method unsafe fn alloc(_: Self) -> id { ... }
}

Required Methods§

source

unsafe fn handlesURLScheme_(_: Self, urlScheme: id) -> BOOL

Safety

All the FFI functions are unsafe.

Category

Determining Whether WebKit can Load Content

source

unsafe fn configuration(self) -> id

Safety

All the FFI functions are unsafe.

Category

Initializing a Web View

source

unsafe fn initWithFrame_configuration_( self, frameRect: NSRect, configuration: id ) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn initWithCoder_(self, coder: id) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn scrollView(self) -> id

Safety

All the FFI functions are unsafe.

Category

Inspecting the View Information

source

unsafe fn title(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn URL(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn customUserAgent(self) -> id

Safety

All the FFI functions are unsafe.

source

unsafe fn setCustomUserAgent_(self, customUserAgent: id)

Safety

All the FFI functions are unsafe.

source

unsafe fn navigationDelegate(self) -> id

Safety

All the FFI functions are unsafe.

Category

Setting Delegates

source

unsafe fn setNavigationDelegate_(self, navigationDelegate: id)

Safety

All the FFI functions are unsafe.

Category

Setting Delegates

source

unsafe fn UIDelegate(self) -> id

Safety

All the FFI functions are unsafe.

Category

Setting Delegates

source

unsafe fn setUIDelegate_(self, navigationDelegate: id)

Safety

All the FFI functions are unsafe.

Category

Setting Delegates

source

unsafe fn estimatedProgress(self) -> c_double

Safety

All the FFI functions are unsafe.

Category

Loading Content

source

unsafe fn hasOnlySecureContent(self) -> BOOL

Safety

All the FFI functions are unsafe.

Category

Loading Content

source

unsafe fn loadHTMLString_baseURL_(self, string: id, baseURL: id) -> id

Safety

All the FFI functions are unsafe.

Category

Loading Content

source

unsafe fn loading(self) -> BOOL

Safety

All the FFI functions are unsafe.

Category

Loading Content

source

unsafe fn reload_(self) -> id

Safety

All the FFI functions are unsafe.

Category

Loading Content

source

unsafe fn reload_sender_(self, sender: id) -> id

Safety

All the FFI functions are unsafe.

Category

Loading Content

source

unsafe fn reloadFromOrigin_(self) -> id

Safety

All the FFI functions are unsafe.

Category

Loading Content

source

unsafe fn reloadFromOrigin_sender_(self, sender: id) -> id

Safety

All the FFI functions are unsafe.

Category

Loading Content

source

unsafe fn stopLoading_(self)

Safety

All the FFI functions are unsafe.

Category

Loading Content

source

unsafe fn stopLoading_sender_(self, sender: id) -> id

Safety

All the FFI functions are unsafe.

Category

Loading Content

source

unsafe fn loadData_MIMEType_characterEncodingName_baseURL_( self, data: id, MIMEType: id, characterEncodingName: id, baseURL: id ) -> id

Safety

All the FFI functions are unsafe.

Category

Loading Content

source

unsafe fn loadFileURL_allowingReadAccessToURL_( self, URL: id, allowingReadAccessToURL: id ) -> id

Safety

All the FFI functions are unsafe.

Category

Loading Content

source

unsafe fn allowsMagnification(self) -> BOOL

Safety

All the FFI functions are unsafe.

Category

Scaling Content

source

unsafe fn setAllowsMagnification_(self, allowsMagnification: BOOL)

Safety

All the FFI functions are unsafe.

Category

Scaling Content

source

unsafe fn magnification(self) -> CGFloat

Safety

All the FFI functions are unsafe.

Category

Scaling Content

source

unsafe fn setMagnification_(self, magnification: CGFloat)

Safety

All the FFI functions are unsafe.

Category

Scaling Content

source

unsafe fn setMagnification_centeredAtPoint_( self, magnification: CGFloat, centeredAtPoint: CGPoint )

Safety

All the FFI functions are unsafe.

Category

Scaling Content

source

unsafe fn allowsBackForwardNavigationGestures(self) -> BOOL

Safety

All the FFI functions are unsafe.

Category

Navigating

source

unsafe fn setAllowsBackForwardNavigationGestures_( self, allowsBackForwardNavigationGestures: BOOL )

Safety

All the FFI functions are unsafe.

Category

Navigating

source

unsafe fn backForwardList(self) -> id

Safety

All the FFI functions are unsafe.

Category

Navigating

source

unsafe fn canGoBack(self) -> BOOL

Safety

All the FFI functions are unsafe.

Category

Navigating

source

unsafe fn canGoForward(self) -> BOOL

Safety

All the FFI functions are unsafe.

Category

Navigating

source

unsafe fn allowsLinkPreview(self) -> BOOL

Safety

All the FFI functions are unsafe.

Category

Navigating

source

unsafe fn setAllowsLinkPreview_(self, allowsLinkPreview: BOOL)

Safety

All the FFI functions are unsafe.

Category

Navigating

source

unsafe fn goBack_(self) -> id

Safety

All the FFI functions are unsafe.

Category

Navigating

source

unsafe fn goBack_sender_(self, sender: id) -> id

Safety

All the FFI functions are unsafe.

Category

Navigating

source

unsafe fn goForward_(self) -> id

Safety

All the FFI functions are unsafe.

Category

Navigating

source

unsafe fn goForward_sender_(self, sender: id) -> id

Safety

All the FFI functions are unsafe.

Category

Navigating

source

unsafe fn goToBackForwardListItem_(self, item: id) -> id

Safety

All the FFI functions are unsafe.

Category

Navigating

source

unsafe fn loadRequest_(self, request: id)

Safety

All the FFI functions are unsafe.

Category

Navigating

source

unsafe fn evaluateJavaScript_( self, javascriptString: id, completionHandler: &Block<(id, id), ()> )

Safety

All the FFI functions are unsafe.

Category

Executing JavaScript

source

unsafe fn takeSnapshotWithConfiguration_( self, snapshotConfiguration: id, completionHandler: extern "C" fn(_: id, _: id) )

Safety

All the FFI functions are unsafe.

Category

Taking Snapshots

Provided Methods§

source

unsafe fn alloc(_: Self) -> id

Safety

All the FFI functions are unsafe.

Implementations on Foreign Types§

source§

impl WKWebView for id

source§

unsafe fn handlesURLScheme_(_: Self, urlScheme: id) -> BOOL

Determining Whether WebKit can Load Content

source§

unsafe fn configuration(self) -> id

Initializing a Web View

source§

unsafe fn initWithFrame_configuration_( self, frameRect: NSRect, configuration: id ) -> id

Initializing a Web View

source§

unsafe fn initWithCoder_(self, coder: id) -> id

Initializing a Web View

source§

unsafe fn scrollView(self) -> id

Inspecting the View Information

source§

unsafe fn title(self) -> id

Inspecting the View Information

source§

unsafe fn URL(self) -> id

Inspecting the View Information

source§

unsafe fn customUserAgent(self) -> id

Inspecting the View Information

source§

unsafe fn setCustomUserAgent_(self, customUserAgent: id)

Inspecting the View Information

source§

unsafe fn navigationDelegate(self) -> id

Setting Delegates

source§

unsafe fn setNavigationDelegate_(self, navigationDelegate: id)

Setting Delegates

source§

unsafe fn UIDelegate(self) -> id

Setting Delegates

source§

unsafe fn setUIDelegate_(self, navigationDelegate: id)

Setting Delegates

source§

unsafe fn estimatedProgress(self) -> c_double

Loading Content

source§

unsafe fn hasOnlySecureContent(self) -> BOOL

Loading Content

source§

unsafe fn loadHTMLString_baseURL_(self, string: id, baseURL: id) -> id

Loading Content

source§

unsafe fn loading(self) -> BOOL

Loading Content

source§

unsafe fn reload_(self) -> id

Loading Content

source§

unsafe fn reload_sender_(self, sender: id) -> id

Loading Content

source§

unsafe fn reloadFromOrigin_(self) -> id

Loading Content

source§

unsafe fn reloadFromOrigin_sender_(self, sender: id) -> id

Loading Content

source§

unsafe fn stopLoading_(self)

Loading Content

source§

unsafe fn stopLoading_sender_(self, sender: id) -> id

Loading Content

source§

unsafe fn loadData_MIMEType_characterEncodingName_baseURL_( self, data: id, MIMEType: id, characterEncodingName: id, baseURL: id ) -> id

Loading Content

source§

unsafe fn loadFileURL_allowingReadAccessToURL_( self, URL: id, allowingReadAccessToURL: id ) -> id

Loading Content

source§

unsafe fn allowsMagnification(self) -> BOOL

source§

unsafe fn setAllowsMagnification_(self, allowsMagnification: BOOL)

source§

unsafe fn magnification(self) -> CGFloat

source§

unsafe fn setMagnification_(self, magnification: CGFloat)

source§

unsafe fn setMagnification_centeredAtPoint_( self, magnification: CGFloat, centeredAtPoint: CGPoint )

source§

unsafe fn allowsBackForwardNavigationGestures(self) -> BOOL

source§

unsafe fn setAllowsBackForwardNavigationGestures_( self, allowsBackForwardNavigationGestures: BOOL )

source§

unsafe fn backForwardList(self) -> id

source§

unsafe fn canGoBack(self) -> BOOL

source§

unsafe fn canGoForward(self) -> BOOL

source§

unsafe fn allowsLinkPreview(self) -> BOOL

source§

unsafe fn setAllowsLinkPreview_(self, allowsLinkPreview: BOOL)

source§

unsafe fn goBack_(self) -> id

source§

unsafe fn goBack_sender_(self, sender: id) -> id

source§

unsafe fn goForward_(self) -> id

source§

unsafe fn goForward_sender_(self, sender: id) -> id

source§

unsafe fn goToBackForwardListItem_(self, item: id) -> id

source§

unsafe fn loadRequest_(self, request: id)

source§

unsafe fn evaluateJavaScript_( self, javascriptString: id, completionHandler: &Block<(id, id), ()> )

source§

unsafe fn takeSnapshotWithConfiguration_( self, snapshotConfiguration: id, completionHandler: extern "C" fn(_: id, _: id) )

Implementors§