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 features WebFrame and WebView and objc2-app-kit only.
source

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

👎Deprecated
Available on crate features WebFrame and WebView and objc2-app-kit 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 features WebFrame and WebView and objc2-app-kit only.
source

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

👎Deprecated
Available on crate features WebFrame and WebView and objc2-app-kit 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 features WebFrame and WebView and objc2-app-kit 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 features WebFrame and WebView and objc2-app-kit only.
source

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

👎Deprecated
Available on crate features WebFrame and WebView and objc2-app-kit 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 features WebFrame and WebView and objc2-app-kit only.
source

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

👎Deprecated
Available on crate features WebFrame and WebView and objc2-app-kit 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 features WebFrame and WebView and objc2-app-kit only.
source

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

👎Deprecated
Available on crate features WebFrame and WebView and objc2-app-kit only.
source

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

👎Deprecated
Available on crate features WebFrame and WebView and objc2-app-kit 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 features WebFrame and WebScriptObject and WebView and objc2-app-kit only.
source

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

👎Deprecated
Available on crate features WebScriptObject and WebView and objc2-app-kit 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§