| 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/include/fwl/lightwidget/widget.h" | 7 #include "xfa/include/fwl/lightwidget/widget.h" |
| 8 | 8 |
| 9 #include "xfa/include/fwl/core/fwl_theme.h" | 9 #include "xfa/include/fwl/core/fwl_theme.h" |
| 10 #include "xfa/include/fwl/core/fwl_thread.h" | 10 #include "xfa/include/fwl/core/fwl_thread.h" |
| 11 #include "xfa/src/fdp/include/fde_tto.h" | 11 #include "xfa/src/fdp/include/fde_tto.h" |
| 12 #include "xfa/src/foxitlib.h" | |
| 13 #include "xfa/src/fwl/src/core/include/fwl_noteimp.h" | 12 #include "xfa/src/fwl/src/core/include/fwl_noteimp.h" |
| 14 #include "xfa/src/fwl/src/core/include/fwl_noteimp.h" | 13 #include "xfa/src/fwl/src/core/include/fwl_noteimp.h" |
| 15 #include "xfa/src/fwl/src/core/include/fwl_targetimp.h" | 14 #include "xfa/src/fwl/src/core/include/fwl_targetimp.h" |
| 16 #include "xfa/src/fwl/src/core/include/fwl_widgetimp.h" | 15 #include "xfa/src/fwl/src/core/include/fwl_widgetimp.h" |
| 17 #include "xfa/src/fwl/src/core/include/fwl_widgetmgrimp.h" | 16 #include "xfa/src/fwl/src/core/include/fwl_widgetmgrimp.h" |
| 18 | 17 |
| 19 CFWL_WidgetImpProperties CFWL_WidgetProperties::MakeWidgetImpProperties( | 18 CFWL_WidgetImpProperties CFWL_WidgetProperties::MakeWidgetImpProperties( |
| 20 IFWL_DataProvider* pDataProvider) const { | 19 IFWL_DataProvider* pDataProvider) const { |
| 21 CFWL_WidgetImpProperties result; | 20 CFWL_WidgetImpProperties result; |
| 22 result.m_ctmOnParent = m_ctmOnParent; | 21 result.m_ctmOnParent = m_ctmOnParent; |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 int32_t CFWL_WidgetDelegate::OnProcessMessage(CFWL_Message* pMessage) { | 309 int32_t CFWL_WidgetDelegate::OnProcessMessage(CFWL_Message* pMessage) { |
| 311 return 1; | 310 return 1; |
| 312 } | 311 } |
| 313 FWL_ERR CFWL_WidgetDelegate::OnProcessEvent(CFWL_Event* pEvent) { | 312 FWL_ERR CFWL_WidgetDelegate::OnProcessEvent(CFWL_Event* pEvent) { |
| 314 return FWL_ERR_Succeeded; | 313 return FWL_ERR_Succeeded; |
| 315 } | 314 } |
| 316 FWL_ERR CFWL_WidgetDelegate::OnDrawWidget(CFX_Graphics* pGraphics, | 315 FWL_ERR CFWL_WidgetDelegate::OnDrawWidget(CFX_Graphics* pGraphics, |
| 317 const CFX_Matrix* pMatrix) { | 316 const CFX_Matrix* pMatrix) { |
| 318 return FWL_ERR_Succeeded; | 317 return FWL_ERR_Succeeded; |
| 319 } | 318 } |
| OLD | NEW |