Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(952)

Unified Diff: printing/metafile_skia_wrapper.h

Issue 7719014: PrintPreview: Printing preview of a PDF on Mac with Skia only previews the last page of the PDF (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: '' Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: printing/metafile_skia_wrapper.h
diff --git a/printing/metafile_skia_wrapper.h b/printing/metafile_skia_wrapper.h
index 40e26e82786d1fb15b0c220a9047e1c94025d653..2a65acbbd313020b8b8dfabedfd8572bf9c5dbe3 100644
--- a/printing/metafile_skia_wrapper.h
+++ b/printing/metafile_skia_wrapper.h
@@ -28,6 +28,12 @@ class PRINTING_EXPORT MetafileSkiaWrapper : public SkRefCnt {
static bool GetDraftMode(SkCanvas* canvas);
+#if defined(OS_MACOSX) || defined(OS_WIN)
+ static void SetIsPreviewMetafile(SkCanvas* canvas, bool is_preview);
vandebo (ex-Chrome) 2011/09/26 17:33:05 These (and DraftMode) should probably live in Plat
kmadhusu 2011/09/26 20:42:22 Done.
+
+ static bool IsPreviewMetafile(SkCanvas* canvas);
+#endif
+
private:
explicit MetafileSkiaWrapper(Metafile* metafile);

Powered by Google App Engine
This is Rietveld 408576698