| 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_FWL_CORE_IFWL_ADAPTERWIDGETMGR_H_ | 7 #ifndef XFA_FWL_CORE_IFWL_ADAPTERWIDGETMGR_H_ |
| 8 #define XFA_FWL_CORE_IFWL_ADAPTERWIDGETMGR_H_ | 8 #define XFA_FWL_CORE_IFWL_ADAPTERWIDGETMGR_H_ |
| 9 | 9 |
| 10 #include "core/fxcrt/include/fx_coordinates.h" | 10 #include "core/fxcrt/include/fx_coordinates.h" |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 void* pDC, | 57 void* pDC, |
| 58 CFX_RectF* pClip = 0) = 0; | 58 CFX_RectF* pClip = 0) = 0; |
| 59 virtual void* GetWindow(IFWL_Widget* pWidget) = 0; | 59 virtual void* GetWindow(IFWL_Widget* pWidget) = 0; |
| 60 virtual uint32_t GetKeyState(uint32_t dwVirtKey) = 0; | 60 virtual uint32_t GetKeyState(uint32_t dwVirtKey) = 0; |
| 61 virtual FWL_ERR RunLoop(IFWL_Widget* widget) = 0; | 61 virtual FWL_ERR RunLoop(IFWL_Widget* widget) = 0; |
| 62 virtual FWL_ERR EndLoop() = 0; | 62 virtual FWL_ERR EndLoop() = 0; |
| 63 virtual FWL_ERR InitMenu(IFWL_Menu* pMenu, IFWL_MenuDP* pMenuData) = 0; | 63 virtual FWL_ERR InitMenu(IFWL_Menu* pMenu, IFWL_MenuDP* pMenuData) = 0; |
| 64 virtual FWL_ERR UpdateMenu(IFWL_Menu* pMenu, | 64 virtual FWL_ERR UpdateMenu(IFWL_Menu* pMenu, |
| 65 const void* hItem, | 65 const void* hItem, |
| 66 int32_t iType) = 0; | 66 int32_t iType) = 0; |
| 67 virtual int32_t TrackPopupMenu(IFWL_Menu* pMenu, IFWL_MenuDP* pMenuData) = 0; | |
| 68 virtual FWL_ERR SetMessageHook(IFWL_AdapterMessageHook* hook) = 0; | 67 virtual FWL_ERR SetMessageHook(IFWL_AdapterMessageHook* hook) = 0; |
| 69 virtual FWL_ERR GetSystemBorder(FX_FLOAT& l, | 68 virtual FWL_ERR GetSystemBorder(FX_FLOAT& l, |
| 70 FX_FLOAT& t, | 69 FX_FLOAT& t, |
| 71 FX_FLOAT& r, | 70 FX_FLOAT& r, |
| 72 FX_FLOAT& b) = 0; | 71 FX_FLOAT& b) = 0; |
| 73 virtual FX_BOOL GetPopupPos(IFWL_Widget* pWidget, | 72 virtual FX_BOOL GetPopupPos(IFWL_Widget* pWidget, |
| 74 FX_FLOAT fMinHeight, | 73 FX_FLOAT fMinHeight, |
| 75 FX_FLOAT fMaxHeight, | 74 FX_FLOAT fMaxHeight, |
| 76 const CFX_RectF& rtAnchor, | 75 const CFX_RectF& rtAnchor, |
| 77 CFX_RectF& rtPopup) = 0; | 76 CFX_RectF& rtPopup) = 0; |
| 78 }; | 77 }; |
| 79 | 78 |
| 80 #endif // XFA_FWL_CORE_IFWL_ADAPTERWIDGETMGR_H_ | 79 #endif // XFA_FWL_CORE_IFWL_ADAPTERWIDGETMGR_H_ |
| OLD | NEW |