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

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

Issue 1411423002: Merge to XFA: Remove dead code that was reactivated when fixing overrides. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: fix up mismatches, round 2 Created 5 years, 2 months 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_ListBox.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 "../../../core/include/fxcrt/fx_basic.h" 10 #include "../../../core/include/fxcrt/fx_basic.h"
11 #include "PWL_EditCtrl.h" 11 #include "PWL_EditCtrl.h"
12 #include "PWL_Wnd.h" 12 #include "PWL_Wnd.h"
13 13
14 class CPWL_Edit; 14 class CPWL_Edit;
15 class IPWL_Filler_Notify; 15 class IPWL_Filler_Notify;
16 class IPWL_SpellCheck; 16 class IPWL_SpellCheck;
17 17
18 class IPWL_Filler_Notify { 18 class IPWL_Filler_Notify {
19 public: 19 public:
20 virtual ~IPWL_Filler_Notify() {} 20 virtual ~IPWL_Filler_Notify() {}
21 virtual void QueryWherePopup( 21 virtual void QueryWherePopup(
22 void* pPrivateData, 22 void* pPrivateData,
23 FX_FLOAT fPopupMin, 23 FX_FLOAT fPopupMin,
24 FX_FLOAT fPopupMax, 24 FX_FLOAT fPopupMax,
25 int32_t& nRet, 25 int32_t& nRet,
26 FX_FLOAT& fPopupRet) = 0; // nRet: (0:bottom 1:top) 26 FX_FLOAT& fPopupRet) = 0; // nRet: (0:bottom 1:top)
27 virtual void OnBeforeKeyStroke(FX_BOOL bEditOrList, 27 virtual void OnBeforeKeyStroke(void* pPrivateData,
28 void* pPrivateData,
29 int32_t nKeyCode,
30 CFX_WideString& strChange, 28 CFX_WideString& strChange,
31 const CFX_WideString& strChangeEx, 29 const CFX_WideString& strChangeEx,
32 int nSelStart, 30 int nSelStart,
33 int nSelEnd, 31 int nSelEnd,
34 FX_BOOL bKeyDown, 32 FX_BOOL bKeyDown,
35 FX_BOOL& bRC, 33 FX_BOOL& bRC,
36 FX_BOOL& bExit, 34 FX_BOOL& bExit,
37 FX_DWORD nFlag) = 0; 35 FX_DWORD nFlag) = 0;
38 virtual void OnAfterKeyStroke(FX_BOOL bEditOrList,
39 void* pPrivateData,
40 FX_BOOL& bExit,
41 FX_DWORD nFlag) = 0;
42 36
43 virtual void OnPopupPreOpen(void* pPrivateData, 37 virtual void OnPopupPreOpen(void* pPrivateData,
44 FX_BOOL& bExit, 38 FX_BOOL& bExit,
45 FX_DWORD nFlag) = 0; 39 FX_DWORD nFlag) = 0;
46 virtual void OnPopupPostOpen(void* pPrivateData, 40 virtual void OnPopupPostOpen(void* pPrivateData,
47 FX_BOOL& bExit, 41 FX_BOOL& bExit,
48 FX_DWORD nFlag) = 0; 42 FX_DWORD nFlag) = 0;
49 }; 43 };
50 44
51 class CPWL_Edit : public CPWL_EditCtrl, public IFX_Edit_OprNotify { 45 class CPWL_Edit : public CPWL_EditCtrl, public IFX_Edit_OprNotify {
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 CPDF_Rect m_rcOldWindow; 162 CPDF_Rect m_rcOldWindow;
169 163
170 public: 164 public:
171 void AttachFFLData(void* pData) { m_pFormFiller = pData; } 165 void AttachFFLData(void* pData) { m_pFormFiller = pData; }
172 166
173 private: 167 private:
174 void* m_pFormFiller; 168 void* m_pFormFiller;
175 }; 169 };
176 170
177 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_ 171 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/formfiller/FFL_ListBox.h ('k') | fpdfsdk/src/formfiller/FFL_ComboBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698