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

Side by Side Diff: chrome/browser/printing/pdf_to_emf_converter.h

Issue 255543006: Printing on Windows via PDF (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove ref to internal_pdf and rebase Created 6 years, 7 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 | « build/common.gypi ('k') | chrome/browser/printing/pdf_to_emf_converter.cc » ('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 2014 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 CHROME_BROWSER_PRINTING_PDF_TO_EMF_CONVERTER_H_
6 #define CHROME_BROWSER_PRINTING_PDF_TO_EMF_CONVERTER_H_
7
8 #include "base/callback.h"
9 #include "base/memory/ref_counted_memory.h"
10
11 namespace base {
12 class FilePath;
13 }
14
15 namespace printing {
16 class PdfRenderSettings;
17 }
18
19 namespace printing {
20
21 class PdfToEmfConverter {
22 public:
23 // Callback for when the PDF is converted to an EMF.
24 typedef base::Callback<void(double /*scale_factor*/,
25 const std::vector<base::FilePath>& /*emf_files*/)>
26 ResultCallback;
27 virtual ~PdfToEmfConverter() {}
28
29 static scoped_ptr<PdfToEmfConverter> CreateDefault();
30
31 virtual void Start(base::RefCountedMemory* data,
32 const printing::PdfRenderSettings& conversion_settings,
33 const ResultCallback& callback) = 0;
34 };
35
36 } // namespace printing
37
38 #endif // CHROME_BROWSER_PRINTING_PDF_TO_EMF_CONVERTER_H_
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | chrome/browser/printing/pdf_to_emf_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698