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

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

Issue 429483004: Remove unused CPDFSDK_Annot::ResetAppearance(). (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 6 years, 4 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 | « no previous file | fpdfsdk/src/fsdk_baseannot.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 _FSDK_BASEANNOT_H_ 7 #ifndef _FSDK_BASEANNOT_H_
8 #define _FSDK_BASEANNOT_H_ 8 #define _FSDK_BASEANNOT_H_
9 9
10 #if _FX_OS_ == _FX_ANDROID_ 10 #if _FX_OS_ == _FX_ANDROID_
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 public: 153 public:
154 FX_BOOL IsAppearanceValid(); 154 FX_BOOL IsAppearanceValid();
155 FX_BOOL IsAppearanceValid(CPDF_A nnot::AppearanceMode mode); 155 FX_BOOL IsAppearanceValid(CPDF_A nnot::AppearanceMode mode);
156 void DrawAppearance(CFX_Rende rDevice* pDevice, const CPDF_Matrix* pUser2Device, 156 void DrawAppearance(CFX_Rende rDevice* pDevice, const CPDF_Matrix* pUser2Device,
157 CPDF_Annot::AppearanceMode mode, const CPDF_RenderOptions* pOpti ons); 157 CPDF_Annot::AppearanceMode mode, const CPDF_RenderOptions* pOpti ons);
158 void DrawBorder(CFX_RenderDev ice* pDevice, const CPDF_Matrix* pUser2Device, 158 void DrawBorder(CFX_RenderDev ice* pDevice, const CPDF_Matrix* pUser2Device,
159 const CPDF_RenderOptions* pOptions); 159 const CPDF_RenderOptions* pOptions);
160 160
161 void ClearCachedAP(); 161 void ClearCachedAP();
162 162
163 virtual void ResetAppearance();
164 void WriteAppearance(const CF X_ByteString& sAPType, const CPDF_Rect& rcBBox, 163 void WriteAppearance(const CF X_ByteString& sAPType, const CPDF_Rect& rcBBox,
165 const CPDF_Matrix& matrix, const CFX_ByteString& sContents, 164 const CPDF_Matrix& matrix, const CFX_ByteString& sContents,
166 const CFX_ByteString& sAPState = ""); 165 const CFX_ByteString& sAPState = "");
167 166
168 public: 167 public:
169 virtual void Annot_OnDraw(CFX_RenderDevice* pDevice, CPDF_Matrix* pUser2Device,CPDF_RenderOptions* pOptions); 168 virtual void Annot_OnDraw(CFX_RenderDevice* pDevice, CPDF_Matrix* pUser2Device,CPDF_RenderOptions* pOptions);
170 public: 169 public:
171 170
172 171
173 private: 172 private:
174 FX_BOOL CreateFormFiller(); 173 FX_BOOL CreateFormFiller();
175 protected: 174 protected:
176 CPDF_Annot* m_pAnnot; 175 CPDF_Annot* m_pAnnot;
177 CPDFSDK_PageView* m_pPageView; 176 CPDFSDK_PageView* m_pPageView;
178 FX_BOOL m_bSelected; 177 FX_BOOL m_bSelected;
179 int m_nTabOrder; 178 int m_nTabOrder;
180 179
181 }; 180 };
182 181
183 182
184 183
185 #endif 184 #endif
186 185
OLDNEW
« no previous file with comments | « no previous file | fpdfsdk/src/fsdk_baseannot.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698