зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1425641, part 3 - Remove nsIWebBrowserPrint.GetCurrentChildDOMWindow. r=bobowen
MozReview-Commit-ID: EZHNKvyUT42
This commit is contained in:
Родитель
5f2f637eed
Коммит
04cbca1e20
|
@ -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)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче