diff options
author | dsinclair <dsinclair@chromium.org> | 2016-04-13 19:04:01 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-13 19:04:01 -0700 |
commit | ddd5c70e09b6e1db3c01b4900e6424f11fd5c93d (patch) | |
tree | 82141d0206e8983df37b251a26c3458ca998fc66 /xfa/fwl/core/fwl_formimp.cpp | |
parent | b4c9f3f04673753da30011e9f1282cd5d1fa0f40 (diff) | |
download | pdfium-ddd5c70e09b6e1db3c01b4900e6424f11fd5c93d.tar.xz |
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
Diffstat (limited to 'xfa/fwl/core/fwl_formimp.cpp')
-rw-r--r-- | xfa/fwl/core/fwl_formimp.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
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 = |