summaryrefslogtreecommitdiff
path: root/core/fxge/include/fx_ge_apple.h
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-07-29 15:20:25 -0700
committerCommit bot <commit-bot@chromium.org>2016-07-29 15:20:25 -0700
commit7484762421e85aa5d610f47aa547470786eecab8 (patch)
tree321455e17ca3796a17f3edc9b33e11435bc9d7fb /core/fxge/include/fx_ge_apple.h
parent246221724a106c11481eedbf1f94475afba23569 (diff)
downloadpdfium-7484762421e85aa5d610f47aa547470786eecab8.tar.xz
Refactor fxge/fx_apple and fx_win header files
- Renamed header for CFX_QuartzDevice class - Removed unused class CFX_WinBitmapDevice - Split remaining fx_ge_win32 header Review-Url: https://codereview.chromium.org/2197513004
Diffstat (limited to 'core/fxge/include/fx_ge_apple.h')
-rw-r--r--core/fxge/include/fx_ge_apple.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/core/fxge/include/fx_ge_apple.h b/core/fxge/include/fx_ge_apple.h
deleted file mode 100644
index 6dce86697f..0000000000
--- a/core/fxge/include/fx_ge_apple.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2014 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_INCLUDE_FX_GE_APPLE_H_
-#define CORE_FXGE_INCLUDE_FX_GE_APPLE_H_
-
-#if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_
-
-#include "core/fxge/include/fx_ge.h"
-
-class CFX_QuartzDevice : public CFX_RenderDevice {
- public:
- CFX_QuartzDevice();
- ~CFX_QuartzDevice() override;
-
- FX_BOOL Attach(CGContextRef context, int32_t nDeviceClass = FXDC_DISPLAY);
- FX_BOOL Attach(CFX_DIBitmap* pBitmap);
- FX_BOOL Create(int32_t width, int32_t height, FXDIB_Format format);
-
- CGContextRef GetContext();
-
- protected:
- CGContextRef m_pContext;
- FX_BOOL m_bOwnedBitmap;
-};
-#endif
-
-#endif // CORE_FXGE_INCLUDE_FX_GE_APPLE_H_