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

Side by Side Diff: core/include/fxge/fx_ge_apple.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 _FX_GE_APPLE_H_ 7 #ifndef _FX_GE_APPLE_H_
8 #define _FX_GE_APPLE_H_ 8 #define _FX_GE_APPLE_H_
9 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ 9 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_
10 class CFX_QuartzDevice : public CFX_RenderDevice 10 class CFX_QuartzDevice : public CFX_RenderDevice {
11 { 11 public:
12 public: 12 CFX_QuartzDevice();
13 CFX_QuartzDevice(); 13 ~CFX_QuartzDevice();
14 ~CFX_QuartzDevice(); 14 FX_BOOL Attach(CGContextRef context, FX_INT32 nDeviceClass = FXDC_DISPLAY);
15 FX_BOOL Attach(CGContextRef context, FX_INT32 nDeviceClass = FXDC_DISPLAY); 15 FX_BOOL Attach(CFX_DIBitmap* pBitmap);
16 FX_BOOL Attach(CFX_DIBitmap* pBitmap); 16 FX_BOOL Create(FX_INT32 width, FX_INT32 height, FXDIB_Format format);
17 FX_BOOL Create(FX_INT32 width, FX_INT32 height, FXDIB_Format format);
18 17
19 CGContextRef GetContext(); 18 CGContextRef GetContext();
20 19
21 protected: 20 protected:
22 CGContextRef m_pContext; 21 CGContextRef m_pContext;
23 FX_BOOL m_bOwnedBitmap; 22 FX_BOOL m_bOwnedBitmap;
24 }; 23 };
25 #endif 24 #endif
26 #endif 25 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698