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

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

Issue 2287703002: Rename CPDFSDK_Annot::GetType to CPDFSDK_Annot::GetAnnotSubtype. (Closed)
Patch Set: Rename CPDFSDK_Annot::GetType to CPDFSDK_Annot::GetAnnotSubtype. Created 4 years, 3 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 | « fpdfsdk/include/cpdfsdk_annot.h ('k') | fpdfsdk/include/cpdfsdk_widget.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_CPDFSDK_BAANNOT_H_ 7 #ifndef FPDFSDK_INCLUDE_CPDFSDK_BAANNOT_H_
8 #define FPDFSDK_INCLUDE_CPDFSDK_BAANNOT_H_ 8 #define FPDFSDK_INCLUDE_CPDFSDK_BAANNOT_H_
9 9
10 #include "core/fpdfdoc/include/cpdf_aaction.h" 10 #include "core/fpdfdoc/include/cpdf_aaction.h"
(...skipping 10 matching lines...) Expand all
21 class CPDF_Dictionary; 21 class CPDF_Dictionary;
22 class CPDF_RenderOptions; 22 class CPDF_RenderOptions;
23 class CPDFSDK_PageView; 23 class CPDFSDK_PageView;
24 24
25 class CPDFSDK_BAAnnot : public CPDFSDK_Annot { 25 class CPDFSDK_BAAnnot : public CPDFSDK_Annot {
26 public: 26 public:
27 CPDFSDK_BAAnnot(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPageView); 27 CPDFSDK_BAAnnot(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPageView);
28 ~CPDFSDK_BAAnnot() override; 28 ~CPDFSDK_BAAnnot() override;
29 29
30 // CPDFSDK_Annot 30 // CPDFSDK_Annot
31 CFX_ByteString GetType() const override; 31 CFX_ByteString GetAnnotSubtype() const override;
32 CFX_ByteString GetSubType() const override;
33 void SetRect(const CFX_FloatRect& rect) override; 32 void SetRect(const CFX_FloatRect& rect) override;
34 CFX_FloatRect GetRect() const override; 33 CFX_FloatRect GetRect() const override;
35 CPDF_Annot* GetPDFAnnot() const override; 34 CPDF_Annot* GetPDFAnnot() const override;
36 void Annot_OnDraw(CFX_RenderDevice* pDevice, 35 void Annot_OnDraw(CFX_RenderDevice* pDevice,
37 CFX_Matrix* pUser2Device, 36 CFX_Matrix* pUser2Device,
38 CPDF_RenderOptions* pOptions) override; 37 CPDF_RenderOptions* pOptions) override;
39 38
40 CPDF_Dictionary* GetAnnotDict() const; 39 CPDF_Dictionary* GetAnnotDict() const;
41 40
42 void SetContents(const CFX_WideString& sContents); 41 void SetContents(const CFX_WideString& sContents);
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 const CFX_FloatRect& rcBBox, 94 const CFX_FloatRect& rcBBox,
96 const CFX_Matrix& matrix, 95 const CFX_Matrix& matrix,
97 const CFX_ByteString& sContents, 96 const CFX_ByteString& sContents,
98 const CFX_ByteString& sAPState = ""); 97 const CFX_ByteString& sAPState = "");
99 98
100 protected: 99 protected:
101 CPDF_Annot* m_pAnnot; 100 CPDF_Annot* m_pAnnot;
102 }; 101 };
103 102
104 #endif // FPDFSDK_INCLUDE_CPDFSDK_BAANNOT_H_ 103 #endif // FPDFSDK_INCLUDE_CPDFSDK_BAANNOT_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/cpdfsdk_annot.h ('k') | fpdfsdk/include/cpdfsdk_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698