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

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

Issue 1484843002: Tidy ifdefs in fpdfsdk. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Fix initialization error warning. 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 #ifdef PDF_ENABLE_XFA
124 virtual FX_BOOL IsFieldFull(CPDFSDK_PageView* pPageView); 124 virtual FX_BOOL IsFieldFull(CPDFSDK_PageView* pPageView);
125 #endif // PDF_ENABLE_XFA
125 126
126 #endif
127 CPWL_Wnd* GetPDFWindow(CPDFSDK_PageView* pPageView, FX_BOOL bNew); 127 CPWL_Wnd* GetPDFWindow(CPDFSDK_PageView* pPageView, FX_BOOL bNew);
128 void DestroyPDFWindow(CPDFSDK_PageView* pPageView); 128 void DestroyPDFWindow(CPDFSDK_PageView* pPageView);
129 void EscapeFiller(CPDFSDK_PageView* pPageView, FX_BOOL bDestroyPDFWindow); 129 void EscapeFiller(CPDFSDK_PageView* pPageView, FX_BOOL bDestroyPDFWindow);
130 130
131 virtual PWL_CREATEPARAM GetCreateParam(); 131 virtual PWL_CREATEPARAM GetCreateParam();
132 virtual CPWL_Wnd* NewPDFWindow(const PWL_CREATEPARAM& cp, 132 virtual CPWL_Wnd* NewPDFWindow(const PWL_CREATEPARAM& cp,
133 CPDFSDK_PageView* pPageView) = 0; 133 CPDFSDK_PageView* pPageView) = 0;
134 virtual CPDF_Rect GetFocusBox(CPDFSDK_PageView* pPageView); 134 virtual CPDF_Rect GetFocusBox(CPDFSDK_PageView* pPageView);
135 135
136 FX_BOOL IsValid() const; 136 FX_BOOL IsValid() const;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 CFX_RenderDevice* pDevice, 189 CFX_RenderDevice* pDevice,
190 CPDF_Matrix* pUser2Device, 190 CPDF_Matrix* pUser2Device,
191 FX_DWORD dwFlags) override; 191 FX_DWORD dwFlags) override;
192 192
193 protected: 193 protected:
194 FX_BOOL m_bMouseIn; 194 FX_BOOL m_bMouseIn;
195 FX_BOOL m_bMouseDown; 195 FX_BOOL m_bMouseDown;
196 }; 196 };
197 197
198 #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