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

Side by Side Diff: printing/metafile_impl.h

Issue 12896006: mac: Clean up a few more uses of USE_SKIA (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mac Created 7 years, 9 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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_METAFILE_IMPL_H_ 5 #ifndef PRINTING_METAFILE_IMPL_H_
6 #define PRINTING_METAFILE_IMPL_H_ 6 #define PRINTING_METAFILE_IMPL_H_
7 7
8 #include "printing/pdf_metafile_skia.h"
9
8 #if defined(OS_WIN) 10 #if defined(OS_WIN)
9 #include "printing/emf_win.h" 11 #include "printing/emf_win.h"
10 #elif defined(OS_MACOSX)
11 #include "printing/pdf_metafile_cg_mac.h"
12 #endif
13
14 #if !defined(OS_MACOSX) || defined(USE_SKIA)
15 #include "printing/pdf_metafile_skia.h"
16 #endif 12 #endif
17 13
18 namespace printing { 14 namespace printing {
19 15
20 #if defined(OS_WIN) 16 #if defined(OS_WIN)
21 typedef Emf NativeMetafile; 17 typedef Emf NativeMetafile;
22 typedef PdfMetafileSkia PreviewMetafile; 18 typedef PdfMetafileSkia PreviewMetafile;
23 #elif defined(OS_MACOSX)
24 #if defined(USE_SKIA)
25 typedef PdfMetafileSkia NativeMetafile;
26 typedef PdfMetafileSkia PreviewMetafile;
27 #else
28 typedef PdfMetafileCg NativeMetafile;
29 typedef PdfMetafileCg PreviewMetafile;
30 #endif
31 #elif defined(OS_POSIX) 19 #elif defined(OS_POSIX)
32 typedef PdfMetafileSkia NativeMetafile; 20 typedef PdfMetafileSkia NativeMetafile;
33 typedef PdfMetafileSkia PreviewMetafile; 21 typedef PdfMetafileSkia PreviewMetafile;
34 #endif 22 #endif
35 23
36 } // namespace printing 24 } // namespace printing
37 25
38 #endif // PRINTING_METAFILE_IMPL_H_ 26 #endif // PRINTING_METAFILE_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc ('k') | webkit/glue/webkit_glue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698