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

Side by Side Diff: fpdfsdk/include/pdfwindow/PWL_Edit.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/jsapi/fxjs_v8.h ('k') | fpdfsdk/src/formfiller/FFL_ComboBox.cpp » ('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_PDFWINDOW_PWL_EDIT_H_ 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_
8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_ 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_
9 9
10 #include "PWL_EditCtrl.h" 10 #include "PWL_EditCtrl.h"
(...skipping 16 matching lines...) Expand all
27 virtual void OnBeforeKeyStroke(void* pPrivateData, 27 virtual void OnBeforeKeyStroke(void* pPrivateData,
28 CFX_WideString& strChange, 28 CFX_WideString& strChange,
29 const CFX_WideString& strChangeEx, 29 const CFX_WideString& strChangeEx,
30 int nSelStart, 30 int nSelStart,
31 int nSelEnd, 31 int nSelEnd,
32 FX_BOOL bKeyDown, 32 FX_BOOL bKeyDown,
33 FX_BOOL& bRC, 33 FX_BOOL& bRC,
34 FX_BOOL& bExit, 34 FX_BOOL& bExit,
35 FX_DWORD nFlag) = 0; 35 FX_DWORD nFlag) = 0;
36 #ifdef PDF_ENABLE_XFA 36 #ifdef PDF_ENABLE_XFA
37
38 virtual void OnPopupPreOpen(void* pPrivateData, 37 virtual void OnPopupPreOpen(void* pPrivateData,
39 FX_BOOL& bExit, 38 FX_BOOL& bExit,
40 FX_DWORD nFlag) = 0; 39 FX_DWORD nFlag) = 0;
41 virtual void OnPopupPostOpen(void* pPrivateData, 40 virtual void OnPopupPostOpen(void* pPrivateData,
42 FX_BOOL& bExit, 41 FX_BOOL& bExit,
43 FX_DWORD nFlag) = 0; 42 FX_DWORD nFlag) = 0;
44 #endif 43 #endif // PDF_ENABLE_XFA
45 }; 44 };
46 45
47 class CPWL_Edit : public CPWL_EditCtrl, public IFX_Edit_OprNotify { 46 class CPWL_Edit : public CPWL_EditCtrl, public IFX_Edit_OprNotify {
48 public: 47 public:
49 CPWL_Edit(); 48 CPWL_Edit();
50 ~CPWL_Edit() override; 49 ~CPWL_Edit() override;
51 50
52 // CPWL_EditCtrl 51 // CPWL_EditCtrl
53 CFX_ByteString GetClassName() const override; 52 CFX_ByteString GetClassName() const override;
54 void OnDestroy() override; 53 void OnDestroy() override;
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 CPDF_Rect m_rcOldWindow; 163 CPDF_Rect m_rcOldWindow;
165 164
166 public: 165 public:
167 void AttachFFLData(void* pData) { m_pFormFiller = pData; } 166 void AttachFFLData(void* pData) { m_pFormFiller = pData; }
168 167
169 private: 168 private:
170 void* m_pFormFiller; 169 void* m_pFormFiller;
171 }; 170 };
172 171
173 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_ 172 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/jsapi/fxjs_v8.h ('k') | fpdfsdk/src/formfiller/FFL_ComboBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698