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

Side by Side Diff: core/src/fxcrt/fx_arabic.h

Issue 370853002: pdfium: Fix all -Wdelete-non-virtual-dtor violations on Mac. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: rebase Created 6 years, 5 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 | « core/src/fxcrt/extension.h ('k') | core/src/fxge/apple/apple_int.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 _FX_ARABIC_IMP 7 #ifndef _FX_ARABIC_IMP
8 #define _FX_ARABIC_IMP 8 #define _FX_ARABIC_IMP
9 class CFX_BidiChar : public IFX_BidiChar, public CFX_Object 9 class CFX_BidiChar FX_FINAL : public IFX_BidiChar, public CFX_Object
10 { 10 {
11 public: 11 public:
12 CFX_BidiChar(); 12 CFX_BidiChar();
13 virtual void Release() 13 virtual void Release()
14 { 14 {
15 delete this; 15 delete this;
16 } 16 }
17 virtual void SetPolicy(FX_BOOL bSeparateNeutral = TRUE) 17 virtual void SetPolicy(FX_BOOL bSeparateNeutral = TRUE)
18 { 18 {
19 m_bSeparateNeutral = bSeparateNeutral; 19 m_bSeparateNeutral = bSeparateNeutral;
20 } 20 }
21 virtual FX_BOOL AppendChar(FX_WCHAR wch); 21 virtual FX_BOOL AppendChar(FX_WCHAR wch);
22 virtual FX_BOOL EndChar(); 22 virtual FX_BOOL EndChar();
23 virtual FX_INT32 GetBidiInfo(FX_INT32 &iStart, FX_INT32 &iCount); 23 virtual FX_INT32 GetBidiInfo(FX_INT32 &iStart, FX_INT32 &iCount);
24 virtual void Reset(); 24 virtual void Reset();
25 protected: 25 protected:
26 FX_BOOL m_bSeparateNeutral; 26 FX_BOOL m_bSeparateNeutral;
27 FX_INT32 m_iCurStart; 27 FX_INT32 m_iCurStart;
28 FX_INT32 m_iCurCount; 28 FX_INT32 m_iCurCount;
29 FX_INT32 m_iCurBidi; 29 FX_INT32 m_iCurBidi;
30 FX_INT32 m_iLastBidi; 30 FX_INT32 m_iLastBidi;
31 FX_INT32 m_iLastStart; 31 FX_INT32 m_iLastStart;
32 FX_INT32 m_iLastCount; 32 FX_INT32 m_iLastCount;
33 }; 33 };
34 #endif 34 #endif
OLDNEW
« no previous file with comments | « core/src/fxcrt/extension.h ('k') | core/src/fxge/apple/apple_int.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698