summaryrefslogtreecommitdiff
path: root/xfa/fwl/theme/cfwl_arrowdata.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-01-03 15:47:20 -0500
committerChromium commit bot <commit-bot@chromium.org>2017-01-03 21:15:57 +0000
commit72f50f2021cd9f66016c962df8d27fc0c34748cd (patch)
tree735ae945128093c89634eb5bccba29af00f4d7fb /xfa/fwl/theme/cfwl_arrowdata.h
parentc635c93c974db1c55032c36e81e98f3d214a249f (diff)
downloadpdfium-72f50f2021cd9f66016c962df8d27fc0c34748cd.tar.xz
Cleanup ThemeProvider code
Remove unused methods, fold the arrow data into the CFWL_WidgetTP instead of a custom class and global object. Change-Id: Ie942052555d6c8668d27072c1fcc5e8e00597518 Reviewed-on: https://pdfium-review.googlesource.com/2139 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fwl/theme/cfwl_arrowdata.h')
-rw-r--r--xfa/fwl/theme/cfwl_arrowdata.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/xfa/fwl/theme/cfwl_arrowdata.h b/xfa/fwl/theme/cfwl_arrowdata.h
deleted file mode 100644
index 0062e4d6a4..0000000000
--- a/xfa/fwl/theme/cfwl_arrowdata.h
+++ /dev/null
@@ -1,37 +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 XFA_FWL_THEME_CFWL_ARROWDATA_H_
-#define XFA_FWL_THEME_CFWL_ARROWDATA_H_
-
-#include <memory>
-
-#include "core/fxcrt/fx_system.h"
-#include "core/fxge/fx_dib.h"
-
-class CFWL_ArrowData {
- public:
- struct CColorData {
- FX_ARGB clrBorder[4];
- FX_ARGB clrStart[4];
- FX_ARGB clrEnd[4];
- FX_ARGB clrSign[4];
- };
-
- static CFWL_ArrowData* GetInstance();
- static bool HasInstance();
- static void DestroyInstance();
-
- std::unique_ptr<CColorData> m_pColorData;
-
- private:
- CFWL_ArrowData();
- ~CFWL_ArrowData();
-
- void SetColorData();
-};
-
-#endif // XFA_FWL_THEME_CFWL_ARROWDATA_H_