summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/ifwl_combobox.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2016-11-23 13:04:07 -0500
committerDan Sinclair <dsinclair@chromium.org>2016-11-23 13:04:07 -0500
commit7172b71a005c181e9f103ac0e19f6675bf3bc8e8 (patch)
tree433b3e8294fb1c45d7407b67030c5230ffb893c7 /xfa/fwl/core/ifwl_combobox.h
parent0ced827f257344a1f5804aa96df538f3e783bd10 (diff)
downloadpdfium-7172b71a005c181e9f103ac0e19f6675bf3bc8e8.tar.xz
Remove IFWL_CombobBox::DataProvider
The height value returned is always 0. This CL removes the plumbing and uses the 0 value directly. R=npm@chromium.org, tsepez@chromium.org Review URL: https://codereview.chromium.org/2525003002 .
Diffstat (limited to 'xfa/fwl/core/ifwl_combobox.h')
-rw-r--r--xfa/fwl/core/ifwl_combobox.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/xfa/fwl/core/ifwl_combobox.h b/xfa/fwl/core/ifwl_combobox.h
index 7ad7420c9b..dfe9d646cd 100644
--- a/xfa/fwl/core/ifwl_combobox.h
+++ b/xfa/fwl/core/ifwl_combobox.h
@@ -49,11 +49,6 @@ class IFWL_Widget;
class IFWL_ComboBox : public IFWL_Widget {
public:
- class DataProvider : public IFWL_Widget::DataProvider {
- public:
- virtual FX_FLOAT GetListHeight(IFWL_Widget* pWidget) = 0;
- };
-
explicit IFWL_ComboBox(const CFWL_App* app,
std::unique_ptr<CFWL_WidgetProperties> properties);
~IFWL_ComboBox() override;
@@ -125,7 +120,6 @@ class IFWL_ComboBox : public IFWL_Widget {
int32_t GetCurrentSelection() const { return m_iCurSel; }
private:
- FX_FLOAT GetDataProviderListHeight();
bool IsDropDownStyle() const {
return !!(m_pProperties->m_dwStyleExes & FWL_STYLEEXT_CMB_DropDown);
}