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/fxfa/include/xfa_ffapp.h" | 7 #include "xfa/fxfa/include/xfa_ffapp.h" |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 | 10 |
11 #include "xfa/fgas/font/fgas_stdfontmgr.h" | 11 #include "xfa/fgas/font/fgas_stdfontmgr.h" |
12 #include "xfa/fwl/core/fwl_widgetmgrimp.h" | 12 #include "xfa/fwl/core/cfwl_widgetmgr.h" |
13 #include "xfa/fxfa/app/xfa_fwladapter.h" | 13 #include "xfa/fxfa/app/xfa_fwladapter.h" |
14 #include "xfa/fxfa/app/xfa_fwltheme.h" | 14 #include "xfa/fxfa/app/xfa_fwltheme.h" |
15 #include "xfa/fxfa/include/xfa_ffdoc.h" | 15 #include "xfa/fxfa/include/xfa_ffdoc.h" |
16 #include "xfa/fxfa/include/xfa_ffdochandler.h" | 16 #include "xfa/fxfa/include/xfa_ffdochandler.h" |
17 #include "xfa/fxfa/include/xfa_ffwidgethandler.h" | 17 #include "xfa/fxfa/include/xfa_ffwidgethandler.h" |
18 #include "xfa/fxfa/include/xfa_fontmgr.h" | 18 #include "xfa/fxfa/include/xfa_fontmgr.h" |
19 | 19 |
20 CXFA_FileRead::CXFA_FileRead(const CFX_ArrayTemplate<CPDF_Stream*>& streams) { | 20 CXFA_FileRead::CXFA_FileRead(const CFX_ArrayTemplate<CPDF_Stream*>& streams) { |
21 int32_t iCount = streams.GetSize(); | 21 int32_t iCount = streams.GetSize(); |
22 for (int32_t i = 0; i < iCount; i++) { | 22 for (int32_t i = 0; i < iCount; i++) { |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 m_pAdapterWidgetMgr = new CXFA_FWLAdapterWidgetMgr; | 163 m_pAdapterWidgetMgr = new CXFA_FWLAdapterWidgetMgr; |
164 pDelegate->OnSetCapability(FWL_WGTMGR_DisableThread | | 164 pDelegate->OnSetCapability(FWL_WGTMGR_DisableThread | |
165 FWL_WGTMGR_DisableForm); | 165 FWL_WGTMGR_DisableForm); |
166 m_pWidgetMgrDelegate = pDelegate; | 166 m_pWidgetMgrDelegate = pDelegate; |
167 } | 167 } |
168 return m_pAdapterWidgetMgr; | 168 return m_pAdapterWidgetMgr; |
169 } | 169 } |
170 IFWL_AdapterTimerMgr* CXFA_FFApp::GetTimerMgr() { | 170 IFWL_AdapterTimerMgr* CXFA_FFApp::GetTimerMgr() { |
171 return m_pProvider->GetTimerMgr(); | 171 return m_pProvider->GetTimerMgr(); |
172 } | 172 } |
OLD | NEW |