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

Side by Side Diff: core/fxge/apple/cfx_quartzdevice.h

Issue 2377393002: Move core/fxge/include to core/fxge (Closed)
Patch Set: Rebase to master Created 4 years, 2 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/fxge/apple/apple_int.h ('k') | core/fxge/apple/fx_apple_platform.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 CORE_FXGE_APPLE_CFX_QUARTZDEVICE_H_ 7 #ifndef CORE_FXGE_APPLE_CFX_QUARTZDEVICE_H_
8 #define CORE_FXGE_APPLE_CFX_QUARTZDEVICE_H_ 8 #define CORE_FXGE_APPLE_CFX_QUARTZDEVICE_H_
9 9
10 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ 10 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_
11 11
12 #include "core/fxge/include/cfx_renderdevice.h" 12 #include "core/fxge/cfx_renderdevice.h"
13 13
14 class CFX_QuartzDevice : public CFX_RenderDevice { 14 class CFX_QuartzDevice : public CFX_RenderDevice {
15 public: 15 public:
16 CFX_QuartzDevice(); 16 CFX_QuartzDevice();
17 ~CFX_QuartzDevice() override; 17 ~CFX_QuartzDevice() override;
18 18
19 FX_BOOL Attach(CGContextRef context, int32_t nDeviceClass = FXDC_DISPLAY); 19 FX_BOOL Attach(CGContextRef context, int32_t nDeviceClass = FXDC_DISPLAY);
20 FX_BOOL Attach(CFX_DIBitmap* pBitmap); 20 FX_BOOL Attach(CFX_DIBitmap* pBitmap);
21 FX_BOOL Create(int32_t width, int32_t height, FXDIB_Format format); 21 FX_BOOL Create(int32_t width, int32_t height, FXDIB_Format format);
22 22
23 CGContextRef GetContext(); 23 CGContextRef GetContext();
24 24
25 protected: 25 protected:
26 CGContextRef m_pContext; 26 CGContextRef m_pContext;
27 FX_BOOL m_bOwnedBitmap; 27 FX_BOOL m_bOwnedBitmap;
28 }; 28 };
29 #endif 29 #endif
30 30
31 #endif // CORE_FXGE_APPLE_CFX_QUARTZDEVICE_H_ 31 #endif // CORE_FXGE_APPLE_CFX_QUARTZDEVICE_H_
OLDNEW
« no previous file with comments | « core/fxge/apple/apple_int.h ('k') | core/fxge/apple/fx_apple_platform.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698