| 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" |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 FX_FLOAT& b) { | 144 FX_FLOAT& b) { |
| 145 return FWL_ERR_Succeeded; | 145 return FWL_ERR_Succeeded; |
| 146 } | 146 } |
| 147 FX_BOOL CFWL_SDAdapterWidgetMgr::GetPopupPos(IFWL_Widget* pWidget, | 147 FX_BOOL CFWL_SDAdapterWidgetMgr::GetPopupPos(IFWL_Widget* pWidget, |
| 148 FX_FLOAT fMinHeight, | 148 FX_FLOAT fMinHeight, |
| 149 FX_FLOAT fMaxHeight, | 149 FX_FLOAT fMaxHeight, |
| 150 const CFX_RectF& rtAnchor, | 150 const CFX_RectF& rtAnchor, |
| 151 CFX_RectF& rtPopup) { | 151 CFX_RectF& rtPopup) { |
| 152 return FWL_ERR_Succeeded; | 152 return FWL_ERR_Succeeded; |
| 153 } | 153 } |
| 154 |
| 154 CFWL_SDAdapterThreadMgr::CFWL_SDAdapterThreadMgr() {} | 155 CFWL_SDAdapterThreadMgr::CFWL_SDAdapterThreadMgr() {} |
| 156 |
| 155 CFWL_SDAdapterThreadMgr::~CFWL_SDAdapterThreadMgr() {} | 157 CFWL_SDAdapterThreadMgr::~CFWL_SDAdapterThreadMgr() {} |
| 156 FWL_ERR CFWL_SDAdapterThreadMgr::Start(IFWL_Thread* pThread, | 158 |
| 157 FWL_HTHREAD& hThread, | |
| 158 FX_BOOL bSuspended) { | |
| 159 return FWL_ERR_Succeeded; | |
| 160 } | |
| 161 FWL_ERR CFWL_SDAdapterThreadMgr::Resume(FWL_HTHREAD hThread) { | |
| 162 return FWL_ERR_Succeeded; | |
| 163 } | |
| 164 FWL_ERR CFWL_SDAdapterThreadMgr::Suspend(FWL_HTHREAD hThread) { | |
| 165 return FWL_ERR_Succeeded; | |
| 166 } | |
| 167 FWL_ERR CFWL_SDAdapterThreadMgr::Kill(FWL_HTHREAD hThread, int32_t iExitCode) { | |
| 168 return FWL_ERR_Succeeded; | |
| 169 } | |
| 170 FWL_ERR CFWL_SDAdapterThreadMgr::Stop(FWL_HTHREAD hThread, int32_t iExitCode) { | |
| 171 return FWL_ERR_Succeeded; | |
| 172 } | |
| 173 IFWL_Thread* CFWL_SDAdapterThreadMgr::GetCurrentThread() { | 159 IFWL_Thread* CFWL_SDAdapterThreadMgr::GetCurrentThread() { |
| 174 return FWL_GetApp(); | 160 return FWL_GetApp(); |
| 175 } | 161 } |
| OLD | NEW |