Chromium Code Reviews| 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_IFORMFILLER_H_ | 7 #ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_IFORMFILLER_H_ |
| 8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_IFORMFILLER_H_ | 8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_IFORMFILLER_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 virtual FX_BOOL OnSetFocus(CPDFSDK_Annot* pAnnot, FX_UINT nFlag); | 79 virtual FX_BOOL OnSetFocus(CPDFSDK_Annot* pAnnot, FX_UINT nFlag); |
| 80 virtual FX_BOOL OnKillFocus(CPDFSDK_Annot* pAnnot, FX_UINT nFlag); | 80 virtual FX_BOOL OnKillFocus(CPDFSDK_Annot* pAnnot, FX_UINT nFlag); |
| 81 | 81 |
| 82 virtual void OnPopupPreOpen(void* pPrivateData, | 82 void OnPopupPreOpen(void* pPrivateData, |
|
Lei Zhang
2015/10/31 02:03:20
combine with block at line 146
Tom Sepez
2015/11/02 18:03:25
Done.
| |
| 83 FX_BOOL& bExit, | 83 FX_BOOL& bExit, |
| 84 FX_DWORD nFlag); | 84 FX_DWORD nFlag) override; |
| 85 virtual void OnPopupPostOpen(void* pPrivateData, | 85 void OnPopupPostOpen(void* pPrivateData, |
| 86 FX_BOOL& bExit, | 86 FX_BOOL& bExit, |
| 87 FX_DWORD nFlag); | 87 FX_DWORD nFlag) override; |
| 88 | 88 |
| 89 CFFL_FormFiller* GetFormFiller(CPDFSDK_Annot* pAnnot, FX_BOOL bRegister); | 89 CFFL_FormFiller* GetFormFiller(CPDFSDK_Annot* pAnnot, FX_BOOL bRegister); |
| 90 void RemoveFormFiller(CPDFSDK_Annot* pAnnot); | 90 void RemoveFormFiller(CPDFSDK_Annot* pAnnot); |
| 91 | 91 |
| 92 static FX_BOOL IsVisible(CPDFSDK_Widget* pWidget); | 92 static FX_BOOL IsVisible(CPDFSDK_Widget* pWidget); |
| 93 static FX_BOOL IsReadOnly(CPDFSDK_Widget* pWidget); | 93 static FX_BOOL IsReadOnly(CPDFSDK_Widget* pWidget); |
| 94 static FX_BOOL IsFillingAllowed(CPDFSDK_Widget* pWidget); | 94 static FX_BOOL IsFillingAllowed(CPDFSDK_Widget* pWidget); |
| 95 static FX_BOOL IsValidAnnot(CPDFSDK_PageView* pPageView, | 95 static FX_BOOL IsValidAnnot(CPDFSDK_PageView* pPageView, |
| 96 CPDFSDK_Annot* pAnnot); | 96 CPDFSDK_Annot* pAnnot); |
| 97 | 97 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 171 | 171 |
| 172 class CFFL_PrivateData { | 172 class CFFL_PrivateData { |
| 173 public: | 173 public: |
| 174 CPDFSDK_Widget* pWidget; | 174 CPDFSDK_Widget* pWidget; |
| 175 CPDFSDK_PageView* pPageView; | 175 CPDFSDK_PageView* pPageView; |
| 176 int nWidgetAge; | 176 int nWidgetAge; |
| 177 int nValueAge; | 177 int nValueAge; |
| 178 }; | 178 }; |
| 179 | 179 |
| 180 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_IFORMFILLER_H_ | 180 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_IFORMFILLER_H_ |
| OLD | NEW |