| OLD | NEW |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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 FPDFSDK_INCLUDE_CPDFSDK_XFAWIDGETHANDLER_H_ | 7 #ifndef FPDFSDK_INCLUDE_CPDFSDK_XFAWIDGETHANDLER_H_ |
| 8 #define FPDFSDK_INCLUDE_CPDFSDK_XFAWIDGETHANDLER_H_ | 8 #define FPDFSDK_INCLUDE_CPDFSDK_XFAWIDGETHANDLER_H_ |
| 9 | 9 |
| 10 #include "core/fxcrt/include/fx_basic.h" | 10 #include "core/fxcrt/include/fx_basic.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 void DeleteAnnot(CPDFSDK_Annot* pAnnot) override; | 33 void DeleteAnnot(CPDFSDK_Annot* pAnnot) override; |
| 34 CFX_FloatRect GetViewBBox(CPDFSDK_PageView* pPageView, | 34 CFX_FloatRect GetViewBBox(CPDFSDK_PageView* pPageView, |
| 35 CPDFSDK_Annot* pAnnot) override; | 35 CPDFSDK_Annot* pAnnot) override; |
| 36 FX_BOOL HitTest(CPDFSDK_PageView* pPageView, | 36 FX_BOOL HitTest(CPDFSDK_PageView* pPageView, |
| 37 CPDFSDK_Annot* pAnnot, | 37 CPDFSDK_Annot* pAnnot, |
| 38 const CFX_FloatPoint& point) override; | 38 const CFX_FloatPoint& point) override; |
| 39 void OnDraw(CPDFSDK_PageView* pPageView, | 39 void OnDraw(CPDFSDK_PageView* pPageView, |
| 40 CPDFSDK_Annot* pAnnot, | 40 CPDFSDK_Annot* pAnnot, |
| 41 CFX_RenderDevice* pDevice, | 41 CFX_RenderDevice* pDevice, |
| 42 CFX_Matrix* pUser2Device) override; | 42 CFX_Matrix* pUser2Device) override; |
| 43 void OnDrawSleep(CPDFSDK_PageView* pPageView, | |
| 44 CPDFSDK_Annot* pAnnot, | |
| 45 CFX_RenderDevice* pDevice, | |
| 46 CFX_Matrix* pUser2Device, | |
| 47 const CFX_FloatRect& rcWindow, | |
| 48 uint32_t dwFlags) override; | |
| 49 void OnCreate(CPDFSDK_Annot* pAnnot) override; | 43 void OnCreate(CPDFSDK_Annot* pAnnot) override; |
| 50 void OnLoad(CPDFSDK_Annot* pAnnot) override; | 44 void OnLoad(CPDFSDK_Annot* pAnnot) override; |
| 51 void OnDelete(CPDFSDK_Annot* pAnnot) override; | 45 void OnDelete(CPDFSDK_Annot* pAnnot) override; |
| 52 void OnRelease(CPDFSDK_Annot* pAnnot) override; | 46 void OnRelease(CPDFSDK_Annot* pAnnot) override; |
| 53 void OnMouseEnter(CPDFSDK_PageView* pPageView, | 47 void OnMouseEnter(CPDFSDK_PageView* pPageView, |
| 54 CPDFSDK_Annot* pAnnot, | 48 CPDFSDK_Annot* pAnnot, |
| 55 uint32_t nFlag) override; | 49 uint32_t nFlag) override; |
| 56 void OnMouseExit(CPDFSDK_PageView* pPageView, | 50 void OnMouseExit(CPDFSDK_PageView* pPageView, |
| 57 CPDFSDK_Annot* pAnnot, | 51 CPDFSDK_Annot* pAnnot, |
| 58 uint32_t nFlag) override; | 52 uint32_t nFlag) override; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 CPDFSDK_Annot* pNewAnnot) override; | 96 CPDFSDK_Annot* pNewAnnot) override; |
| 103 | 97 |
| 104 private: | 98 private: |
| 105 CXFA_FFWidgetHandler* GetXFAWidgetHandler(CPDFSDK_Annot* pAnnot); | 99 CXFA_FFWidgetHandler* GetXFAWidgetHandler(CPDFSDK_Annot* pAnnot); |
| 106 uint32_t GetFWLFlags(uint32_t dwFlag); | 100 uint32_t GetFWLFlags(uint32_t dwFlag); |
| 107 | 101 |
| 108 CPDFDoc_Environment* m_pApp; | 102 CPDFDoc_Environment* m_pApp; |
| 109 }; | 103 }; |
| 110 | 104 |
| 111 #endif // FPDFSDK_INCLUDE_CPDFSDK_XFAWIDGETHANDLER_H_ | 105 #endif // FPDFSDK_INCLUDE_CPDFSDK_XFAWIDGETHANDLER_H_ |
| OLD | NEW |