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

Side by Side Diff: core/fpdfapi/ipdf_rendermodule.h

Issue 1918113002: Clean up CPDF_Page. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: more Created 4 years, 7 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/fpdfapi/fpdf_render/fpdf_render_text.cpp ('k') | core/fpdfdoc/doc_annot.cpp » ('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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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 CORE_FPDFAPI_IPDF_RENDERMODULE_H_ 7 #ifndef CORE_FPDFAPI_IPDF_RENDERMODULE_H_
8 #define CORE_FPDFAPI_IPDF_RENDERMODULE_H_ 8 #define CORE_FPDFAPI_IPDF_RENDERMODULE_H_
9 9
10 class CPDF_DocRenderData; 10 class CPDF_DocRenderData;
11 class CPDF_Document; 11 class CPDF_Document;
12 class CPDF_Page; 12 class CPDF_Page;
13 class CPDF_PageRenderCache; 13 class CPDF_PageRenderCache;
14 14
15 class IPDF_RenderModule { 15 class IPDF_RenderModule {
16 public: 16 public:
17 virtual ~IPDF_RenderModule() {} 17 virtual ~IPDF_RenderModule() {}
18 18
19 virtual CPDF_DocRenderData* CreateDocData(CPDF_Document* pDoc) = 0; 19 virtual CPDF_DocRenderData* CreateDocData(CPDF_Document* pDoc) = 0;
20 virtual void DestroyDocData(CPDF_DocRenderData* pDocRenderData) = 0; 20 virtual void DestroyDocData(CPDF_DocRenderData* pDocRenderData) = 0;
21 virtual void ClearDocData(CPDF_DocRenderData* pDocRenderData) = 0; 21 virtual void ClearDocData(CPDF_DocRenderData* pDocRenderData) = 0;
22 22
23 virtual CPDF_DocRenderData* GetRenderData() = 0; 23 virtual CPDF_DocRenderData* GetRenderData() = 0;
24
25 virtual CPDF_PageRenderCache* CreatePageCache(CPDF_Page* pPage) = 0;
26 virtual void DestroyPageCache(CPDF_PageRenderCache* pCache) = 0;
27 }; 24 };
28 25
29 #endif // CORE_FPDFAPI_IPDF_RENDERMODULE_H_ 26 #endif // CORE_FPDFAPI_IPDF_RENDERMODULE_H_
OLDNEW
« no previous file with comments | « core/fpdfapi/fpdf_render/fpdf_render_text.cpp ('k') | core/fpdfdoc/doc_annot.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698