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/xfa_ffapp.h" | 7 #include "xfa/fxfa/xfa_ffapp.h" |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <memory> | 10 #include <memory> |
11 #include <utility> | 11 #include <utility> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "xfa/fgas/font/cfgas_fontmgr.h" | 14 #include "xfa/fgas/font/cfgas_fontmgr.h" |
15 #include "xfa/fwl/core/cfwl_notedriver.h" | 15 #include "xfa/fwl/cfwl_notedriver.h" |
16 #include "xfa/fwl/core/cfwl_widgetmgr.h" | 16 #include "xfa/fwl/cfwl_widgetmgr.h" |
17 #include "xfa/fxfa/app/xfa_fwladapter.h" | 17 #include "xfa/fxfa/app/xfa_fwladapter.h" |
18 #include "xfa/fxfa/app/xfa_fwltheme.h" | 18 #include "xfa/fxfa/app/xfa_fwltheme.h" |
19 #include "xfa/fxfa/xfa_ffdoc.h" | 19 #include "xfa/fxfa/xfa_ffdoc.h" |
20 #include "xfa/fxfa/xfa_ffdochandler.h" | 20 #include "xfa/fxfa/xfa_ffdochandler.h" |
21 #include "xfa/fxfa/xfa_ffwidgethandler.h" | 21 #include "xfa/fxfa/xfa_ffwidgethandler.h" |
22 #include "xfa/fxfa/xfa_fontmgr.h" | 22 #include "xfa/fxfa/xfa_fontmgr.h" |
23 | 23 |
24 namespace { | 24 namespace { |
25 | 25 |
26 class CXFA_FileRead : public IFX_SeekableReadStream { | 26 class CXFA_FileRead : public IFX_SeekableReadStream { |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 return m_pAdapterWidgetMgr.get(); | 158 return m_pAdapterWidgetMgr.get(); |
159 } | 159 } |
160 | 160 |
161 IFWL_AdapterTimerMgr* CXFA_FFApp::GetTimerMgr() const { | 161 IFWL_AdapterTimerMgr* CXFA_FFApp::GetTimerMgr() const { |
162 return m_pProvider->GetTimerMgr(); | 162 return m_pProvider->GetTimerMgr(); |
163 } | 163 } |
164 | 164 |
165 void CXFA_FFApp::ClearEventTargets() { | 165 void CXFA_FFApp::ClearEventTargets() { |
166 m_pFWLApp->GetNoteDriver()->ClearEventTargets(false); | 166 m_pFWLApp->GetNoteDriver()->ClearEventTargets(false); |
167 } | 167 } |
OLD | NEW |