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

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

Issue 2276953003: Remove unused IPDFSDK_AnnotHandler::GetName(). (Closed)
Patch Set: 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_bfannothandler.h ('k') | fpdfsdk/include/ipdfsdk_annothandler.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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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_XFAANNOTHANDLER_H_ 7 #ifndef FPDFSDK_INCLUDE_CPDFSDK_XFAANNOTHANDLER_H_
8 #define FPDFSDK_INCLUDE_CPDFSDK_XFAANNOTHANDLER_H_ 8 #define FPDFSDK_INCLUDE_CPDFSDK_XFAANNOTHANDLER_H_
9 9
10 #include "core/fxcrt/include/fx_basic.h" 10 #include "core/fxcrt/include/fx_basic.h"
11 #include "core/fxcrt/include/fx_coordinates.h" 11 #include "core/fxcrt/include/fx_coordinates.h"
12 #include "fpdfsdk/include/ipdfsdk_annothandler.h" 12 #include "fpdfsdk/include/ipdfsdk_annothandler.h"
13 13
14 class CFX_Matrix; 14 class CFX_Matrix;
15 class CFX_RenderDevice; 15 class CFX_RenderDevice;
16 class CPDF_Annot; 16 class CPDF_Annot;
17 class CPDFDoc_Environment; 17 class CPDFDoc_Environment;
18 class CPDFSDK_Annot; 18 class CPDFSDK_Annot;
19 class CPDFSDK_PageView; 19 class CPDFSDK_PageView;
20 class CXFA_FFWidget; 20 class CXFA_FFWidget;
21 class CXFA_FFWidgetHandler; 21 class CXFA_FFWidgetHandler;
22 22
23 class CPDFSDK_XFAAnnotHandler : public IPDFSDK_AnnotHandler { 23 class CPDFSDK_XFAAnnotHandler : public IPDFSDK_AnnotHandler {
24 public: 24 public:
25 explicit CPDFSDK_XFAAnnotHandler(CPDFDoc_Environment* pApp); 25 explicit CPDFSDK_XFAAnnotHandler(CPDFDoc_Environment* pApp);
26 ~CPDFSDK_XFAAnnotHandler() override; 26 ~CPDFSDK_XFAAnnotHandler() override;
27 27
28 CFX_ByteString GetType() override; 28 CFX_ByteString GetType() override;
29 CFX_ByteString GetName() override;
30 FX_BOOL CanAnswer(CPDFSDK_Annot* pAnnot) override; 29 FX_BOOL CanAnswer(CPDFSDK_Annot* pAnnot) override;
31 CPDFSDK_Annot* NewAnnot(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPage) override; 30 CPDFSDK_Annot* NewAnnot(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPage) override;
32 CPDFSDK_Annot* NewAnnot(CXFA_FFWidget* pAnnot, 31 CPDFSDK_Annot* NewAnnot(CXFA_FFWidget* pAnnot,
33 CPDFSDK_PageView* pPage) override; 32 CPDFSDK_PageView* pPage) override;
34 void ReleaseAnnot(CPDFSDK_Annot* pAnnot) override; 33 void ReleaseAnnot(CPDFSDK_Annot* pAnnot) override;
35 void DeleteAnnot(CPDFSDK_Annot* pAnnot) override; 34 void DeleteAnnot(CPDFSDK_Annot* pAnnot) override;
36 CFX_FloatRect GetViewBBox(CPDFSDK_PageView* pPageView, 35 CFX_FloatRect GetViewBBox(CPDFSDK_PageView* pPageView,
37 CPDFSDK_Annot* pAnnot) override; 36 CPDFSDK_Annot* pAnnot) override;
38 FX_BOOL HitTest(CPDFSDK_PageView* pPageView, 37 FX_BOOL HitTest(CPDFSDK_PageView* pPageView,
39 CPDFSDK_Annot* pAnnot, 38 CPDFSDK_Annot* pAnnot,
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 CPDFSDK_Annot* pNewAnnot) override; 104 CPDFSDK_Annot* pNewAnnot) override;
106 105
107 private: 106 private:
108 CXFA_FFWidgetHandler* GetXFAWidgetHandler(CPDFSDK_Annot* pAnnot); 107 CXFA_FFWidgetHandler* GetXFAWidgetHandler(CPDFSDK_Annot* pAnnot);
109 uint32_t GetFWLFlags(uint32_t dwFlag); 108 uint32_t GetFWLFlags(uint32_t dwFlag);
110 109
111 CPDFDoc_Environment* m_pApp; 110 CPDFDoc_Environment* m_pApp;
112 }; 111 };
113 112
114 #endif // FPDFSDK_INCLUDE_CPDFSDK_XFAANNOTHANDLER_H_ 113 #endif // FPDFSDK_INCLUDE_CPDFSDK_XFAANNOTHANDLER_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/cpdfsdk_bfannothandler.h ('k') | fpdfsdk/include/ipdfsdk_annothandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698