summaryrefslogtreecommitdiff
path: root/xfa/fxfa/app/xfa_fwltheme.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-10-19 07:48:05 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-19 07:48:05 -0700
commitc273e8f5006aa7d91d37a5da021dbbabb8721e5b (patch)
tree27ca349823fb3fb6f86db50305421ae2302db1db /xfa/fxfa/app/xfa_fwltheme.h
parent09bad1cf251c68d1492af4049e1324a46d9c9725 (diff)
downloadpdfium-c273e8f5006aa7d91d37a5da021dbbabb8721e5b.tar.xz
Remove FWL theme subclasses
The CFWL_CheckBoxTP and CFWL_EditTP are subclassed with the CXFA_FWLEditTP and CXFA_FWLCheckBoxTP. The super classes are never instantiated or used, so fold the subclasses back to the parent and use them directly. Review-Url: https://chromiumcodereview.appspot.com/2418413005
Diffstat (limited to 'xfa/fxfa/app/xfa_fwltheme.h')
-rw-r--r--xfa/fxfa/app/xfa_fwltheme.h24
1 files changed, 1 insertions, 23 deletions
diff --git a/xfa/fxfa/app/xfa_fwltheme.h b/xfa/fxfa/app/xfa_fwltheme.h
index 8c045de791..8243df271f 100644
--- a/xfa/fxfa/app/xfa_fwltheme.h
+++ b/xfa/fxfa/app/xfa_fwltheme.h
@@ -63,28 +63,6 @@ class CXFA_FWLTheme final : public IFWL_ThemeProvider {
CFX_SizeF m_SizeAboveBelow;
};
-class CXFA_FWLCheckBoxTP : public CFWL_CheckBoxTP {
- public:
- CXFA_FWLCheckBoxTP();
-
- // CFWL_CheckBoxTP
- FX_BOOL DrawBackground(CFWL_ThemeBackground* pParams) override;
-
- protected:
- void DrawCheckSign(IFWL_Widget* pWidget,
- CFX_Graphics* pGraphics,
- const CFX_RectF* pRtBox,
- int32_t iState,
- CFX_Matrix* pMatrix);
-};
-
-class CXFA_FWLEditTP : public CFWL_EditTP {
- public:
- CXFA_FWLEditTP();
- ~CXFA_FWLEditTP() override;
-
- // CFWL_EditTP
- FX_BOOL DrawBackground(CFWL_ThemeBackground* pParams) override;
-};
+CXFA_FFWidget* XFA_ThemeGetOuterWidget(IFWL_Widget* pWidget);
#endif // XFA_FXFA_APP_XFA_FWLTHEME_H_