summaryrefslogtreecommitdiffstats
path: root/WebKit/win/Interfaces/IWebView.idl
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/win/Interfaces/IWebView.idl')
-rw-r--r--WebKit/win/Interfaces/IWebView.idl12
1 files changed, 12 insertions, 0 deletions
diff --git a/WebKit/win/Interfaces/IWebView.idl b/WebKit/win/Interfaces/IWebView.idl
index e38406b..04e996c 100644
--- a/WebKit/win/Interfaces/IWebView.idl
+++ b/WebKit/win/Interfaces/IWebView.idl
@@ -723,6 +723,18 @@ interface IWebView : IUnknown
+ (void)registerURLSchemeAsLocal:(NSString *)scheme;
*/
HRESULT registerURLSchemeAsLocal([in] BSTR scheme);
+
+ /*!
+ @method close
+ @abstract Closes the receiver, unloading its web page and canceling any pending loads.
+ Once the receiver has closed, it will no longer respond to requests or fire delegate methods.
+ (However, the -close method itself may fire delegate methods.)
+ @discussion A garbage collected application is required to call close when the receiver is no longer needed.
+ The close method will be called automatically when the window or hostWindow closes and shouldCloseWithWindow returns YES.
+ A non-garbage collected application can still call close, providing a convenient way to prevent receiver
+ from doing any more loading and firing any future delegate methods.
+ */
+ HRESULT close();
}
/*