mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 1425641, part 3 - Remove nsIWebBrowserPrint.GetCurrentChildDOMWindow. r=bobowen
MozReview-Commit-ID: EZHNKvyUT42
This commit is contained in:
parent
5f2f637eed
commit
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user