diff options
Diffstat (limited to 'printing/pdf_metafile_skia.h')
-rw-r--r-- | printing/pdf_metafile_skia.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/printing/pdf_metafile_skia.h b/printing/pdf_metafile_skia.h index 0ad2afb..3d1c7bd 100644 --- a/printing/pdf_metafile_skia.h +++ b/printing/pdf_metafile_skia.h @@ -59,9 +59,15 @@ class PdfMetafileSkia : public Metafile { #if defined(OS_CHROMEOS) virtual bool SaveToFD(const base::FileDescriptor& fd) const; #endif // if defined(OS_CHROMEOS) + + virtual void set_draft(bool draft) const; + private: scoped_ptr<PdfMetafileSkiaData> data_; + // True when a draft version of metafile is requested. + mutable bool draft_; + DISALLOW_COPY_AND_ASSIGN(PdfMetafileSkia); }; |