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

Unified Diff: src/pdf/SkPDFTypes.h

Issue 1394263003: SkPDF: Optionally output PDF/A-2b archive format. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-10-12 (Monday) 11:49:14 EDT Created 5 years, 2 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/pdf/SkPDFMetadata.cpp ('k') | src/pdf/SkPDFTypes.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pdf/SkPDFTypes.h
diff --git a/src/pdf/SkPDFTypes.h b/src/pdf/SkPDFTypes.h
index ec527fc932cfd33737942f50b479ba15085ce4da..0f029980b17faac001b6ad85a277310d3018bcf4 100644
--- a/src/pdf/SkPDFTypes.h
+++ b/src/pdf/SkPDFTypes.h
@@ -346,6 +346,12 @@ public:
*/
bool addObject(SkPDFObject* obj);
+ /** Add the passed object to the catalog, as well as all its dependencies.
+ * @param obj The object to add. If nullptr, this is a noop.
+ * @param subs Will be passed to obj->addResources().
+ */
+ void addObjectRecursively(SkPDFObject* obj, const SkPDFSubstituteMap& subs);
+
/** Get the object number for the passed object.
* @param obj The object of interest.
*/
« no previous file with comments | « src/pdf/SkPDFMetadata.cpp ('k') | src/pdf/SkPDFTypes.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698