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

Side by Side Diff: core/include/fxge/fx_ge_apple.h

Issue 1252613002: FX_BOOL considered harmful. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Manual edits. Created 5 years, 5 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 | « core/include/fxge/fx_ge.h ('k') | core/include/fxge/fx_ge_win32.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_FXGE_FX_GE_APPLE_H_ 7 #ifndef CORE_INCLUDE_FXGE_FX_GE_APPLE_H_
8 #define CORE_INCLUDE_FXGE_FX_GE_APPLE_H_ 8 #define CORE_INCLUDE_FXGE_FX_GE_APPLE_H_
9 9
10 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ 10 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_
11 class CFX_QuartzDevice : public CFX_RenderDevice 11 class CFX_QuartzDevice : public CFX_RenderDevice
12 { 12 {
13 public: 13 public:
14 CFX_QuartzDevice(); 14 CFX_QuartzDevice();
15 ~CFX_QuartzDevice(); 15 ~CFX_QuartzDevice();
16 FX_BOOL Attach(CGContextRef context, int32_t nDeviceClass = FXDC_DISPLAY); 16 bool Attach(CGContextRef context, int32_t nDeviceClass = FXDC_DISPLAY);
17 FX_BOOL Attach(CFX_DIBitmap* pBitmap); 17 bool Attach(CFX_DIBitmap* pBitmap);
18 FX_BOOL Create(int32_t width, int32_t height, FXDIB_Format format); 18 bool Create(int32_t width, int32_t height, FXDIB_Format format);
19 19
20 CGContextRef GetContext(); 20 CGContextRef GetContext();
21 21
22 protected: 22 protected:
23 CGContextRef m_pContext; 23 CGContextRef m_pContext;
24 FX_BOOL m_bOwnedBitmap; 24 bool m_bOwnedBitmap;
25 }; 25 };
26 #endif 26 #endif
27 27
28 #endif // CORE_INCLUDE_FXGE_FX_GE_APPLE_H_ 28 #endif // CORE_INCLUDE_FXGE_FX_GE_APPLE_H_
OLDNEW
« no previous file with comments | « core/include/fxge/fx_ge.h ('k') | core/include/fxge/fx_ge_win32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698