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

Side by Side Diff: core/include/fpdfapi/fpdf_parser.h

Issue 1254973004: Fix FX_BOOL compilation errors under windows (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Fix a few more found on win side' Created 5 years, 4 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 | core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp » ('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 CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ 7 #ifndef CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_
8 #define CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ 8 #define CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_
9 9
10 #include "../fxcrt/fx_system.h" 10 #include "../fxcrt/fx_system.h"
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 FX_BOOL m_bIsNumber; 337 FX_BOOL m_bIsNumber;
338 338
339 FX_FILESIZE m_dwWordPos; 339 FX_FILESIZE m_dwWordPos;
340 friend class CPDF_Parser; 340 friend class CPDF_Parser;
341 friend class CPDF_DataAvail; 341 friend class CPDF_DataAvail;
342 }; 342 };
343 343
344 #define PDFPARSE_TYPEONLY 1 344 #define PDFPARSE_TYPEONLY 1
345 #define PDFPARSE_NOSTREAM 2 345 #define PDFPARSE_NOSTREAM 2
346 struct PARSE_CONTEXT { 346 struct PARSE_CONTEXT {
347 347 uint32_t m_Flags;
348 FX_BOOL» » m_Flags; 348 FX_FILESIZE m_DictStart;
349 349 FX_FILESIZE m_DictEnd;
350 FX_FILESIZE»m_DictStart; 350 FX_FILESIZE m_DataStart;
351 351 FX_FILESIZE m_DataEnd;
352 FX_FILESIZE»m_DictEnd;
353
354 FX_FILESIZE»m_DataStart;
355
356 FX_FILESIZE»m_DataEnd;
357 }; 352 };
358 353
359 #define PDFPARSE_ERROR_SUCCESS 0 354 #define PDFPARSE_ERROR_SUCCESS 0
360 #define PDFPARSE_ERROR_FILE 1 355 #define PDFPARSE_ERROR_FILE 1
361 #define PDFPARSE_ERROR_FORMAT 2 356 #define PDFPARSE_ERROR_FORMAT 2
362 #define PDFPARSE_ERROR_PASSWORD 3 357 #define PDFPARSE_ERROR_PASSWORD 3
363 #define PDFPARSE_ERROR_HANDLER 4 358 #define PDFPARSE_ERROR_HANDLER 4
364 #define PDFPARSE_ERROR_CERT 5 359 #define PDFPARSE_ERROR_CERT 5
365 360
366 class CPDF_Parser 361 class CPDF_Parser
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
905 PDF_DATAAVAIL_PAGE, 900 PDF_DATAAVAIL_PAGE,
906 PDF_DATAAVAIL_PAGE_LATERLOAD, 901 PDF_DATAAVAIL_PAGE_LATERLOAD,
907 PDF_DATAAVAIL_RESOURCES, 902 PDF_DATAAVAIL_RESOURCES,
908 PDF_DATAAVAIL_DONE, 903 PDF_DATAAVAIL_DONE,
909 PDF_DATAAVAIL_ERROR, 904 PDF_DATAAVAIL_ERROR,
910 PDF_DATAAVAIL_LOADALLFILE, 905 PDF_DATAAVAIL_LOADALLFILE,
911 PDF_DATAAVAIL_TRAILER_APPEND 906 PDF_DATAAVAIL_TRAILER_APPEND
912 }; 907 };
913 908
914 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ 909 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_
OLDNEW
« no previous file with comments | « no previous file | core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698