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

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

Issue 1453643002: Add more overrides. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: rebase 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/fxcrt/extension.h ('k') | fpdfsdk/include/fxedit/fxet_edit.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_BASEANNOT_H_ 7 #ifndef FPDFSDK_INCLUDE_FSDK_BASEANNOT_H_
8 #define FPDFSDK_INCLUDE_FSDK_BASEANNOT_H_ 8 #define FPDFSDK_INCLUDE_FSDK_BASEANNOT_H_
9 9
10 #if _FX_OS_ == _FX_ANDROID_ 10 #if _FX_OS_ == _FX_ANDROID_
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 protected: 104 protected:
105 CPDFSDK_PageView* m_pPageView; 105 CPDFSDK_PageView* m_pPageView;
106 FX_BOOL m_bSelected; 106 FX_BOOL m_bSelected;
107 int m_nTabOrder; 107 int m_nTabOrder;
108 }; 108 };
109 109
110 class CPDFSDK_BAAnnot : public CPDFSDK_Annot { 110 class CPDFSDK_BAAnnot : public CPDFSDK_Annot {
111 public: 111 public:
112 CPDFSDK_BAAnnot(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPageView); 112 CPDFSDK_BAAnnot(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPageView);
113 virtual ~CPDFSDK_BAAnnot() {} 113 ~CPDFSDK_BAAnnot() override {}
114 114
115 virtual CFX_ByteString GetType() const; 115 CFX_ByteString GetType() const override;
116 virtual CFX_ByteString GetSubType() const; 116 CFX_ByteString GetSubType() const override;
117 117 void SetRect(const CPDF_Rect& rect) override;
118 virtual void SetRect(const CPDF_Rect& rect); 118 CPDF_Rect GetRect() const override;
119 virtual CPDF_Rect GetRect() const; 119 CPDF_Annot* GetPDFAnnot() const override;
120 120 void Annot_OnDraw(CFX_RenderDevice* pDevice,
121 virtual CPDF_Annot* GetPDFAnnot() const; 121 CPDF_Matrix* pUser2Device,
122 122 CPDF_RenderOptions* pOptions) override;
123 virtual void Annot_OnDraw(CFX_RenderDevice* pDevice,
124 CPDF_Matrix* pUser2Device,
125 CPDF_RenderOptions* pOptions);
126 123
127 CPDF_Dictionary* GetAnnotDict() const; 124 CPDF_Dictionary* GetAnnotDict() const;
128 125
129 void SetContents(const CFX_WideString& sContents); 126 void SetContents(const CFX_WideString& sContents);
130 CFX_WideString GetContents() const; 127 CFX_WideString GetContents() const;
131 128
132 void SetAnnotName(const CFX_WideString& sName); 129 void SetAnnotName(const CFX_WideString& sName);
133 CFX_WideString GetAnnotName() const; 130 CFX_WideString GetAnnotName() const;
134 131
135 void SetModifiedDate(const FX_SYSTEMTIME& st); 132 void SetModifiedDate(const FX_SYSTEMTIME& st);
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 const CFX_ByteString& sAPState = ""); 197 const CFX_ByteString& sAPState = "");
201 198
202 protected: 199 protected:
203 CPDF_Annot* m_pAnnot; 200 CPDF_Annot* m_pAnnot;
204 201
205 private: 202 private:
206 FX_BOOL CreateFormFiller(); 203 FX_BOOL CreateFormFiller();
207 }; 204 };
208 205
209 #endif // FPDFSDK_INCLUDE_FSDK_BASEANNOT_H_ 206 #endif // FPDFSDK_INCLUDE_FSDK_BASEANNOT_H_
OLDNEW
« no previous file with comments | « core/src/fxcrt/extension.h ('k') | fpdfsdk/include/fxedit/fxet_edit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698