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/fwl/core/fwl_sdadapterimp.h" | 7 #include "xfa/fwl/core/fwl_sdadapterimp.h" |
8 | 8 |
9 #include "core/fxcrt/include/fx_system.h" | 9 #include "core/fxcrt/include/fx_system.h" |
10 #include "xfa/fwl/core/fwl_noteimp.h" | 10 #include "xfa/fwl/core/fwl_noteimp.h" |
11 #include "xfa/fwl/core/fwl_targetimp.h" | |
12 #include "xfa/fwl/core/fwl_threadimp.h" | |
13 #include "xfa/fwl/core/fwl_widgetmgrimp.h" | 11 #include "xfa/fwl/core/fwl_widgetmgrimp.h" |
14 #include "xfa/fwl/core/ifwl_adapterthreadmgr.h" | 12 #include "xfa/fwl/core/ifwl_adapterthreadmgr.h" |
15 #include "xfa/fwl/core/ifwl_adapterwidgetmgr.h" | 13 #include "xfa/fwl/core/ifwl_adapterwidgetmgr.h" |
16 #include "xfa/fwl/core/ifwl_app.h" | 14 #include "xfa/fwl/core/ifwl_app.h" |
17 | 15 |
18 CFWL_SDAdapterWidgetMgr::CFWL_SDAdapterWidgetMgr() {} | 16 CFWL_SDAdapterWidgetMgr::CFWL_SDAdapterWidgetMgr() {} |
19 CFWL_SDAdapterWidgetMgr::~CFWL_SDAdapterWidgetMgr() {} | 17 CFWL_SDAdapterWidgetMgr::~CFWL_SDAdapterWidgetMgr() {} |
20 | 18 |
21 FWL_ERR CFWL_SDAdapterWidgetMgr::CreateWidget(IFWL_Widget* pWidget, | 19 FWL_ERR CFWL_SDAdapterWidgetMgr::CreateWidget(IFWL_Widget* pWidget, |
22 IFWL_Widget* pParent) { | 20 IFWL_Widget* pParent) { |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 FX_FLOAT fMaxHeight, | 139 FX_FLOAT fMaxHeight, |
142 const CFX_RectF& rtAnchor, | 140 const CFX_RectF& rtAnchor, |
143 CFX_RectF& rtPopup) { | 141 CFX_RectF& rtPopup) { |
144 return FWL_ERR_Succeeded; | 142 return FWL_ERR_Succeeded; |
145 } | 143 } |
146 | 144 |
147 CFWL_SDAdapterThreadMgr::CFWL_SDAdapterThreadMgr() {} | 145 CFWL_SDAdapterThreadMgr::CFWL_SDAdapterThreadMgr() {} |
148 | 146 |
149 CFWL_SDAdapterThreadMgr::~CFWL_SDAdapterThreadMgr() {} | 147 CFWL_SDAdapterThreadMgr::~CFWL_SDAdapterThreadMgr() {} |
150 | 148 |
151 IFWL_Thread* CFWL_SDAdapterThreadMgr::GetCurrentThread() { | 149 IFWL_App* CFWL_SDAdapterThreadMgr::GetCurrentThread() { |
152 return FWL_GetApp(); | 150 return FWL_GetApp(); |
153 } | 151 } |
OLD | NEW |