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 _FWL_ADAPTER_WIDGETMGR_H | 7 #ifndef XFA_INCLUDE_FWL_ADAPTER_FWL_ADAPTERWIDGETMGR_H_ |
8 #define _FWL_ADAPTER_WIDGETMGR_H | 8 #define XFA_INCLUDE_FWL_ADAPTER_FWL_ADAPTERWIDGETMGR_H_ |
| 9 |
9 class IFWL_Widget; | 10 class IFWL_Widget; |
10 class IFWL_Menu; | 11 class IFWL_Menu; |
11 class IFWL_MenuDP; | 12 class IFWL_MenuDP; |
12 class CFX_Path; | 13 class CFX_Path; |
13 class CFX_DIBitmap; | 14 class CFX_DIBitmap; |
14 class IFWL_AdapterMessageHook; | 15 class IFWL_AdapterMessageHook; |
15 class IFWL_AppDelegate; | 16 class IFWL_AppDelegate; |
16 | 17 |
17 class IFWL_AdapterWidgetMgr { | 18 class IFWL_AdapterWidgetMgr { |
18 public: | 19 public: |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 virtual FWL_ERR GetSystemBorder(FX_FLOAT& l, | 67 virtual FWL_ERR GetSystemBorder(FX_FLOAT& l, |
67 FX_FLOAT& t, | 68 FX_FLOAT& t, |
68 FX_FLOAT& r, | 69 FX_FLOAT& r, |
69 FX_FLOAT& b) = 0; | 70 FX_FLOAT& b) = 0; |
70 virtual FX_BOOL GetPopupPos(IFWL_Widget* pWidget, | 71 virtual FX_BOOL GetPopupPos(IFWL_Widget* pWidget, |
71 FX_FLOAT fMinHeight, | 72 FX_FLOAT fMinHeight, |
72 FX_FLOAT fMaxHeight, | 73 FX_FLOAT fMaxHeight, |
73 const CFX_RectF& rtAnchor, | 74 const CFX_RectF& rtAnchor, |
74 CFX_RectF& rtPopup) = 0; | 75 CFX_RectF& rtPopup) = 0; |
75 }; | 76 }; |
76 #endif | 77 |
| 78 #endif // XFA_INCLUDE_FWL_ADAPTER_FWL_ADAPTERWIDGETMGR_H_ |
OLD | NEW |