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

Unified Diff: printing/metafile_skia_wrapper.h

Issue 8052020: Revert 103021 - PrintPreview: Printing preview of a PDF on Mac with Skia only previews the last p... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
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
« no previous file with comments | « chrome/renderer/print_web_view_helper_win.cc ('k') | printing/metafile_skia_wrapper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/metafile_skia_wrapper.h
===================================================================
--- printing/metafile_skia_wrapper.h (revision 103025)
+++ printing/metafile_skia_wrapper.h (working copy)
@@ -20,10 +20,14 @@
// as long as the canvas.
class PRINTING_EXPORT MetafileSkiaWrapper : public SkRefCnt {
public:
- static void SetMetafileOnCanvas(const SkCanvas& canvas, Metafile* metafile);
+ static void SetMetafileOnCanvas(SkCanvas* canvas, Metafile* metafile);
- static Metafile* GetMetafileFromCanvas(const SkCanvas& canvas);
+ static Metafile* GetMetafileFromCanvas(SkCanvas* canvas);
+ static void SetDraftMode(SkCanvas* canvas, bool draft_mode);
+
+ static bool GetDraftMode(SkCanvas* canvas);
+
private:
explicit MetafileSkiaWrapper(Metafile* metafile);
« no previous file with comments | « chrome/renderer/print_web_view_helper_win.cc ('k') | printing/metafile_skia_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698