Bug #47636 --> add methods to convert back and forth between a nsIDocShellLoadTypeInfo

and a docshell load tye. Unify nsIURILoadCommand and nsIDocShellLoadType enums so they
can be treated as the same type.
r=radha, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@80965 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mscott%netscape.com
2000-10-11 23:17:02 +00:00
parent 02fd4611b5
commit 17e47fb76c
3 changed files with 81 additions and 9 deletions

View File

@@ -177,6 +177,8 @@ public:
// used when the docshell gets content that's being redirected (so we don't go through
// our own InternalLoad method) to reset the load type...
nsresult SetLoadType(PRUint32 aLoadType);
nsDocShellInfoLoadType ConvertLoadTypeToDocShellLoadInfo(PRUint32 aLoadType);
PRUint32 ConvertDocShellLoadInfoToLoadType(nsDocShellInfoLoadType aDocShellLoadType);
protected:
// Object Management