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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 return FWL_ERR_Succeeded; | 82 return FWL_ERR_Succeeded; |
83 } | 83 } |
84 FWL_ERR CFWL_SDAdapterWidgetMgr::SetBorderRegion(IFWL_Widget* pWidget, | 84 FWL_ERR CFWL_SDAdapterWidgetMgr::SetBorderRegion(IFWL_Widget* pWidget, |
85 CFX_Path* pPath) { | 85 CFX_Path* pPath) { |
86 return FWL_ERR_Succeeded; | 86 return FWL_ERR_Succeeded; |
87 } | 87 } |
88 FWL_ERR CFWL_SDAdapterWidgetMgr::SetTransparent(IFWL_Widget* pWidget, | 88 FWL_ERR CFWL_SDAdapterWidgetMgr::SetTransparent(IFWL_Widget* pWidget, |
89 uint32_t dwAlpha) { | 89 uint32_t dwAlpha) { |
90 return FWL_ERR_Succeeded; | 90 return FWL_ERR_Succeeded; |
91 } | 91 } |
92 FWL_ERR CFWL_SDAdapterWidgetMgr::SetFullScreen(IFWL_Widget* pWidget, | |
93 FX_BOOL bFullScreen) { | |
94 return FWL_ERR_Succeeded; | |
95 } | |
96 FX_BOOL CFWL_SDAdapterWidgetMgr::CheckMessage() { | 92 FX_BOOL CFWL_SDAdapterWidgetMgr::CheckMessage() { |
97 return TRUE; | 93 return TRUE; |
98 } | 94 } |
99 FX_BOOL CFWL_SDAdapterWidgetMgr::IsIdleMessage() { | 95 FX_BOOL CFWL_SDAdapterWidgetMgr::IsIdleMessage() { |
100 return TRUE; | 96 return TRUE; |
101 } | 97 } |
102 FWL_ERR CFWL_SDAdapterWidgetMgr::DispatchMessage() { | 98 FWL_ERR CFWL_SDAdapterWidgetMgr::DispatchMessage() { |
103 return FWL_ERR_Succeeded; | 99 return FWL_ERR_Succeeded; |
104 } | 100 } |
105 FWL_ERR CFWL_SDAdapterWidgetMgr::GetWidgetDC(IFWL_Widget* pWidget, void*& pDC) { | 101 FWL_ERR CFWL_SDAdapterWidgetMgr::GetWidgetDC(IFWL_Widget* pWidget, void*& pDC) { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 return FWL_ERR_Succeeded; | 148 return FWL_ERR_Succeeded; |
153 } | 149 } |
154 | 150 |
155 CFWL_SDAdapterThreadMgr::CFWL_SDAdapterThreadMgr() {} | 151 CFWL_SDAdapterThreadMgr::CFWL_SDAdapterThreadMgr() {} |
156 | 152 |
157 CFWL_SDAdapterThreadMgr::~CFWL_SDAdapterThreadMgr() {} | 153 CFWL_SDAdapterThreadMgr::~CFWL_SDAdapterThreadMgr() {} |
158 | 154 |
159 IFWL_Thread* CFWL_SDAdapterThreadMgr::GetCurrentThread() { | 155 IFWL_Thread* CFWL_SDAdapterThreadMgr::GetCurrentThread() { |
160 return FWL_GetApp(); | 156 return FWL_GetApp(); |
161 } | 157 } |
OLD | NEW |