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

Unified Diff: skia/ext/platform_device.h

Issue 1457033002: Get rid of unused skia::IsDraftMode() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: thestig review Created 5 years, 1 month 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 | « components/printing/renderer/print_web_view_helper_pdf_win.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
diff --git a/skia/ext/platform_device.h b/skia/ext/platform_device.h
index f3b2fe34e27ba3bcced0545e3a080d43f614b946..fa60afb75b9d6abd3c41b3d03ead72573b94d24a 100644
--- a/skia/ext/platform_device.h
+++ b/skia/ext/platform_device.h
@@ -71,13 +71,11 @@ SK_API void InitializeDC(HDC context);
SK_API CGContextRef GetBitmapContext(SkBaseDevice* device);
#endif
-// Following routines are used in print preview workflow to mark the draft mode
-// metafile and preview metafile.
+// Following routines are used in print preview workflow to mark the
+// preview metafile.
SK_API SkMetaData& getMetaData(const SkCanvas& canvas);
-SK_API void SetIsDraftMode(const SkCanvas& canvas, bool draft_mode);
-SK_API bool IsDraftMode(const SkCanvas& canvas);
-#if defined(OS_MACOSX) || defined(OS_WIN)
+#if defined(OS_MACOSX)
SK_API void SetIsPreviewMetafile(const SkCanvas& canvas, bool is_preview);
SK_API bool IsPreviewMetafile(const SkCanvas& canvas);
#endif
« no previous file with comments | « components/printing/renderer/print_web_view_helper_pdf_win.cc ('k') | skia/ext/platform_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698