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

Unified Diff: skia/ext/platform_device.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 | « printing/metafile_skia_wrapper.cc ('k') | skia/ext/platform_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/platform_device.h
===================================================================
--- skia/ext/platform_device.h (revision 103025)
+++ skia/ext/platform_device.h (working copy)
@@ -18,7 +18,6 @@
#include "third_party/skia/include/core/SkColor.h"
class SkMatrix;
-class SkMetaData;
class SkPath;
class SkRegion;
@@ -79,17 +78,6 @@
SK_API CGContextRef GetBitmapContext(SkDevice* device);
#endif
-// Following routines are used in print preview workflow to mark the draft mode
-// metafile and preview metafile.
-SkMetaData& getMetaData(const SkCanvas& canvas);
-void SetIsDraftMode(const SkCanvas& canvas, bool draft_mode);
-bool IsDraftMode(const SkCanvas& canvas);
-
-#if defined(OS_MACOSX) || defined(OS_WIN)
-void SetIsPreviewMetafile(const SkCanvas& canvas, bool is_preview);
-bool IsPreviewMetafile(const SkCanvas& canvas);
-#endif
-
// A SkDevice is basically a wrapper around SkBitmap that provides a surface for
// SkCanvas to draw into. PlatformDevice provides a surface Windows can also
// write to. It also provides functionality to play well with GDI drawing
« no previous file with comments | « printing/metafile_skia_wrapper.cc ('k') | skia/ext/platform_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698