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

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

Issue 2197513004: Refactor fxge/fx_apple and fx_win header files (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Fixing bot failures 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
OLDNEW
(Empty)
1 // Copyright 2014 PDFium Authors. All rights reserved.
Lei Zhang 2016/07/29 21:12:27 2016 since this is a "new" file?
npm_g 2016/07/29 21:26:07 Done.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #ifndef CORE_FXGE_INCLUDE_CFX_WINDOWSDEVICE_H_
8 #define CORE_FXGE_INCLUDE_CFX_WINDOWSDEVICE_H_
9
10 #ifdef _WIN32
11 #ifndef _WINDOWS_
12 #include <windows.h>
13 #endif
14
15 class IFX_RenderDeviceDriver;
16
17 #if defined(PDFIUM_PRINT_TEXT_WITH_GDI)
18 typedef void (*PDFiumEnsureTypefaceCharactersAccessible)(const LOGFONT* font,
19 const wchar_t* text,
20 size_t text_length);
21
22 extern bool g_pdfium_print_text_with_gdi;
23 extern PDFiumEnsureTypefaceCharactersAccessible
24 g_pdfium_typeface_accessible_func;
25 #endif
26
27 class CFX_WindowsDevice : public CFX_RenderDevice {
28 public:
29 static IFX_RenderDeviceDriver* CreateDriver(HDC hDC);
30
31 explicit CFX_WindowsDevice(HDC hDC);
32 ~CFX_WindowsDevice() override;
33
34 HDC GetDC() const;
35 };
36
37 #endif
Lei Zhang 2016/07/29 21:12:27 Which #if does this match with? Add a comment.
npm_g 2016/07/29 21:26:07 Done.
38
39 #endif // CORE_FXGE_INCLUDE_CFX_WINDOWSDEVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698