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

Unified Diff: src/pdf/SkPDFDocument.h

Issue 953053002: SkPDF: remove SK_API on no-longer-public functions. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase: 2015-02-24 (Tuesday) 18:48:48 EST Created 5 years, 10 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/SkPDFDevice.h ('k') | src/pdf/SkPDFFontImpl.h » ('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
index 6644d96d5421413203220a737755f39443b2ca19..01290d034a8ac97a85e628c59408f0c6b050d7de 100644
--- a/src/pdf/SkPDFDocument.h
+++ b/src/pdf/SkPDFDocument.h
@@ -29,8 +29,8 @@ template <typename T> class SkTSet;
*/
class SkPDFDocument {
public:
- SK_API SkPDFDocument();
- SK_API ~SkPDFDocument();
+ SkPDFDocument();
+ ~SkPDFDocument();
/** Output the PDF to the passed stream. It is an error to call this (it
* will return false and not modify stream) if no pages have been added
@@ -39,7 +39,7 @@ public:
*
* @param stream The writable output stream to send the PDF to.
*/
- SK_API bool emitPDF(SkWStream* stream);
+ bool emitPDF(SkWStream* stream);
/** Sets the specific page to the passed PDF device. If the specified
* page is already set, this overrides it. Returns true if successful.
@@ -48,24 +48,24 @@ public:
* @param pageNumber The position to add the passed device (1 based).
* @param pdfDevice The page to add to this document.
*/
- SK_API bool setPage(int pageNumber, SkPDFDevice* pdfDevice);
+ bool setPage(int pageNumber, SkPDFDevice* pdfDevice);
/** Append the passed pdf device to the document as a new page. Returns
* true if successful. Will fail if the document has already been emitted.
*
* @param pdfDevice The page to add to this document.
*/
- SK_API bool appendPage(SkPDFDevice* pdfDevice);
+ bool appendPage(SkPDFDevice* pdfDevice);
/** Get the count of unique font types used in the document.
* DEPRECATED.
*/
- SK_API void getCountOfFontTypes(
+ void getCountOfFontTypes(
int counts[SkAdvancedTypefaceMetrics::kOther_Font + 2]) const;
/** Get the count of unique font types used in the document.
*/
- SK_API void getCountOfFontTypes(
+ void getCountOfFontTypes(
int counts[SkAdvancedTypefaceMetrics::kOther_Font + 1],
int* notSubsettableCount,
int* notEmbedddableCount) const;
« no previous file with comments | « src/pdf/SkPDFDevice.h ('k') | src/pdf/SkPDFFontImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698