From 46a4bbf46723cd6375042d599d01fe08012eadd6 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Thu, 15 Dec 2016 13:44:02 -0800 Subject: Cleanup widget edge related code CFWL_Widget::HasEdge() always returns false. This CL removes it and the supporting code. Review-Url: https://codereview.chromium.org/2575093002 --- xfa/fwl/cfwl_widget.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'xfa/fwl/cfwl_widget.h') diff --git a/xfa/fwl/cfwl_widget.h b/xfa/fwl/cfwl_widget.h index e2ba4071cb..95cbe3ef2a 100644 --- a/xfa/fwl/cfwl_widget.h +++ b/xfa/fwl/cfwl_widget.h @@ -121,10 +121,8 @@ class CFWL_Widget : public IFWL_WidgetDelegate { bool IsEnabled() const; bool IsLocked() const { return m_iLock > 0; } bool HasBorder() const; - bool HasEdge() const; CFX_RectF GetEdgeRect(); FX_FLOAT GetBorderSize(bool bCX); - FX_FLOAT GetEdgeWidth(); CFX_RectF GetRelativeRect(); void* GetThemeCapacity(CFWL_WidgetCapacity dwCapacity); IFWL_ThemeProvider* GetAvailableTheme(); @@ -148,10 +146,6 @@ class CFWL_Widget : public IFWL_WidgetDelegate { CFWL_Part iPartBorder, IFWL_ThemeProvider* pTheme, const CFX_Matrix* pMatrix); - void DrawEdge(CFX_Graphics* pGraphics, - CFWL_Part iPartEdge, - IFWL_ThemeProvider* pTheme, - const CFX_Matrix* pMatrix); const CFWL_App* const m_pOwnerApp; CFWL_WidgetMgr* const m_pWidgetMgr; -- cgit v1.2.3