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

Side by Side Diff: fpdfsdk/include/formfiller/FFL_IFormFiller.h

Issue 1519693002: Merge to XFA: Remove CFX_AffineMatrix/CPDF_Matrix (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: XFA-specific changes Created 5 years 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
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_FORMFILLER_FFL_IFORMFILLER_H_ 7 #ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_IFORMFILLER_H_
8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_IFORMFILLER_H_ 8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_IFORMFILLER_H_
9 9
10 #include <map> 10 #include <map>
11 11
12 #include "FormFiller.h" 12 #include "FormFiller.h"
13 13
14 class CFFL_FormFiller; 14 class CFFL_FormFiller;
15 class CFFL_PrivateData; 15 class CFFL_PrivateData;
16 16
17 class CFFL_IFormFiller : public IPWL_Filler_Notify { 17 class CFFL_IFormFiller : public IPWL_Filler_Notify {
18 public: 18 public:
19 explicit CFFL_IFormFiller(CPDFDoc_Environment* pApp); 19 explicit CFFL_IFormFiller(CPDFDoc_Environment* pApp);
20 ~CFFL_IFormFiller() override; 20 ~CFFL_IFormFiller() override;
21 21
22 virtual FX_BOOL Annot_HitTest(CPDFSDK_PageView* pPageView, 22 virtual FX_BOOL Annot_HitTest(CPDFSDK_PageView* pPageView,
23 CPDFSDK_Annot* pAnnot, 23 CPDFSDK_Annot* pAnnot,
24 CPDF_Point point); 24 CPDF_Point point);
25 virtual FX_RECT GetViewBBox(CPDFSDK_PageView* pPageView, 25 virtual FX_RECT GetViewBBox(CPDFSDK_PageView* pPageView,
26 CPDFSDK_Annot* pAnnot); 26 CPDFSDK_Annot* pAnnot);
27 virtual void OnDraw(CPDFSDK_PageView* pPageView, 27 virtual void OnDraw(CPDFSDK_PageView* pPageView,
28 CPDFSDK_Annot* pAnnot, 28 CPDFSDK_Annot* pAnnot,
29 CFX_RenderDevice* pDevice, 29 CFX_RenderDevice* pDevice,
30 CPDF_Matrix* pUser2Device, 30 CFX_Matrix* pUser2Device,
31 FX_DWORD dwFlags); 31 FX_DWORD dwFlags);
32 32
33 virtual void OnCreate(CPDFSDK_Annot* pAnnot); 33 virtual void OnCreate(CPDFSDK_Annot* pAnnot);
34 virtual void OnLoad(CPDFSDK_Annot* pAnnot); 34 virtual void OnLoad(CPDFSDK_Annot* pAnnot);
35 virtual void OnDelete(CPDFSDK_Annot* pAnnot); 35 virtual void OnDelete(CPDFSDK_Annot* pAnnot);
36 36
37 virtual void OnMouseEnter(CPDFSDK_PageView* pPageView, 37 virtual void OnMouseEnter(CPDFSDK_PageView* pPageView,
38 CPDFSDK_Annot* pAnnot, 38 CPDFSDK_Annot* pAnnot,
39 FX_UINT nFlag); 39 FX_UINT nFlag);
40 virtual void OnMouseExit(CPDFSDK_PageView* pPageView, 40 virtual void OnMouseExit(CPDFSDK_PageView* pPageView,
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 173
174 class CFFL_PrivateData { 174 class CFFL_PrivateData {
175 public: 175 public:
176 CPDFSDK_Widget* pWidget; 176 CPDFSDK_Widget* pWidget;
177 CPDFSDK_PageView* pPageView; 177 CPDFSDK_PageView* pPageView;
178 int nWidgetAge; 178 int nWidgetAge;
179 int nValueAge; 179 int nValueAge;
180 }; 180 };
181 181
182 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_IFORMFILLER_H_ 182 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_IFORMFILLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698