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/core/cfwl_widgetmgr.h" | 16 #include "xfa/fwl/core/cfwl_widgetmgr.h" |
16 #include "xfa/fwl/core/fwl_noteimp.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 CXFA_FileRead::CXFA_FileRead(const std::vector<CPDF_Stream*>& streams) { | 24 CXFA_FileRead::CXFA_FileRead(const std::vector<CPDF_Stream*>& streams) { |
25 for (CPDF_Stream* pStream : streams) { | 25 for (CPDF_Stream* pStream : streams) { |
26 CPDF_StreamAcc& acc = m_Data.Add(); | 26 CPDF_StreamAcc& acc = m_Data.Add(); |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 return m_pAdapterWidgetMgr.get(); | 142 return m_pAdapterWidgetMgr.get(); |
143 } | 143 } |
144 | 144 |
145 IFWL_AdapterTimerMgr* CXFA_FFApp::GetTimerMgr() const { | 145 IFWL_AdapterTimerMgr* CXFA_FFApp::GetTimerMgr() const { |
146 return m_pProvider->GetTimerMgr(); | 146 return m_pProvider->GetTimerMgr(); |
147 } | 147 } |
148 | 148 |
149 void CXFA_FFApp::ClearEventTargets() { | 149 void CXFA_FFApp::ClearEventTargets() { |
150 m_pFWLApp->GetNoteDriver()->ClearEventTargets(false); | 150 m_pFWLApp->GetNoteDriver()->ClearEventTargets(false); |
151 } | 151 } |
OLD | NEW |