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_IPDFSDK_ANNOTHANDLER_H_ | 7 #ifndef FPDFSDK_INCLUDE_IPDFSDK_ANNOTHANDLER_H_ |
8 #define FPDFSDK_INCLUDE_IPDFSDK_ANNOTHANDLER_H_ | 8 #define FPDFSDK_INCLUDE_IPDFSDK_ANNOTHANDLER_H_ |
9 | 9 |
10 #include "core/fxcrt/include/fx_basic.h" | 10 #include "core/fxcrt/fx_basic.h" |
11 #include "core/fxcrt/include/fx_coordinates.h" | 11 #include "core/fxcrt/fx_coordinates.h" |
12 #include "fpdfsdk/include/cpdfsdk_annot.h" | 12 #include "fpdfsdk/include/cpdfsdk_annot.h" |
13 | 13 |
14 class CFX_Matrix; | 14 class CFX_Matrix; |
15 class CFX_RenderDevice; | 15 class CFX_RenderDevice; |
16 class CPDF_Annot; | 16 class CPDF_Annot; |
17 class CPDFSDK_PageView; | 17 class CPDFSDK_PageView; |
18 | 18 |
19 #ifdef PDF_ENABLE_XFA | 19 #ifdef PDF_ENABLE_XFA |
20 class CXFA_FFWidget; | 20 class CXFA_FFWidget; |
21 #endif // PDF_ENABLE_XFA | 21 #endif // PDF_ENABLE_XFA |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 uint32_t nFlag) = 0; | 100 uint32_t nFlag) = 0; |
101 virtual FX_BOOL OnKillFocus(CPDFSDK_Annot::ObservedPtr* pAnnot, | 101 virtual FX_BOOL OnKillFocus(CPDFSDK_Annot::ObservedPtr* pAnnot, |
102 uint32_t nFlag) = 0; | 102 uint32_t nFlag) = 0; |
103 #ifdef PDF_ENABLE_XFA | 103 #ifdef PDF_ENABLE_XFA |
104 virtual FX_BOOL OnXFAChangedFocus(CPDFSDK_Annot::ObservedPtr* pOldAnnot, | 104 virtual FX_BOOL OnXFAChangedFocus(CPDFSDK_Annot::ObservedPtr* pOldAnnot, |
105 CPDFSDK_Annot::ObservedPtr* pNewAnnot) = 0; | 105 CPDFSDK_Annot::ObservedPtr* pNewAnnot) = 0; |
106 #endif // PDF_ENABLE_XFA | 106 #endif // PDF_ENABLE_XFA |
107 }; | 107 }; |
108 | 108 |
109 #endif // FPDFSDK_INCLUDE_IPDFSDK_ANNOTHANDLER_H_ | 109 #endif // FPDFSDK_INCLUDE_IPDFSDK_ANNOTHANDLER_H_ |
OLD | NEW |