factoring of SaveDocument and nsIFile->nsIURI (bug #104883)

This commit is contained in:
brade%netscape.com 2001-11-01 15:26:33 +00:00
Родитель 6e3598819c
Коммит 2d518241ea
1 изменённых файлов: 11 добавлений и 0 удалений

Просмотреть файл

@ -73,6 +73,7 @@ class nsIScriptContext;
class nsIDOMWindowInternal;
class nsIDOMElement;
class nsIDOMNode;
class nsIDOMHTMLDocument;
class nsIURI;
class nsIPresShell;
class nsIOutputStream;
@ -175,6 +176,16 @@ class nsEditorShell : public nsIEditorShell,
// for menu are saved to prefs
nsresult UpdateWindowTitleAndRecentMenu(PRBool aSaveToPrefs);
nsresult GetDocumentURI(nsIDOMDocument *aDoc, nsIURI **aDocumentURI);
nsresult PromptAndSetTitleIfNone(nsIDOMHTMLDocument *aHTMLDocument,
PRBool *titleChanged, PRBool *retVal);
nsresult ShowSaveFilePicker(PRBool aDoSaveAsText, nsIURI *aDocumentURI,
nsIDOMHTMLDocument *aHTMLDocument,
const char *aMIMEType,
PRInt16 *aDialogResult, nsIFile **aSaveLocation);
// Helper method which is called at the beginning of a new page load
nsresult StartPageLoad(nsIChannel *aChannel);