Trait objc2_web_kit::WebFrameLoadDelegate

source ยท
pub unsafe trait WebFrameLoadDelegate: NSObjectProtocol {
Show 14 methods // Provided methods unsafe fn webView_didStartProvisionalLoadForFrame( &self, sender: Option<&WebView>, frame: Option<&WebFrame> ) where Self: Sized + Message { ... } unsafe fn webView_didReceiveServerRedirectForProvisionalLoadForFrame( &self, sender: Option<&WebView>, frame: Option<&WebFrame> ) where Self: Sized + Message { ... } unsafe fn webView_didFailProvisionalLoadWithError_forFrame( &self, sender: Option<&WebView>, error: Option<&NSError>, frame: Option<&WebFrame> ) where Self: Sized + Message { ... } unsafe fn webView_didCommitLoadForFrame( &self, sender: Option<&WebView>, frame: Option<&WebFrame> ) where Self: Sized + Message { ... } unsafe fn webView_didReceiveTitle_forFrame( &self, sender: Option<&WebView>, title: Option<&NSString>, frame: Option<&WebFrame> ) where Self: Sized + Message { ... } unsafe fn webView_didReceiveIcon_forFrame( &self, sender: Option<&WebView>, image: Option<&NSImage>, frame: Option<&WebFrame> ) where Self: Sized + Message { ... } unsafe fn webView_didFinishLoadForFrame( &self, sender: Option<&WebView>, frame: Option<&WebFrame> ) where Self: Sized + Message { ... } unsafe fn webView_didFailLoadWithError_forFrame( &self, sender: Option<&WebView>, error: Option<&NSError>, frame: Option<&WebFrame> ) where Self: Sized + Message { ... } unsafe fn webView_didChangeLocationWithinPageForFrame( &self, sender: Option<&WebView>, frame: Option<&WebFrame> ) where Self: Sized + Message { ... } unsafe fn webView_willPerformClientRedirectToURL_delay_fireDate_forFrame( &self, sender: Option<&WebView>, url: Option<&NSURL>, seconds: NSTimeInterval, date: Option<&NSDate>, frame: Option<&WebFrame> ) where Self: Sized + Message { ... } unsafe fn webView_didCancelClientRedirectForFrame( &self, sender: Option<&WebView>, frame: Option<&WebFrame> ) where Self: Sized + Message { ... } unsafe fn webView_willCloseFrame( &self, sender: Option<&WebView>, frame: Option<&WebFrame> ) where Self: Sized + Message { ... } unsafe fn webView_didClearWindowObject_forFrame( &self, web_view: Option<&WebView>, window_object: Option<&WebScriptObject>, frame: Option<&WebFrame> ) where Self: Sized + Message { ... } unsafe fn webView_windowScriptObjectAvailable( &self, web_view: Option<&WebView>, window_script_object: Option<&WebScriptObject> ) where Self: Sized + Message { ... }
}
๐Ÿ‘ŽDeprecated
Available on crate feature WebFrameLoadDelegate only.

Provided Methodsยง

source

unsafe fn webView_didStartProvisionalLoadForFrame( &self, sender: Option<&WebView>, frame: Option<&WebFrame> )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
Available on crate feature WebFrame and crate feature WebView and crate feature objc2-app-kit and macOS only.
source

unsafe fn webView_didReceiveServerRedirectForProvisionalLoadForFrame( &self, sender: Option<&WebView>, frame: Option<&WebFrame> )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
Available on crate feature WebFrame and crate feature WebView and crate feature objc2-app-kit and macOS only.
source

unsafe fn webView_didFailProvisionalLoadWithError_forFrame( &self, sender: Option<&WebView>, error: Option<&NSError>, frame: Option<&WebFrame> )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
Available on crate feature WebFrame and crate feature WebView and crate feature objc2-app-kit and macOS only.
source

unsafe fn webView_didCommitLoadForFrame( &self, sender: Option<&WebView>, frame: Option<&WebFrame> )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
Available on crate feature WebFrame and crate feature WebView and crate feature objc2-app-kit and macOS only.
source

unsafe fn webView_didReceiveTitle_forFrame( &self, sender: Option<&WebView>, title: Option<&NSString>, frame: Option<&WebFrame> )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
Available on crate feature WebFrame and crate feature WebView and crate feature objc2-app-kit and macOS only.
source

unsafe fn webView_didReceiveIcon_forFrame( &self, sender: Option<&WebView>, image: Option<&NSImage>, frame: Option<&WebFrame> )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
Available on crate feature WebFrame and crate feature WebView and crate feature objc2-app-kit and macOS only.
source

unsafe fn webView_didFinishLoadForFrame( &self, sender: Option<&WebView>, frame: Option<&WebFrame> )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
Available on crate feature WebFrame and crate feature WebView and crate feature objc2-app-kit and macOS only.
source

unsafe fn webView_didFailLoadWithError_forFrame( &self, sender: Option<&WebView>, error: Option<&NSError>, frame: Option<&WebFrame> )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
Available on crate feature WebFrame and crate feature WebView and crate feature objc2-app-kit and macOS only.
source

unsafe fn webView_didChangeLocationWithinPageForFrame( &self, sender: Option<&WebView>, frame: Option<&WebFrame> )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
Available on crate feature WebFrame and crate feature WebView and crate feature objc2-app-kit and macOS only.
source

unsafe fn webView_willPerformClientRedirectToURL_delay_fireDate_forFrame( &self, sender: Option<&WebView>, url: Option<&NSURL>, seconds: NSTimeInterval, date: Option<&NSDate>, frame: Option<&WebFrame> )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
Available on crate feature WebFrame and crate feature WebView and crate feature objc2-app-kit and macOS only.
source

unsafe fn webView_didCancelClientRedirectForFrame( &self, sender: Option<&WebView>, frame: Option<&WebFrame> )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
Available on crate feature WebFrame and crate feature WebView and crate feature objc2-app-kit and macOS only.
source

unsafe fn webView_willCloseFrame( &self, sender: Option<&WebView>, frame: Option<&WebFrame> )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
Available on crate feature WebFrame and crate feature WebView and crate feature objc2-app-kit and macOS only.
source

unsafe fn webView_didClearWindowObject_forFrame( &self, web_view: Option<&WebView>, window_object: Option<&WebScriptObject>, frame: Option<&WebFrame> )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
Available on crate feature WebFrame and crate feature WebScriptObject and crate feature WebView and crate feature objc2-app-kit and macOS only.
source

unsafe fn webView_windowScriptObjectAvailable( &self, web_view: Option<&WebView>, window_script_object: Option<&WebScriptObject> )
where Self: Sized + Message,

๐Ÿ‘ŽDeprecated
Available on crate feature WebScriptObject and crate feature WebView and crate feature objc2-app-kit and macOS only.

Trait Implementationsยง

sourceยง

impl ProtocolType for dyn WebFrameLoadDelegate

sourceยง

const NAME: &'static str = "WebFrameLoadDelegate"

The name of the Objective-C protocol that this type represents.
sourceยง

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
sourceยง

impl<T> ImplementedBy<T> for dyn WebFrameLoadDelegate

Implementations on Foreign Typesยง

sourceยง

impl<T> WebFrameLoadDelegate for ProtocolObject<T>

Implementorsยง