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/cfwl_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/cfwl_combobox.h')
-rw-r--r-- | xfa/fwl/core/cfwl_combobox.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/xfa/fwl/core/cfwl_combobox.h b/xfa/fwl/core/cfwl_combobox.h index 2b63c50aad..a670ef22cb 100644 --- a/xfa/fwl/core/cfwl_combobox.h +++ b/xfa/fwl/core/cfwl_combobox.h @@ -13,16 +13,13 @@ #include "xfa/fwl/core/cfwl_widget.h" #include "xfa/fwl/core/ifwl_combobox.h" -class CFWL_ComboBox : public CFWL_Widget, public IFWL_ComboBox::DataProvider { +class CFWL_ComboBox : public CFWL_Widget, public IFWL_Widget::DataProvider { public: explicit CFWL_ComboBox(const CFWL_App* pApp); ~CFWL_ComboBox() override; void Initialize(); - // IFWL_ComboBox::DataProvider - FX_FLOAT GetListHeight(IFWL_Widget* pWidget) override; - void AddString(const CFX_WideStringC& wsText); bool RemoveAt(int32_t iIndex); // Returns false iff |iIndex| out of range. void RemoveAll(); @@ -54,9 +51,6 @@ class CFWL_ComboBox : public CFWL_Widget, public IFWL_ComboBox::DataProvider { void GetBBox(CFX_RectF& rect); void EditModifyStylesEx(uint32_t dwStylesExAdded, uint32_t dwStylesExRemoved); - - private: - FX_FLOAT m_fMaxListHeight; }; #endif // XFA_FWL_CORE_CFWL_COMBOBOX_H_ |