diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-10-15 16:17:18 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-10-15 16:17:18 -0700 |
commit | 471a1034e70ddcfc93ce2a93b28a8385109e83de (patch) | |
tree | c845fb1b73b936023be1fc2e7699ff4768aec652 /fpdfsdk/include/fsdk_define.h | |
parent | dfbf8e7ba55695c4e6cb30eadbe9c6a2955815ba (diff) | |
download | pdfium-471a1034e70ddcfc93ce2a93b28a8385109e83de.tar.xz |
Merge to XFA: Introduce CPDF_DocumentFromFPDFDocument().
Manual merges everywhere.
Original Review URL: https://codereview.chromium.org/1395493007 .
(cherry picked from commit bb51c4fb6bc6095984c303c95e5336f83e66bc67)
Original Review URL: https://codereview.chromium.org/1396283006 .
(cherry picked from commit 86adb658843658969041a13bf6cf0cc950ffe8ed)
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1395353004 .
Diffstat (limited to 'fpdfsdk/include/fsdk_define.h')
-rw-r--r-- | fpdfsdk/include/fsdk_define.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fpdfsdk/include/fsdk_define.h b/fpdfsdk/include/fsdk_define.h index 8bf64bbe8d..c2aa0d9f32 100644 --- a/fpdfsdk/include/fsdk_define.h +++ b/fpdfsdk/include/fsdk_define.h @@ -91,6 +91,9 @@ class CFPDF_FileStream : public IFX_FileStream { FX_FILESIZE m_nCurPos; }; +// Conversions from FPDF_ types. +CPDF_Document* CPDFDocumentFromFPDFDocument(FPDF_DOCUMENT doc); + void DropContext(void* data); void FSDK_SetSandBoxPolicy(FPDF_DWORD policy, FPDF_BOOL enable); FPDF_BOOL FSDK_IsSandBoxPolicyEnabled(FPDF_DWORD policy); |