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_INCLUDE_FWL_ADAPTER_FWL_ADAPTERWIDGETMGR_H_ | 7 #ifndef XFA_INCLUDE_FWL_ADAPTER_FWL_ADAPTERWIDGETMGR_H_ |
8 #define XFA_INCLUDE_FWL_ADAPTER_FWL_ADAPTERWIDGETMGR_H_ | 8 #define XFA_INCLUDE_FWL_ADAPTER_FWL_ADAPTERWIDGETMGR_H_ |
9 | 9 |
| 10 #include "core/include/fxcrt/fx_coordinates.h" |
| 11 #include "core/include/fxcrt/fx_system.h" |
| 12 #include "xfa/include/fwl/core/fwl_error.h" |
| 13 |
10 class IFWL_Widget; | 14 class IFWL_Widget; |
11 class IFWL_Menu; | 15 class IFWL_Menu; |
12 class IFWL_MenuDP; | 16 class IFWL_MenuDP; |
13 class CFX_Path; | 17 class CFX_Path; |
14 class CFX_DIBitmap; | 18 class CFX_DIBitmap; |
15 class IFWL_AdapterMessageHook; | 19 class IFWL_AdapterMessageHook; |
16 class IFWL_AppDelegate; | 20 class IFWL_AppDelegate; |
17 | 21 |
18 class IFWL_AdapterWidgetMgr { | 22 class IFWL_AdapterWidgetMgr { |
19 public: | 23 public: |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 FX_FLOAT& r, | 73 FX_FLOAT& r, |
70 FX_FLOAT& b) = 0; | 74 FX_FLOAT& b) = 0; |
71 virtual FX_BOOL GetPopupPos(IFWL_Widget* pWidget, | 75 virtual FX_BOOL GetPopupPos(IFWL_Widget* pWidget, |
72 FX_FLOAT fMinHeight, | 76 FX_FLOAT fMinHeight, |
73 FX_FLOAT fMaxHeight, | 77 FX_FLOAT fMaxHeight, |
74 const CFX_RectF& rtAnchor, | 78 const CFX_RectF& rtAnchor, |
75 CFX_RectF& rtPopup) = 0; | 79 CFX_RectF& rtPopup) = 0; |
76 }; | 80 }; |
77 | 81 |
78 #endif // XFA_INCLUDE_FWL_ADAPTER_FWL_ADAPTERWIDGETMGR_H_ | 82 #endif // XFA_INCLUDE_FWL_ADAPTER_FWL_ADAPTERWIDGETMGR_H_ |
OLD | NEW |