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

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

Issue 810883005: Fix -Wnon-virtual-dtor compiler warnings. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Restore private destructors. 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_EditCtrl.h ('k') | fpdfsdk/include/pdfwindow/PWL_Note.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_IconList_H_ 7 #ifndef _PWL_IconList_H_
8 #define _PWL_IconList_H_ 8 #define _PWL_IconList_H_
9 9
10 class IPWL_IconList_Notify; 10 class IPWL_IconList_Notify;
11 class CPWL_IconList_Item; 11 class CPWL_IconList_Item;
12 class CPWL_IconList_Content; 12 class CPWL_IconList_Content;
13 class CPWL_IconList; 13 class CPWL_IconList;
14 class CPWL_Label; 14 class CPWL_Label;
15 15
16 class IPWL_IconList_Notify 16 class IPWL_IconList_Notify
17 { 17 {
18 public: 18 public:
19 virtual ~IPWL_IconList_Notify() { }
19 virtual void OnNoteListSelCha nged(FX_INT32 nItemIndex) = 0; 20 virtual void OnNoteListSelCha nged(FX_INT32 nItemIndex) = 0;
20 }; 21 };
21 22
22 class CPWL_IconList_Item : public CPWL_Wnd 23 class CPWL_IconList_Item : public CPWL_Wnd
23 { 24 {
24 public: 25 public:
25 CPWL_IconList_Item(); 26 CPWL_IconList_Item();
26 virtual ~CPWL_IconList_Item(); 27 virtual ~CPWL_IconList_Item();
27 28
28 virtual CFX_ByteString GetClassName() const; 29 virtual CFX_ByteString GetClassName() const;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 virtual void OnNotify(CPWL_Wn d* pWnd, FX_DWORD msg, FX_INTPTR wParam = 0, FX_INTPTR lParam = 0); 117 virtual void OnNotify(CPWL_Wn d* pWnd, FX_DWORD msg, FX_INTPTR wParam = 0, FX_INTPTR lParam = 0);
117 118
118 private: 119 private:
119 CPWL_IconList_Content* m_pListContent; 120 CPWL_IconList_Content* m_pListContent;
120 FX_INT32 m_nListC ount; 121 FX_INT32 m_nListC ount;
121 }; 122 };
122 123
123 #endif //_PWL_IconList_H_ 124 #endif //_PWL_IconList_H_
124 125
125 126
OLDNEW
« no previous file with comments | « fpdfsdk/include/pdfwindow/PWL_EditCtrl.h ('k') | fpdfsdk/include/pdfwindow/PWL_Note.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698