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

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

Issue 1425093003: Clean up CPDF_AnnotList. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: revert error Created 5 years, 1 month 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 | « core/src/fpdfdoc/doc_form.cpp ('k') | fpdfsdk/include/fsdk_define.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_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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 116
117 // Message. 117 // Message.
118 FX_BOOL OnAAction(CPDF_AAction::AActionType type, 118 FX_BOOL OnAAction(CPDF_AAction::AActionType type,
119 PDFSDK_FieldAction& data, 119 PDFSDK_FieldAction& data,
120 CPDFSDK_PageView* pPageView); 120 CPDFSDK_PageView* pPageView);
121 121
122 CPDFSDK_InterForm* GetInterForm() const { return m_pInterForm; } 122 CPDFSDK_InterForm* GetInterForm() const { return m_pInterForm; }
123 CPDF_FormField* GetFormField() const; 123 CPDF_FormField* GetFormField() const;
124 CPDF_FormControl* GetFormControl() const; 124 CPDF_FormControl* GetFormControl() const;
125 static CPDF_FormControl* GetFormControl(CPDF_InterForm* pInterForm, 125 static CPDF_FormControl* GetFormControl(CPDF_InterForm* pInterForm,
126 CPDF_Dictionary* pAnnotDict); 126 const CPDF_Dictionary* pAnnotDict);
127 127
128 void DrawShadow(CFX_RenderDevice* pDevice, CPDFSDK_PageView* pPageView); 128 void DrawShadow(CFX_RenderDevice* pDevice, CPDFSDK_PageView* pPageView);
129 129
130 void SetAppModified(); 130 void SetAppModified();
131 void ClearAppModified(); 131 void ClearAppModified();
132 FX_BOOL IsAppModified() const; 132 FX_BOOL IsAppModified() const;
133 133
134 int32_t GetAppearanceAge() const; 134 int32_t GetAppearanceAge() const;
135 int32_t GetValueAge() const; 135 int32_t GetValueAge() const;
136 136
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 static CPDF_Rect GetAnnotRect(CPDFSDK_Annot* pAnnot); 298 static CPDF_Rect GetAnnotRect(CPDFSDK_Annot* pAnnot);
299 299
300 CPDFSDK_PageView* m_pPageView; 300 CPDFSDK_PageView* m_pPageView;
301 CFX_ByteString m_sType; 301 CFX_ByteString m_sType;
302 CFX_ByteString m_sSubType; 302 CFX_ByteString m_sSubType;
303 int m_nTabs; 303 int m_nTabs;
304 CPDFSDK_Annots m_Annots; 304 CPDFSDK_Annots m_Annots;
305 }; 305 };
306 306
307 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_ 307 #endif // FPDFSDK_INCLUDE_FSDK_BASEFORM_H_
OLDNEW
« no previous file with comments | « core/src/fpdfdoc/doc_form.cpp ('k') | fpdfsdk/include/fsdk_define.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698