зеркало из https://github.com/mozilla/gecko-dev.git
Bug 909870 nsIContentViewerFile::printWithParent is unused. r=bz
This commit is contained in:
Родитель
0fe3256e67
Коммит
2b8e6d47e8
|
@ -20,7 +20,7 @@ interface nsIWebProgressListener;
|
|||
* The nsIDocShellFile
|
||||
*/
|
||||
|
||||
[scriptable, uuid(1b373597-6132-49f7-940e-6ff62fca5d35)]
|
||||
[scriptable, uuid(564a3276-6228-401e-9b5c-d82cb382a60f)]
|
||||
interface nsIContentViewerFile : nsISupports
|
||||
{
|
||||
readonly attribute boolean printable;
|
||||
|
@ -28,9 +28,4 @@ interface nsIContentViewerFile : nsISupports
|
|||
[noscript] void print(in boolean aSilent,
|
||||
in FILE aDebugFile,
|
||||
in nsIPrintSettings aPrintSettings);
|
||||
|
||||
[noscript] void printWithParent(in nsIDOMWindow aParentWin,
|
||||
in nsIPrintSettings aThePrintSettings,
|
||||
in nsIWebProgressListener aWPListener);
|
||||
|
||||
};
|
||||
|
|
|
@ -2581,17 +2581,6 @@ nsDocumentViewer::Print(bool aSilent,
|
|||
#endif
|
||||
}
|
||||
|
||||
/* [noscript] void printWithParent (in nsIDOMWindow aParentWin, in nsIPrintSettings aThePrintSettings, in nsIWebProgressListener aWPListener); */
|
||||
NS_IMETHODIMP
|
||||
nsDocumentViewer::PrintWithParent(nsIDOMWindow*, nsIPrintSettings *aThePrintSettings, nsIWebProgressListener *aWPListener)
|
||||
{
|
||||
#ifdef NS_PRINTING
|
||||
return Print(aThePrintSettings, aWPListener);
|
||||
#else
|
||||
return NS_ERROR_FAILURE;
|
||||
#endif
|
||||
}
|
||||
|
||||
// nsIContentViewerFile interface
|
||||
NS_IMETHODIMP
|
||||
nsDocumentViewer::GetPrintable(bool *aPrintable)
|
||||
|
|
Загрузка…
Ссылка в новой задаче