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

Side by Side Diff: core/include/fpdfdoc/fpdf_ap.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 | « core/include/fpdfapi/fpdf_render.h ('k') | core/include/fpdfdoc/fpdf_tagged.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 _FPDF_AP_H_ 7 #ifndef _FPDF_AP_H_
8 #define _FPDF_AP_H_ 8 #define _FPDF_AP_H_
9 9
10 #include "../fxcrt/fx_basic.h" 10 #include "../fxcrt/fx_basic.h"
11 #include "../fpdfapi/fpdf_parser.h" 11 #include "../fpdfapi/fpdf_parser.h"
12 #include "fpdf_vt.h" 12 #include "fpdf_vt.h"
13 class IPVT_FontMap 13 class IPVT_FontMap
14 { 14 {
15 public: 15 public:
16 16 virtual ~IPVT_FontMap() { }
17 virtual CPDF_Font* GetPDFFont(FX_IN T32 nFontIndex) = 0; 17 virtual CPDF_Font* GetPDFFont(FX_IN T32 nFontIndex) = 0;
18
19 virtual CFX_ByteString GetPDFFontAlias( FX_INT32 nFontIndex) = 0; 18 virtual CFX_ByteString GetPDFFontAlias( FX_INT32 nFontIndex) = 0;
20 }; 19 };
21 struct CPVT_Dash { 20 struct CPVT_Dash {
22 21
23 CPVT_Dash(FX_INT32 dash, FX_INT32 gap, FX_INT32 phase) : nDash(dash), nGap(g ap), nPhase(phase) 22 CPVT_Dash(FX_INT32 dash, FX_INT32 gap, FX_INT32 phase) : nDash(dash), nGap(g ap), nPhase(phase)
24 {} 23 {}
25 24
26 FX_INT32 nDash; 25 FX_INT32 nDash;
27 26
28 FX_INT32 nGap; 27 FX_INT32 nGap;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 const CPDF_Point & ptOffset, FX_BOOL bContinuous, FX_WORD SubWord = 0, const CPVT_WordRange * pVisible = NULL); 86 const CPDF_Point & ptOffset, FX_BOOL bContinuous, FX_WORD SubWord = 0, const CPVT_WordRange * pVisible = NULL);
88 87
89 static CFX_ByteString GenerateBorderAP (const CPDF_Rect & rect, FX_FLOAT fWidth, 88 static CFX_ByteString GenerateBorderAP (const CPDF_Rect & rect, FX_FLOAT fWidth,
90 const CPVT_Color & color, const CPVT_Color & crLeftTop, const CPVT_C olor & crRightBottom, 89 const CPVT_Color & color, const CPVT_Color & crLeftTop, const CPVT_C olor & crRightBottom,
91 FX_INT32 nStyle, const CPVT_Dash & dash); 90 FX_INT32 nStyle, const CPVT_Dash & dash);
92 91
93 static CFX_ByteString GenerateColorAP( const CPVT_Color & color, const FX_BOOL & bFillOrStroke); 92 static CFX_ByteString GenerateColorAP( const CPVT_Color & color, const FX_BOOL & bFillOrStroke);
94 }; 93 };
95 94
96 #endif // _FPDF_AP_H_ 95 #endif // _FPDF_AP_H_
OLDNEW
« no previous file with comments | « core/include/fpdfapi/fpdf_render.h ('k') | core/include/fpdfdoc/fpdf_tagged.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698