diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2016-11-23 13:04:07 -0500 |
---|---|---|
committer | Dan Sinclair <dsinclair@chromium.org> | 2016-11-23 13:04:07 -0500 |
commit | 7172b71a005c181e9f103ac0e19f6675bf3bc8e8 (patch) | |
tree | 433b3e8294fb1c45d7407b67030c5230ffb893c7 /xfa/fwl/core/ifwl_combobox.h | |
parent | 0ced827f257344a1f5804aa96df538f3e783bd10 (diff) | |
download | pdfium-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.h | 6 |
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); } |