summaryrefslogtreecommitdiff
path: root/xfa/fwl/theme/cfwl_listboxtp.cpp
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_listboxtp.cpp
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_listboxtp.cpp')
-rw-r--r--xfa/fwl/theme/cfwl_listboxtp.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/xfa/fwl/theme/cfwl_listboxtp.cpp b/xfa/fwl/theme/cfwl_listboxtp.cpp
index 2fc7ba7671..7a9ba92bee 100644
--- a/xfa/fwl/theme/cfwl_listboxtp.cpp
+++ b/xfa/fwl/theme/cfwl_listboxtp.cpp
@@ -16,10 +16,6 @@ CFWL_ListBoxTP::CFWL_ListBoxTP() {}
CFWL_ListBoxTP::~CFWL_ListBoxTP() {}
-bool CFWL_ListBoxTP::IsValidWidget(CFWL_Widget* pWidget) {
- return pWidget && pWidget->GetClassID() == FWL_Type::ListBox;
-}
-
void CFWL_ListBoxTP::DrawBackground(CFWL_ThemeBackground* pParams) {
if (!pParams)
return;
@@ -63,16 +59,6 @@ void CFWL_ListBoxTP::DrawBackground(CFWL_ThemeBackground* pParams) {
}
}
-void CFWL_ListBoxTP::Initialize() {
- InitTTO();
- CFWL_WidgetTP::Initialize();
-}
-
-void CFWL_ListBoxTP::Finalize() {
- FinalizeTTO();
- CFWL_WidgetTP::Finalize();
-}
-
void CFWL_ListBoxTP::DrawListBoxItem(CFX_Graphics* pGraphics,
uint32_t dwStates,
const CFX_RectF* prtItem,