| 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 "fpdfsdk/fpdfxfa/fpdfxfa_app.h" | 7 #include "fpdfsdk/fpdfxfa/cpdfxfa_app.h" |
| 8 | 8 |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| 11 #include "fpdfsdk/cpdfsdk_environment.h" | 11 #include "fpdfsdk/cpdfsdk_environment.h" |
| 12 #include "fpdfsdk/fpdfxfa/fpdfxfa_util.h" | 12 #include "fpdfsdk/fpdfxfa/cxfa_fwladaptertimermgr.h" |
| 13 #include "fpdfsdk/fsdk_define.h" | 13 #include "fpdfsdk/fsdk_define.h" |
| 14 #include "third_party/base/ptr_util.h" | 14 #include "third_party/base/ptr_util.h" |
| 15 #include "xfa/fxbarcode/BC_Library.h" | 15 #include "xfa/fxbarcode/BC_Library.h" |
| 16 #include "xfa/fxfa/xfa_ffapp.h" | 16 #include "xfa/fxfa/xfa_ffapp.h" |
| 17 #include "xfa/fxfa/xfa_fontmgr.h" | 17 #include "xfa/fxfa/xfa_fontmgr.h" |
| 18 | 18 |
| 19 namespace { | 19 namespace { |
| 20 | 20 |
| 21 CPDFXFA_App* g_pApp = nullptr; | 21 CPDFXFA_App* g_pApp = nullptr; |
| 22 | 22 |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 } | 332 } |
| 333 } | 333 } |
| 334 | 334 |
| 335 IFWL_AdapterTimerMgr* CPDFXFA_App::GetTimerMgr() { | 335 IFWL_AdapterTimerMgr* CPDFXFA_App::GetTimerMgr() { |
| 336 CXFA_FWLAdapterTimerMgr* pAdapter = nullptr; | 336 CXFA_FWLAdapterTimerMgr* pAdapter = nullptr; |
| 337 CPDFSDK_Environment* pEnv = m_pEnvList.GetAt(0); | 337 CPDFSDK_Environment* pEnv = m_pEnvList.GetAt(0); |
| 338 if (pEnv) | 338 if (pEnv) |
| 339 pAdapter = new CXFA_FWLAdapterTimerMgr(pEnv); | 339 pAdapter = new CXFA_FWLAdapterTimerMgr(pEnv); |
| 340 return pAdapter; | 340 return pAdapter; |
| 341 } | 341 } |
| OLD | NEW |