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 #include "xfa/src/fxfa/src/app/xfa_ffapp.h" | 7 #include "xfa/src/fxfa/src/app/xfa_ffapp.h" |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 | 10 |
11 #include "xfa/include/fwl/core/fwl_widgetmgr.h" | 11 #include "xfa/include/fwl/core/fwl_widgetmgr.h" |
12 #include "xfa/src/foxitlib.h" | |
13 #include "xfa/src/fxfa/src/app/xfa_ffdoc.h" | 12 #include "xfa/src/fxfa/src/app/xfa_ffdoc.h" |
14 #include "xfa/src/fxfa/src/app/xfa_ffdochandler.h" | 13 #include "xfa/src/fxfa/src/app/xfa_ffdochandler.h" |
15 #include "xfa/src/fxfa/src/app/xfa_ffwidgethandler.h" | 14 #include "xfa/src/fxfa/src/app/xfa_ffwidgethandler.h" |
16 #include "xfa/src/fxfa/src/app/xfa_fontmgr.h" | 15 #include "xfa/src/fxfa/src/app/xfa_fontmgr.h" |
17 #include "xfa/src/fxfa/src/app/xfa_fwladapter.h" | 16 #include "xfa/src/fxfa/src/app/xfa_fwladapter.h" |
18 #include "xfa/src/fxfa/src/app/xfa_fwltheme.h" | 17 #include "xfa/src/fxfa/src/app/xfa_fwltheme.h" |
19 | 18 |
20 CXFA_FileRead::CXFA_FileRead(const CFX_ArrayTemplate<CPDF_Stream*>& streams) { | 19 CXFA_FileRead::CXFA_FileRead(const CFX_ArrayTemplate<CPDF_Stream*>& streams) { |
21 int32_t iCount = streams.GetSize(); | 20 int32_t iCount = streams.GetSize(); |
22 for (int32_t i = 0; i < iCount; i++) { | 21 for (int32_t i = 0; i < iCount; i++) { |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 } | 181 } |
183 IFWL_AdapterThreadMgr* CXFA_FFApp::GetThreadMgr() { | 182 IFWL_AdapterThreadMgr* CXFA_FFApp::GetThreadMgr() { |
184 if (!m_pAdapterThreadMgr) { | 183 if (!m_pAdapterThreadMgr) { |
185 m_pAdapterThreadMgr = new CFWL_SDAdapterThreadMgr; | 184 m_pAdapterThreadMgr = new CFWL_SDAdapterThreadMgr; |
186 } | 185 } |
187 return m_pAdapterThreadMgr; | 186 return m_pAdapterThreadMgr; |
188 } | 187 } |
189 IFWL_AdapterTimerMgr* CXFA_FFApp::GetTimerMgr() { | 188 IFWL_AdapterTimerMgr* CXFA_FFApp::GetTimerMgr() { |
190 return m_pProvider->GetTimerMgr(); | 189 return m_pProvider->GetTimerMgr(); |
191 } | 190 } |
OLD | NEW |