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_widgetimp.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_widgetimp.cpp')
-rw-r--r-- | xfa/fwl/core/fwl_widgetimp.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/xfa/fwl/core/fwl_widgetimp.cpp b/xfa/fwl/core/fwl_widgetimp.cpp index 961b60e172..19b2f2430a 100644 --- a/xfa/fwl/core/fwl_widgetimp.cpp +++ b/xfa/fwl/core/fwl_widgetimp.cpp @@ -1085,25 +1085,3 @@ IFWL_Custom::IFWL_Custom() {} FWL_ERR IFWL_Custom::SetProxy(IFWL_Proxy* pProxy) { return static_cast<CFWL_CustomImp*>(GetImpl())->SetProxy(pProxy); } -void FWL_SetWidgetRect(IFWL_Widget* widget, const CFX_RectF& rect) { - static_cast<CFWL_WidgetImp*>(widget->GetImpl())->m_pProperties->m_rtWidget = - rect; -} -void FWL_SetWidgetStates(IFWL_Widget* widget, uint32_t dwStates) { - static_cast<CFWL_WidgetImp*>(widget->GetImpl())->m_pProperties->m_dwStates = - dwStates; -} -void FWL_SetWidgetStyles(IFWL_Widget* widget, uint32_t dwStyles) { - static_cast<CFWL_WidgetImp*>(widget->GetImpl())->m_pProperties->m_dwStyles = - dwStyles; -} -FWL_ERR FWL_EnabelWidget(IFWL_Widget* widget, FX_BOOL bEnable) { - widget->SetStates(FWL_WGTSTATE_Disabled, !bEnable); - IFWL_WidgetMgr* widgetMgr = FWL_GetWidgetMgr(); - IFWL_Widget* child = widgetMgr->GetWidget(widget, FWL_WGTRELATION_FirstChild); - while (child) { - FWL_EnabelWidget(child, bEnable); - child = widgetMgr->GetWidget(child, FWL_WGTRELATION_NextSibling); - } - return FWL_ERR_Succeeded; -} |