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

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

Issue 1552583002: Remove header files that only have includes. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: address comments 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/fpdfapi.h"
11 #include "core/include/fpdfapi/fpdf_module.h" 10 #include "core/include/fpdfapi/fpdf_module.h"
12 #include "core/include/fpdfapi/fpdf_pageobj.h" 11 #include "core/include/fpdfapi/fpdf_pageobj.h"
13 #include "core/include/fpdfapi/fpdf_parser.h" 12 #include "core/include/fpdfapi/fpdf_parser.h"
14 #include "core/include/fpdfapi/fpdf_render.h" 13 #include "core/include/fpdfapi/fpdf_render.h"
15 #include "core/include/fpdfapi/fpdf_serial.h" 14 #include "core/include/fpdfapi/fpdf_serial.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"
(...skipping 12 matching lines...) Expand all
33 #define FX_COLORREFTOARGB(rgb) \ 32 #define FX_COLORREFTOARGB(rgb) \
34 ((FX_DWORD)0xFF000000 | (((FX_DWORD)rgb & 0x000000FF) << 16) | \ 33 ((FX_DWORD)0xFF000000 | (((FX_DWORD)rgb & 0x000000FF) << 16) | \
35 ((FX_DWORD)rgb & 0x0000FF00) | (((FX_DWORD)rgb & 0x00FF0000) >> 16)) 34 ((FX_DWORD)rgb & 0x0000FF00) | (((FX_DWORD)rgb & 0x00FF0000) >> 16))
36 35
37 typedef unsigned int FX_UINT; 36 typedef unsigned int FX_UINT;
38 class CRenderContext; 37 class CRenderContext;
39 class IFSDK_PAUSE_Adapter; 38 class IFSDK_PAUSE_Adapter;
40 39
41 class CPDF_CustomAccess final : public IFX_FileRead { 40 class CPDF_CustomAccess final : public IFX_FileRead {
42 public: 41 public:
43 CPDF_CustomAccess(FPDF_FILEACCESS* pFileAccess); 42 explicit CPDF_CustomAccess(FPDF_FILEACCESS* pFileAccess);
44 ~CPDF_CustomAccess() override {} 43 ~CPDF_CustomAccess() override {}
45 44
46 // IFX_FileRead 45 // IFX_FileRead
47 FX_FILESIZE GetSize() override { return m_FileAccess.m_FileLen; } 46 FX_FILESIZE GetSize() override { return m_FileAccess.m_FileLen; }
48 void Release() override { delete this; } 47 void Release() override { delete this; }
49 FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override; 48 FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size) override;
50 49
51 private: 50 private:
52 FPDF_FILEACCESS m_FileAccess; 51 FPDF_FILEACCESS m_FileAccess;
53 }; 52 };
(...skipping 28 matching lines...) Expand all
82 int rotate, 81 int rotate,
83 int flags, 82 int flags,
84 FX_BOOL bNeedToRestore, 83 FX_BOOL bNeedToRestore,
85 IFSDK_PAUSE_Adapter* pause); 84 IFSDK_PAUSE_Adapter* pause);
86 85
87 void CheckUnSupportError(CPDF_Document* pDoc, FX_DWORD err_code); 86 void CheckUnSupportError(CPDF_Document* pDoc, FX_DWORD err_code);
88 void CheckUnSupportAnnot(CPDF_Document* pDoc, const CPDF_Annot* pPDFAnnot); 87 void CheckUnSupportAnnot(CPDF_Document* pDoc, const CPDF_Annot* pPDFAnnot);
89 void ProcessParseError(FX_DWORD err_code); 88 void ProcessParseError(FX_DWORD err_code);
90 89
91 #endif // FPDFSDK_INCLUDE_FSDK_DEFINE_H_ 90 #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