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/ifwl_formproxy.h" | 7 #include "xfa/fwl/core/ifwl_formproxy.h" |
8 | 8 |
9 #include "third_party/base/ptr_util.h" | 9 #include "third_party/base/ptr_util.h" |
10 #include "xfa/fwl/core/fwl_noteimp.h" | 10 #include "xfa/fwl/core/fwl_noteimp.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 | 35 |
36 FWL_Error IFWL_FormProxy::DrawWidget(CFX_Graphics* pGraphics, | 36 FWL_Error IFWL_FormProxy::DrawWidget(CFX_Graphics* pGraphics, |
37 const CFX_Matrix* pMatrix) { | 37 const CFX_Matrix* pMatrix) { |
38 return FWL_Error::Succeeded; | 38 return FWL_Error::Succeeded; |
39 } | 39 } |
40 | 40 |
41 CFWL_FormProxyImpDelegate::CFWL_FormProxyImpDelegate(IFWL_FormProxy* pOwner) | 41 CFWL_FormProxyImpDelegate::CFWL_FormProxyImpDelegate(IFWL_FormProxy* pOwner) |
42 : m_pOwner(pOwner) {} | 42 : m_pOwner(pOwner) {} |
43 | 43 |
44 void CFWL_FormProxyImpDelegate::OnProcessMessage(CFWL_Message* pMessage) { | 44 void CFWL_FormProxyImpDelegate::OnProcessMessage(CFWL_Message* pMessage) { |
45 m_pOwner->m_pOuter->GetCurrentDelegate()->OnProcessMessage(pMessage); | 45 m_pOwner->m_pOuter->GetDelegate()->OnProcessMessage(pMessage); |
46 } | 46 } |
OLD | NEW |