From ddd5c70e09b6e1db3c01b4900e6424f11fd5c93d Mon Sep 17 00:00:00 2001 From: dsinclair Date: Wed, 13 Apr 2016 19:04:01 -0700 Subject: Unused FWL Classes. This Cl removes several FWL classes that aren't removed. These include: * IFWL_Content * CFWL_ContentImp * CFWL_CustomPanelImp * CFWL_CustomImp * IFWL_Custom * IFWL_CustomPanel * IFWL_Proxy * CFWL_App BUG=pdfium:468 Review URL: https://codereview.chromium.org/1883943002 --- xfa/fwl/core/fwl_formimp.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'xfa/fwl/core/fwl_formimp.cpp') diff --git a/xfa/fwl/core/fwl_formimp.cpp b/xfa/fwl/core/fwl_formimp.cpp index 27014d9d62..919f85f532 100644 --- a/xfa/fwl/core/fwl_formimp.cpp +++ b/xfa/fwl/core/fwl_formimp.cpp @@ -21,7 +21,6 @@ #include "xfa/fwl/core/fwl_widgetmgrimp.h" #include "xfa/fwl/core/ifwl_adapterwidgetmgr.h" #include "xfa/fwl/core/ifwl_app.h" -#include "xfa/fwl/core/ifwl_content.h" #include "xfa/fwl/core/ifwl_themeprovider.h" #define FWL_SYSBTNSIZE 21 @@ -127,9 +126,6 @@ FWL_ERR CFWL_FormImp::GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize) { FX_FLOAT fCXBorder = GetBorderSize(TRUE); FX_FLOAT fCYBorder = GetBorderSize(FALSE); FX_FLOAT fEdge = GetEdgeWidth(); - if (m_pContent) { - m_pContent->GetWidgetRect(rect, TRUE); - } rect.height += fCapHeight + fCYBorder + fEdge + fEdge; rect.width += fCXBorder + fCXBorder + fEdge + fEdge; } else { @@ -644,12 +640,6 @@ void CFWL_FormImp::Layout() { #ifndef FWL_UseMacSystemBorder ReSetSysBtn(); #endif - if (m_pContent) { - CFX_RectF rtClient; - GetClientRect(rtClient); - m_pContent->SetWidgetRect(rtClient); - m_pContent->Update(); - } } void CFWL_FormImp::ReSetSysBtn() { m_fCXBorder = -- cgit v1.2.3