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

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

Issue 2546803003: re-enable skia caching (Closed)
Patch Set: remove nullptr Created 4 years 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 | « no previous file | core/fpdfapi/render/cpdf_renderstatus.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_CPDF_PAGERENDERCONTEXT_H_ 7 #ifndef CORE_FPDFAPI_CPDF_PAGERENDERCONTEXT_H_
8 #define CORE_FPDFAPI_CPDF_PAGERENDERCONTEXT_H_ 8 #define CORE_FPDFAPI_CPDF_PAGERENDERCONTEXT_H_
9 9
10 #include <memory> 10 #include <memory>
11 11
12 class CFX_RenderDevice; 12 class CFX_RenderDevice;
13 class CPDF_AnnotList; 13 class CPDF_AnnotList;
14 class CPDF_ProgressiveRenderer; 14 class CPDF_ProgressiveRenderer;
15 class CPDF_RenderContext; 15 class CPDF_RenderContext;
16 class CPDF_RenderOptions; 16 class CPDF_RenderOptions;
17 17
18 // Everything about rendering is put here: for OOM recovery 18 // Everything about rendering is put here: for OOM recovery
19 class CPDF_PageRenderContext { 19 class CPDF_PageRenderContext {
20 public: 20 public:
21 CPDF_PageRenderContext(); 21 CPDF_PageRenderContext();
22 ~CPDF_PageRenderContext(); 22 ~CPDF_PageRenderContext();
23 23
24 std::unique_ptr<CPDF_AnnotList> m_pAnnots;
24 std::unique_ptr<CFX_RenderDevice> m_pDevice; 25 std::unique_ptr<CFX_RenderDevice> m_pDevice;
25 std::unique_ptr<CPDF_RenderContext> m_pContext; 26 std::unique_ptr<CPDF_RenderContext> m_pContext;
26 std::unique_ptr<CPDF_ProgressiveRenderer> m_pRenderer; 27 std::unique_ptr<CPDF_ProgressiveRenderer> m_pRenderer;
27 std::unique_ptr<CPDF_AnnotList> m_pAnnots;
28 std::unique_ptr<CPDF_RenderOptions> m_pOptions; 28 std::unique_ptr<CPDF_RenderOptions> m_pOptions;
29 }; 29 };
30 30
31 #endif // CORE_FPDFAPI_CPDF_PAGERENDERCONTEXT_H_ 31 #endif // CORE_FPDFAPI_CPDF_PAGERENDERCONTEXT_H_
OLDNEW
« no previous file with comments | « no previous file | core/fpdfapi/render/cpdf_renderstatus.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698