OLD | NEW |
---|---|
(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 #include "printing/native_metafile_factory.h" | |
6 | |
vandebo (ex-Chrome)
2011/02/24 22:42:50
But the headers for the implementations need to be
dpapad
2011/02/26 01:42:29
Done.
| |
7 namespace printing { | |
8 | |
9 // static | |
10 printing::NativeMetafile* NativeMetafileFactory::CreateMetafile() { | |
11 #if defined(OS_WIN) | |
12 return new printing::Emf; | |
13 #elif defined(OS_MACOSX) | |
14 return new printing::PdfMetafile; | |
15 #elif defined(OS_POSIX) | |
16 return new printing::PdfPsMetafile; | |
17 #endif | |
18 } | |
19 | |
20 } // namespace printing | |
OLD | NEW |