diff options
author | dsinclair <dsinclair@chromium.org> | 2016-11-11 18:09:57 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-11 18:09:57 -0800 |
commit | 27e66753c8bd6e664f26d05c1a468dc68be01913 (patch) | |
tree | 0006196c2e60225fb571946957f2e77646c6d6e2 /xfa/fwl/core/cfwl_listbox.h | |
parent | 6e1d6032b7990cdf580c99ff491a1b761ee39ca6 (diff) | |
download | pdfium-27e66753c8bd6e664f26d05c1a468dc68be01913.tar.xz |
IFWL cleanup in the Combo classeschromium/2919chromium/2918
Cleanup visibility and unused methods in the IFWL combo code.
Review-Url: https://codereview.chromium.org/2494743002
Diffstat (limited to 'xfa/fwl/core/cfwl_listbox.h')
-rw-r--r-- | xfa/fwl/core/cfwl_listbox.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/xfa/fwl/core/cfwl_listbox.h b/xfa/fwl/core/cfwl_listbox.h index 0f1d35a21b..f8f3c586f4 100644 --- a/xfa/fwl/core/cfwl_listbox.h +++ b/xfa/fwl/core/cfwl_listbox.h @@ -26,8 +26,9 @@ class CFWL_ListBox : public CFWL_Widget, public IFWL_ListBoxDP { void GetCaption(IFWL_Widget* pWidget, CFX_WideString& wsCaption) override; // IFWL_ListBoxDP: - int32_t CountItems(const IFWL_Widget* pWidget) override; - CFWL_ListItem* GetItem(const IFWL_Widget* pWidget, int32_t nIndex) override; + int32_t CountItems(const IFWL_Widget* pWidget) const override; + CFWL_ListItem* GetItem(const IFWL_Widget* pWidget, + int32_t nIndex) const override; int32_t GetItemIndex(IFWL_Widget* pWidget, CFWL_ListItem* pItem) override; bool SetItemIndex(IFWL_Widget* pWidget, CFWL_ListItem* pItem, @@ -81,7 +82,7 @@ class CFWL_ListBox : public CFWL_Widget, public IFWL_ListBoxDP { uint32_t GetItemStates(CFWL_ListItem* pItem); private: - int32_t CountItems(); + int32_t CountItems() const; std::vector<std::unique_ptr<CFWL_ListItem>> m_ItemArray; }; |