Bug 1409971 - Part 1. Add cancelling print job interface to PPrintProgressDialog. r=mconley

This patch will add empty ipc interface in order to notify cancelling print job.

MozReview-Commit-ID: KqBN5A4ARSd

--HG--
extra : rebase_source : 634ba69269948a0f8c6363fd6f965ffc6811225b
This commit is contained in:
Mantaroh Yoshinaga 2017-11-15 16:29:45 +09:00
parent 13a641cf32
commit 1d68bd8139
3 changed files with 9 additions and 0 deletions

View File

@ -29,6 +29,7 @@ parent:
child:
async DialogOpened();
async CancelledCurrentJob();
};
} // namespace embedding

View File

@ -43,6 +43,12 @@ PrintProgressDialogChild::RecvDialogOpened()
return IPC_OK();
}
mozilla::ipc::IPCResult
PrintProgressDialogChild::RecvCancelledCurrentJob()
{
return IPC_OK();
}
// nsIWebProgressListener
NS_IMETHODIMP

View File

@ -27,6 +27,8 @@ public:
virtual mozilla::ipc::IPCResult RecvDialogOpened() override;
virtual mozilla::ipc::IPCResult RecvCancelledCurrentJob() override;
private:
virtual ~PrintProgressDialogChild();
nsCOMPtr<nsIObserver> mOpenObserver;