| 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 #ifndef XFA_FWL_CORE_FWL_FORMIMP_H_ | 7 #ifndef XFA_FWL_CORE_FWL_FORMIMP_H_ | 
| 8 #define XFA_FWL_CORE_FWL_FORMIMP_H_ | 8 #define XFA_FWL_CORE_FWL_FORMIMP_H_ | 
| 9 | 9 | 
| 10 #include "xfa/fwl/core/fwl_widgetimp.h" | 10 #include "xfa/fwl/core/fwl_widgetimp.h" | 
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 71   virtual ~CFWL_FormImp(); | 71   virtual ~CFWL_FormImp(); | 
| 72   virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const; | 72   virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const; | 
| 73   virtual uint32_t GetClassID() const; | 73   virtual uint32_t GetClassID() const; | 
| 74   virtual FX_BOOL IsInstance(const CFX_WideStringC& wsClass) const; | 74   virtual FX_BOOL IsInstance(const CFX_WideStringC& wsClass) const; | 
| 75   virtual FWL_ERR Initialize(); | 75   virtual FWL_ERR Initialize(); | 
| 76   virtual FWL_ERR Finalize(); | 76   virtual FWL_ERR Finalize(); | 
| 77 | 77 | 
| 78   virtual FWL_ERR GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE); | 78   virtual FWL_ERR GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE); | 
| 79   virtual FWL_ERR GetClientRect(CFX_RectF& rect); | 79   virtual FWL_ERR GetClientRect(CFX_RectF& rect); | 
| 80   virtual FWL_ERR Update(); | 80   virtual FWL_ERR Update(); | 
| 81   virtual uint32_t HitTest(FX_FLOAT fx, FX_FLOAT fy); | 81   virtual FWL_WidgetHit HitTest(FX_FLOAT fx, FX_FLOAT fy); | 
| 82   virtual FWL_ERR DrawWidget(CFX_Graphics* pGraphics, | 82   virtual FWL_ERR DrawWidget(CFX_Graphics* pGraphics, | 
| 83                              const CFX_Matrix* pMatrix = NULL); | 83                              const CFX_Matrix* pMatrix = NULL); | 
| 84   virtual FWL_FORMSIZE GetFormSize(); | 84   virtual FWL_FORMSIZE GetFormSize(); | 
| 85   virtual FWL_ERR SetFormSize(FWL_FORMSIZE eFormSize); | 85   virtual FWL_ERR SetFormSize(FWL_FORMSIZE eFormSize); | 
| 86   virtual IFWL_Widget* DoModal(); | 86   virtual IFWL_Widget* DoModal(); | 
| 87   virtual IFWL_Widget* DoModal(uint32_t& dwCommandID); | 87   virtual IFWL_Widget* DoModal(uint32_t& dwCommandID); | 
| 88   virtual FWL_ERR EndDoModal(); | 88   virtual FWL_ERR EndDoModal(); | 
| 89   virtual FWL_ERR SetBorderRegion(CFX_Path* pPath); | 89   virtual FWL_ERR SetBorderRegion(CFX_Path* pPath); | 
| 90   virtual void DrawBackground(CFX_Graphics* pGraphics, | 90   virtual void DrawBackground(CFX_Graphics* pGraphics, | 
| 91                               IFWL_ThemeProvider* pTheme); | 91                               IFWL_ThemeProvider* pTheme); | 
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 179   void OnMouseMove(CFWL_MsgMouse* pMsg); | 179   void OnMouseMove(CFWL_MsgMouse* pMsg); | 
| 180   void OnMouseHover(CFWL_MsgMouse* pMsg); | 180   void OnMouseHover(CFWL_MsgMouse* pMsg); | 
| 181   void OnMouseLeave(CFWL_MsgMouse* pMsg); | 181   void OnMouseLeave(CFWL_MsgMouse* pMsg); | 
| 182   void OnLButtonDblClk(CFWL_MsgMouse* pMsg); | 182   void OnLButtonDblClk(CFWL_MsgMouse* pMsg); | 
| 183   void OnWindowMove(CFWL_MsgWindowMove* pMsg); | 183   void OnWindowMove(CFWL_MsgWindowMove* pMsg); | 
| 184   void OnClose(CFWL_MsgClose* pMsg); | 184   void OnClose(CFWL_MsgClose* pMsg); | 
| 185   CFWL_FormImp* m_pOwner; | 185   CFWL_FormImp* m_pOwner; | 
| 186 }; | 186 }; | 
| 187 | 187 | 
| 188 #endif  // XFA_FWL_CORE_FWL_FORMIMP_H_ | 188 #endif  // XFA_FWL_CORE_FWL_FORMIMP_H_ | 
| OLD | NEW | 
|---|