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

Side by Side Diff: core/include/fpdfapi/fpdf_render.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_parser.h ('k') | core/include/fpdfdoc/fpdf_ap.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_RENDER_ 7 #ifndef _FPDF_RENDER_
8 #define _FPDF_RENDER_ 8 #define _FPDF_RENDER_
9 #ifndef _FPDF_PAGE_ 9 #ifndef _FPDF_PAGE_
10 #include "fpdf_page.h" 10 #include "fpdf_page.h"
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 FX_BOOL m_bFirstLayer; 131 FX_BOOL m_bFirstLayer;
132 132
133 void Render(CFX_RenderDevice* pDevice, const CPDF_Pag eObject* pStopObj, 133 void Render(CFX_RenderDevice* pDevice, const CPDF_Pag eObject* pStopObj,
134 const CPDF_RenderOptions* pOptions, const CFX_AffineM atrix* pFinalMatrix); 134 const CPDF_RenderOptions* pOptions, const CFX_AffineM atrix* pFinalMatrix);
135 friend class CPDF_RenderStatus; 135 friend class CPDF_RenderStatus;
136 friend class CPDF_ProgressiveRenderer; 136 friend class CPDF_ProgressiveRenderer;
137 }; 137 };
138 class IPDF_BackgroundDraw 138 class IPDF_BackgroundDraw
139 { 139 {
140 public: 140 public:
141 141 virtual ~IPDF_BackgroundDraw() { }
142 virtual void OnDrawBackground( 142 virtual void OnDrawBackground(
143 CFX_RenderDevice* pBitmapDevice, 143 CFX_RenderDevice* pBitmapDevice,
144 const CFX_AffineMatrix* pOriginal2Bitmap 144 const CFX_AffineMatrix* pOriginal2Bitmap
145 ) = 0; 145 ) = 0;
146 }; 146 };
147 class CPDF_ProgressiveRenderer : public CFX_Object 147 class CPDF_ProgressiveRenderer : public CFX_Object
148 { 148 {
149 public: 149 public:
150 150
151 CPDF_ProgressiveRenderer(); 151 CPDF_ProgressiveRenderer();
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 }; 309 };
310 class CPDF_RenderConfig : public CFX_Object 310 class CPDF_RenderConfig : public CFX_Object
311 { 311 {
312 public: 312 public:
313 CPDF_RenderConfig(); 313 CPDF_RenderConfig();
314 ~CPDF_RenderConfig(); 314 ~CPDF_RenderConfig();
315 int m_HalftoneLimit; 315 int m_HalftoneLimit;
316 int m_RenderStepLimit; 316 int m_RenderStepLimit;
317 }; 317 };
318 #endif 318 #endif
OLDNEW
« no previous file with comments | « core/include/fpdfapi/fpdf_parser.h ('k') | core/include/fpdfdoc/fpdf_ap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698