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: core/include/fpdfapi/fpdf_parser.h

Issue 1518593002: Get rid of most uses of CFX_PtrArray. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Fix botch. Created 5 years 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 | « core/include/fpdfapi/fpdf_page.h ('k') | core/include/fpdfapi/fpdf_render.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 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 <map> 10 #include <map>
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after
952 PDF_PAGENODE_PAGE, 952 PDF_PAGENODE_PAGE,
953 PDF_PAGENODE_PAGES, 953 PDF_PAGENODE_PAGES,
954 PDF_PAGENODE_ARRAY, 954 PDF_PAGENODE_ARRAY,
955 }; 955 };
956 class CPDF_PageNode { 956 class CPDF_PageNode {
957 public: 957 public:
958 CPDF_PageNode() : m_type(PDF_PAGENODE_UNKOWN) {} 958 CPDF_PageNode() : m_type(PDF_PAGENODE_UNKOWN) {}
959 ~CPDF_PageNode(); 959 ~CPDF_PageNode();
960 PDF_PAGENODE_TYPE m_type; 960 PDF_PAGENODE_TYPE m_type;
961 FX_DWORD m_dwPageNo; 961 FX_DWORD m_dwPageNo;
962 CFX_PtrArray m_childNode; 962 CFX_ArrayTemplate<CPDF_PageNode*> m_childNode;
963 }; 963 };
964 enum PDF_DATAAVAIL_STATUS { 964 enum PDF_DATAAVAIL_STATUS {
965 PDF_DATAAVAIL_HEADER = 0, 965 PDF_DATAAVAIL_HEADER = 0,
966 PDF_DATAAVAIL_FIRSTPAGE, 966 PDF_DATAAVAIL_FIRSTPAGE,
967 PDF_DATAAVAIL_FIRSTPAGE_PREPARE, 967 PDF_DATAAVAIL_FIRSTPAGE_PREPARE,
968 PDF_DATAAVAIL_HINTTABLE, 968 PDF_DATAAVAIL_HINTTABLE,
969 PDF_DATAAVAIL_END, 969 PDF_DATAAVAIL_END,
970 PDF_DATAAVAIL_CROSSREF, 970 PDF_DATAAVAIL_CROSSREF,
971 PDF_DATAAVAIL_CROSSREF_ITEM, 971 PDF_DATAAVAIL_CROSSREF_ITEM,
972 PDF_DATAAVAIL_CROSSREF_STREAM, 972 PDF_DATAAVAIL_CROSSREF_STREAM,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
1008 FX_DWORD src_size, 1008 FX_DWORD src_size,
1009 const CPDF_Dictionary* pDict, 1009 const CPDF_Dictionary* pDict,
1010 uint8_t*& dest_buf, 1010 uint8_t*& dest_buf,
1011 FX_DWORD& dest_size, 1011 FX_DWORD& dest_size,
1012 CFX_ByteString& ImageEncoding, 1012 CFX_ByteString& ImageEncoding,
1013 CPDF_Dictionary*& pImageParms, 1013 CPDF_Dictionary*& pImageParms,
1014 FX_DWORD estimated_size, 1014 FX_DWORD estimated_size,
1015 FX_BOOL bImageAcc); 1015 FX_BOOL bImageAcc);
1016 1016
1017 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ 1017 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_
OLDNEW
« no previous file with comments | « core/include/fpdfapi/fpdf_page.h ('k') | core/include/fpdfapi/fpdf_render.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698