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 XFA_FXFA_INCLUDE_XFA_FFAPP_H_ | 7 #ifndef XFA_FXFA_XFA_FFAPP_H_ |
8 #define XFA_FXFA_INCLUDE_XFA_FFAPP_H_ | 8 #define XFA_FXFA_XFA_FFAPP_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "core/fpdfapi/fpdf_parser/cpdf_stream.h" | 12 #include "core/fpdfapi/fpdf_parser/cpdf_stream.h" |
13 #include "core/fpdfapi/fpdf_parser/cpdf_stream_acc.h" | 13 #include "core/fpdfapi/fpdf_parser/cpdf_stream_acc.h" |
14 #include "xfa/fgas/font/fgas_font.h" | 14 #include "xfa/fgas/font/fgas_font.h" |
15 #include "xfa/fwl/core/ifwl_app.h" | 15 #include "xfa/fwl/core/ifwl_app.h" |
16 #include "xfa/fxfa/include/fxfa.h" | 16 #include "xfa/fxfa/fxfa.h" |
17 | 17 |
18 class CFWL_WidgetMgrDelegate; | 18 class CFWL_WidgetMgrDelegate; |
19 class CXFA_DefFontMgr; | 19 class CXFA_DefFontMgr; |
20 class CXFA_FWLAdapterWidgetMgr; | 20 class CXFA_FWLAdapterWidgetMgr; |
21 class CXFA_FWLTheme; | 21 class CXFA_FWLTheme; |
22 class CXFA_FFDocHandler; | 22 class CXFA_FFDocHandler; |
23 class CXFA_FontMgr; | 23 class CXFA_FontMgr; |
24 class IFWL_AdapterTimerMgr; | 24 class IFWL_AdapterTimerMgr; |
25 | 25 |
26 class CXFA_FileRead : public IFX_FileRead { | 26 class CXFA_FileRead : public IFX_FileRead { |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 #endif | 83 #endif |
84 std::unique_ptr<CXFA_FWLAdapterWidgetMgr> m_pAdapterWidgetMgr; | 84 std::unique_ptr<CXFA_FWLAdapterWidgetMgr> m_pAdapterWidgetMgr; |
85 CFWL_WidgetMgrDelegate* m_pWidgetMgrDelegate; // not owned. | 85 CFWL_WidgetMgrDelegate* m_pWidgetMgrDelegate; // not owned. |
86 | 86 |
87 // |m_pFWLApp| has to be released first, then |m_pFWLTheme| since the former | 87 // |m_pFWLApp| has to be released first, then |m_pFWLTheme| since the former |
88 // may refers to theme manager and the latter refers to font manager. | 88 // may refers to theme manager and the latter refers to font manager. |
89 std::unique_ptr<CXFA_FWLTheme> m_pFWLTheme; | 89 std::unique_ptr<CXFA_FWLTheme> m_pFWLTheme; |
90 std::unique_ptr<IFWL_App> m_pFWLApp; | 90 std::unique_ptr<IFWL_App> m_pFWLApp; |
91 }; | 91 }; |
92 | 92 |
93 #endif // XFA_FXFA_INCLUDE_XFA_FFAPP_H_ | 93 #endif // XFA_FXFA_XFA_FFAPP_H_ |
OLD | NEW |