summaryrefslogtreecommitdiff
path: root/core/fxge/cfx_windowsdevice.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-05-11 16:26:50 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-05-11 20:44:14 +0000
commita5085d45e8288a7ed7af24fc9134d07cbc56e9dc (patch)
treec6594c39a762cc4d663c23424112b55d93abf521 /core/fxge/cfx_windowsdevice.h
parente6324fa7137fa224daa397464293e0c74e1c68ce (diff)
downloadpdfium-a5085d45e8288a7ed7af24fc9134d07cbc56e9dc.tar.xz
Rename render device classes
This Cl renames the CFX_RenderDevice subclasses to make their usage clearer. Change-Id: Ie820b57df9a3743ce8c6893fb483b398a1f1bdbe Reviewed-on: https://pdfium-review.googlesource.com/5390 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxge/cfx_windowsdevice.h')
-rw-r--r--core/fxge/cfx_windowsdevice.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/core/fxge/cfx_windowsdevice.h b/core/fxge/cfx_windowsdevice.h
deleted file mode 100644
index 2d17cb7dd8..0000000000
--- a/core/fxge/cfx_windowsdevice.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 2016 PDFium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-
-#ifndef CORE_FXGE_CFX_WINDOWSDEVICE_H_
-#define CORE_FXGE_CFX_WINDOWSDEVICE_H_
-
-#ifdef _WIN32
-#ifndef _WINDOWS_
-#include <windows.h>
-#endif
-
-#include "core/fxge/cfx_renderdevice.h"
-
-class IFX_RenderDeviceDriver;
-
-#if defined(PDFIUM_PRINT_TEXT_WITH_GDI)
-typedef void (*PDFiumEnsureTypefaceCharactersAccessible)(const LOGFONT* font,
- const wchar_t* text,
- size_t text_length);
-
-extern bool g_pdfium_print_text_with_gdi;
-extern PDFiumEnsureTypefaceCharactersAccessible
- g_pdfium_typeface_accessible_func;
-#endif
-extern int g_pdfium_print_postscript_level;
-
-class CFX_WindowsDevice : public CFX_RenderDevice {
- public:
- static IFX_RenderDeviceDriver* CreateDriver(HDC hDC);
-
- explicit CFX_WindowsDevice(HDC hDC);
- ~CFX_WindowsDevice() override;
-};
-
-#endif // _WIN32
-
-#endif // CORE_FXGE_CFX_WINDOWSDEVICE_H_