Index: printing/pdf_metafile_skia.h |
diff --git a/printing/pdf_metafile_skia.h b/printing/pdf_metafile_skia.h |
index c28cd08a5b5a4ab2f9d05e58897ef6917e608168..5d6d448d90f55f7f606d6bb53c6cf248e620a7f8 100644 |
--- a/printing/pdf_metafile_skia.h |
+++ b/printing/pdf_metafile_skia.h |
@@ -68,12 +68,18 @@ class PdfMetafileSkia : public Metafile { |
virtual bool SaveToFD(const base::FileDescriptor& fd) const; |
#endif // if defined(OS_CHROMEOS) |
+ // Return a new metafile containing just the current page in draft mode. |
+ PdfMetafileSkia* GetMetafileForCurrentPage(); |
+ |
private: |
scoped_ptr<PdfMetafileSkiaData> data_; |
// True when a draft version of metafile is requested. |
mutable bool draft_; |
+ // True when finish page is outstanding for current page. |
+ bool page_outstanding_; |
+ |
DISALLOW_COPY_AND_ASSIGN(PdfMetafileSkia); |
}; |