PrintedPageSource has been removed
This commit is contained in:
parent
6402b23041
commit
c3dec709ab
4 changed files with 7 additions and 27 deletions
|
@ -27,7 +27,6 @@ class PdfToEmfConverter;
|
|||
class PrintJobWorker;
|
||||
class PrintedDocument;
|
||||
class PrintedPage;
|
||||
class PrintedPagesSource;
|
||||
class PrinterQuery;
|
||||
|
||||
// Manages the print work for a specific document. Talks to the printer through
|
||||
|
@ -45,7 +44,8 @@ class PrintJob : public PrintJobWorkerOwner,
|
|||
|
||||
// Grabs the ownership of the PrintJobWorker from another job, which is
|
||||
// usually a PrinterQuery. Set the expected page count of the print job.
|
||||
void Initialize(PrintJobWorkerOwner* job, PrintedPagesSource* source,
|
||||
void Initialize(PrintJobWorkerOwner* job,
|
||||
const base::string16& name,
|
||||
int page_count);
|
||||
|
||||
// content::NotificationObserver implementation.
|
||||
|
@ -80,10 +80,6 @@ class PrintJob : public PrintJobWorkerOwner,
|
|||
// our data.
|
||||
bool FlushJob(base::TimeDelta timeout);
|
||||
|
||||
// Disconnects the PrintedPage source (PrintedPagesSource). It is done when
|
||||
// the source is being destroyed.
|
||||
void DisconnectSource();
|
||||
|
||||
// Returns true if the print job is pending, i.e. between a StartPrinting()
|
||||
// and the end of the spooling.
|
||||
bool is_job_pending() const;
|
||||
|
@ -140,10 +136,6 @@ class PrintJob : public PrintJobWorkerOwner,
|
|||
|
||||
content::NotificationRegistrar registrar_;
|
||||
|
||||
// Source that generates the PrintedPage's (i.e. a WebContents). It will be
|
||||
// set back to NULL if the source is deleted before this object.
|
||||
PrintedPagesSource* source_;
|
||||
|
||||
// All the UI is done in a worker thread because many Win32 print functions
|
||||
// are blocking and enters a message loop without your consent. There is one
|
||||
// worker thread per print job.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue