Fix for bug#66334 - Viewsource needs to be a protocol handler

r=valeski,sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@92417 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
chak%netscape.com
2001-04-16 20:17:36 +00:00
parent e2577ff7c2
commit 92aee5da44
10 changed files with 63 additions and 77 deletions

View File

@@ -95,6 +95,11 @@ enum LoadType {
LOAD_REFRESH = MAKE_LOAD_TYPE(LOAD_CMD_NORMAL, nsIWebNavigation::LOAD_FLAGS_IS_REFRESH)
};
/* internally used ViewMode types */
enum ViewMode {
viewNormal = 0x0,
viewSource = 0x1
};
//*****************************************************************************
//*** nsRefreshTimer
@@ -289,9 +294,6 @@ protected:
PRBool mAllowJavascript;
PRBool mAllowMetaRedirects;
PRUint32 mAppType;
PRInt32 mViewMode;
PRInt32 mLastViewMode;
PRBool mRestoreViewMode;
PRInt32 mChildOffset; // Offset in the parent's child list.
PRUint32 mBusyFlags;
// Reference to the SHEntry for this docshell until the page is destroyed.