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