mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 909870 nsIContentViewerFile::printWithParent is unused. r=bz
This commit is contained in:
parent
d14b079934
commit
c8656941f2
@ -20,7 +20,7 @@ interface nsIWebProgressListener;
|
|||||||
* The nsIDocShellFile
|
* The nsIDocShellFile
|
||||||
*/
|
*/
|
||||||
|
|
||||||
[scriptable, uuid(1b373597-6132-49f7-940e-6ff62fca5d35)]
|
[scriptable, uuid(564a3276-6228-401e-9b5c-d82cb382a60f)]
|
||||||
interface nsIContentViewerFile : nsISupports
|
interface nsIContentViewerFile : nsISupports
|
||||||
{
|
{
|
||||||
readonly attribute boolean printable;
|
readonly attribute boolean printable;
|
||||||
@ -28,9 +28,4 @@ interface nsIContentViewerFile : nsISupports
|
|||||||
[noscript] void print(in boolean aSilent,
|
[noscript] void print(in boolean aSilent,
|
||||||
in FILE aDebugFile,
|
in FILE aDebugFile,
|
||||||
in nsIPrintSettings aPrintSettings);
|
in nsIPrintSettings aPrintSettings);
|
||||||
|
|
||||||
[noscript] void printWithParent(in nsIDOMWindow aParentWin,
|
|
||||||
in nsIPrintSettings aThePrintSettings,
|
|
||||||
in nsIWebProgressListener aWPListener);
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -2581,17 +2581,6 @@ nsDocumentViewer::Print(bool aSilent,
|
|||||||
#endif
|
#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
|
// nsIContentViewerFile interface
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsDocumentViewer::GetPrintable(bool *aPrintable)
|
nsDocumentViewer::GetPrintable(bool *aPrintable)
|
||||||
|
Loading…
Reference in New Issue
Block a user