Chromium Code Reviews| OLD | NEW |
|---|---|
| 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_OBJECTS_H_ | 7 #ifndef CORE_INCLUDE_FPDFAPI_FPDF_OBJECTS_H_ |
| 8 #define CORE_INCLUDE_FPDFAPI_FPDF_OBJECTS_H_ | 8 #define CORE_INCLUDE_FPDFAPI_FPDF_OBJECTS_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <set> | 11 #include <set> |
| 12 #include <string> | |
|
Tom Sepez
2016/03/08 19:27:04
Nah, std::string isn't used in pdfium, and this is
dsinclair
2016/03/08 21:08:01
Done.
| |
| 12 | 13 |
| 13 #include "core/include/fxcrt/fx_coordinates.h" | 14 #include "core/include/fxcrt/fx_coordinates.h" |
| 14 #include "core/include/fxcrt/fx_system.h" | 15 #include "core/include/fxcrt/fx_system.h" |
| 15 | 16 |
| 16 class CPDF_Array; | 17 class CPDF_Array; |
| 17 class CPDF_Boolean; | 18 class CPDF_Boolean; |
| 18 class CPDF_Dictionary; | 19 class CPDF_Dictionary; |
| 19 class CPDF_IndirectObjectHolder; | 20 class CPDF_IndirectObjectHolder; |
| 20 class CPDF_Name; | 21 class CPDF_Name; |
| 21 class CPDF_Null; | 22 class CPDF_Null; |
| (...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 544 iterator end() { return m_IndirectObjs.end(); } | 545 iterator end() { return m_IndirectObjs.end(); } |
| 545 const_iterator end() const { return m_IndirectObjs.end(); } | 546 const_iterator end() const { return m_IndirectObjs.end(); } |
| 546 | 547 |
| 547 protected: | 548 protected: |
| 548 CPDF_Parser* m_pParser; | 549 CPDF_Parser* m_pParser; |
| 549 FX_DWORD m_LastObjNum; | 550 FX_DWORD m_LastObjNum; |
| 550 std::map<FX_DWORD, CPDF_Object*> m_IndirectObjs; | 551 std::map<FX_DWORD, CPDF_Object*> m_IndirectObjs; |
| 551 }; | 552 }; |
| 552 | 553 |
| 553 #endif // CORE_INCLUDE_FPDFAPI_FPDF_OBJECTS_H_ | 554 #endif // CORE_INCLUDE_FPDFAPI_FPDF_OBJECTS_H_ |
| OLD | NEW |