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

Unified Diff: src/pdf/SkPDFDocument.h

Issue 1034793002: SkPDF: merge skdocument_pdf and skpdfdocument (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/doc/SkDocument_PDF.cpp ('k') | src/pdf/SkPDFDocument.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pdf/SkPDFDocument.h
diff --git a/src/pdf/SkPDFDocument.h b/src/pdf/SkPDFDocument.h
deleted file mode 100644
index 0e1728999a7af8cd73ea6c634f50aa8334e1d5ac..0000000000000000000000000000000000000000
--- a/src/pdf/SkPDFDocument.h
+++ /dev/null
@@ -1,41 +0,0 @@
-
-/*
- * Copyright 2010 The Android Open Source Project
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-
-#ifndef SkPDFDocument_DEFINED
-#define SkPDFDocument_DEFINED
-
-#include "SkAdvancedTypefaceMetrics.h"
-#include "SkTDArray.h"
-
-class SkPDFDevice;
-class SkWStream;
-
-namespace SkPDFDocument {
-/**
- * Assemble pages together and generate a PDF document file.
- *
- * Output the PDF to the passed stream. It is an error to call this (it
- * will return false and not modify stream) if pageDevices is empty.
- * No device pointer can be NULL.
- *
- * @param pageDevices An array of pages, in order. All pages
- * should be created using the same SkPDFCanon.
- * @param SkWStream The writable output stream to send the PDF to.
- */
-bool EmitPDF(const SkTDArray<const SkPDFDevice*>& pageDevices, SkWStream*);
-
-/** Get the count of unique font types used in the given pages.
- */
-void GetCountOfFontTypes(const SkTDArray<SkPDFDevice*>& pageDevices,
- int counts[SkAdvancedTypefaceMetrics::kOther_Font + 1],
- int* notSubsettableCount,
- int* notEmbedddableCount);
-}
-
-#endif
« no previous file with comments | « src/doc/SkDocument_PDF.cpp ('k') | src/pdf/SkPDFDocument.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698