| 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_ANNOTHANDLERMGR_H_ | 7 #ifndef FPDFSDK_INCLUDE_CPDFSDK_ANNOTHANDLERMGR_H_ |
| 8 #define FPDFSDK_INCLUDE_CPDFSDK_ANNOTHANDLERMGR_H_ | 8 #define FPDFSDK_INCLUDE_CPDFSDK_ANNOTHANDLERMGR_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 #endif // PDF_ENABLE_XFA | 41 #endif // PDF_ENABLE_XFA |
| 42 virtual void ReleaseAnnot(CPDFSDK_Annot* pAnnot); | 42 virtual void ReleaseAnnot(CPDFSDK_Annot* pAnnot); |
| 43 | 43 |
| 44 virtual void Annot_OnCreate(CPDFSDK_Annot* pAnnot); | 44 virtual void Annot_OnCreate(CPDFSDK_Annot* pAnnot); |
| 45 virtual void Annot_OnLoad(CPDFSDK_Annot* pAnnot); | 45 virtual void Annot_OnLoad(CPDFSDK_Annot* pAnnot); |
| 46 | 46 |
| 47 IPDFSDK_AnnotHandler* GetAnnotHandler(CPDFSDK_Annot* pAnnot) const; | 47 IPDFSDK_AnnotHandler* GetAnnotHandler(CPDFSDK_Annot* pAnnot) const; |
| 48 virtual void Annot_OnDraw(CPDFSDK_PageView* pPageView, | 48 virtual void Annot_OnDraw(CPDFSDK_PageView* pPageView, |
| 49 CPDFSDK_Annot* pAnnot, | 49 CPDFSDK_Annot* pAnnot, |
| 50 CFX_RenderDevice* pDevice, | 50 CFX_RenderDevice* pDevice, |
| 51 CFX_Matrix* pUser2Device, | 51 CFX_Matrix* pUser2Device); |
| 52 uint32_t dwFlags); | |
| 53 | 52 |
| 54 virtual void Annot_OnMouseEnter(CPDFSDK_PageView* pPageView, | 53 virtual void Annot_OnMouseEnter(CPDFSDK_PageView* pPageView, |
| 55 CPDFSDK_Annot* pAnnot, | 54 CPDFSDK_Annot* pAnnot, |
| 56 uint32_t nFlags); | 55 uint32_t nFlags); |
| 57 virtual void Annot_OnMouseExit(CPDFSDK_PageView* pPageView, | 56 virtual void Annot_OnMouseExit(CPDFSDK_PageView* pPageView, |
| 58 CPDFSDK_Annot* pAnnot, | 57 CPDFSDK_Annot* pAnnot, |
| 59 uint32_t nFlags); | 58 uint32_t nFlags); |
| 60 virtual FX_BOOL Annot_OnLButtonDown(CPDFSDK_PageView* pPageView, | 59 virtual FX_BOOL Annot_OnLButtonDown(CPDFSDK_PageView* pPageView, |
| 61 CPDFSDK_Annot* pAnnot, | 60 CPDFSDK_Annot* pAnnot, |
| 62 uint32_t nFlags, | 61 uint32_t nFlags, |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 std::unique_ptr<CPDFSDK_BAAnnotHandler> m_pBAAnnotHandler; | 114 std::unique_ptr<CPDFSDK_BAAnnotHandler> m_pBAAnnotHandler; |
| 116 std::unique_ptr<CPDFSDK_WidgetHandler> m_pWidgetHandler; | 115 std::unique_ptr<CPDFSDK_WidgetHandler> m_pWidgetHandler; |
| 117 #ifdef PDF_ENABLE_XFA | 116 #ifdef PDF_ENABLE_XFA |
| 118 std::unique_ptr<CPDFSDK_XFAWidgetHandler> m_pXFAWidgetHandler; | 117 std::unique_ptr<CPDFSDK_XFAWidgetHandler> m_pXFAWidgetHandler; |
| 119 #endif // PDF_ENABLE_XFA | 118 #endif // PDF_ENABLE_XFA |
| 120 | 119 |
| 121 CPDFDoc_Environment* m_pApp; | 120 CPDFDoc_Environment* m_pApp; |
| 122 }; | 121 }; |
| 123 | 122 |
| 124 #endif // FPDFSDK_INCLUDE_CPDFSDK_ANNOTHANDLERMGR_H_ | 123 #endif // FPDFSDK_INCLUDE_CPDFSDK_ANNOTHANDLERMGR_H_ |
| OLD | NEW |