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

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

Issue 1805603002: core/include/fdpfapi cleanup Part I. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 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/ipdf_pagemodule.h ('k') | core/fpdfdoc/doc_action.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #ifndef CORE_FPDFAPI_IPDF_RENDERMODULE_H_
8 #define CORE_FPDFAPI_IPDF_RENDERMODULE_H_
9
10 class CPDF_DocRenderData;
11 class CPDF_Document;
12 class CPDF_Page;
13 class CPDF_PageRenderCache;
14
15 class IPDF_RenderModule {
16 public:
17 virtual ~IPDF_RenderModule() {}
18
19 virtual CPDF_DocRenderData* CreateDocData(CPDF_Document* pDoc) = 0;
20 virtual void DestroyDocData(CPDF_DocRenderData* pDocRenderData) = 0;
21 virtual void ClearDocData(CPDF_DocRenderData* pDocRenderData) = 0;
22
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 };
28
29 #endif // CORE_FPDFAPI_IPDF_RENDERMODULE_H_
OLDNEW
« no previous file with comments | « core/fpdfapi/ipdf_pagemodule.h ('k') | core/fpdfdoc/doc_action.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698