diff options
author | dsinclair <dsinclair@chromium.org> | 2016-11-17 09:26:13 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-17 09:26:13 -0800 |
commit | a43715b4cefc982baadd45510db8c4e428c2c8cd (patch) | |
tree | 205b3b262b7b9bbf07595bf7ebb7aac876713650 /xfa/fwl/core/ifwl_combobox.cpp | |
parent | 4905c9f0474f4fc0a85f05d0eb8c34fb099a77f2 (diff) | |
download | pdfium-a43715b4cefc982baadd45510db8c4e428c2c8cd.tar.xz |
Convert single use EventTypes to class files.
This moves the remaining EventType class definitions to there own files where
the EventType only has a single implementation.
Review-Url: https://codereview.chromium.org/2508203002
Diffstat (limited to 'xfa/fwl/core/ifwl_combobox.cpp')
-rw-r--r-- | xfa/fwl/core/ifwl_combobox.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/xfa/fwl/core/ifwl_combobox.cpp b/xfa/fwl/core/ifwl_combobox.cpp index c2f1c873ae..68d8cc97f8 100644 --- a/xfa/fwl/core/ifwl_combobox.cpp +++ b/xfa/fwl/core/ifwl_combobox.cpp @@ -9,6 +9,8 @@ #include "third_party/base/ptr_util.h" #include "xfa/fde/cfde_txtedtengine.h" #include "xfa/fde/tto/fde_textout.h" +#include "xfa/fwl/core/cfwl_evtpostdropdown.h" +#include "xfa/fwl/core/cfwl_evtpredropdown.h" #include "xfa/fwl/core/cfwl_evttextchanged.h" #include "xfa/fwl/core/cfwl_msgkey.h" #include "xfa/fwl/core/cfwl_msgkillfocus.h" @@ -393,7 +395,7 @@ void IFWL_ComboBox::ShowDropList(bool bActivate) { m_pListBox->SetWidgetRect(m_rtList); m_pListBox->Update(); - CFWL_EvtCmbPreDropDown ev; + CFWL_EvtPreDropDown ev; ev.m_pSrcTarget = this; DispatchEvent(&ev); @@ -617,7 +619,7 @@ void IFWL_ComboBox::DisForm_ShowDropList(bool bActivate) { return; if (bActivate) { - CFWL_EvtCmbPreDropDown preEvent; + CFWL_EvtPreDropDown preEvent; preEvent.m_pSrcTarget = this; DispatchEvent(&preEvent); @@ -651,7 +653,7 @@ void IFWL_ComboBox::DisForm_ShowDropList(bool bActivate) { m_pListBox->SetStates(FWL_WGTSTATE_Invisible, !bActivate); if (bActivate) { - CFWL_EvtCmbPostDropDown postEvent; + CFWL_EvtPostDropDown postEvent; postEvent.m_pSrcTarget = this; DispatchEvent(&postEvent); } |