| 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_CPDFSDK_PAGEVIEW_H_ | 7 #ifndef FPDFSDK_CPDFSDK_PAGEVIEW_H_ | 
| 8 #define FPDFSDK_CPDFSDK_PAGEVIEW_H_ | 8 #define FPDFSDK_CPDFSDK_PAGEVIEW_H_ | 
| 9 | 9 | 
| 10 #include <memory> | 10 #include <memory> | 
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 51 #ifdef PDF_ENABLE_XFA | 51 #ifdef PDF_ENABLE_XFA | 
| 52   FX_BOOL DeleteAnnot(CPDFSDK_Annot* pAnnot); | 52   FX_BOOL DeleteAnnot(CPDFSDK_Annot* pAnnot); | 
| 53   CPDFSDK_Annot* AddAnnot(CXFA_FFWidget* pPDFAnnot); | 53   CPDFSDK_Annot* AddAnnot(CXFA_FFWidget* pPDFAnnot); | 
| 54   CPDFSDK_Annot* GetAnnotByXFAWidget(CXFA_FFWidget* hWidget); | 54   CPDFSDK_Annot* GetAnnotByXFAWidget(CXFA_FFWidget* hWidget); | 
| 55 | 55 | 
| 56   CPDFXFA_Page* GetPDFXFAPage() { return m_page; } | 56   CPDFXFA_Page* GetPDFXFAPage() { return m_page; } | 
| 57 #endif  // PDF_ENABLE_XFA | 57 #endif  // PDF_ENABLE_XFA | 
| 58 | 58 | 
| 59   CPDF_Page* GetPDFPage() const; | 59   CPDF_Page* GetPDFPage() const; | 
| 60   CPDF_Document* GetPDFDocument(); | 60   CPDF_Document* GetPDFDocument(); | 
| 61   CPDFSDK_Document* GetSDKDocument() { return m_pSDKDoc; } | 61   CPDFSDK_FormFillEnvironment* GetFormFillEnv() { return m_pSDKDoc->GetEnv(); } | 
|  | 62 | 
| 62   FX_BOOL OnLButtonDown(const CFX_FloatPoint& point, uint32_t nFlag); | 63   FX_BOOL OnLButtonDown(const CFX_FloatPoint& point, uint32_t nFlag); | 
| 63   FX_BOOL OnLButtonUp(const CFX_FloatPoint& point, uint32_t nFlag); | 64   FX_BOOL OnLButtonUp(const CFX_FloatPoint& point, uint32_t nFlag); | 
| 64 #ifdef PDF_ENABLE_XFA | 65 #ifdef PDF_ENABLE_XFA | 
| 65   FX_BOOL OnRButtonDown(const CFX_FloatPoint& point, uint32_t nFlag); | 66   FX_BOOL OnRButtonDown(const CFX_FloatPoint& point, uint32_t nFlag); | 
| 66   FX_BOOL OnRButtonUp(const CFX_FloatPoint& point, uint32_t nFlag); | 67   FX_BOOL OnRButtonUp(const CFX_FloatPoint& point, uint32_t nFlag); | 
| 67 #endif  // PDF_ENABLE_XFA | 68 #endif  // PDF_ENABLE_XFA | 
| 68   FX_BOOL OnChar(int nChar, uint32_t nFlag); | 69   FX_BOOL OnChar(int nChar, uint32_t nFlag); | 
| 69   FX_BOOL OnKeyDown(int nKeyCode, int nFlag); | 70   FX_BOOL OnKeyDown(int nKeyCode, int nFlag); | 
| 70   FX_BOOL OnKeyUp(int nKeyCode, int nFlag); | 71   FX_BOOL OnKeyUp(int nKeyCode, int nFlag); | 
| 71 | 72 | 
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 109 #endif  // PDF_ENABLE_XFA | 110 #endif  // PDF_ENABLE_XFA | 
| 110   FX_BOOL m_bEnterWidget; | 111   FX_BOOL m_bEnterWidget; | 
| 111   FX_BOOL m_bExitWidget; | 112   FX_BOOL m_bExitWidget; | 
| 112   FX_BOOL m_bOnWidget; | 113   FX_BOOL m_bOnWidget; | 
| 113   FX_BOOL m_bValid; | 114   FX_BOOL m_bValid; | 
| 114   FX_BOOL m_bLocked; | 115   FX_BOOL m_bLocked; | 
| 115   bool m_bBeingDestroyed; | 116   bool m_bBeingDestroyed; | 
| 116 }; | 117 }; | 
| 117 | 118 | 
| 118 #endif  // FPDFSDK_CPDFSDK_PAGEVIEW_H_ | 119 #endif  // FPDFSDK_CPDFSDK_PAGEVIEW_H_ | 
| OLD | NEW | 
|---|