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
Родитель 5f2f637eed
Коммит 04cbca1e20
3 изменённых файлов: 0 добавлений и 27 удалений

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

@ -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()
{

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

@ -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
*/

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

@ -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)
{