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

Side by Side Diff: core/src/fxge/apple/apple_int.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/fx_arabic.h ('k') | fpdfsdk/include/fsdk_define.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 _APPLE_INT_H_ 7 #ifndef _APPLE_INT_H_
8 #define _APPLE_INT_H_ 8 #define _APPLE_INT_H_
9 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ 9 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_
10 #if _FX_OS_ == _FX_MACOSX_ 10 #if _FX_OS_ == _FX_MACOSX_
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 FX_INT32 m_saveCount; 178 FX_INT32 m_saveCount;
179 179
180 FX_INT32 _width; 180 FX_INT32 _width;
181 FX_INT32 _height; 181 FX_INT32 _height;
182 FX_INT32 _bitsPerPixel; 182 FX_INT32 _bitsPerPixel;
183 FX_INT32 _deviceClass; 183 FX_INT32 _deviceClass;
184 FX_INT32 _renderCaps; 184 FX_INT32 _renderCaps;
185 FX_INT32 _horzSize; 185 FX_INT32 _horzSize;
186 FX_INT32 _vertSize; 186 FX_INT32 _vertSize;
187 }; 187 };
188 class CFX_FontProvider : public IFX_FileRead 188 class CFX_FontProvider FX_FINAL : public IFX_FileRead
189 { 189 {
190 public: 190 public:
191 virtual void Release() 191 virtual void Release()
192 { 192 {
193 delete this; 193 delete this;
194 } 194 }
195 virtual FX_FILESIZE GetSize() 195 virtual FX_FILESIZE GetSize()
196 { 196 {
197 return (FX_FILESIZE)_totalSize; 197 return (FX_FILESIZE)_totalSize;
198 } 198 }
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 size_t * _tableOffsets; 237 size_t * _tableOffsets;
238 int _tableCount; 238 int _tableCount;
239 int _totalSize; 239 int _totalSize;
240 }; 240 };
241 FX_UINT32 FX_GetHashCode( FX_LPCSTR pStr); 241 FX_UINT32 FX_GetHashCode( FX_LPCSTR pStr);
242 FX_DWORD FX_IOSGetMatchFamilyNameHashcode(FX_LPCSTR pFontName); 242 FX_DWORD FX_IOSGetMatchFamilyNameHashcode(FX_LPCSTR pFontName);
243 FX_UINT32 FX_IOSGetFamilyNamesCount(); 243 FX_UINT32 FX_IOSGetFamilyNamesCount();
244 FX_LPCSTR FX_IOSGetFamilyName( FX_UINT32 uIndex); 244 FX_LPCSTR FX_IOSGetFamilyName( FX_UINT32 uIndex);
245 #endif 245 #endif
246 #endif 246 #endif
OLDNEW
« no previous file with comments | « core/src/fxcrt/fx_arabic.h ('k') | fpdfsdk/include/fsdk_define.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698