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

Side by Side Diff: fpdfsdk/include/fsdk_define.h

Issue 1413883005: More master side changes for convergence with XFA. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Remove fn. 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 unified diff | Download patch
« no previous file with comments | « no previous file | fpdfsdk/include/fsdk_mgr.h » ('j') | fpdfsdk/src/javascript/JS_GlobalData.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef FPDFSDK_INCLUDE_FSDK_DEFINE_H_ 7 #ifndef FPDFSDK_INCLUDE_FSDK_DEFINE_H_
8 #define FPDFSDK_INCLUDE_FSDK_DEFINE_H_ 8 #define FPDFSDK_INCLUDE_FSDK_DEFINE_H_
9 9
10 #include "../../core/include/fpdfapi/fpdf_module.h" 10 #include "../../core/include/fpdfapi/fpdf_module.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 // IFX_FileRead 46 // IFX_FileRead
47 FX_FILESIZE GetSize() override { return m_FileAccess.m_FileLen; } 47 FX_FILESIZE GetSize() override { return m_FileAccess.m_FileLen; }
48 void Release() override { delete this; } 48 void Release() override { delete this; }
49 FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override; 49 FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override;
50 50
51 private: 51 private:
52 FPDF_FILEACCESS m_FileAccess; 52 FPDF_FILEACCESS m_FileAccess;
53 }; 53 };
54 54
55 // Conversions from FPDF_ types. 55 // Conversions to/from FPDF_ types.
56 CPDF_Document* CPDFDocumentFromFPDFDocument(FPDF_DOCUMENT doc); 56 CPDF_Document* CPDFDocumentFromFPDFDocument(FPDF_DOCUMENT doc);
57 FPDF_DOCUMENT FPDFDocumentFromCPDFDocument(CPDF_Document* doc);
58
57 CPDF_Page* CPDFPageFromFPDFPage(FPDF_PAGE page); 59 CPDF_Page* CPDFPageFromFPDFPage(FPDF_PAGE page);
58 60
59 void DropContext(void* data); 61 void DropContext(void* data);
60 void FSDK_SetSandBoxPolicy(FPDF_DWORD policy, FPDF_BOOL enable); 62 void FSDK_SetSandBoxPolicy(FPDF_DWORD policy, FPDF_BOOL enable);
61 FPDF_BOOL FSDK_IsSandBoxPolicyEnabled(FPDF_DWORD policy); 63 FPDF_BOOL FSDK_IsSandBoxPolicyEnabled(FPDF_DWORD policy);
62 void FPDF_RenderPage_Retail(CRenderContext* pContext, 64 void FPDF_RenderPage_Retail(CRenderContext* pContext,
63 FPDF_PAGE page, 65 FPDF_PAGE page,
64 int start_x, 66 int start_x,
65 int start_y, 67 int start_y,
66 int size_x, 68 int size_x,
67 int size_y, 69 int size_y,
68 int rotate, 70 int rotate,
69 int flags, 71 int flags,
70 FX_BOOL bNeedToRestore, 72 FX_BOOL bNeedToRestore,
71 IFSDK_PAUSE_Adapter* pause); 73 IFSDK_PAUSE_Adapter* pause);
72 74
73 void CheckUnSupportError(CPDF_Document* pDoc, FX_DWORD err_code); 75 void CheckUnSupportError(CPDF_Document* pDoc, FX_DWORD err_code);
74 void CheckUnSupportAnnot(CPDF_Document* pDoc, CPDF_Annot* pPDFAnnot); 76 void CheckUnSupportAnnot(CPDF_Document* pDoc, CPDF_Annot* pPDFAnnot);
75 void ProcessParseError(FX_DWORD err_code); 77 void ProcessParseError(FX_DWORD err_code);
76 78
77 #endif // FPDFSDK_INCLUDE_FSDK_DEFINE_H_ 79 #endif // FPDFSDK_INCLUDE_FSDK_DEFINE_H_
OLDNEW
« no previous file with comments | « no previous file | fpdfsdk/include/fsdk_mgr.h » ('j') | fpdfsdk/src/javascript/JS_GlobalData.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698