summaryrefslogtreecommitdiff
path: root/public/fpdfview.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2016-03-09 09:59:23 -0500
committerDan Sinclair <dsinclair@chromium.org>2016-03-09 09:59:23 -0500
commit3ebd121d45ceb08918a3dcb5b3b7ac29448c862f (patch)
tree361d5fa0f9be7484cce4aace1b9cc18545046611 /public/fpdfview.h
parent317758574e173367b41928a1575d70600c6b6ea8 (diff)
downloadpdfium-3ebd121d45ceb08918a3dcb5b3b7ac29448c862f.tar.xz
Review and cleanup lint warnings.
This CL goes through the remaining list of list warnings and records why they are currently blacklisted, or fixes and enables them. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1773733002 .
Diffstat (limited to 'public/fpdfview.h')
-rw-r--r--public/fpdfview.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/public/fpdfview.h b/public/fpdfview.h
index 2401affb17..68d0b1ad83 100644
--- a/public/fpdfview.h
+++ b/public/fpdfview.h
@@ -15,7 +15,8 @@
#endif
#ifdef PDF_ENABLE_XFA
-// TODO: remove the #define when XFA is officially in pdfium
+// PDF_USE_XFA is set in confirmation that this version of PDFium can support
+// XFA forms as requested by the PDF_ENABLE_XFA setting.
#define PDF_USE_XFA
#endif // PDF_ENABLE_XFA
@@ -313,7 +314,10 @@ typedef struct _FPDF_FILEHANDLER {
*
* @return 0 for success, other value for failure.
*/
- FPDF_RESULT (*ReadBlock)(FPDF_LPVOID clientData, FPDF_DWORD offset, FPDF_LPVOID buffer, FPDF_DWORD size);
+ FPDF_RESULT (*ReadBlock)(FPDF_LPVOID clientData,
+ FPDF_DWORD offset,
+ FPDF_LPVOID buffer,
+ FPDF_DWORD size);
/**
* @brief Callback function to write data into the current file stream.
*
@@ -327,7 +331,10 @@ typedef struct _FPDF_FILEHANDLER {
*
* @return 0 for success, other value for failure.
*/
- FPDF_RESULT (*WriteBlock)(FPDF_LPVOID clientData, FPDF_DWORD offset, FPDF_LPCVOID buffer, FPDF_DWORD size);
+ FPDF_RESULT (*WriteBlock)(FPDF_LPVOID clientData,
+ FPDF_DWORD offset,
+ FPDF_LPCVOID buffer,
+ FPDF_DWORD size);
/**
* @brief Callback function to flush all internal accessing buffers.
*