зеркало из https://github.com/mozilla/gecko-dev.git
factoring of SaveDocument and nsIFile->nsIURI (bug #104883)
This commit is contained in:
Родитель
6e3598819c
Коммит
2d518241ea
|
@ -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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче