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ยง
unsafe fn webView_didStartProvisionalLoadForFrame( &self, sender: Option<&WebView>, frame: Option<&WebFrame> )
๐Deprecated
Available on crate feature
WebFrame
and crate feature WebView
and crate feature objc2-app-kit
and macOS only.unsafe fn webView_didReceiveServerRedirectForProvisionalLoadForFrame( &self, sender: Option<&WebView>, frame: Option<&WebFrame> )
๐Deprecated
Available on crate feature
WebFrame
and crate feature WebView
and crate feature objc2-app-kit
and macOS only.unsafe fn webView_didFailProvisionalLoadWithError_forFrame( &self, sender: Option<&WebView>, error: Option<&NSError>, frame: Option<&WebFrame> )
๐Deprecated
Available on crate feature
WebFrame
and crate feature WebView
and crate feature objc2-app-kit
and macOS only.unsafe fn webView_didCommitLoadForFrame( &self, sender: Option<&WebView>, frame: Option<&WebFrame> )
๐Deprecated
Available on crate feature
WebFrame
and crate feature WebView
and crate feature objc2-app-kit
and macOS only.unsafe fn webView_didReceiveTitle_forFrame( &self, sender: Option<&WebView>, title: Option<&NSString>, frame: Option<&WebFrame> )
๐Deprecated
Available on crate feature
WebFrame
and crate feature WebView
and crate feature objc2-app-kit
and macOS only.unsafe fn webView_didReceiveIcon_forFrame( &self, sender: Option<&WebView>, image: Option<&NSImage>, frame: Option<&WebFrame> )
๐Deprecated
Available on crate feature
WebFrame
and crate feature WebView
and crate feature objc2-app-kit
and macOS only.unsafe fn webView_didFinishLoadForFrame( &self, sender: Option<&WebView>, frame: Option<&WebFrame> )
๐Deprecated
Available on crate feature
WebFrame
and crate feature WebView
and crate feature objc2-app-kit
and macOS only.unsafe fn webView_didFailLoadWithError_forFrame( &self, sender: Option<&WebView>, error: Option<&NSError>, frame: Option<&WebFrame> )
๐Deprecated
Available on crate feature
WebFrame
and crate feature WebView
and crate feature objc2-app-kit
and macOS only.unsafe fn webView_didChangeLocationWithinPageForFrame( &self, sender: Option<&WebView>, frame: Option<&WebFrame> )
๐Deprecated
Available on crate feature
WebFrame
and crate feature WebView
and crate feature objc2-app-kit
and macOS only.unsafe fn webView_willPerformClientRedirectToURL_delay_fireDate_forFrame( &self, sender: Option<&WebView>, url: Option<&NSURL>, seconds: NSTimeInterval, date: Option<&NSDate>, frame: Option<&WebFrame> )
๐Deprecated
Available on crate feature
WebFrame
and crate feature WebView
and crate feature objc2-app-kit
and macOS only.unsafe fn webView_didCancelClientRedirectForFrame( &self, sender: Option<&WebView>, frame: Option<&WebFrame> )
๐Deprecated
Available on crate feature
WebFrame
and crate feature WebView
and crate feature objc2-app-kit
and macOS only.unsafe fn webView_willCloseFrame( &self, sender: Option<&WebView>, frame: Option<&WebFrame> )
๐Deprecated
Available on crate feature
WebFrame
and crate feature WebView
and crate feature objc2-app-kit
and macOS only.unsafe fn webView_didClearWindowObject_forFrame( &self, web_view: Option<&WebView>, window_object: Option<&WebScriptObject>, frame: Option<&WebFrame> )
๐Deprecated
Available on crate feature
WebFrame
and crate feature WebScriptObject
and crate feature WebView
and crate feature objc2-app-kit
and macOS only.unsafe fn webView_windowScriptObjectAvailable( &self, web_view: Option<&WebView>, window_script_object: Option<&WebScriptObject> )
๐Deprecated
Available on crate feature
WebScriptObject
and crate feature WebView
and crate feature objc2-app-kit
and macOS only.