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

Unified Diff: printing/native_metafile.h

Issue 174042: Implement native metafile for printing on Linux.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
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
===================================================================
--- printing/native_metafile.h (revision 24095)
+++ printing/native_metafile.h (working copy)
@@ -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,10 +32,14 @@
#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