Bug #10802 --> expose load types to load info class so callers can set the load type

this is needed to implement things like open attachment so we can make the doc shell
think a user click happened when it talks to the uriloader.

I removed two boolean fields which were representing two load types. Simplified the api by allowing you
to pass in any of our load types.
r=valeski
This commit is contained in:
mscott@netscape.com
2000-06-22 07:22:23 +00:00
parent 1f87d99c53
commit 5095261d43
8 changed files with 93 additions and 113 deletions

View File

@@ -46,9 +46,8 @@ protected:
protected:
nsCOMPtr<nsIURI> mReferrer;
PRBool mReplaceSessionHistorySlot;
PRBool mRefresh;
nsCOMPtr<nsISupports> mOwner;
nsDocShellInfoLoadType mLoadType;
nsCOMPtr<nsISHEntry> mSHEntry;
};