From a724cb2df9f7b766174ac578cd4d435596898cc1 Mon Sep 17 00:00:00 2001 From: Henrique Nakashima Date: Thu, 8 Mar 2018 18:09:49 +0000 Subject: Move GetPopupPos from CFWL_Widget to subclasses that call it. Change-Id: I27118d2c8d0d7e4509b6a89cd32a7c9c906d19bc Reviewed-on: https://pdfium-review.googlesource.com/28270 Commit-Queue: dsinclair Reviewed-by: dsinclair --- xfa/fwl/cfwl_widget.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'xfa/fwl/cfwl_widget.h') diff --git a/xfa/fwl/cfwl_widget.h b/xfa/fwl/cfwl_widget.h index 27cb458b9e..66ec0e170c 100644 --- a/xfa/fwl/cfwl_widget.h +++ b/xfa/fwl/cfwl_widget.h @@ -136,10 +136,6 @@ class CFWL_Widget : public IFWL_WidgetDelegate { FDE_TextAlignment iTTOAlign, CFX_RectF& rect); void SetGrab(bool bSet); - void GetPopupPos(float fMinHeight, - float fMaxHeight, - const CFX_RectF& rtAnchor, - CFX_RectF& rtPopup); void RegisterEventTarget(CFWL_Widget* pEventSource); void UnregisterEventTarget(); void DispatchEvent(CFWL_Event* pEvent); @@ -163,18 +159,6 @@ class CFWL_Widget : public IFWL_WidgetDelegate { bool IsPopup() const; bool IsChild() const; CFWL_Widget* GetRootOuter(); - bool GetPopupPosMenu(float fMinHeight, - float fMaxHeight, - const CFX_RectF& rtAnchor, - CFX_RectF& rtPopup); - bool GetPopupPosComboBox(float fMinHeight, - float fMaxHeight, - const CFX_RectF& rtAnchor, - CFX_RectF& rtPopup); - bool GetPopupPosGeneral(float fMinHeight, - float fMaxHeight, - const CFX_RectF& rtAnchor, - CFX_RectF& rtPopup); void DrawBackground(CXFA_Graphics* pGraphics, CFWL_Part iPartBk, IFWL_ThemeProvider* pTheme, -- cgit v1.2.3