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 FPDFSDK_INCLUDE_CPDFSDK_ENVIRONMENT_H_ | 7 #ifndef FPDFSDK_INCLUDE_CPDFSDK_ENVIRONMENT_H_ |
8 #define FPDFSDK_INCLUDE_CPDFSDK_ENVIRONMENT_H_ | 8 #define FPDFSDK_INCLUDE_CPDFSDK_ENVIRONMENT_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "core/fpdfapi/fpdf_page/cpdf_page.h" | 12 #include "core/fpdfapi/fpdf_page/cpdf_page.h" |
13 #include "core/fpdfapi/fpdf_parser/cpdf_document.h" | 13 #include "core/fpdfapi/fpdf_parser/cpdf_document.h" |
14 #include "core/fpdfdoc/cpdf_occontext.h" | 14 #include "core/fpdfdoc/cpdf_occontext.h" |
15 #include "core/fxcrt/include/cfx_observable.h" | 15 #include "core/fxcrt/cfx_observable.h" |
16 #include "fpdfsdk/cfx_systemhandler.h" | 16 #include "fpdfsdk/cfx_systemhandler.h" |
17 #include "fpdfsdk/include/fsdk_define.h" | 17 #include "fpdfsdk/include/fsdk_define.h" |
18 #include "public/fpdf_formfill.h" | 18 #include "public/fpdf_formfill.h" |
19 #include "public/fpdf_fwlevent.h" | 19 #include "public/fpdf_fwlevent.h" |
20 | 20 |
21 class CFFL_InteractiveFormFiller; | 21 class CFFL_InteractiveFormFiller; |
22 class CFX_SystemHandler; | 22 class CFX_SystemHandler; |
23 class CPDFSDK_ActionHandler; | 23 class CPDFSDK_ActionHandler; |
24 class CPDFSDK_AnnotHandlerMgr; | 24 class CPDFSDK_AnnotHandlerMgr; |
25 class CPDFSDK_Document; | 25 class CPDFSDK_Document; |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 // Ownership of |m_pSDKDoc| depends on if this is XFA. If we're in XFA then | 169 // Ownership of |m_pSDKDoc| depends on if this is XFA. If we're in XFA then |
170 // the object is owned by the CPDFXFA_Document. In non-xfa then we own | 170 // the object is owned by the CPDFXFA_Document. In non-xfa then we own |
171 // the pointer. | 171 // the pointer. |
172 CPDFSDK_Document* m_pSDKDoc; | 172 CPDFSDK_Document* m_pSDKDoc; |
173 UnderlyingDocumentType* const m_pUnderlyingDoc; | 173 UnderlyingDocumentType* const m_pUnderlyingDoc; |
174 std::unique_ptr<CFFL_InteractiveFormFiller> m_pFormFiller; | 174 std::unique_ptr<CFFL_InteractiveFormFiller> m_pFormFiller; |
175 std::unique_ptr<CFX_SystemHandler> m_pSysHandler; | 175 std::unique_ptr<CFX_SystemHandler> m_pSysHandler; |
176 }; | 176 }; |
177 | 177 |
178 #endif // FPDFSDK_INCLUDE_CPDFSDK_ENVIRONMENT_H_ | 178 #endif // FPDFSDK_INCLUDE_CPDFSDK_ENVIRONMENT_H_ |
OLD | NEW |