Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 1 | // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef PRINTING_METAFILE_IMPL_H_ |
| 6 | #define PRINTING_METAFILE_IMPL_H_ |
| 7 | |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 8 | #include "printing/pdf_metafile_skia.h" |
| 9 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 10 | #if defined(OS_WIN) |
| 11 | #include "printing/emf_win.h" |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 12 | #endif |
| 13 | |
| 14 | namespace printing { |
| 15 | |
| 16 | #if defined(OS_WIN) |
| 17 | typedef Emf NativeMetafile; |
| 18 | typedef PdfMetafileSkia PreviewMetafile; |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 19 | #elif defined(OS_POSIX) |
| 20 | typedef PdfMetafileSkia NativeMetafile; |
| 21 | typedef PdfMetafileSkia PreviewMetafile; |
| 22 | #endif |
| 23 | |
| 24 | } // namespace printing |
| 25 | |
| 26 | #endif // PRINTING_METAFILE_IMPL_H_ |