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

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

Issue 842223004: merge to XFA: Fix -Wnon-virtual-dtor compiler warnings. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 11 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/pdfwindow/PWL_Edit.h ('k') | fpdfsdk/include/pdfwindow/PWL_IconList.h » ('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 _PWL_EDITCTRL_H_ 7 #ifndef _PWL_EDITCTRL_H_
8 #define _PWL_EDITCTRL_H_ 8 #define _PWL_EDITCTRL_H_
9 9
10 enum PWL_EDIT_ALIGNFORMAT_H 10 enum PWL_EDIT_ALIGNFORMAT_H
(...skipping 12 matching lines...) Expand all
23 23
24 class IPWL_Edit_Notify; 24 class IPWL_Edit_Notify;
25 class CPWL_EditCtrl; 25 class CPWL_EditCtrl;
26 class CPWL_Caret; 26 class CPWL_Caret;
27 class IFX_Edit; 27 class IFX_Edit;
28 class CPWL_Edit; 28 class CPWL_Edit;
29 29
30 class IPWL_Edit_Notify 30 class IPWL_Edit_Notify
31 { 31 {
32 public: 32 public:
33 virtual ~IPWL_Edit_Notify() { }
33 //when the position of caret is changed in edit 34 //when the position of caret is changed in edit
34 virtual void OnCaretMove(FX_INT32 x1, FX_INT32 y1, FX_INT32 x2, FX_INT32 y2) {} 35 virtual void OnCaretMove(FX_INT32 x1, FX_INT32 y1, FX_INT32 x2, FX_INT32 y2) {}
35 virtual void OnContentChange(const CP DF_Rect& rcContent){} 36 virtual void OnContentChange(const CP DF_Rect& rcContent){}
36 //OprType: 0 InsertWord 37 //OprType: 0 InsertWord
37 //1 InsertReturn 38 //1 InsertReturn
38 //2 BackSpace 39 //2 BackSpace
39 //3 Delete 40 //3 Delete
40 //4 Clear 41 //4 Clear
41 //5 InsertText 42 //5 InsertText
42 //6 SetText 43 //6 SetText
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 FX_BOOL m_bMouseDown; 163 FX_BOOL m_bMouseDown;
163 IPWL_Edit_Notify* m_pEditNotify; 164 IPWL_Edit_Notify* m_pEditNotify;
164 165
165 private: 166 private:
166 FX_INT32 m_nCharSet; 167 FX_INT32 m_nCharSet;
167 FX_INT32 m_nCodePage; 168 FX_INT32 m_nCodePage;
168 }; 169 };
169 170
170 #endif 171 #endif
171 172
OLDNEW
« no previous file with comments | « fpdfsdk/include/pdfwindow/PWL_Edit.h ('k') | fpdfsdk/include/pdfwindow/PWL_IconList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698