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

Unified Diff: printing/printing_context.h

Issue 2714073002: Eliminate PS printing edge cases (Closed)
Patch Set: Fix compile errors Created 3 years, 10 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/printing_context.h
diff --git a/printing/printing_context.h b/printing/printing_context.h
index 362dfe9ba6b2cf588fd02b3e9184431b7a91bbc4..0cc0e76d0fe0e022f22ec4f89134d98e37113129 100644
--- a/printing/printing_context.h
+++ b/printing/printing_context.h
@@ -111,6 +111,9 @@ class PRINTING_EXPORT PrintingContext {
// Releases the native printing context.
virtual void ReleaseContext() = 0;
+ // Sets postscript printing enabled
Lei Zhang 2017/02/25 03:03:35 "Sets if the postscript printing feature is enable
+ virtual void SetPostScriptEnabled(bool is_enabled) = 0;
Lei Zhang 2017/02/25 03:03:35 Maybe we should just ifdef this so we don't need d
+
// Returns the native context used to print.
virtual skia::NativeDrawingContext context() const = 0;

Powered by Google App Engine
This is Rietveld 408576698