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

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

Issue 2333413003: Rename CPDFDoc_Environment to CPDFSDK_Environment (Closed)
Patch Set: Review feedback 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_environment.h ('k') | fpdfsdk/include/cpdfsdk_xfawidgethandler.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_WIDGETHANDLER_H_ 7 #ifndef FPDFSDK_INCLUDE_CPDFSDK_WIDGETHANDLER_H_
8 #define FPDFSDK_INCLUDE_CPDFSDK_WIDGETHANDLER_H_ 8 #define FPDFSDK_INCLUDE_CPDFSDK_WIDGETHANDLER_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 CFFL_IFormFiller; 14 class CFFL_IFormFiller;
15 class CFX_Matrix; 15 class CFX_Matrix;
16 class CFX_RenderDevice; 16 class CFX_RenderDevice;
17 class CPDF_Annot; 17 class CPDF_Annot;
18 class CPDFDoc_Environment;
19 class CPDFSDK_Annot; 18 class CPDFSDK_Annot;
19 class CPDFSDK_Environment;
20 class CPDFSDK_PageView; 20 class CPDFSDK_PageView;
21 21
22 #ifdef PDF_ENABLE_XFA 22 #ifdef PDF_ENABLE_XFA
23 class CXFA_FFWidget; 23 class CXFA_FFWidget;
24 #endif // PDF_ENABLE_XFA 24 #endif // PDF_ENABLE_XFA
25 25
26 class CPDFSDK_WidgetHandler : public IPDFSDK_AnnotHandler { 26 class CPDFSDK_WidgetHandler : public IPDFSDK_AnnotHandler {
27 public: 27 public:
28 explicit CPDFSDK_WidgetHandler(CPDFDoc_Environment* pApp); 28 explicit CPDFSDK_WidgetHandler(CPDFSDK_Environment* pApp);
29 ~CPDFSDK_WidgetHandler() override; 29 ~CPDFSDK_WidgetHandler() override;
30 30
31 FX_BOOL CanAnswer(CPDFSDK_Annot* pAnnot) override; 31 FX_BOOL CanAnswer(CPDFSDK_Annot* pAnnot) override;
32 CPDFSDK_Annot* NewAnnot(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPage) override; 32 CPDFSDK_Annot* NewAnnot(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPage) override;
33 #ifdef PDF_ENABLE_XFA 33 #ifdef PDF_ENABLE_XFA
34 CPDFSDK_Annot* NewAnnot(CXFA_FFWidget* hWidget, 34 CPDFSDK_Annot* NewAnnot(CXFA_FFWidget* hWidget,
35 CPDFSDK_PageView* pPage) override; 35 CPDFSDK_PageView* pPage) override;
36 #endif // PDF_ENABLE_XFA 36 #endif // PDF_ENABLE_XFA
37 void ReleaseAnnot(CPDFSDK_Annot* pAnnot) override; 37 void ReleaseAnnot(CPDFSDK_Annot* pAnnot) override;
38 void DeleteAnnot(CPDFSDK_Annot* pAnnot) override; 38 void DeleteAnnot(CPDFSDK_Annot* pAnnot) override;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 FX_BOOL OnKillFocus(CPDFSDK_Annot* pAnnot, uint32_t nFlag) override; 100 FX_BOOL OnKillFocus(CPDFSDK_Annot* pAnnot, uint32_t nFlag) override;
101 #ifdef PDF_ENABLE_XFA 101 #ifdef PDF_ENABLE_XFA
102 FX_BOOL OnXFAChangedFocus(CPDFSDK_Annot* pOldAnnot, 102 FX_BOOL OnXFAChangedFocus(CPDFSDK_Annot* pOldAnnot,
103 CPDFSDK_Annot* pNewAnnot) override; 103 CPDFSDK_Annot* pNewAnnot) override;
104 #endif // PDF_ENABLE_XFA 104 #endif // PDF_ENABLE_XFA
105 105
106 void SetFormFiller(CFFL_IFormFiller* pFiller) { m_pFormFiller = pFiller; } 106 void SetFormFiller(CFFL_IFormFiller* pFiller) { m_pFormFiller = pFiller; }
107 CFFL_IFormFiller* GetFormFiller() { return m_pFormFiller; } 107 CFFL_IFormFiller* GetFormFiller() { return m_pFormFiller; }
108 108
109 private: 109 private:
110 CPDFDoc_Environment* m_pApp; 110 CPDFSDK_Environment* m_pApp;
111 CFFL_IFormFiller* m_pFormFiller; 111 CFFL_IFormFiller* m_pFormFiller;
112 }; 112 };
113 113
114 #endif // FPDFSDK_INCLUDE_CPDFSDK_WIDGETHANDLER_H_ 114 #endif // FPDFSDK_INCLUDE_CPDFSDK_WIDGETHANDLER_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/cpdfsdk_environment.h ('k') | fpdfsdk/include/cpdfsdk_xfawidgethandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698