| OLD | NEW | 
|---|
| 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  Loading... | 
| 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  Loading... | 
| 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_ | 
| OLD | NEW | 
|---|