From 30e5f30f21c182eb54253008ad755abd991e2e07 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Mon, 21 Nov 2016 12:18:28 -0800 Subject: Remove customized layout flag from FWL The Customized Layout flag in FWL is always false. Removed the flag and updated the code as needed. Review-Url: https://codereview.chromium.org/2520023002 --- xfa/fxfa/app/xfa_fwltheme.cpp | 4 ---- xfa/fxfa/app/xfa_fwltheme.h | 1 - 2 files changed, 5 deletions(-) (limited to 'xfa/fxfa/app') diff --git a/xfa/fxfa/app/xfa_fwltheme.cpp b/xfa/fxfa/app/xfa_fwltheme.cpp index 01799496d8..34023a4f87 100644 --- a/xfa/fxfa/app/xfa_fwltheme.cpp +++ b/xfa/fxfa/app/xfa_fwltheme.cpp @@ -310,10 +310,6 @@ void* CXFA_FWLTheme::GetCapacity(CFWL_ThemePart* pThemePart, return GetTheme(pThemePart->m_pWidget)->GetCapacity(pThemePart, dwCapacity); } -bool CXFA_FWLTheme::IsCustomizedLayout(IFWL_Widget* pWidget) { - return GetTheme(pWidget)->IsCustomizedLayout(pWidget); -} - void CXFA_FWLTheme::CalcTextRect(CFWL_ThemeText* pParams, CFX_RectF& rect) { if (pParams->m_pWidget->GetClassID() == FWL_Type::MonthCalendar) { CXFA_FFWidget* pWidget = XFA_ThemeGetOuterWidget(pParams->m_pWidget); diff --git a/xfa/fxfa/app/xfa_fwltheme.h b/xfa/fxfa/app/xfa_fwltheme.h index 630653236f..4ba3ffb242 100644 --- a/xfa/fxfa/app/xfa_fwltheme.h +++ b/xfa/fxfa/app/xfa_fwltheme.h @@ -34,7 +34,6 @@ class CXFA_FWLTheme final : public IFWL_ThemeProvider { void DrawText(CFWL_ThemeText* pParams) override; void* GetCapacity(CFWL_ThemePart* pThemePart, CFWL_WidgetCapacity dwCapacity) override; - bool IsCustomizedLayout(IFWL_Widget* pWidget) override; void CalcTextRect(CFWL_ThemeText* pParams, CFX_RectF& rect) override; private: -- cgit v1.2.3