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

Unified Diff: printing/native_metafile.h

Issue 174405: Implement native metafile for printing on Linux. (Closed)
Patch Set: Created 11 years, 4 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 | « no previous file | printing/pdf_ps_metafile_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/native_metafile.h
diff --git a/printing/native_metafile.h b/printing/native_metafile.h
index 284212c9afa19365c469a38d6db993ecd5e82576..be79d5bea921e1a8c96721e29fdfc113dce5461c 100644
--- a/printing/native_metafile.h
+++ b/printing/native_metafile.h
@@ -5,6 +5,8 @@
#ifndef PRINTING_NATIVE_METAFILE_H_
#define PRINTING_NATIVE_METAFILE_H_
+#include "build/build_config.h"
+
// Define a metafile format for the current platform. We use this platform
// independent define so we can define interfaces in platform agnostic manner.
// It is still an outstanding design issue whether we create classes on all
@@ -30,9 +32,13 @@ class NativeMetafile {};
#elif defined(OS_LINUX)
-// TODO(port): Printing using PostScript?
-// The mock class is here so we can compile.
-class NativeMetafile {};
+#include "printing/pdf_ps_metafile_linux.h"
+
+namespace printing {
+
+typedef PdfPsMetafile NativeMetafile;
+
+} // namespace printing
#endif
« no previous file with comments | « no previous file | printing/pdf_ps_metafile_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698