OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 |
| 7 #include "xfa/fxfa/app/cxfa_ffimageeditdelegate.h" |
| 8 |
| 9 CXFA_FFImageEditDelegate::CXFA_FFImageEditDelegate( |
| 10 std::unique_ptr<IFWL_WidgetDelegate> pDelegate, |
| 11 CXFA_FFImageEdit* const pWidget) |
| 12 : CXFA_FFFieldDelegate(std::move(pDelegate), pWidget) {} |
| 13 |
| 14 CXFA_FFImageEditDelegate::~CXFA_FFImageEditDelegate() {} |
| 15 |
| 16 void CXFA_FFImageEditDelegate::OnProcessMessage(CFWL_Message* pMessage) { |
| 17 m_pDelegate->OnProcessMessage(pMessage); |
| 18 } |
| 19 |
| 20 void CXFA_FFImageEditDelegate::OnProcessEvent(CFWL_Event* pEvent) { |
| 21 CXFA_FFFieldDelegate::OnProcessEvent(pEvent); |
| 22 m_pDelegate->OnProcessEvent(pEvent); |
| 23 } |
| 24 |
| 25 void CXFA_FFImageEditDelegate::OnDrawWidget(CFX_Graphics* pGraphics, |
| 26 const CFX_Matrix* pMatrix) { |
| 27 m_pDelegate->OnDrawWidget(pGraphics, pMatrix); |
| 28 } |
OLD | NEW |