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 "xfa/fwl/core/fwl_sdadapterimp.h" | 10 #include "core/fxcrt/include/fx_coordinates.h" |
| 11 #include "core/fxcrt/include/fx_system.h" |
| 12 #include "xfa/fwl/core/fwl_error.h" |
11 | 13 |
12 class CXFA_FWLAdapterWidgetMgr : public CFWL_SDAdapterWidgetMgr { | 14 class IFWL_Widget; |
| 15 |
| 16 class CXFA_FWLAdapterWidgetMgr { |
13 public: | 17 public: |
14 virtual FWL_ERR RepaintWidget(IFWL_Widget* pWidget, const CFX_RectF* pRect); | 18 CXFA_FWLAdapterWidgetMgr(); |
15 virtual FX_BOOL GetPopupPos(IFWL_Widget* pWidget, | 19 ~CXFA_FWLAdapterWidgetMgr(); |
16 FX_FLOAT fMinHeight, | 20 |
17 FX_FLOAT fMaxHeight, | 21 FWL_ERR RepaintWidget(IFWL_Widget* pWidget, const CFX_RectF* pRect); |
18 const CFX_RectF& rtAnchor, | 22 FX_BOOL GetPopupPos(IFWL_Widget* pWidget, |
19 CFX_RectF& rtPopup); | 23 FX_FLOAT fMinHeight, |
| 24 FX_FLOAT fMaxHeight, |
| 25 const CFX_RectF& rtAnchor, |
| 26 CFX_RectF& rtPopup); |
20 }; | 27 }; |
21 | 28 |
22 #endif // XFA_FXFA_APP_XFA_FWLADAPTER_H_ | 29 #endif // XFA_FXFA_APP_XFA_FWLADAPTER_H_ |
OLD | NEW |