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

Side by Side Diff: core/fpdfdoc/cpdf_interform.h

Issue 2625483002: Remove some CFX_ArrayTemplate in fpdfapi and fpdfdoc (Closed)
Patch Set: Created 3 years, 11 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 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 CORE_FPDFDOC_CPDF_INTERFORM_H_ 7 #ifndef CORE_FPDFDOC_CPDF_INTERFORM_H_
8 #define CORE_FPDFDOC_CPDF_INTERFORM_H_ 8 #define CORE_FPDFDOC_CPDF_INTERFORM_H_
9 9
10 #include <map> 10 #include <map>
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 int nLevel = 0); 105 int nLevel = 0);
106 bool ValidateFieldName(CFX_WideString& csNewFieldName, 106 bool ValidateFieldName(CFX_WideString& csNewFieldName,
107 int iType, 107 int iType,
108 const CPDF_FormField* pExcludedField, 108 const CPDF_FormField* pExcludedField,
109 const CPDF_FormControl* pExcludedControl) const; 109 const CPDF_FormControl* pExcludedControl) const;
110 110
111 static bool s_bUpdateAP; 111 static bool s_bUpdateAP;
112 112
113 CPDF_Document* const m_pDocument; 113 CPDF_Document* const m_pDocument;
114 CPDF_Dictionary* m_pFormDict; 114 CPDF_Dictionary* m_pFormDict;
115 std::map<const CPDF_Dictionary*, CPDF_FormControl*> m_ControlMap; 115 std::map<const CPDF_Dictionary*, std::unique_ptr<CPDF_FormControl>>
116 m_ControlMap;
116 std::unique_ptr<CFieldTree> m_pFieldTree; 117 std::unique_ptr<CFieldTree> m_pFieldTree;
117 CFX_ByteString m_bsEncoding; 118 CFX_ByteString m_bsEncoding;
118 IPDF_FormNotify* m_pFormNotify; 119 IPDF_FormNotify* m_pFormNotify;
119 }; 120 };
120 121
121 #endif // CORE_FPDFDOC_CPDF_INTERFORM_H_ 122 #endif // CORE_FPDFDOC_CPDF_INTERFORM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698