summaryrefslogtreecommitdiff
path: root/xfa/include/fwl/adapter/fwl_adaptercursormgr.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-02-09 10:18:11 -0800
committerTom Sepez <tsepez@chromium.org>2016-02-09 10:18:11 -0800
commitc74acf4552944c5485b1175c008708d19b57d322 (patch)
tree11556c712418376dd21bda153e75a40cda94d5cd /xfa/include/fwl/adapter/fwl_adaptercursormgr.h
parent11d93559cea7a0894e05249e7dac2035ad79994e (diff)
downloadpdfium-c74acf4552944c5485b1175c008708d19b57d322.tar.xz
Several pure virtual IFWL_Adapter* classes not implemented.
The routines that would return them always return NULL. Some path, however, didn't previously check for NULL. Those must have been bugs; treat such cases as unreachable. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1679103002 .
Diffstat (limited to 'xfa/include/fwl/adapter/fwl_adaptercursormgr.h')
-rw-r--r--xfa/include/fwl/adapter/fwl_adaptercursormgr.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/xfa/include/fwl/adapter/fwl_adaptercursormgr.h b/xfa/include/fwl/adapter/fwl_adaptercursormgr.h
deleted file mode 100644
index cc8b8ecc10..0000000000
--- a/xfa/include/fwl/adapter/fwl_adaptercursormgr.h
+++ /dev/null
@@ -1,38 +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 _FWL_ADAPTER_CURSORMGR_H
-#define _FWL_ADAPTER_CURSORMGR_H
-class CFX_DIBitmap;
-class IFWL_AdapterCursorMgr;
-enum FWL_CURSORTYPE {
- FWL_CURSORTYPE_Arrow = 0,
- FWL_CURSORTYPE_Cross,
- FWL_CURSORTYPE_Hand,
- FWL_CURSORTYPE_InputBeam,
- FWL_CURSORTYPE_Wait,
- FWL_CURSORTYPE_SizeAll,
- FWL_CURSORTYPE_SizeNWSE,
- FWL_CURSORTYPE_SizeNESW,
- FWL_CURSORTYPE_SizeWE,
- FWL_CURSORTYPE_SizeNS,
- FWL_CURSORTYPE_Prohibition,
- FWL_CURSORTYPE_Help
-};
-typedef struct _FWL_HCURSOR { void* pData; } * FWL_HCURSOR;
-
-class IFWL_AdapterCursorMgr {
- public:
- virtual ~IFWL_AdapterCursorMgr() {}
- virtual FWL_HCURSOR GetSystemCursor(FWL_CURSORTYPE eCursorType) = 0;
- virtual FWL_HCURSOR GetCustomCursor(const CFX_DIBitmap* pBitmap,
- FX_FLOAT xHotspot = 0,
- FX_FLOAT yHotspot = 0) = 0;
- virtual FWL_ERR SetCursor(FWL_HCURSOR hCursor) = 0;
- virtual FWL_ERR ShowCursor(FX_BOOL bShow) = 0;
- virtual FWL_ERR GetCursorPos(CFX_PointF& pt) = 0;
-};
-#endif