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

Side by Side Diff: xfa/fxfa/app/xfa_rendercontext.h

Issue 1803723002: Move xfa/src up to xfa/. (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 | « xfa/fxfa/app/xfa_fwltheme.cpp ('k') | xfa/fxfa/app/xfa_rendercontext.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 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_FXFA_APP_XFA_RENDERCONTEXT_H_ 7 #ifndef XFA_FXFA_APP_XFA_RENDERCONTEXT_H_
8 #define XFA_SRC_FXFA_APP_XFA_RENDERCONTEXT_H_ 8 #define XFA_FXFA_APP_XFA_RENDERCONTEXT_H_
9 9
10 #include "xfa/include/fxfa/fxfa.h" 10 #include "xfa/include/fxfa/fxfa.h"
11 11
12 class CXFA_RenderContext : public IXFA_RenderContext { 12 class CXFA_RenderContext : public IXFA_RenderContext {
13 public: 13 public:
14 CXFA_RenderContext(); 14 CXFA_RenderContext();
15 virtual ~CXFA_RenderContext(); 15 virtual ~CXFA_RenderContext();
16 virtual void Release() { delete this; } 16 virtual void Release() { delete this; }
17 virtual int32_t StartRender(IXFA_PageView* pPageView, 17 virtual int32_t StartRender(IXFA_PageView* pPageView,
18 CFX_Graphics* pGS, 18 CFX_Graphics* pGS,
19 const CFX_Matrix& matrix, 19 const CFX_Matrix& matrix,
20 const CXFA_RenderOptions& options); 20 const CXFA_RenderOptions& options);
21 virtual int32_t DoRender(IFX_Pause* pPause = NULL); 21 virtual int32_t DoRender(IFX_Pause* pPause = NULL);
22 virtual void StopRender(); 22 virtual void StopRender();
23 23
24 protected: 24 protected:
25 IXFA_WidgetIterator* m_pWidgetIterator; 25 IXFA_WidgetIterator* m_pWidgetIterator;
26 IXFA_Widget* m_pWidget; 26 IXFA_Widget* m_pWidget;
27 IXFA_PageView* m_pPageView; 27 IXFA_PageView* m_pPageView;
28 CFX_Graphics* m_pGS; 28 CFX_Graphics* m_pGS;
29 CFX_Matrix m_matrix; 29 CFX_Matrix m_matrix;
30 CXFA_RenderOptions m_options; 30 CXFA_RenderOptions m_options;
31 FX_DWORD m_dwStatus; 31 FX_DWORD m_dwStatus;
32 CFX_RectF m_rtClipRect; 32 CFX_RectF m_rtClipRect;
33 }; 33 };
34 34
35 #endif // XFA_SRC_FXFA_APP_XFA_RENDERCONTEXT_H_ 35 #endif // XFA_FXFA_APP_XFA_RENDERCONTEXT_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_fwltheme.cpp ('k') | xfa/fxfa/app/xfa_rendercontext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698