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

Side by Side Diff: printing/common/pdf_metafile_utils.h

Issue 2832633002: Add PDF compositor service (Closed)
Patch Set: rebase Created 3 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
« no previous file with comments | « printing/common/BUILD.gn ('k') | printing/common/pdf_metafile_utils.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 2017 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_COMMON_PDF_METAFILE_UTILS_H_
6 #define PRINTING_COMMON_PDF_METAFILE_UTILS_H_
7
8 #include <string>
9
10 #include "skia/ext/platform_canvas.h"
11 #include "third_party/skia/include/core/SkDocument.h"
12 #include "third_party/skia/include/core/SkRefCnt.h"
13 #include "third_party/skia/include/core/SkStream.h"
14
15 namespace printing {
16
17 enum SkiaDocumentType {
18 PDF_SKIA_DOCUMENT_TYPE,
19 // MSKP is an experimental, fragile, and diagnostic-only document type.
20 MSKP_SKIA_DOCUMENT_TYPE,
21 };
22
23 sk_sp<SkDocument> MakePdfDocument(const std::string& creator,
24 SkWStream* stream);
25
26 } // namespace printing
27
28 #endif // PRINTING_COMMON_PDF_METAFILE_UTILS_H_
OLDNEW
« no previous file with comments | « printing/common/BUILD.gn ('k') | printing/common/pdf_metafile_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698