mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
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:
parent
13a641cf32
commit
1d68bd8139
@ -29,6 +29,7 @@ parent:
|
||||
|
||||
child:
|
||||
async DialogOpened();
|
||||
async CancelledCurrentJob();
|
||||
};
|
||||
|
||||
} // namespace embedding
|
||||
|
@ -43,6 +43,12 @@ PrintProgressDialogChild::RecvDialogOpened()
|
||||
return IPC_OK();
|
||||
}
|
||||
|
||||
mozilla::ipc::IPCResult
|
||||
PrintProgressDialogChild::RecvCancelledCurrentJob()
|
||||
{
|
||||
return IPC_OK();
|
||||
}
|
||||
|
||||
// nsIWebProgressListener
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
@ -27,6 +27,8 @@ public:
|
||||
|
||||
virtual mozilla::ipc::IPCResult RecvDialogOpened() override;
|
||||
|
||||
virtual mozilla::ipc::IPCResult RecvCancelledCurrentJob() override;
|
||||
|
||||
private:
|
||||
virtual ~PrintProgressDialogChild();
|
||||
nsCOMPtr<nsIObserver> mOpenObserver;
|
||||
|
Loading…
Reference in New Issue
Block a user