diff options
author | dsinclair <dsinclair@chromium.org> | 2016-11-21 09:04:05 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-21 09:04:05 -0800 |
commit | dd17234c42e4572b85b6d74a07bc901974d061be (patch) | |
tree | 31a9c3dc96bc3a637f204949f1689a501ada6906 /xfa/fwl/core/cfwl_combobox.h | |
parent | b4455b90b1c86ab94986e4f470c963f1e91b27ba (diff) | |
download | pdfium-dd17234c42e4572b85b6d74a07bc901974d061be.tar.xz |
Split fwl/core class pt I.
Split classes in FWL to be single class per file. In the case of data providers
which added no new methods, removed and used the IFWL_DataProvider directly.
Review-Url: https://codereview.chromium.org/2506253004
Diffstat (limited to 'xfa/fwl/core/cfwl_combobox.h')
-rw-r--r-- | xfa/fwl/core/cfwl_combobox.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fwl/core/cfwl_combobox.h b/xfa/fwl/core/cfwl_combobox.h index 2e904af5fe..67d723718d 100644 --- a/xfa/fwl/core/cfwl_combobox.h +++ b/xfa/fwl/core/cfwl_combobox.h @@ -13,17 +13,17 @@ #include "xfa/fwl/core/cfwl_widget.h" #include "xfa/fwl/core/ifwl_combobox.h" -class CFWL_ComboBox : public CFWL_Widget, public IFWL_ComboBoxDP { +class CFWL_ComboBox : public CFWL_Widget, public IFWL_ComboBox::DataProvider { public: explicit CFWL_ComboBox(const IFWL_App* pApp); ~CFWL_ComboBox() override; void Initialize(); - // IFWL_DataProvider + // IFWL_Widget::DataProvider void GetCaption(IFWL_Widget* pWidget, CFX_WideString& wsCaption) override; - // IFWL_ListBoxDP + // IFWL_ListBox::DataProvider int32_t CountItems(const IFWL_Widget* pWidget) const override; CFWL_ListItem* GetItem(const IFWL_Widget* pWidget, int32_t nIndex) const override; @@ -56,7 +56,7 @@ class CFWL_ComboBox : public CFWL_Widget, public IFWL_ComboBoxDP { CFWL_ListItem* pItem, uint32_t dwCheckState) override; - // IFWL_ComboBoxDP + // IFWL_ComboBox::DataProvider FX_FLOAT GetListHeight(IFWL_Widget* pWidget) override; int32_t AddString(const CFX_WideStringC& wsText); |