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

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

Issue 1477583002: Inflict PDF_ENABLE_XFA ifdefs on XFA fpdfsdk/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Remove fsdk_actionhandler.cpp 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
« no previous file with comments | « fpdfsdk/include/formfiller/FFL_ComboBox.h ('k') | fpdfsdk/include/formfiller/FFL_IFormFiller.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_FORMFILLER_FFL_FORMFILLER_H_ 7 #ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_
8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ 8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_
9 9
10 #include "FFL_IFormFiller.h" 10 #include "FFL_IFormFiller.h"
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 CPDF_Point WndtoPWL(CPDFSDK_PageView* pPageView, const CPDF_Point& pt); 113 CPDF_Point WndtoPWL(CPDFSDK_PageView* pPageView, const CPDF_Point& pt);
114 CPDF_Rect FFLtoWnd(CPDFSDK_PageView* pPageView, const CPDF_Rect& rect); 114 CPDF_Rect FFLtoWnd(CPDFSDK_PageView* pPageView, const CPDF_Rect& rect);
115 115
116 void SetWindowRect(CPDFSDK_PageView* pPageView, const CPDF_Rect& rcWindow); 116 void SetWindowRect(CPDFSDK_PageView* pPageView, const CPDF_Rect& rcWindow);
117 CPDF_Rect GetWindowRect(CPDFSDK_PageView* pPageView); 117 CPDF_Rect GetWindowRect(CPDFSDK_PageView* pPageView);
118 118
119 FX_BOOL CommitData(CPDFSDK_PageView* pPageView, FX_UINT nFlag); 119 FX_BOOL CommitData(CPDFSDK_PageView* pPageView, FX_UINT nFlag);
120 virtual FX_BOOL IsDataChanged(CPDFSDK_PageView* pPageView); 120 virtual FX_BOOL IsDataChanged(CPDFSDK_PageView* pPageView);
121 virtual void SaveData(CPDFSDK_PageView* pPageView); 121 virtual void SaveData(CPDFSDK_PageView* pPageView);
122 122
123 #ifdef PDF_ENABLE_XFA
123 virtual FX_BOOL IsFieldFull(CPDFSDK_PageView* pPageView); 124 virtual FX_BOOL IsFieldFull(CPDFSDK_PageView* pPageView);
124 125
126 #endif
125 CPWL_Wnd* GetPDFWindow(CPDFSDK_PageView* pPageView, FX_BOOL bNew); 127 CPWL_Wnd* GetPDFWindow(CPDFSDK_PageView* pPageView, FX_BOOL bNew);
126 void DestroyPDFWindow(CPDFSDK_PageView* pPageView); 128 void DestroyPDFWindow(CPDFSDK_PageView* pPageView);
127 void EscapeFiller(CPDFSDK_PageView* pPageView, FX_BOOL bDestroyPDFWindow); 129 void EscapeFiller(CPDFSDK_PageView* pPageView, FX_BOOL bDestroyPDFWindow);
128 130
129 virtual PWL_CREATEPARAM GetCreateParam(); 131 virtual PWL_CREATEPARAM GetCreateParam();
130 virtual CPWL_Wnd* NewPDFWindow(const PWL_CREATEPARAM& cp, 132 virtual CPWL_Wnd* NewPDFWindow(const PWL_CREATEPARAM& cp,
131 CPDFSDK_PageView* pPageView) = 0; 133 CPDFSDK_PageView* pPageView) = 0;
132 virtual CPDF_Rect GetFocusBox(CPDFSDK_PageView* pPageView); 134 virtual CPDF_Rect GetFocusBox(CPDFSDK_PageView* pPageView);
133 135
134 FX_BOOL IsValid() const; 136 FX_BOOL IsValid() const;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 CFX_RenderDevice* pDevice, 189 CFX_RenderDevice* pDevice,
188 CPDF_Matrix* pUser2Device, 190 CPDF_Matrix* pUser2Device,
189 FX_DWORD dwFlags) override; 191 FX_DWORD dwFlags) override;
190 192
191 protected: 193 protected:
192 FX_BOOL m_bMouseIn; 194 FX_BOOL m_bMouseIn;
193 FX_BOOL m_bMouseDown; 195 FX_BOOL m_bMouseDown;
194 }; 196 };
195 197
196 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_ 198 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_FORMFILLER_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/formfiller/FFL_ComboBox.h ('k') | fpdfsdk/include/formfiller/FFL_IFormFiller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698