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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 void OnSelected(CPDFSDK_Annot* pAnnot) override; | 93 void OnSelected(CPDFSDK_Annot* pAnnot) override; |
94 FX_BOOL OnSetFocus(CPDFSDK_Annot* pAnnot, uint32_t nFlag) override; | 94 FX_BOOL OnSetFocus(CPDFSDK_Annot* pAnnot, uint32_t nFlag) override; |
95 FX_BOOL OnKillFocus(CPDFSDK_Annot* pAnnot, uint32_t nFlag) override; | 95 FX_BOOL OnKillFocus(CPDFSDK_Annot* pAnnot, uint32_t nFlag) override; |
96 FX_BOOL OnXFAChangedFocus(CPDFSDK_Annot* pOldAnnot, | 96 FX_BOOL OnXFAChangedFocus(CPDFSDK_Annot* pOldAnnot, |
97 CPDFSDK_Annot* pNewAnnot) override; | 97 CPDFSDK_Annot* pNewAnnot) override; |
98 | 98 |
99 private: | 99 private: |
100 CXFA_FFWidgetHandler* GetXFAWidgetHandler(CPDFSDK_Annot* pAnnot); | 100 CXFA_FFWidgetHandler* GetXFAWidgetHandler(CPDFSDK_Annot* pAnnot); |
101 uint32_t GetFWLFlags(uint32_t dwFlag); | 101 uint32_t GetFWLFlags(uint32_t dwFlag); |
102 | 102 |
103 CPDFSDK_Environment* m_pApp; | 103 CPDFSDK_Environment* m_pEnv; |
104 }; | 104 }; |
105 | 105 |
106 #endif // FPDFSDK_INCLUDE_CPDFSDK_XFAWIDGETHANDLER_H_ | 106 #endif // FPDFSDK_INCLUDE_CPDFSDK_XFAWIDGETHANDLER_H_ |
OLD | NEW |