summaryrefslogtreecommitdiffstats
path: root/printing/native_metafile_factory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'printing/native_metafile_factory.cc')
-rw-r--r--printing/native_metafile_factory.cc28
1 files changed, 0 insertions, 28 deletions
diff --git a/printing/native_metafile_factory.cc b/printing/native_metafile_factory.cc
deleted file mode 100644
index a41428f..0000000
--- a/printing/native_metafile_factory.cc
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "printing/native_metafile_factory.h"
-
-#if defined(OS_WIN)
-#include "printing/emf_win.h"
-#elif defined(OS_MACOSX)
-#include "printing/pdf_metafile_mac.h"
-#elif defined(OS_POSIX)
-#include "printing/pdf_ps_metafile_cairo.h"
-#endif
-
-namespace printing {
-
-// static
-printing::NativeMetafile* NativeMetafileFactory::CreateMetafile() {
-#if defined(OS_WIN)
- return new printing::Emf;
-#elif defined(OS_MACOSX)
- return new printing::PdfMetafile;
-#elif defined(OS_POSIX)
- return new printing::PdfPsMetafile;
-#endif
-}
-
-} // namespace printing