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

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

Issue 1409743004: Remove dead code that was reactivated when fixing overrides. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: rebase 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 37
44 class CPWL_Edit : public CPWL_EditCtrl, public IFX_Edit_OprNotify { 38 class CPWL_Edit : public CPWL_EditCtrl, public IFX_Edit_OprNotify {
45 public: 39 public:
46 CPWL_Edit(); 40 CPWL_Edit();
47 ~CPWL_Edit() override; 41 ~CPWL_Edit() override;
48 42
49 // CPWL_EditCtrl 43 // CPWL_EditCtrl
50 CFX_ByteString GetClassName() const override; 44 CFX_ByteString GetClassName() const override;
51 void OnDestroy() override; 45 void OnDestroy() override;
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 CPDF_Rect m_rcOldWindow; 155 CPDF_Rect m_rcOldWindow;
162 156
163 public: 157 public:
164 void AttachFFLData(void* pData) { m_pFormFiller = pData; } 158 void AttachFFLData(void* pData) { m_pFormFiller = pData; }
165 159
166 private: 160 private:
167 void* m_pFormFiller; 161 void* m_pFormFiller;
168 }; 162 };
169 163
170 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_ 164 #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