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

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

Issue 1711793002: Sort headers in non-xfa directories. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 10 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
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 10 matching lines...) Expand all
21 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h" 21 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h"
22 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_page.h" 22 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_page.h"
23 #include "xfa/include/fwl/adapter/fwl_adaptertimermgr.h" 23 #include "xfa/include/fwl/adapter/fwl_adaptertimermgr.h"
24 #include "xfa/include/fxbarcode/BC_BarCode.h" 24 #include "xfa/include/fxbarcode/BC_BarCode.h"
25 #include "xfa/include/fxfa/fxfa.h" 25 #include "xfa/include/fxfa/fxfa.h"
26 #include "xfa/include/fxgraphics/fx_graphics.h" 26 #include "xfa/include/fxgraphics/fx_graphics.h"
27 #include "xfa/include/fxjse/fxjse.h" 27 #include "xfa/include/fxjse/fxjse.h"
28 #endif // PDF_ENABLE_XFA 28 #endif // PDF_ENABLE_XFA
29 29
30 #ifdef _WIN32 30 #ifdef _WIN32
31 #include <math.h>
31 #include <tchar.h> 32 #include <tchar.h>
32 #include <math.h>
33 #endif 33 #endif
34 34
35 // Convert a #FX_ARGB to a #FX_COLORREF. 35 // Convert a #FX_ARGB to a #FX_COLORREF.
36 #define FX_ARGBTOCOLORREF(argb) \ 36 #define FX_ARGBTOCOLORREF(argb) \
37 ((((FX_DWORD)argb & 0x00FF0000) >> 16) | ((FX_DWORD)argb & 0x0000FF00) | \ 37 ((((FX_DWORD)argb & 0x00FF0000) >> 16) | ((FX_DWORD)argb & 0x0000FF00) | \
38 (((FX_DWORD)argb & 0x000000FF) << 16)) 38 (((FX_DWORD)argb & 0x000000FF) << 16))
39 39
40 // Convert a #FX_COLORREF to a #FX_ARGB. 40 // Convert a #FX_COLORREF to a #FX_ARGB.
41 #define FX_COLORREFTOARGB(rgb) \ 41 #define FX_COLORREFTOARGB(rgb) \
42 ((FX_DWORD)0xFF000000 | (((FX_DWORD)rgb & 0x000000FF) << 16) | \ 42 ((FX_DWORD)0xFF000000 | (((FX_DWORD)rgb & 0x000000FF) << 16) | \
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 int rotate, 131 int rotate,
132 int flags, 132 int flags,
133 FX_BOOL bNeedToRestore, 133 FX_BOOL bNeedToRestore,
134 IFSDK_PAUSE_Adapter* pause); 134 IFSDK_PAUSE_Adapter* pause);
135 135
136 void CheckUnSupportError(CPDF_Document* pDoc, FX_DWORD err_code); 136 void CheckUnSupportError(CPDF_Document* pDoc, FX_DWORD err_code);
137 void CheckUnSupportAnnot(CPDF_Document* pDoc, const CPDF_Annot* pPDFAnnot); 137 void CheckUnSupportAnnot(CPDF_Document* pDoc, const CPDF_Annot* pPDFAnnot);
138 void ProcessParseError(CPDF_Parser::Error err); 138 void ProcessParseError(CPDF_Parser::Error err);
139 139
140 #endif // FPDFSDK_INCLUDE_FSDK_DEFINE_H_ 140 #endif // FPDFSDK_INCLUDE_FSDK_DEFINE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698