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/ifwl_combolist.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/ifwl_combolist.h')
-rw-r--r-- | xfa/fwl/core/ifwl_combolist.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/xfa/fwl/core/ifwl_combolist.h b/xfa/fwl/core/ifwl_combolist.h index 6c380f4f07..64ffbba647 100644 --- a/xfa/fwl/core/ifwl_combolist.h +++ b/xfa/fwl/core/ifwl_combolist.h @@ -21,23 +21,24 @@ class IFWL_ComboList : public IFWL_ListBox { void OnProcessMessage(CFWL_Message* pMessage) override; int32_t MatchItem(const CFX_WideString& wsMatch); + void ChangeSelected(int32_t iSel); int32_t CountItems(); - void GetItemRect(int32_t nIndex, CFX_RectF& rtItem); - void ClientToOuter(FX_FLOAT& fx, FX_FLOAT& fy); - void SetFocus(bool bSet); - - bool m_bNotifyOwner; - friend class IFWL_ComboBox; + void SetFocus(bool bSet); + void SetNotifyOwner(bool notify) { m_bNotifyOwner = notify; } private: + void GetItemRect(int32_t nIndex, CFX_RectF& rtItem); + void ClientToOuter(FX_FLOAT& fx, FX_FLOAT& fy); void OnDropListFocusChanged(CFWL_Message* pMsg, bool bSet); int32_t OnDropListMouseMove(CFWL_MsgMouse* pMsg); int32_t OnDropListLButtonDown(CFWL_MsgMouse* pMsg); int32_t OnDropListLButtonUp(CFWL_MsgMouse* pMsg); int32_t OnDropListKey(CFWL_MsgKey* pKey); void OnDropListKeyDown(CFWL_MsgKey* pKey); + + bool m_bNotifyOwner; }; #endif // XFA_FWL_CORE_IFWL_COMBOLIST_H_ |