diff options
author | Lei Zhang <thestig@chromium.org> | 2017-06-02 12:48:22 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-06-02 20:14:51 +0000 |
commit | 3db875920a253a8541642a2aa913f474b125d67f (patch) | |
tree | ed3ad0fe9b2c2d71525e1b6b86c50d1f9aae3727 /fpdfsdk/cpdfsdk_annot.h | |
parent | 4f34c64914be17966f2d91591921dec635582061 (diff) | |
download | pdfium-3db875920a253a8541642a2aa913f474b125d67f.tar.xz |
Remove dead CPDFSDK_Annot code.chromium/3119
Change-Id: Ied77912f0f657ebc8e36469365de230e552e4956
Reviewed-on: https://pdfium-review.googlesource.com/6233
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_annot.h')
-rw-r--r-- | fpdfsdk/cpdfsdk_annot.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/fpdfsdk/cpdfsdk_annot.h b/fpdfsdk/cpdfsdk_annot.h index abcdc2ebae..3ab7981051 100644 --- a/fpdfsdk/cpdfsdk_annot.h +++ b/fpdfsdk/cpdfsdk_annot.h @@ -40,11 +40,7 @@ class CPDFSDK_Annot : public CFX_Observable<CPDFSDK_Annot> { virtual CPDF_Annot::Subtype GetAnnotSubtype() const; virtual bool IsSignatureWidget() const; virtual CFX_FloatRect GetRect() const; - virtual void SetRect(const CFX_FloatRect& rect); - virtual void Annot_OnDraw(CFX_RenderDevice* pDevice, - CFX_Matrix* pUser2Device, - CPDF_RenderOptions* pOptions); UnderlyingPageType* GetUnderlyingPage(); CPDF_Page* GetPDFPage(); @@ -52,15 +48,10 @@ class CPDFSDK_Annot : public CFX_Observable<CPDFSDK_Annot> { CPDFXFA_Page* GetPDFXFAPage(); #endif // PDF_ENABLE_XFA - void SetPage(CPDFSDK_PageView* pPageView); CPDFSDK_PageView* GetPageView() const { return m_pPageView.Get(); } - bool IsSelected(); - void SetSelected(bool bSelected); - protected: - CFX_UnownedPtr<CPDFSDK_PageView> m_pPageView; - bool m_bSelected; + CFX_UnownedPtr<CPDFSDK_PageView> const m_pPageView; }; #endif // FPDFSDK_CPDFSDK_ANNOT_H_ |