Commit 74661690 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Create nsIChannel for protocols not handled by Gecko.

parent ecebfb49
......@@ -33,6 +33,7 @@
#define NS_ERROR_NOT_IMPLEMENTED ((nsresult)0x80004001L)
#define NS_ERROR_INVALID_ARG ((nsresult)0x80070057L)
#define NS_ERROR_UNEXPECTED ((nsresult)0x8000ffffL)
#define NS_ERROR_UNKNOWN_PROTOCOL ((nsresult)0x804b0012L)
#define NS_FAILED(res) ((res) & 0x80000000)
#define NS_SUCCEEDED(res) (!NS_FAILED(res))
......
......@@ -53,6 +53,7 @@ typedef nsCStringContainer nsACString;
typedef nsStringContainer nsAString;
interface nsIWebBrowserChrome;
interface nsILoadGroup;
[
object,
......@@ -78,9 +79,8 @@ typedef nsISupports nsIDOMNode;
typedef nsISupports nsIDOMEventTarget;
typedef nsISupports nsIDOMAbstractView;
typedef nsISupports nsIStreamListener;
typedef nsISupports nsILoadGroup;
typedef nsISupports nsIInterfaceRequestor;
typedef nsISupports nsIHttpHeaderVisitor;
typedef nsISupports nsIRequestObserver;
[
object,
......@@ -129,6 +129,15 @@ interface nsIComponentManager : nsISupports
[
object,
uuid(033a1470-8b2a-11d3-af88-00a024ffc08c)
]
interface nsIInterfaceRequestor : nsISupports
{
nsresult GetInterface(const nsIID *riid, void **result);
}
[
object,
uuid(fa9c7f6c-61b3-11d4-9877-00c04fa0cf4a)
]
interface nsIInputStream : nsISupports
......@@ -208,6 +217,24 @@ interface nsIRequest : nsISupports
[
object,
uuid(3de0a31c-feaf-400f-9f1e-4ef71f8b20cc)
]
interface nsILoadGroup : nsIRequest
{
nsresult GetGroupObserver(nsIRequestObserver **aGroupObserver);
nsresult SetGroupObserver(nsIRequestObserver *aGroupObserver);
nsresult GetDefaultLoadRequest(nsIRequest **aDefaultLoadRequest);
nsresult SetDefaultLoadRequest(nsIRequest *aDefaultLoadRequest);
nsresult AddRequest(nsIRequest *aRequest, nsISupports *aContext);
nsresult RemoveRequest(nsIRequest *aRequest, nsISupports *aContext, nsresult aStatus);
nsresult GetRequests(nsISimpleEnumerator **aRequests);
nsresult GetActiveCount(PRUint32 *aActiveCount);
nsresult GetNotificationCallbacks(nsIInterfaceRequestor **aNotificationCallbacks);
nsresult SetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks);
}
[
object,
uuid(c63a055a-a676-4e71-bf3c-6cfa11082018)
]
interface nsIChannel : nsIRequest
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment