| 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 FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ | 7 #ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ |
| 8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ | 8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ |
| 9 | 9 |
| 10 #include "FFL_IFormFiller.h" | 10 #include "FFL_IFormFiller.h" |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 virtual FX_BOOL OnRButtonUp(CPDFSDK_PageView* pPageView, | 69 virtual FX_BOOL OnRButtonUp(CPDFSDK_PageView* pPageView, |
| 70 CPDFSDK_Annot* pAnnot, | 70 CPDFSDK_Annot* pAnnot, |
| 71 FX_UINT nFlags, | 71 FX_UINT nFlags, |
| 72 const CPDF_Point& point); | 72 const CPDF_Point& point); |
| 73 | 73 |
| 74 virtual FX_BOOL OnKeyDown(CPDFSDK_Annot* pAnnot, | 74 virtual FX_BOOL OnKeyDown(CPDFSDK_Annot* pAnnot, |
| 75 FX_UINT nKeyCode, | 75 FX_UINT nKeyCode, |
| 76 FX_UINT nFlags); | 76 FX_UINT nFlags); |
| 77 virtual FX_BOOL OnChar(CPDFSDK_Annot* pAnnot, FX_UINT nChar, FX_UINT nFlags); | 77 virtual FX_BOOL OnChar(CPDFSDK_Annot* pAnnot, FX_UINT nChar, FX_UINT nFlags); |
| 78 | 78 |
| 79 FX_BOOL SetFocusForAnnot(CPDFSDK_Annot* pAnnot, FX_UINT nFlag); | 79 void SetFocusForAnnot(CPDFSDK_Annot* pAnnot, FX_UINT nFlag); |
| 80 FX_BOOL KillFocusForAnnot(CPDFSDK_Annot* pAnnot, FX_UINT nFlag); | 80 void KillFocusForAnnot(CPDFSDK_Annot* pAnnot, FX_UINT nFlag); |
| 81 | 81 |
| 82 // CPWL_TimerHandler | 82 // CPWL_TimerHandler |
| 83 void TimerProc() override; | 83 void TimerProc() override; |
| 84 IFX_SystemHandler* GetSystemHandler() const override; | 84 IFX_SystemHandler* GetSystemHandler() const override; |
| 85 | 85 |
| 86 // IPWL_Provider | 86 // IPWL_Provider |
| 87 CPDF_Matrix GetWindowMatrix(void* pAttachedData) override; | 87 CPDF_Matrix GetWindowMatrix(void* pAttachedData) override; |
| 88 CFX_WideString LoadPopupMenuString(int nIndex) override; | 88 CFX_WideString LoadPopupMenuString(int nIndex) override; |
| 89 | 89 |
| 90 virtual void GetActionData(CPDFSDK_PageView* pPageView, | 90 virtual void GetActionData(CPDFSDK_PageView* pPageView, |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 CFX_RenderDevice* pDevice, | 189 CFX_RenderDevice* pDevice, |
| 190 CPDF_Matrix* pUser2Device, | 190 CPDF_Matrix* pUser2Device, |
| 191 FX_DWORD dwFlags) override; | 191 FX_DWORD dwFlags) override; |
| 192 | 192 |
| 193 protected: | 193 protected: |
| 194 FX_BOOL m_bMouseIn; | 194 FX_BOOL m_bMouseIn; |
| 195 FX_BOOL m_bMouseDown; | 195 FX_BOOL m_bMouseDown; |
| 196 }; | 196 }; |
| 197 | 197 |
| 198 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ | 198 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ |
| OLD | NEW |