summaryrefslogtreecommitdiff
path: root/chromium/printing/metafile_impl.h
diff options
context:
space:
mode:
authorZeno Albisser <zeno.albisser@digia.com>2013-08-15 21:46:11 +0200
committerZeno Albisser <zeno.albisser@digia.com>2013-08-15 21:46:11 +0200
commit679147eead574d186ebf3069647b4c23e8ccace6 (patch)
treefc247a0ac8ff119f7c8550879ebb6d3dd8d1ff69 /chromium/printing/metafile_impl.h
downloadqtwebengine-chromium-679147eead574d186ebf3069647b4c23e8ccace6.tar.gz
Initial import.
Diffstat (limited to 'chromium/printing/metafile_impl.h')
-rw-r--r--chromium/printing/metafile_impl.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/chromium/printing/metafile_impl.h b/chromium/printing/metafile_impl.h
new file mode 100644
index 00000000000..840a1cede68
--- /dev/null
+++ b/chromium/printing/metafile_impl.h
@@ -0,0 +1,26 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef PRINTING_METAFILE_IMPL_H_
+#define PRINTING_METAFILE_IMPL_H_
+
+#include "printing/pdf_metafile_skia.h"
+
+#if defined(OS_WIN)
+#include "printing/emf_win.h"
+#endif
+
+namespace printing {
+
+#if defined(OS_WIN)
+typedef Emf NativeMetafile;
+typedef PdfMetafileSkia PreviewMetafile;
+#elif defined(OS_POSIX)
+typedef PdfMetafileSkia NativeMetafile;
+typedef PdfMetafileSkia PreviewMetafile;
+#endif
+
+} // namespace printing
+
+#endif // PRINTING_METAFILE_IMPL_H_