Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Side by Side Diff: fpdfsdk/formfiller/cffl_iformfiller.h

Issue 1835693002: Remove FX_DWORD from fpdfsdk/ and testing/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fpdfsdk/formfiller/cffl_formfiller.cpp ('k') | fpdfsdk/formfiller/cffl_iformfiller.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_FORMFILLER_CFFL_IFORMFILLER_H_ 7 #ifndef FPDFSDK_FORMFILLER_CFFL_IFORMFILLER_H_
8 #define FPDFSDK_FORMFILLER_CFFL_IFORMFILLER_H_ 8 #define FPDFSDK_FORMFILLER_CFFL_IFORMFILLER_H_
9 9
10 #include <map> 10 #include <map>
(...skipping 14 matching lines...) Expand all
25 25
26 virtual FX_BOOL Annot_HitTest(CPDFSDK_PageView* pPageView, 26 virtual FX_BOOL Annot_HitTest(CPDFSDK_PageView* pPageView,
27 CPDFSDK_Annot* pAnnot, 27 CPDFSDK_Annot* pAnnot,
28 CFX_FloatPoint point); 28 CFX_FloatPoint point);
29 virtual FX_RECT GetViewBBox(CPDFSDK_PageView* pPageView, 29 virtual FX_RECT GetViewBBox(CPDFSDK_PageView* pPageView,
30 CPDFSDK_Annot* pAnnot); 30 CPDFSDK_Annot* pAnnot);
31 virtual void OnDraw(CPDFSDK_PageView* pPageView, 31 virtual void OnDraw(CPDFSDK_PageView* pPageView,
32 CPDFSDK_Annot* pAnnot, 32 CPDFSDK_Annot* pAnnot,
33 CFX_RenderDevice* pDevice, 33 CFX_RenderDevice* pDevice,
34 CFX_Matrix* pUser2Device, 34 CFX_Matrix* pUser2Device,
35 FX_DWORD dwFlags); 35 uint32_t dwFlags);
36 36
37 virtual void OnCreate(CPDFSDK_Annot* pAnnot); 37 virtual void OnCreate(CPDFSDK_Annot* pAnnot);
38 virtual void OnLoad(CPDFSDK_Annot* pAnnot); 38 virtual void OnLoad(CPDFSDK_Annot* pAnnot);
39 virtual void OnDelete(CPDFSDK_Annot* pAnnot); 39 virtual void OnDelete(CPDFSDK_Annot* pAnnot);
40 40
41 virtual void OnMouseEnter(CPDFSDK_PageView* pPageView, 41 virtual void OnMouseEnter(CPDFSDK_PageView* pPageView,
42 CPDFSDK_Annot* pAnnot, 42 CPDFSDK_Annot* pAnnot,
43 FX_UINT nFlag); 43 FX_UINT nFlag);
44 virtual void OnMouseExit(CPDFSDK_PageView* pPageView, 44 virtual void OnMouseExit(CPDFSDK_PageView* pPageView,
45 CPDFSDK_Annot* pAnnot, 45 CPDFSDK_Annot* pAnnot,
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 static FX_BOOL IsVisible(CPDFSDK_Widget* pWidget); 89 static FX_BOOL IsVisible(CPDFSDK_Widget* pWidget);
90 static FX_BOOL IsReadOnly(CPDFSDK_Widget* pWidget); 90 static FX_BOOL IsReadOnly(CPDFSDK_Widget* pWidget);
91 static FX_BOOL IsFillingAllowed(CPDFSDK_Widget* pWidget); 91 static FX_BOOL IsFillingAllowed(CPDFSDK_Widget* pWidget);
92 static FX_BOOL IsValidAnnot(CPDFSDK_PageView* pPageView, 92 static FX_BOOL IsValidAnnot(CPDFSDK_PageView* pPageView,
93 CPDFSDK_Annot* pAnnot); 93 CPDFSDK_Annot* pAnnot);
94 94
95 void OnKeyStrokeCommit(CPDFSDK_Widget* pWidget, 95 void OnKeyStrokeCommit(CPDFSDK_Widget* pWidget,
96 CPDFSDK_PageView* pPageView, 96 CPDFSDK_PageView* pPageView,
97 FX_BOOL& bRC, 97 FX_BOOL& bRC,
98 FX_BOOL& bExit, 98 FX_BOOL& bExit,
99 FX_DWORD nFlag); 99 uint32_t nFlag);
100 void OnValidate(CPDFSDK_Widget* pWidget, 100 void OnValidate(CPDFSDK_Widget* pWidget,
101 CPDFSDK_PageView* pPageView, 101 CPDFSDK_PageView* pPageView,
102 FX_BOOL& bRC, 102 FX_BOOL& bRC,
103 FX_BOOL& bExit, 103 FX_BOOL& bExit,
104 FX_DWORD nFlag); 104 uint32_t nFlag);
105 105
106 void OnCalculate(CPDFSDK_Widget* pWidget, 106 void OnCalculate(CPDFSDK_Widget* pWidget,
107 CPDFSDK_PageView* pPageView, 107 CPDFSDK_PageView* pPageView,
108 FX_BOOL& bExit, 108 FX_BOOL& bExit,
109 FX_DWORD nFlag); 109 uint32_t nFlag);
110 void OnFormat(CPDFSDK_Widget* pWidget, 110 void OnFormat(CPDFSDK_Widget* pWidget,
111 CPDFSDK_PageView* pPageView, 111 CPDFSDK_PageView* pPageView,
112 FX_BOOL& bExit, 112 FX_BOOL& bExit,
113 FX_DWORD nFlag); 113 uint32_t nFlag);
114 void OnButtonUp(CPDFSDK_Widget* pWidget, 114 void OnButtonUp(CPDFSDK_Widget* pWidget,
115 CPDFSDK_PageView* pPageView, 115 CPDFSDK_PageView* pPageView,
116 FX_BOOL& bReset, 116 FX_BOOL& bReset,
117 FX_BOOL& bExit, 117 FX_BOOL& bExit,
118 FX_UINT nFlag); 118 FX_UINT nFlag);
119 #ifdef PDF_ENABLE_XFA 119 #ifdef PDF_ENABLE_XFA
120 void OnClick(CPDFSDK_Widget* pWidget, 120 void OnClick(CPDFSDK_Widget* pWidget,
121 CPDFSDK_PageView* pPageView, 121 CPDFSDK_PageView* pPageView,
122 FX_BOOL& bReset, 122 FX_BOOL& bReset,
123 FX_BOOL& bExit, 123 FX_BOOL& bExit,
(...skipping 25 matching lines...) Expand all
149 int32_t& nRet, 149 int32_t& nRet,
150 FX_FLOAT& fPopupRet) override; 150 FX_FLOAT& fPopupRet) override;
151 void OnBeforeKeyStroke(void* pPrivateData, 151 void OnBeforeKeyStroke(void* pPrivateData,
152 CFX_WideString& strChange, 152 CFX_WideString& strChange,
153 const CFX_WideString& strChangeEx, 153 const CFX_WideString& strChangeEx,
154 int nSelStart, 154 int nSelStart,
155 int nSelEnd, 155 int nSelEnd,
156 FX_BOOL bKeyDown, 156 FX_BOOL bKeyDown,
157 FX_BOOL& bRC, 157 FX_BOOL& bRC,
158 FX_BOOL& bExit, 158 FX_BOOL& bExit,
159 FX_DWORD nFlag) override; 159 uint32_t nFlag) override;
160 #ifdef PDF_ENABLE_XFA 160 #ifdef PDF_ENABLE_XFA
161 void OnPopupPreOpen(void* pPrivateData, 161 void OnPopupPreOpen(void* pPrivateData,
162 FX_BOOL& bExit, 162 FX_BOOL& bExit,
163 FX_DWORD nFlag) override; 163 uint32_t nFlag) override;
164 void OnPopupPostOpen(void* pPrivateData, 164 void OnPopupPostOpen(void* pPrivateData,
165 FX_BOOL& bExit, 165 FX_BOOL& bExit,
166 FX_DWORD nFlag) override; 166 uint32_t nFlag) override;
167 void SetFocusAnnotTab(CPDFSDK_Annot* pWidget, 167 void SetFocusAnnotTab(CPDFSDK_Annot* pWidget,
168 FX_BOOL bSameField, 168 FX_BOOL bSameField,
169 FX_BOOL bNext); 169 FX_BOOL bNext);
170 #endif // PDF_ENABLE_XFA 170 #endif // PDF_ENABLE_XFA
171 void UnRegisterFormFiller(CPDFSDK_Annot* pAnnot); 171 void UnRegisterFormFiller(CPDFSDK_Annot* pAnnot);
172 172
173 CPDFDoc_Environment* m_pApp; 173 CPDFDoc_Environment* m_pApp;
174 CFFL_Widget2Filler m_Maps; 174 CFFL_Widget2Filler m_Maps;
175 FX_BOOL m_bNotifying; 175 FX_BOOL m_bNotifying;
176 }; 176 };
177 177
178 class CFFL_PrivateData { 178 class CFFL_PrivateData {
179 public: 179 public:
180 CPDFSDK_Widget* pWidget; 180 CPDFSDK_Widget* pWidget;
181 CPDFSDK_PageView* pPageView; 181 CPDFSDK_PageView* pPageView;
182 int nWidgetAge; 182 int nWidgetAge;
183 int nValueAge; 183 int nValueAge;
184 }; 184 };
185 185
186 #endif // FPDFSDK_FORMFILLER_CFFL_IFORMFILLER_H_ 186 #endif // FPDFSDK_FORMFILLER_CFFL_IFORMFILLER_H_
OLDNEW
« no previous file with comments | « fpdfsdk/formfiller/cffl_formfiller.cpp ('k') | fpdfsdk/formfiller/cffl_iformfiller.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698