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

Side by Side Diff: core/include/fpdfapi/fpdf_render.h

Issue 1799773002: Move fpdfsdk/src up to fpdfsdk/. (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 | « BUILD.gn ('k') | core/include/fpdfapi/ipdf_data_avail.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 CORE_INCLUDE_FPDFAPI_FPDF_RENDER_H_ 7 #ifndef CORE_INCLUDE_FPDFAPI_FPDF_RENDER_H_
8 #define CORE_INCLUDE_FPDFAPI_FPDF_RENDER_H_ 8 #define CORE_INCLUDE_FPDFAPI_FPDF_RENDER_H_
9 9
10 #include <map> 10 #include <map>
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 CPDF_Document* const m_pDocument; 105 CPDF_Document* const m_pDocument;
106 CPDF_Dictionary* m_pPageResources; 106 CPDF_Dictionary* m_pPageResources;
107 CPDF_PageRenderCache* m_pPageCache; 107 CPDF_PageRenderCache* m_pPageCache;
108 FX_BOOL m_bFirstLayer; 108 FX_BOOL m_bFirstLayer;
109 CFX_ArrayTemplate<Layer> m_Layers; 109 CFX_ArrayTemplate<Layer> m_Layers;
110 }; 110 };
111 111
112 class CPDF_ProgressiveRenderer { 112 class CPDF_ProgressiveRenderer {
113 public: 113 public:
114 // Must match FDF_RENDER_* definitions in public/fpdf_progressive.h, but 114 // Must match FDF_RENDER_* definitions in public/fpdf_progressive.h, but
115 // cannot #include that header. fpdfsdk/src/fpdf_progressive.cpp has 115 // cannot #include that header. fpdfsdk/fpdf_progressive.cpp has
116 // static_asserts to make sure the two sets of values match. 116 // static_asserts to make sure the two sets of values match.
117 enum Status { 117 enum Status {
118 Ready, // FPDF_RENDER_READER 118 Ready, // FPDF_RENDER_READER
119 ToBeContinued, // FPDF_RENDER_TOBECOUNTINUED 119 ToBeContinued, // FPDF_RENDER_TOBECOUNTINUED
120 Done, // FPDF_RENDER_DONE 120 Done, // FPDF_RENDER_DONE
121 Failed // FPDF_RENDER_FAILED 121 Failed // FPDF_RENDER_FAILED
122 }; 122 };
123 123
124 static int ToFPDFStatus(Status status) { return static_cast<int>(status); } 124 static int ToFPDFStatus(Status status) { return static_cast<int>(status); }
125 125
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 CPDF_ImageCacheEntry* m_pCurImageCacheEntry; 254 CPDF_ImageCacheEntry* m_pCurImageCacheEntry;
255 std::map<CPDF_Stream*, CPDF_ImageCacheEntry*> m_ImageCache; 255 std::map<CPDF_Stream*, CPDF_ImageCacheEntry*> m_ImageCache;
256 FX_DWORD m_nTimeCount; 256 FX_DWORD m_nTimeCount;
257 FX_DWORD m_nCacheSize; 257 FX_DWORD m_nCacheSize;
258 FX_BOOL m_bCurFindCache; 258 FX_BOOL m_bCurFindCache;
259 }; 259 };
260 260
261 FX_BOOL IsAvailableMatrix(const CFX_Matrix& matrix); 261 FX_BOOL IsAvailableMatrix(const CFX_Matrix& matrix);
262 262
263 #endif // CORE_INCLUDE_FPDFAPI_FPDF_RENDER_H_ 263 #endif // CORE_INCLUDE_FPDFAPI_FPDF_RENDER_H_
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | core/include/fpdfapi/ipdf_data_avail.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698