summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/ifwl_widget.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-23 07:36:00 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-23 07:36:00 -0800
commite36430e530e48d4145f34a554f9891b1989b590d (patch)
treeb8c9bb0b3ab44b9aabb6b3bb3f19dffd7093acb1 /xfa/fwl/core/ifwl_widget.cpp
parent43f382c23c24a7b8214f4ea461623f13e25ca02a (diff)
downloadpdfium-e36430e530e48d4145f34a554f9891b1989b590d.tar.xz
Make Update and DrawWidget pure virtual
These methods should be in all implementations, make them pure virtual to make that required. Review-Url: https://codereview.chromium.org/2525703004
Diffstat (limited to 'xfa/fwl/core/ifwl_widget.cpp')
-rw-r--r--xfa/fwl/core/ifwl_widget.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/xfa/fwl/core/ifwl_widget.cpp b/xfa/fwl/core/ifwl_widget.cpp
index 040a57f696..a44ad975cf 100644
--- a/xfa/fwl/core/ifwl_widget.cpp
+++ b/xfa/fwl/core/ifwl_widget.cpp
@@ -171,8 +171,6 @@ void IFWL_Widget::SetStates(uint32_t dwStates, bool bSet) {
return;
}
-void IFWL_Widget::Update() {}
-
FWL_WidgetHit IFWL_Widget::HitTest(FX_FLOAT fx, FX_FLOAT fy) {
CFX_RectF rtClient;
GetClientRect(rtClient);
@@ -291,9 +289,6 @@ IFWL_Widget::DataProvider* IFWL_Widget::GetDataProvider() const {
return m_pProperties->m_pDataProvider;
}
-void IFWL_Widget::DrawWidget(CFX_Graphics* pGraphics,
- const CFX_Matrix* pMatrix) {}
-
void IFWL_Widget::SetThemeProvider(IFWL_ThemeProvider* pThemeProvider) {
m_pProperties->m_pThemeProvider = pThemeProvider;
}