From 7172b71a005c181e9f103ac0e19f6675bf3bc8e8 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Wed, 23 Nov 2016 13:04:07 -0500 Subject: 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 . --- xfa/fwl/core/ifwl_combobox.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'xfa/fwl/core/ifwl_combobox.h') 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 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); } -- cgit v1.2.3