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

Side by Side Diff: core/fxge/skia/fx_skia_device.h

Issue 2246223002: Refactor fx_font part 1 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: CFX_AutoFontCache to own class, fixes Created 4 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
« no previous file with comments | « core/fxge/include/fx_font.h ('k') | core/fxge/skia/fx_skia_device.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 #ifndef CORE_FXGE_SKIA_FX_SKIA_DEVICE_H_ 5 #ifndef CORE_FXGE_SKIA_FX_SKIA_DEVICE_H_
6 #define CORE_FXGE_SKIA_FX_SKIA_DEVICE_H_ 6 #define CORE_FXGE_SKIA_FX_SKIA_DEVICE_H_
7 7
8 #if defined(_SKIA_SUPPORT_) 8 #if defined(_SKIA_SUPPORT_)
9 9
10 #include "core/fxge/include/cfx_pathdata.h" 10 #include "core/fxge/include/cfx_pathdata.h"
11 #include "core/fxge/include/ifx_renderdevicedriver.h" 11 #include "core/fxge/include/ifx_renderdevicedriver.h"
12 12
13 class CFX_FontCache;
13 class SkCanvas; 14 class SkCanvas;
14 class SkMatrix; 15 class SkMatrix;
15 class SkPaint; 16 class SkPaint;
16 class SkPath; 17 class SkPath;
17 class SkPictureRecorder; 18 class SkPictureRecorder;
18 class SkiaState; 19 class SkiaState;
19 struct FXTEXT_CHARPOS; 20 struct FXTEXT_CHARPOS;
20 struct SkIRect; 21 struct SkIRect;
21 22
22 class CFX_SkiaDeviceDriver : public IFX_RenderDeviceDriver { 23 class CFX_SkiaDeviceDriver : public IFX_RenderDeviceDriver {
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 CFX_DIBitmap* m_pBitmap; 152 CFX_DIBitmap* m_pBitmap;
152 CFX_DIBitmap* m_pOriDevice; 153 CFX_DIBitmap* m_pOriDevice;
153 SkCanvas* m_pCanvas; 154 SkCanvas* m_pCanvas;
154 SkPictureRecorder* const m_pRecorder; 155 SkPictureRecorder* const m_pRecorder;
155 std::unique_ptr<SkiaState> m_pCache; 156 std::unique_ptr<SkiaState> m_pCache;
156 FX_BOOL m_bGroupKnockout; 157 FX_BOOL m_bGroupKnockout;
157 }; 158 };
158 #endif // defined(_SKIA_SUPPORT_) 159 #endif // defined(_SKIA_SUPPORT_)
159 160
160 #endif // CORE_FXGE_SKIA_FX_SKIA_DEVICE_H_ 161 #endif // CORE_FXGE_SKIA_FX_SKIA_DEVICE_H_
OLDNEW
« no previous file with comments | « core/fxge/include/fx_font.h ('k') | core/fxge/skia/fx_skia_device.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698