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

Side by Side Diff: xfa/src/fdp/include/fde_rdr.h

Issue 1741003002: Cleanup forward declarations. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: 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 | « xfa/src/fdp/include/fde_css.h ('k') | xfa/src/fdp/include/fde_rdv.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 XFA_SRC_FDP_INCLUDE_FDE_RDR_H_ 7 #ifndef XFA_SRC_FDP_INCLUDE_FDE_RDR_H_
8 #define XFA_SRC_FDP_INCLUDE_FDE_RDR_H_ 8 #define XFA_SRC_FDP_INCLUDE_FDE_RDR_H_
9 9
10 #include "core/include/fxcrt/fx_coordinates.h" 10 #include "core/include/fxcrt/fx_coordinates.h"
11 #include "xfa/src/fdp/include/fde_psr.h" 11 #include "xfa/src/fdp/include/fde_psr.h"
12 12
13 class IFDE_Page;
14 class IFDE_RenderDevice; 13 class IFDE_RenderDevice;
15 14
16 void FDE_GetPageMatrix(CFX_Matrix& pageMatrix, 15 void FDE_GetPageMatrix(CFX_Matrix& pageMatrix,
17 const CFX_RectF& docPageRect, 16 const CFX_RectF& docPageRect,
18 const CFX_Rect& devicePageRect, 17 const CFX_Rect& devicePageRect,
19 int32_t iRotate, 18 int32_t iRotate,
20 FX_DWORD dwCoordinatesType = 0); 19 FX_DWORD dwCoordinatesType = 0);
21 enum FDE_RENDERSTATUS { 20 enum FDE_RENDERSTATUS {
22 FDE_RENDERSTATUS_Reset = 0, 21 FDE_RENDERSTATUS_Reset = 0,
23 FDE_RENDERSTATUS_Paused, 22 FDE_RENDERSTATUS_Paused,
24 FDE_RENDERSTATUS_Done, 23 FDE_RENDERSTATUS_Done,
25 FDE_RENDERSTATUS_Failed, 24 FDE_RENDERSTATUS_Failed,
26 }; 25 };
27 26
28 class IFDE_RenderContext { 27 class IFDE_RenderContext {
29 public: 28 public:
30 static IFDE_RenderContext* Create(); 29 static IFDE_RenderContext* Create();
31 virtual ~IFDE_RenderContext() {} 30 virtual ~IFDE_RenderContext() {}
32 virtual void Release() = 0; 31 virtual void Release() = 0;
33 virtual FX_BOOL StartRender(IFDE_RenderDevice* pRenderDevice, 32 virtual FX_BOOL StartRender(IFDE_RenderDevice* pRenderDevice,
34 IFDE_CanvasSet* pCanvasSet, 33 IFDE_CanvasSet* pCanvasSet,
35 const CFX_Matrix& tmDoc2Device) = 0; 34 const CFX_Matrix& tmDoc2Device) = 0;
36 virtual FDE_RENDERSTATUS GetStatus() const = 0; 35 virtual FDE_RENDERSTATUS GetStatus() const = 0;
37 virtual FDE_RENDERSTATUS DoRender(IFX_Pause* pPause = NULL) = 0; 36 virtual FDE_RENDERSTATUS DoRender(IFX_Pause* pPause = NULL) = 0;
38 virtual void StopRender() = 0; 37 virtual void StopRender() = 0;
39 }; 38 };
40 39
41 #endif // XFA_SRC_FDP_INCLUDE_FDE_RDR_H_ 40 #endif // XFA_SRC_FDP_INCLUDE_FDE_RDR_H_
OLDNEW
« no previous file with comments | « xfa/src/fdp/include/fde_css.h ('k') | xfa/src/fdp/include/fde_rdv.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698