| OLD | NEW |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_FPDFAPI_FPDF_PARSER_CPDF_DOCUMENT_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_PARSER_CPDF_DOCUMENT_H_ |
| 8 #define CORE_FPDFAPI_FPDF_PARSER_CPDF_DOCUMENT_H_ | 8 #define CORE_FPDFAPI_FPDF_PARSER_CPDF_DOCUMENT_H_ |
| 9 | 9 |
| 10 #include <functional> | 10 #include <functional> |
| 11 #include <memory> | 11 #include <memory> |
| 12 | 12 |
| 13 #include "core/fpdfapi/fpdf_parser/cpdf_indirect_object_holder.h" | 13 #include "core/fpdfapi/fpdf_parser/cpdf_indirect_object_holder.h" |
| 14 #include "core/fpdfapi/fpdf_parser/cpdf_object.h" | 14 #include "core/fpdfapi/fpdf_parser/cpdf_object.h" |
| 15 #include "core/fpdfdoc/include/cpdf_linklist.h" | 15 #include "core/fpdfdoc/cpdf_linklist.h" |
| 16 #include "core/fxcrt/include/cfx_string_pool_template.h" | 16 #include "core/fxcrt/include/cfx_string_pool_template.h" |
| 17 #include "core/fxcrt/include/cfx_weak_ptr.h" | 17 #include "core/fxcrt/include/cfx_weak_ptr.h" |
| 18 #include "core/fxcrt/include/fx_basic.h" | 18 #include "core/fxcrt/include/fx_basic.h" |
| 19 | 19 |
| 20 class CFX_Font; | 20 class CFX_Font; |
| 21 class CFX_Matrix; | 21 class CFX_Matrix; |
| 22 class CPDF_ColorSpace; | 22 class CPDF_ColorSpace; |
| 23 class CPDF_DocPageData; | 23 class CPDF_DocPageData; |
| 24 class CPDF_DocRenderData; | 24 class CPDF_DocRenderData; |
| 25 class CPDF_Font; | 25 class CPDF_Font; |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 // TODO(thestig): Figure out why this cannot be a std::unique_ptr. | 136 // TODO(thestig): Figure out why this cannot be a std::unique_ptr. |
| 137 CPDF_DocPageData* m_pDocPage; | 137 CPDF_DocPageData* m_pDocPage; |
| 138 std::unique_ptr<CPDF_DocRenderData> m_pDocRender; | 138 std::unique_ptr<CPDF_DocRenderData> m_pDocRender; |
| 139 std::unique_ptr<JBig2_DocumentContext> m_pCodecContext; | 139 std::unique_ptr<JBig2_DocumentContext> m_pCodecContext; |
| 140 std::unique_ptr<CPDF_LinkList> m_pLinksContext; | 140 std::unique_ptr<CPDF_LinkList> m_pLinksContext; |
| 141 CFX_ArrayTemplate<uint32_t> m_PageList; | 141 CFX_ArrayTemplate<uint32_t> m_PageList; |
| 142 CFX_WeakPtr<CFX_ByteStringPool> m_pByteStringPool; | 142 CFX_WeakPtr<CFX_ByteStringPool> m_pByteStringPool; |
| 143 }; | 143 }; |
| 144 | 144 |
| 145 #endif // CORE_FPDFAPI_FPDF_PARSER_CPDF_DOCUMENT_H_ | 145 #endif // CORE_FPDFAPI_FPDF_PARSER_CPDF_DOCUMENT_H_ |
| OLD | NEW |