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

Side by Side Diff: fpdfsdk/include/pdfwindow/PWL_Edit.h

Issue 1399273003: fpdfsdk/ differences with XFA (for didactic purposes only). (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Regenerate after taking juns patch 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 15 matching lines...) Expand all
26 FX_FLOAT& fPopupRet) = 0; // nRet: (0:bottom 1:top) 26 FX_FLOAT& fPopupRet) = 0; // nRet: (0:bottom 1:top)
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
37
38 virtual void OnPopupPreOpen(void* pPrivateData,
39 FX_BOOL& bExit,
40 FX_DWORD nFlag) = 0;
41 virtual void OnPopupPostOpen(void* pPrivateData,
42 FX_BOOL& bExit,
43 FX_DWORD nFlag) = 0;
44 #endif
36 }; 45 };
37 46
38 class CPWL_Edit : public CPWL_EditCtrl, public IFX_Edit_OprNotify { 47 class CPWL_Edit : public CPWL_EditCtrl, public IFX_Edit_OprNotify {
39 public: 48 public:
40 CPWL_Edit(); 49 CPWL_Edit();
41 ~CPWL_Edit() override; 50 ~CPWL_Edit() override;
42 51
43 // CPWL_EditCtrl 52 // CPWL_EditCtrl
44 CFX_ByteString GetClassName() const override; 53 CFX_ByteString GetClassName() const override;
45 void OnDestroy() override; 54 void OnDestroy() override;
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 CPDF_Rect m_rcOldWindow; 164 CPDF_Rect m_rcOldWindow;
156 165
157 public: 166 public:
158 void AttachFFLData(void* pData) { m_pFormFiller = pData; } 167 void AttachFFLData(void* pData) { m_pFormFiller = pData; }
159 168
160 private: 169 private:
161 void* m_pFormFiller; 170 void* m_pFormFiller;
162 }; 171 };
163 172
164 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_ 173 #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