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

Side by Side Diff: fpdfsdk/include/formfiller/FFL_IFormFiller.h

Issue 1411423002: Merge to XFA: Remove dead code that was reactivated when fixing overrides. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: fix up mismatches, round 2 Created 5 years, 2 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/include/formfiller/FFL_FormFiller.h ('k') | fpdfsdk/include/formfiller/FFL_ListBox.h » ('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_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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 142
143 private: 143 private:
144 using CFFL_Widget2Filler = std::map<CPDFSDK_Annot*, CFFL_FormFiller*>; 144 using CFFL_Widget2Filler = std::map<CPDFSDK_Annot*, CFFL_FormFiller*>;
145 145
146 // IPWL_Filler_Notify: 146 // IPWL_Filler_Notify:
147 void QueryWherePopup(void* pPrivateData, 147 void QueryWherePopup(void* pPrivateData,
148 FX_FLOAT fPopupMin, 148 FX_FLOAT fPopupMin,
149 FX_FLOAT fPopupMax, 149 FX_FLOAT fPopupMax,
150 int32_t& nRet, 150 int32_t& nRet,
151 FX_FLOAT& fPopupRet) override; 151 FX_FLOAT& fPopupRet) override;
152 void OnBeforeKeyStroke(FX_BOOL bEditOrList, 152 void OnBeforeKeyStroke(void* pPrivateData,
153 void* pPrivateData,
154 int32_t nKeyCode,
155 CFX_WideString& strChange, 153 CFX_WideString& strChange,
156 const CFX_WideString& strChangeEx, 154 const CFX_WideString& strChangeEx,
157 int nSelStart, 155 int nSelStart,
158 int nSelEnd, 156 int nSelEnd,
159 FX_BOOL bKeyDown, 157 FX_BOOL bKeyDown,
160 FX_BOOL& bRC, 158 FX_BOOL& bRC,
161 FX_BOOL& bExit, 159 FX_BOOL& bExit,
162 FX_DWORD nFlag) override; 160 FX_DWORD nFlag) override;
163 void OnAfterKeyStroke(FX_BOOL bEditOrList,
164 void* pPrivateData,
165 FX_BOOL& bExit,
166 FX_DWORD nFlag) override;
167 161
168 void UnRegisterFormFiller(CPDFSDK_Annot* pAnnot); 162 void UnRegisterFormFiller(CPDFSDK_Annot* pAnnot);
169 void SetFocusAnnotTab(CPDFSDK_Annot* pWidget, 163 void SetFocusAnnotTab(CPDFSDK_Annot* pWidget,
170 FX_BOOL bSameField, 164 FX_BOOL bSameField,
171 FX_BOOL bNext); 165 FX_BOOL bNext);
172 166
173 CPDFDoc_Environment* m_pApp; 167 CPDFDoc_Environment* m_pApp;
174 CFFL_Widget2Filler m_Maps; 168 CFFL_Widget2Filler m_Maps;
175 FX_BOOL m_bNotifying; 169 FX_BOOL m_bNotifying;
176 }; 170 };
177 171
178 class CFFL_PrivateData { 172 class CFFL_PrivateData {
179 public: 173 public:
180 CPDFSDK_Widget* pWidget; 174 CPDFSDK_Widget* pWidget;
181 CPDFSDK_PageView* pPageView; 175 CPDFSDK_PageView* pPageView;
182 int nWidgetAge; 176 int nWidgetAge;
183 int nValueAge; 177 int nValueAge;
184 }; 178 };
185 179
186 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_IFORMFILLER_H_ 180 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_IFORMFILLER_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/formfiller/FFL_FormFiller.h ('k') | fpdfsdk/include/formfiller/FFL_ListBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698