summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/ifwl_listbox.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-17 13:15:16 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-17 13:15:16 -0800
commit3855f7ff0d4c5c8653fc17219bf65c4a0a95e8bb (patch)
tree17cd22db0b4cd1ea3c337d99ee760b3a86181eaf /xfa/fwl/core/ifwl_listbox.h
parent935c6310adacf2f4a4265e831e6cb60dc7a35803 (diff)
downloadpdfium-3855f7ff0d4c5c8653fc17219bf65c4a0a95e8bb.tar.xz
Unify the three CFWL_EventType::SelectChange classes.
This CL removes the ListBox SelectChange class as it is never processed. The other two have been unified into a single classs. Review-Url: https://codereview.chromium.org/2509283003
Diffstat (limited to 'xfa/fwl/core/ifwl_listbox.h')
-rw-r--r--xfa/fwl/core/ifwl_listbox.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/xfa/fwl/core/ifwl_listbox.h b/xfa/fwl/core/ifwl_listbox.h
index 48d4522009..5912656ac5 100644
--- a/xfa/fwl/core/ifwl_listbox.h
+++ b/xfa/fwl/core/ifwl_listbox.h
@@ -38,10 +38,6 @@ class CFWL_MsgMouse;
class CFWL_MsgMouseWheel;
class CFX_DIBitmap;
-FWL_EVENT_DEF(CFWL_EvtLtbSelChanged,
- CFWL_EventType::SelectChanged,
- CFX_Int32Array iarraySels;)
-
class IFWL_ListBoxDP : public IFWL_DataProvider {
public:
virtual int32_t CountItems(const IFWL_Widget* pWidget) const = 0;
@@ -148,7 +144,7 @@ class IFWL_ListBox : public IFWL_Widget {
bool bAutoSize = false);
FX_FLOAT GetMaxTextWidth();
FX_FLOAT GetScrollWidth();
- void ProcessSelChanged();
+
void OnFocusChanged(CFWL_Message* pMsg, bool bSet = true);
void OnLButtonDown(CFWL_MsgMouse* pMsg);
void OnLButtonUp(CFWL_MsgMouse* pMsg);
@@ -156,7 +152,6 @@ class IFWL_ListBox : public IFWL_Widget {
void OnKeyDown(CFWL_MsgKey* pMsg);
void OnVK(CFWL_ListItem* hItem, bool bShift, bool bCtrl);
bool OnScroll(IFWL_ScrollBar* pScrollBar, FWL_SCBCODE dwCode, FX_FLOAT fPos);
- void DispatchSelChangedEv();
CFX_RectF m_rtClient;
CFX_RectF m_rtStatic;