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 #ifndef XFA_FXFA_APP_CXFA_FFIMAGEEDITDELEGATE_H_ |
| 8 #define XFA_FXFA_APP_CXFA_FFIMAGEEDITDELEGATE_H_ |
| 9 |
| 10 #include "core/fxcrt/fx_coordinates.h" |
| 11 #include "xfa/fwl/core/cfwl_event.h" |
| 12 #include "xfa/fwl/core/cfwl_message.h" |
| 13 #include "xfa/fxfa/app/cxfa_fffielddelegate.h" |
| 14 #include "xfa/fxfa/app/xfa_ffimageedit.h" |
| 15 #include "xfa/fxfa/xfa_ffwidget.h" |
| 16 #include "xfa/fxgraphics/cfx_graphics.h" |
| 17 |
| 18 class CXFA_FFImageEditDelegate : public CXFA_FFFieldDelegate { |
| 19 public: |
| 20 CXFA_FFImageEditDelegate(std::unique_ptr<IFWL_WidgetDelegate> pDelgate, |
| 21 CXFA_FFImageEdit* const pWidget); |
| 22 ~CXFA_FFImageEditDelegate() override; |
| 23 |
| 24 // CXFA_FFFieldDelegate |
| 25 void OnProcessMessage(CFWL_Message* pMessage) override; |
| 26 void OnProcessEvent(CFWL_Event* pEvent) override; |
| 27 void OnDrawWidget(CFX_Graphics* pGraphics, |
| 28 const CFX_Matrix* pMatrix) override; |
| 29 }; |
| 30 |
| 31 #endif // XFA_FXFA_APP_CXFA_FFIMAGEEDITDELEGATE_H_ |
OLD | NEW |