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

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

Issue 1863163002: Move code from fpdfsdk/include to the sub directories. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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/fpdfxfa/fpdfxfa_util.h ('k') | fpdfsdk/include/fxedit/DEPS » ('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/fpdfapi/fpdf_parser/include/cpdf_parser.h" 10 #include "core/fpdfapi/fpdf_parser/include/cpdf_parser.h"
11 #include "core/fxge/include/fx_ge.h" 11 #include "core/fxge/include/fx_ge.h"
12 #include "core/fxge/include/fx_ge_win32.h" 12 #include "core/fxge/include/fx_ge_win32.h"
13 #include "core/include/fpdfdoc/fpdf_doc.h" 13 #include "core/include/fpdfdoc/fpdf_doc.h"
14 #include "public/fpdfview.h" 14 #include "public/fpdfview.h"
15 15
16 #ifdef PDF_ENABLE_XFA 16 #ifdef PDF_ENABLE_XFA
17 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h" 17 #include "fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h"
18 #endif // PDF_ENABLE_XFA 18 #endif // PDF_ENABLE_XFA
19 19
20 #ifdef _WIN32 20 #ifdef _WIN32
21 #include <math.h> 21 #include <math.h>
22 #include <tchar.h> 22 #include <tchar.h>
23 #endif 23 #endif
24 24
25 // Convert a #FX_ARGB to a #FX_COLORREF. 25 // Convert a #FX_ARGB to a #FX_COLORREF.
26 #define FX_ARGBTOCOLORREF(argb) \ 26 #define FX_ARGBTOCOLORREF(argb) \
27 ((((uint32_t)argb & 0x00FF0000) >> 16) | ((uint32_t)argb & 0x0000FF00) | \ 27 ((((uint32_t)argb & 0x00FF0000) >> 16) | ((uint32_t)argb & 0x0000FF00) | \
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 int rotate, 121 int rotate,
122 int flags, 122 int flags,
123 FX_BOOL bNeedToRestore, 123 FX_BOOL bNeedToRestore,
124 IFSDK_PAUSE_Adapter* pause); 124 IFSDK_PAUSE_Adapter* pause);
125 125
126 void CheckUnSupportError(CPDF_Document* pDoc, uint32_t err_code); 126 void CheckUnSupportError(CPDF_Document* pDoc, uint32_t err_code);
127 void CheckUnSupportAnnot(CPDF_Document* pDoc, const CPDF_Annot* pPDFAnnot); 127 void CheckUnSupportAnnot(CPDF_Document* pDoc, const CPDF_Annot* pPDFAnnot);
128 void ProcessParseError(CPDF_Parser::Error err); 128 void ProcessParseError(CPDF_Parser::Error err);
129 129
130 #endif // FPDFSDK_INCLUDE_FSDK_DEFINE_H_ 130 #endif // FPDFSDK_INCLUDE_FSDK_DEFINE_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/fpdfxfa/fpdfxfa_util.h ('k') | fpdfsdk/include/fxedit/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698