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

Unified Diff: printing/pdf_metafile_skia.h

Issue 2839323002: Revert of printing::Metafile: Simplify OS_MACOSX-specific code path (Closed)
Patch Set: Created 3 years, 8 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/pdf_metafile_cg_mac.cc ('k') | printing/pdf_metafile_skia.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/pdf_metafile_skia.h
diff --git a/printing/pdf_metafile_skia.h b/printing/pdf_metafile_skia.h
index e27da152ea75ecf783f37eb1dc9e87e18e426324..948e27f45e088f54ad91072040f4865e2f5b2796 100644
--- a/printing/pdf_metafile_skia.h
+++ b/printing/pdf_metafile_skia.h
@@ -57,6 +57,11 @@
bool Playback(skia::NativeDrawingContext hdc,
const RECT* rect) const override;
bool SafePlayback(skia::NativeDrawingContext hdc) const override;
+#elif defined(OS_MACOSX)
+ bool RenderPage(unsigned int page_number,
+ skia::NativeDrawingContext context,
+ const CGRect rect,
+ const MacRenderPageParams& params) const override;
#endif
bool SaveTo(base::File* file) const override;
« no previous file with comments | « printing/pdf_metafile_cg_mac.cc ('k') | printing/pdf_metafile_skia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698