diff options
author | dsinclair <dsinclair@chromium.org> | 2016-11-16 07:01:26 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-16 07:01:26 -0800 |
commit | 72f957a0bafaf7c9628980e404c471b54f42de8f (patch) | |
tree | 1b6764bfdb0f87c01843397f16f191906d6810ec /xfa/fwl/core/ifwl_edit.cpp | |
parent | f35650c8778522345d8a639f42add2874ffe44dd (diff) | |
download | pdfium-72f957a0bafaf7c9628980e404c471b54f42de8f.tar.xz |
Cleaning up nits in fwl/core files.chromium/2922
This Cl cleans up the nits in the first set of cfwl_* files. The unused Event
and Message classes are removed.
Review-Url: https://codereview.chromium.org/2505703003
Diffstat (limited to 'xfa/fwl/core/ifwl_edit.cpp')
-rw-r--r-- | xfa/fwl/core/ifwl_edit.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/xfa/fwl/core/ifwl_edit.cpp b/xfa/fwl/core/ifwl_edit.cpp index 55ee785845..3e864baa28 100644 --- a/xfa/fwl/core/ifwl_edit.cpp +++ b/xfa/fwl/core/ifwl_edit.cpp @@ -1348,12 +1348,6 @@ void IFWL_Edit::OnProcessMessage(CFWL_Message* pMessage) { CFWL_MessageType dwMsgCode = pMessage->GetClassID(); switch (dwMsgCode) { - case CFWL_MessageType::Activate: - DoActivate(static_cast<CFWL_MsgActivate*>(pMessage)); - break; - case CFWL_MessageType::Deactivate: - DoDeactivate(static_cast<CFWL_MsgDeactivate*>(pMessage)); - break; case CFWL_MessageType::SetFocus: case CFWL_MessageType::KillFocus: OnFocusChanged(pMessage, dwMsgCode == CFWL_MessageType::SetFocus); @@ -1415,16 +1409,6 @@ void IFWL_Edit::OnDrawWidget(CFX_Graphics* pGraphics, DrawWidget(pGraphics, pMatrix); } -void IFWL_Edit::DoActivate(CFWL_MsgActivate* pMsg) { - m_pProperties->m_dwStates |= ~FWL_WGTSTATE_Deactivated; - Repaint(&m_rtClient); -} - -void IFWL_Edit::DoDeactivate(CFWL_MsgDeactivate* pMsg) { - m_pProperties->m_dwStates &= FWL_WGTSTATE_Deactivated; - Repaint(&m_rtClient); -} - void IFWL_Edit::DoButtonDown(CFWL_MsgMouse* pMsg) { if ((m_pProperties->m_dwStates & FWL_WGTSTATE_Focused) == 0) SetFocus(true); |