1 // Copyright 2014 PDFium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #ifndef XFA_FXFA_CXFA_FWLADAPTERWIDGETMGR_H_ 8 #define XFA_FXFA_CXFA_FWLADAPTERWIDGETMGR_H_ 9 10 #include "core/fxcrt/fx_coordinates.h" 11 #include "core/fxcrt/fx_system.h" 12 13 class CFWL_Widget; 14 15 class CXFA_FWLAdapterWidgetMgr { 16 public: 17 CXFA_FWLAdapterWidgetMgr(); 18 ~CXFA_FWLAdapterWidgetMgr(); 19 20 void RepaintWidget(CFWL_Widget* pWidget); 21 bool GetPopupPos(CFWL_Widget* pWidget, 22 float fMinHeight, 23 float fMaxHeight, 24 const CFX_RectF& rtAnchor, 25 CFX_RectF& rtPopup); 26 }; 27 28 #endif // XFA_FXFA_CXFA_FWLADAPTERWIDGETMGR_H_ 29