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

Side by Side Diff: fpdfsdk/include/fsdk_rendercontext.h

Issue 453133004: clang-format all code (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 6 years, 4 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
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 _RENDERCONTENT_H_ 7 #ifndef _RENDERCONTENT_H_
8 #define _RENDERCONTENT_H_ 8 #define _RENDERCONTENT_H_
9 #include "../include/fsdk_define.h" 9 #include "../include/fsdk_define.h"
10 #include "../include/fpdf_progressive.h" 10 #include "../include/fpdf_progressive.h"
11 11
12 // Everything about rendering is put here: for OOM recovery 12 // Everything about rendering is put here: for OOM recovery
13 class CRenderContext : public CFX_Object 13 class CRenderContext : public CFX_Object {
14 { 14 public:
15 public: 15 CRenderContext() { Clear(); }
16 » CRenderContext() { Clear(); } 16 ~CRenderContext();
17 » ~CRenderContext(); 17
18 » 18 void Clear();
19 » void Clear(); 19
20 » 20 CFX_RenderDevice* m_pDevice;
21 » CFX_RenderDevice*» » m_pDevice; 21 CPDF_RenderContext* m_pContext;
22 » CPDF_RenderContext*» » m_pContext; 22 CPDF_ProgressiveRenderer* m_pRenderer;
23 » CPDF_ProgressiveRenderer*» m_pRenderer; 23 CPDF_AnnotList* m_pAnnots;
24 » CPDF_AnnotList*»» » m_pAnnots; 24 CPDF_RenderOptions* m_pOptions;
25 » CPDF_RenderOptions*» » m_pOptions;
26 #ifdef _WIN32_WCE 25 #ifdef _WIN32_WCE
27 » CFX_DIBitmap*» m_pBitmap; 26 CFX_DIBitmap* m_pBitmap;
28 » HBITMAP»» » m_hBitmap; 27 HBITMAP m_hBitmap;
29 #endif 28 #endif
30 }; 29 };
31 30
32 class IFSDK_PAUSE_Adapter : public IFX_Pause 31 class IFSDK_PAUSE_Adapter : public IFX_Pause {
33 { 32 public:
34 public: 33 IFSDK_PAUSE_Adapter(IFSDK_PAUSE* IPause);
35 » IFSDK_PAUSE_Adapter(IFSDK_PAUSE* IPause ); 34 FX_BOOL NeedToPauseNow();
36 » FX_BOOL NeedToPauseNow(); 35
37 » 36 private:
38 private: 37 IFSDK_PAUSE* m_IPause;
39 » IFSDK_PAUSE* m_IPause;
40 }; 38 };
41 #endif 39 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698