Chromium Code Reviews| Index: printing/pdf_metafile_skia.h |
| diff --git a/printing/pdf_metafile_skia.h b/printing/pdf_metafile_skia.h |
| index 2b8c7c1c3235247163a1f649f8f6132bead08fdd..bcdd734320a1456f22634ac1b36509e2729d7144 100644 |
| --- a/printing/pdf_metafile_skia.h |
| +++ b/printing/pdf_metafile_skia.h |
| @@ -70,12 +70,19 @@ class PdfMetafileSkia : public Metafile { |
| virtual void set_draft(bool draft) const; |
| + // Helper function to get the metafile for current page. This is called from |
|
vandebo (ex-Chrome)
2011/06/29 20:23:45
We can probably give a better description of this
kmadhusu
2011/06/30 06:10:55
Done.
|
| + // the preview workflow. |
| + PdfMetafileSkia* GetMetafileForCurrentPage(); |
| + |
| private: |
| scoped_ptr<PdfMetafileSkiaData> data_; |
| // True when a draft version of metafile is requested. |
| mutable bool draft_; |
| + // True when finish page is already called for current page. |
| + mutable bool did_finish_page_; |
|
vandebo (ex-Chrome)
2011/06/29 20:23:45
Why do we have mutable fields?
kmadhusu
2011/06/30 06:10:55
Removed.
|
| + |
| DISALLOW_COPY_AND_ASSIGN(PdfMetafileSkia); |
| }; |