| 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/src/fwl/src/core/include/fwl_formimp.h" | 7 #include "xfa/src/fwl/src/core/include/fwl_formimp.h" |
| 8 | 8 |
| 9 #include "xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h" | 9 #include "xfa/include/fwl/adapter/fwl_adapterwidgetmgr.h" |
| 10 #include "xfa/include/fwl/core/fwl_app.h" | 10 #include "xfa/include/fwl/core/fwl_app.h" |
| 11 #include "xfa/include/fwl/core/fwl_content.h" | 11 #include "xfa/include/fwl/core/fwl_content.h" |
| 12 #include "xfa/include/fwl/core/fwl_theme.h" | 12 #include "xfa/include/fwl/core/fwl_theme.h" |
| 13 #include "xfa/src/fdp/include/fde_tto.h" |
| 13 #include "xfa/src/foxitlib.h" | 14 #include "xfa/src/foxitlib.h" |
| 14 #include "xfa/src/fwl/src/basewidget/include/fwl_formproxyimp.h" | 15 #include "xfa/src/fwl/src/basewidget/include/fwl_formproxyimp.h" |
| 15 #include "xfa/src/fwl/src/core/include/fwl_appimp.h" | 16 #include "xfa/src/fwl/src/core/include/fwl_appimp.h" |
| 16 #include "xfa/src/fwl/src/core/include/fwl_noteimp.h" | 17 #include "xfa/src/fwl/src/core/include/fwl_noteimp.h" |
| 17 #include "xfa/src/fwl/src/core/include/fwl_panelimp.h" | 18 #include "xfa/src/fwl/src/core/include/fwl_panelimp.h" |
| 18 #include "xfa/src/fwl/src/core/include/fwl_targetimp.h" | 19 #include "xfa/src/fwl/src/core/include/fwl_targetimp.h" |
| 19 #include "xfa/src/fwl/src/core/include/fwl_threadimp.h" | 20 #include "xfa/src/fwl/src/core/include/fwl_threadimp.h" |
| 20 #include "xfa/src/fwl/src/core/include/fwl_widgetimp.h" | 21 #include "xfa/src/fwl/src/core/include/fwl_widgetimp.h" |
| 21 #include "xfa/src/fwl/src/core/include/fwl_widgetmgrimp.h" | 22 #include "xfa/src/fwl/src/core/include/fwl_widgetmgrimp.h" |
| 22 | 23 |
| (...skipping 1145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1168 eClose.m_pSrcTarget = m_pOwner->m_pInterface; | 1169 eClose.m_pSrcTarget = m_pOwner->m_pInterface; |
| 1169 m_pOwner->DispatchEvent(&eClose); | 1170 m_pOwner->DispatchEvent(&eClose); |
| 1170 } | 1171 } |
| 1171 FWL_ERR FWL_Accelerator_SetForm(IFWL_Form* pFrom, | 1172 FWL_ERR FWL_Accelerator_SetForm(IFWL_Form* pFrom, |
| 1172 CFX_MapAccelerators* pMapAccel) { | 1173 CFX_MapAccelerators* pMapAccel) { |
| 1173 CFWL_FormImp* pImp = static_cast<CFWL_FormImp*>(pFrom->GetImpl()); | 1174 CFWL_FormImp* pImp = static_cast<CFWL_FormImp*>(pFrom->GetImpl()); |
| 1174 if (!pImp) | 1175 if (!pImp) |
| 1175 return FWL_ERR_Indefinite; | 1176 return FWL_ERR_Indefinite; |
| 1176 return FWL_ERR_Succeeded; | 1177 return FWL_ERR_Succeeded; |
| 1177 } | 1178 } |
| OLD | NEW |