| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef PRINTING_NATIVE_METAFILE_H_ | 5 #ifndef PRINTING_NATIVE_METAFILE_H_ |
| 6 #define PRINTING_NATIVE_METAFILE_H_ | 6 #define PRINTING_NATIVE_METAFILE_H_ |
| 7 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 // Define a metafile format for the current platform. We use this platform | 10 // Define a metafile format for the current platform. We use this platform |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 typedef Emf NativeMetafile; | 23 typedef Emf NativeMetafile; |
| 24 | 24 |
| 25 } // namespace printing | 25 } // namespace printing |
| 26 | 26 |
| 27 #elif defined(OS_MACOSX) | 27 #elif defined(OS_MACOSX) |
| 28 | 28 |
| 29 // TODO(port): Printing using PDF? | 29 // TODO(port): Printing using PDF? |
| 30 // The mock class is here so we can compile. | 30 // The mock class is here so we can compile. |
| 31 class NativeMetafile {}; | 31 class NativeMetafile {}; |
| 32 | 32 |
| 33 #elif defined(OS_LINUX) | 33 #elif defined(OS_LINUX) || defined(OS_FREEBSD) |
| 34 | 34 |
| 35 #include "printing/pdf_ps_metafile_linux.h" | 35 #include "printing/pdf_ps_metafile_linux.h" |
| 36 | 36 |
| 37 namespace printing { | 37 namespace printing { |
| 38 | 38 |
| 39 typedef PdfPsMetafile NativeMetafile; | 39 typedef PdfPsMetafile NativeMetafile; |
| 40 | 40 |
| 41 } // namespace printing | 41 } // namespace printing |
| 42 | 42 |
| 43 #endif | 43 #endif |
| 44 | 44 |
| 45 | 45 |
| 46 #endif // PRINTING_NATIVE_METAFILE_H_ | 46 #endif // PRINTING_NATIVE_METAFILE_H_ |
| OLD | NEW |