| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 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_SRC_FWL_BASEWIDGET_FWL_FORMPROXYIMP_H_ | |
| 8 #define XFA_SRC_FWL_BASEWIDGET_FWL_FORMPROXYIMP_H_ | |
| 9 | |
| 10 #include "xfa/src/fwl/core/fwl_formimp.h" | |
| 11 #include "xfa/src/fwl/core/fwl_widgetimp.h" | |
| 12 | |
| 13 class CFWL_WidgetImpProperties; | |
| 14 class CFWL_FormProxyImpDelegate; | |
| 15 | |
| 16 class CFWL_FormProxyImp : public CFWL_FormImp { | |
| 17 public: | |
| 18 CFWL_FormProxyImp(const CFWL_WidgetImpProperties& properties, | |
| 19 IFWL_Widget* pOuter); | |
| 20 ~CFWL_FormProxyImp(); | |
| 21 virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const; | |
| 22 virtual FX_DWORD GetClassID() const; | |
| 23 virtual FX_BOOL IsInstance(const CFX_WideStringC& wsClass) const; | |
| 24 virtual FWL_ERR Initialize(); | |
| 25 virtual FWL_ERR Finalize(); | |
| 26 virtual FWL_ERR Update(); | |
| 27 virtual FWL_ERR DrawWidget(CFX_Graphics* pGraphics, | |
| 28 const CFX_Matrix* pMatrix = NULL); | |
| 29 | |
| 30 protected: | |
| 31 friend class CFWL_FormProxyImpDelegate; | |
| 32 }; | |
| 33 class CFWL_FormProxyImpDelegate : public CFWL_WidgetImpDelegate { | |
| 34 public: | |
| 35 CFWL_FormProxyImpDelegate(CFWL_FormProxyImp* pOwner); | |
| 36 int32_t OnProcessMessage(CFWL_Message* pMessage) override; | |
| 37 | |
| 38 protected: | |
| 39 CFWL_FormProxyImp* m_pOwner; | |
| 40 }; | |
| 41 | |
| 42 #endif // XFA_SRC_FWL_BASEWIDGET_FWL_FORMPROXYIMP_H_ | |
| OLD | NEW |