webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
import"IWebFrameLoadDelegate.idl";
HRESULT IWebFrameLoadDelegate::didCancelClientRedirectForFrame | ( | [in] IWebView * | webView, |
[in] IWebFrame * | frame | ||
) |
webView:didCancelClientRedirectForFrame: Notifies the delegate that a pending client-side redirect has been cancelled
HRESULT IWebFrameLoadDelegate::didChangeLocationWithinPageForFrame | ( | [in] IWebView * | webView, |
[in] IWebFrame * | frame | ||
) |
webView:didChangeLocationWithinPageForFrame: Notifies the delegate that the scroll position in a frame has changed
HRESULT IWebFrameLoadDelegate::didClearWindowObject | ( | [in] IWebView * | webView, |
[in] JSContextRef | context, | ||
[in] JSObjectRef | windowScriptObject, | ||
[in] IWebFrame * | frame | ||
) |
Implemented in FrameLoadDelegate, and MiniBrowserWebHost.
HRESULT IWebFrameLoadDelegate::didCommitLoadForFrame | ( | [in] IWebView * | webView, |
[in] IWebFrame * | frame | ||
) |
webView:didCommitLoadForFrame: Notifies the delegate that the load has changed from provisional to committed
webView | The WebView sending the message |
frame | The frame for which the load has committed This method is called after the provisional data source has become the committed data source. |
In some cases, a single load may be committed more than once. This happens in the case of multipart/x-mixed-replace, also known as "server push". In this case, a single location change leads to multiple documents that are loaded in sequence. When this happens, a new commit will be sent for each document.
HRESULT IWebFrameLoadDelegate::didFailLoadWithError | ( | [in] IWebView * | webView, |
[in] IWebError * | error, | ||
[in] IWebFrame * | forFrame | ||
) |
webView:didFailLoadWithError:forFrame: Notifies the delegate that the committed load of a frame has failed
HRESULT IWebFrameLoadDelegate::didFailProvisionalLoadWithError | ( | [in] IWebView * | webView, |
[in] IWebError * | error, | ||
[in] IWebFrame * | frame | ||
) |
webView:didFailProvisionalLoadWithError:forFrame: Notifies the delegate that the provisional load has failed
webView | The WebView sending the message |
error | The error that occurred |
frame | The frame for which the error occurred This method is called after the provisional data source has failed to load. The frame will continue to display the contents of the committed data source if there is one.
|
HRESULT IWebFrameLoadDelegate::didFinishLoadForFrame | ( | [in] IWebView * | webView, |
[in] IWebFrame * | frame | ||
) |
webView:didFinishLoadForFrame: Notifies the delegate that the committed load of a frame has completed
webView | The WebView sending the message |
frame | The frame that finished loading This method is called after the committed data source of a frame has successfully loaded and will only be called when all subresources such as images and stylesheets are done loading. Plug-In content and JavaScript-requested loads may occur after this method is called.
|
HRESULT IWebFrameLoadDelegate::didReceiveIcon | ( | [in] IWebView * | webView, |
[in] HBITMAP | hBitmap, | ||
[in] IWebFrame * | frame | ||
) |
webView:didReceiveIcon:forFrame: Notifies the delegate that a page icon image for a frame has been received
HRESULT IWebFrameLoadDelegate::didReceiveServerRedirectForProvisionalLoadForFrame | ( | [in] IWebView * | webView, |
[in] IWebFrame * | frame | ||
) |
webView:didReceiveServerRedirectForProvisionalLoadForFrame: Notifies the delegate that a server redirect occurred during the provisional load
HRESULT IWebFrameLoadDelegate::didReceiveTitle | ( | [in] IWebView * | webView, |
[in] BSTR | title, | ||
[in] IWebFrame * | frame | ||
) |
webView:didReceiveTitle:forFrame: Notifies the delegate that the page title for a frame has been received
HRESULT IWebFrameLoadDelegate::didStartProvisionalLoadForFrame | ( | [in] IWebView * | webView, |
[in] IWebFrame * | frame | ||
) |
webView:didStartProvisionalLoadForFrame: Notifies the delegate that the provisional load of a frame has started
webView:willCloseFrame: Notifies the delegate that a frame will be closed
HRESULT IWebFrameLoadDelegate::willPerformClientRedirectToURL | ( | [in] IWebView * | webView, |
[in] BSTR | url, | ||
[in] double | delaySeconds, | ||
[in] DATE | fireDate, | ||
[in] IWebFrame * | frame | ||
) |
webView:willPerformClientRedirectToURL:delay:fireDate:forFrame: Notifies the delegate that a frame will perform a client-side redirect
webView | The WebView sending the message |
URL | The URL to be redirected to |
seconds | Seconds in which the redirect will happen |
date | The fire date |
frame | The frame on which the redirect will occur This method can be used to continue progress feedback while a client-side redirect is pending.
|
HRESULT IWebFrameLoadDelegate::windowScriptObjectAvailable | ( | [in] IWebView * | webView, |
[in] JSContextRef | context, | ||
[in] JSObjectRef | windowScriptObject | ||
) |
webView:windowScriptObjectAvailable: Notifies the delegate that the scripting object for a page is available. This is called before the page is loaded. It may be useful to allow delegates to bind native objects to the window.
webView | The webView sending the message. |
windowScriptObject | The WebScriptObject for the window in the scripting environment.
|
Implemented in FrameLoadDelegate, and MiniBrowserWebHost.