diff options
author | dsinclair <dsinclair@chromium.org> | 2016-04-13 13:24:39 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-13 13:24:40 -0700 |
commit | c4c17fbbcf4cd2b72af7c10db0320d78099df66d (patch) | |
tree | daedb56c01607a4d169bf5494ba199dca632c454 /xfa/fwl/core/fwl_formimp.cpp | |
parent | 9f3dbbc54c6981f069b57e6714393ac6c0c64231 (diff) | |
download | pdfium-c4c17fbbcf4cd2b72af7c10db0320d78099df66d.tar.xz |
Remove unused FWL methods
This CL removes various methods from FWL that are not called.
Review URL: https://codereview.chromium.org/1886703005
Diffstat (limited to 'xfa/fwl/core/fwl_formimp.cpp')
-rw-r--r-- | xfa/fwl/core/fwl_formimp.cpp | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/xfa/fwl/core/fwl_formimp.cpp b/xfa/fwl/core/fwl_formimp.cpp index 14f3b33c46..27014d9d62 100644 --- a/xfa/fwl/core/fwl_formimp.cpp +++ b/xfa/fwl/core/fwl_formimp.cpp @@ -451,20 +451,7 @@ CFWL_WidgetImp* CFWL_FormImp::GetSubFocus() { void CFWL_FormImp::SetSubFocus(CFWL_WidgetImp* pWidget) { m_pSubFocus = pWidget; } -CFX_MapAccelerators& CFWL_FormImp::GetAccelerator() { - return m_mapAccelerators; -} -void CFWL_FormImp::SetAccelerator(CFX_MapAccelerators* pAccelerators) { - if (!pAccelerators) - return; - m_mapAccelerators.RemoveAll(); - uint32_t vrKey, rValue; - FX_POSITION pos = pAccelerators->GetStartPosition(); - while (pos) { - pAccelerators->GetNextAssoc(pos, vrKey, rValue); - m_mapAccelerators.SetAt(vrKey, rValue); - } -} + void CFWL_FormImp::ShowChildWidget(IFWL_Widget* pParent) { IFWL_App* pApp = FWL_GetApp(); if (!pApp) @@ -1170,10 +1157,3 @@ void CFWL_FormImpDelegate::OnClose(CFWL_MsgClose* pMsg) { eClose.m_pSrcTarget = m_pOwner->m_pInterface; m_pOwner->DispatchEvent(&eClose); } -FWL_ERR FWL_Accelerator_SetForm(IFWL_Form* pFrom, - CFX_MapAccelerators* pMapAccel) { - CFWL_FormImp* pImp = static_cast<CFWL_FormImp*>(pFrom->GetImpl()); - if (!pImp) - return FWL_ERR_Indefinite; - return FWL_ERR_Succeeded; -} |