Bug 1425641, part 3 - Remove nsIWebBrowserPrint.GetCurrentChildDOMWindow. r=bobowen

MozReview-Commit-ID: EZHNKvyUT42
This commit is contained in:
Jonathan Watt 2017-12-06 16:02:34 +00:00
parent 5f2f637eed
commit 04cbca1e20
3 changed files with 0 additions and 27 deletions

View File

@ -4193,15 +4193,6 @@ nsDocumentViewer::GetCurrentPrintSettings(nsIPrintSettings * *aCurrentPrintSetti
return mPrintJob->GetCurrentPrintSettings(aCurrentPrintSettings);
}
NS_IMETHODIMP
nsDocumentViewer::GetCurrentChildDOMWindow(mozIDOMWindowProxy** aCurrentChildDOMWindow)
{
NS_ENSURE_ARG_POINTER(aCurrentChildDOMWindow);
*aCurrentChildDOMWindow = nullptr;
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
nsDocumentViewer::Cancel()
{

View File

@ -45,18 +45,6 @@ interface nsIWebBrowserPrint : nsISupports
*/
readonly attribute nsIPrintSettings currentPrintSettings;
/**
* Returns a pointer to the current child DOMWindow
* that is being print previewed. (FrameSet Frames)
*
* Returns null if parent document is not a frameset or the entire FrameSet
* document is being print previewed
*
* This enables any consumers of the interface to have access
* to the "current" child DOMWindow at later points in the execution
*/
readonly attribute mozIDOMWindowProxy currentChildDOMWindow;
/**
* Returns whether it is in Print mode
*/

View File

@ -42,12 +42,6 @@ MockWebBrowserPrint::GetCurrentPrintSettings(nsIPrintSettings **aCurrentPrintSet
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
MockWebBrowserPrint::GetCurrentChildDOMWindow(mozIDOMWindowProxy **aCurrentPrintSettings)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
MockWebBrowserPrint::GetDoingPrint(bool *aDoingPrint)
{