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

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

Issue 1566583002: Merge to XFA: Remove header files that only have includes. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Fix XFA Created 4 years, 11 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 | « fpdfsdk/include/formfiller/FormFiller.h ('k') | fpdfsdk/include/fxedit/fxet_stub.h » ('j') | no next file with comments »
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"
11 #include "core/include/fpdfapi/fpdf_pageobj.h" 11 #include "core/include/fpdfapi/fpdf_pageobj.h"
12 #include "core/include/fpdfapi/fpdf_parser.h" 12 #include "core/include/fpdfapi/fpdf_parser.h"
13 #include "core/include/fpdfapi/fpdf_render.h" 13 #include "core/include/fpdfapi/fpdf_render.h"
14 #include "core/include/fpdfapi/fpdf_serial.h" 14 #include "core/include/fpdfapi/fpdf_serial.h"
15 #include "core/include/fpdfapi/fpdfapi.h"
16 #include "core/include/fpdfdoc/fpdf_doc.h" 15 #include "core/include/fpdfdoc/fpdf_doc.h"
17 #include "core/include/fpdfdoc/fpdf_vt.h" 16 #include "core/include/fpdfdoc/fpdf_vt.h"
18 #include "core/include/fxge/fx_ge.h" 17 #include "core/include/fxge/fx_ge.h"
19 #include "core/include/fxge/fx_ge_win32.h" 18 #include "core/include/fxge/fx_ge_win32.h"
20 #include "public/fpdfview.h" 19 #include "public/fpdfview.h"
21 20
22 #ifdef PDF_ENABLE_XFA 21 #ifdef PDF_ENABLE_XFA
23 #include "../../xfa/include/fwl/adapter/fwl_adaptertimermgr.h" 22 #include "../../xfa/include/fwl/adapter/fwl_adaptertimermgr.h"
24 #include "../../xfa/include/fxbarcode/BC_BarCode.h" 23 #include "../../xfa/include/fxbarcode/BC_BarCode.h"
25 #include "../../xfa/include/fxfa/fxfa.h" 24 #include "../../xfa/include/fxfa/fxfa.h"
(...skipping 17 matching lines...) Expand all
43 #define FX_COLORREFTOARGB(rgb) \ 42 #define FX_COLORREFTOARGB(rgb) \
44 ((FX_DWORD)0xFF000000 | (((FX_DWORD)rgb & 0x000000FF) << 16) | \ 43 ((FX_DWORD)0xFF000000 | (((FX_DWORD)rgb & 0x000000FF) << 16) | \
45 ((FX_DWORD)rgb & 0x0000FF00) | (((FX_DWORD)rgb & 0x00FF0000) >> 16)) 44 ((FX_DWORD)rgb & 0x0000FF00) | (((FX_DWORD)rgb & 0x00FF0000) >> 16))
46 45
47 typedef unsigned int FX_UINT; 46 typedef unsigned int FX_UINT;
48 class CRenderContext; 47 class CRenderContext;
49 class IFSDK_PAUSE_Adapter; 48 class IFSDK_PAUSE_Adapter;
50 49
51 class CPDF_CustomAccess final : public IFX_FileRead { 50 class CPDF_CustomAccess final : public IFX_FileRead {
52 public: 51 public:
53 CPDF_CustomAccess(FPDF_FILEACCESS* pFileAccess); 52 explicit CPDF_CustomAccess(FPDF_FILEACCESS* pFileAccess);
54 ~CPDF_CustomAccess() override {} 53 ~CPDF_CustomAccess() override {}
55 54
56 // IFX_FileRead 55 // IFX_FileRead
57 FX_FILESIZE GetSize() override { return m_FileAccess.m_FileLen; } 56 FX_FILESIZE GetSize() override { return m_FileAccess.m_FileLen; }
58 void Release() override { delete this; } 57 void Release() override { delete this; }
59 FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override; 58 FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override;
60 59
61 #ifdef PDF_ENABLE_XFA 60 #ifdef PDF_ENABLE_XFA
62 virtual CFX_ByteString GetFullPath() { return ""; } 61 virtual CFX_ByteString GetFullPath() { return ""; }
63 virtual FX_BOOL GetByte(FX_DWORD pos, uint8_t& ch); 62 virtual FX_BOOL GetByte(FX_DWORD pos, uint8_t& ch);
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 int rotate, 132 int rotate,
134 int flags, 133 int flags,
135 FX_BOOL bNeedToRestore, 134 FX_BOOL bNeedToRestore,
136 IFSDK_PAUSE_Adapter* pause); 135 IFSDK_PAUSE_Adapter* pause);
137 136
138 void CheckUnSupportError(CPDF_Document* pDoc, FX_DWORD err_code); 137 void CheckUnSupportError(CPDF_Document* pDoc, FX_DWORD err_code);
139 void CheckUnSupportAnnot(CPDF_Document* pDoc, const CPDF_Annot* pPDFAnnot); 138 void CheckUnSupportAnnot(CPDF_Document* pDoc, const CPDF_Annot* pPDFAnnot);
140 void ProcessParseError(FX_DWORD err_code); 139 void ProcessParseError(FX_DWORD err_code);
141 140
142 #endif // FPDFSDK_INCLUDE_FSDK_DEFINE_H_ 141 #endif // FPDFSDK_INCLUDE_FSDK_DEFINE_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/formfiller/FormFiller.h ('k') | fpdfsdk/include/fxedit/fxet_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698