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

Side by Side Diff: fpdfsdk/include/fsdk_baseform.h

Issue 1653253002: Kill CFX_ByteArray in master. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Return std::vector<bool> Created 4 years, 10 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
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_FSDK_BASEFORM_H_ 7 #ifndef FPDFSDK_INCLUDE_FSDK_BASEFORM_H_
8 #define FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ 8 #define FPDFSDK_INCLUDE_FSDK_BASEFORM_H_
9 9
10 #if _FX_OS_ == _FX_ANDROID_ 10 #if _FX_OS_ == _FX_ANDROID_
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 232
233 private: 233 private:
234 // CPDF_FormNotify 234 // CPDF_FormNotify
235 int BeforeValueChange(const CPDF_FormField* pField, 235 int BeforeValueChange(const CPDF_FormField* pField,
236 CFX_WideString& csValue) override; 236 CFX_WideString& csValue) override;
237 int AfterValueChange(const CPDF_FormField* pField) override; 237 int AfterValueChange(const CPDF_FormField* pField) override;
238 int BeforeSelectionChange(const CPDF_FormField* pField, 238 int BeforeSelectionChange(const CPDF_FormField* pField,
239 CFX_WideString& csValue) override; 239 CFX_WideString& csValue) override;
240 int AfterSelectionChange(const CPDF_FormField* pField) override; 240 int AfterSelectionChange(const CPDF_FormField* pField) override;
241 int AfterCheckedStatusChange(const CPDF_FormField* pField, 241 int AfterCheckedStatusChange(const CPDF_FormField* pField,
242 const CFX_ByteArray& statusArray) override; 242 const std::vector<bool>& statusArray) override;
243 int BeforeFormReset(const CPDF_InterForm* pForm) override; 243 int BeforeFormReset(const CPDF_InterForm* pForm) override;
244 int AfterFormReset(const CPDF_InterForm* pForm) override; 244 int AfterFormReset(const CPDF_InterForm* pForm) override;
245 int BeforeFormImportData(const CPDF_InterForm* pForm) override; 245 int BeforeFormImportData(const CPDF_InterForm* pForm) override;
246 int AfterFormImportData(const CPDF_InterForm* pForm) override; 246 int AfterFormImportData(const CPDF_InterForm* pForm) override;
247 247
248 FX_BOOL FDFToURLEncodedData(CFX_WideString csFDFFile, 248 FX_BOOL FDFToURLEncodedData(CFX_WideString csFDFFile,
249 CFX_WideString csTxtFile); 249 CFX_WideString csTxtFile);
250 FX_BOOL FDFToURLEncodedData(uint8_t*& pBuf, FX_STRSIZE& nBufSize); 250 FX_BOOL FDFToURLEncodedData(uint8_t*& pBuf, FX_STRSIZE& nBufSize);
251 int GetPageIndexByAnnotDict(CPDF_Document* pDocument, 251 int GetPageIndexByAnnotDict(CPDF_Document* pDocument,
252 CPDF_Dictionary* pAnnotDict) const; 252 CPDF_Dictionary* pAnnotDict) const;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 const CPDFSDK_Annot* p2); 299 const CPDFSDK_Annot* p2);
300 300
301 TabOrder m_eTabOrder; 301 TabOrder m_eTabOrder;
302 CPDFSDK_PageView* m_pPageView; 302 CPDFSDK_PageView* m_pPageView;
303 CFX_ByteString m_sType; 303 CFX_ByteString m_sType;
304 CFX_ByteString m_sSubType; 304 CFX_ByteString m_sSubType;
305 std::vector<CPDFSDK_Annot*> m_Annots; 305 std::vector<CPDFSDK_Annot*> m_Annots;
306 }; 306 };
307 307
308 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ 308 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698