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

Side by Side Diff: printing/metafile_impl.h

Issue 6826027: Connect the right metafiles for print preview on Linux and Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile problems Created 9 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « printing/metafile.h ('k') | printing/metafile_skia_wrapper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
8 #if defined(OS_WIN)
9 #include "printing/emf_win.h"
10 #include "printing/pdf_metafile_skia.h"
11 #elif defined(OS_MACOSX)
12 #include "printing/pdf_metafile_cg_mac.h"
13 #elif defined(OS_POSIX)
14 #include "printing/pdf_metafile_cairo_linux.h"
15 #include "printing/pdf_metafile_skia.h"
16 #endif
17
18 namespace printing {
19
20 #if defined(OS_WIN)
21 typedef Emf NativeMetafile;
22 typedef PdfMetafileSkia PreviewMetafile;
23 #elif defined(OS_MACOSX)
24 typedef PdfMetafileCg NativeMetafile;
25 typedef PdfMetafileCg PreviewMetafile;
26 #elif defined(OS_POSIX)
27 typedef PdfMetafileCairo NativeMetafile;
28 typedef PdfMetafileSkia PreviewMetafile;
29 #endif
30
31 } // namespace printing
32
33 #endif // PRINTING_METAFILE_IMPL_H_
OLDNEW
« no previous file with comments | « printing/metafile.h ('k') | printing/metafile_skia_wrapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698