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