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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 } | 120 } |
121 FWL_ERR CFWL_SDAdapterWidgetMgr::InitMenu(IFWL_Menu* pMenu, | 121 FWL_ERR CFWL_SDAdapterWidgetMgr::InitMenu(IFWL_Menu* pMenu, |
122 IFWL_MenuDP* pMenuData) { | 122 IFWL_MenuDP* pMenuData) { |
123 return FWL_ERR_Succeeded; | 123 return FWL_ERR_Succeeded; |
124 } | 124 } |
125 FWL_ERR CFWL_SDAdapterWidgetMgr::UpdateMenu(IFWL_Menu* pMenu, | 125 FWL_ERR CFWL_SDAdapterWidgetMgr::UpdateMenu(IFWL_Menu* pMenu, |
126 const void* hItem, | 126 const void* hItem, |
127 int32_t iType) { | 127 int32_t iType) { |
128 return FWL_ERR_Succeeded; | 128 return FWL_ERR_Succeeded; |
129 } | 129 } |
130 int32_t CFWL_SDAdapterWidgetMgr::TrackPopupMenu(IFWL_Menu* pMenu, | |
131 IFWL_MenuDP* pMenuData) { | |
132 return 0; | |
133 } | |
134 FWL_ERR CFWL_SDAdapterWidgetMgr::SetMessageHook(IFWL_AdapterMessageHook* hook) { | 130 FWL_ERR CFWL_SDAdapterWidgetMgr::SetMessageHook(IFWL_AdapterMessageHook* hook) { |
135 return FWL_ERR_Succeeded; | 131 return FWL_ERR_Succeeded; |
136 } | 132 } |
137 FWL_ERR CFWL_SDAdapterWidgetMgr::GetSystemBorder(FX_FLOAT& l, | 133 FWL_ERR CFWL_SDAdapterWidgetMgr::GetSystemBorder(FX_FLOAT& l, |
138 FX_FLOAT& t, | 134 FX_FLOAT& t, |
139 FX_FLOAT& r, | 135 FX_FLOAT& r, |
140 FX_FLOAT& b) { | 136 FX_FLOAT& b) { |
141 return FWL_ERR_Succeeded; | 137 return FWL_ERR_Succeeded; |
142 } | 138 } |
143 FX_BOOL CFWL_SDAdapterWidgetMgr::GetPopupPos(IFWL_Widget* pWidget, | 139 FX_BOOL CFWL_SDAdapterWidgetMgr::GetPopupPos(IFWL_Widget* pWidget, |
144 FX_FLOAT fMinHeight, | 140 FX_FLOAT fMinHeight, |
145 FX_FLOAT fMaxHeight, | 141 FX_FLOAT fMaxHeight, |
146 const CFX_RectF& rtAnchor, | 142 const CFX_RectF& rtAnchor, |
147 CFX_RectF& rtPopup) { | 143 CFX_RectF& rtPopup) { |
148 return FWL_ERR_Succeeded; | 144 return FWL_ERR_Succeeded; |
149 } | 145 } |
150 | 146 |
151 CFWL_SDAdapterThreadMgr::CFWL_SDAdapterThreadMgr() {} | 147 CFWL_SDAdapterThreadMgr::CFWL_SDAdapterThreadMgr() {} |
152 | 148 |
153 CFWL_SDAdapterThreadMgr::~CFWL_SDAdapterThreadMgr() {} | 149 CFWL_SDAdapterThreadMgr::~CFWL_SDAdapterThreadMgr() {} |
154 | 150 |
155 IFWL_Thread* CFWL_SDAdapterThreadMgr::GetCurrentThread() { | 151 IFWL_Thread* CFWL_SDAdapterThreadMgr::GetCurrentThread() { |
156 return FWL_GetApp(); | 152 return FWL_GetApp(); |
157 } | 153 } |
OLD | NEW |