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_FWL_SDADAPTERIMP_H_ | 7 #ifndef XFA_FWL_CORE_FWL_SDADAPTERIMP_H_ |
8 #define XFA_FWL_CORE_FWL_SDADAPTERIMP_H_ | 8 #define XFA_FWL_CORE_FWL_SDADAPTERIMP_H_ |
9 | 9 |
10 #include "xfa/fwl/core/ifwl_adapterthreadmgr.h" | 10 #include "xfa/fwl/core/ifwl_adapterthreadmgr.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 void* pDC, | 54 void* pDC, |
55 CFX_RectF* pClip = 0); | 55 CFX_RectF* pClip = 0); |
56 virtual void* GetWindow(IFWL_Widget* pWidget); | 56 virtual void* GetWindow(IFWL_Widget* pWidget); |
57 virtual uint32_t GetKeyState(uint32_t dwVirtKey); | 57 virtual uint32_t GetKeyState(uint32_t dwVirtKey); |
58 virtual FWL_ERR RunLoop(IFWL_Widget* widget); | 58 virtual FWL_ERR RunLoop(IFWL_Widget* widget); |
59 virtual FWL_ERR EndLoop(); | 59 virtual FWL_ERR EndLoop(); |
60 virtual FWL_ERR InitMenu(IFWL_Menu* pMenu, IFWL_MenuDP* pMenuData); | 60 virtual FWL_ERR InitMenu(IFWL_Menu* pMenu, IFWL_MenuDP* pMenuData); |
61 virtual FWL_ERR UpdateMenu(IFWL_Menu* pMenu, | 61 virtual FWL_ERR UpdateMenu(IFWL_Menu* pMenu, |
62 const void* hItem, | 62 const void* hItem, |
63 int32_t iType); | 63 int32_t iType); |
64 virtual int32_t TrackPopupMenu(IFWL_Menu* pMenu, IFWL_MenuDP* pMenuData); | |
65 virtual FWL_ERR SetMessageHook(IFWL_AdapterMessageHook* hook); | 64 virtual FWL_ERR SetMessageHook(IFWL_AdapterMessageHook* hook); |
66 virtual FWL_ERR GetSystemBorder(FX_FLOAT& l, | 65 virtual FWL_ERR GetSystemBorder(FX_FLOAT& l, |
67 FX_FLOAT& t, | 66 FX_FLOAT& t, |
68 FX_FLOAT& r, | 67 FX_FLOAT& r, |
69 FX_FLOAT& b); | 68 FX_FLOAT& b); |
70 }; | 69 }; |
71 | 70 |
72 class CFWL_SDAdapterThreadMgr : public IFWL_AdapterThreadMgr { | 71 class CFWL_SDAdapterThreadMgr : public IFWL_AdapterThreadMgr { |
73 public: | 72 public: |
74 CFWL_SDAdapterThreadMgr(); | 73 CFWL_SDAdapterThreadMgr(); |
75 ~CFWL_SDAdapterThreadMgr(); | 74 ~CFWL_SDAdapterThreadMgr(); |
76 | 75 |
77 public: | 76 public: |
78 virtual IFWL_Thread* GetCurrentThread(); | 77 virtual IFWL_Thread* GetCurrentThread(); |
79 }; | 78 }; |
80 | 79 |
81 #endif // XFA_FWL_CORE_FWL_SDADAPTERIMP_H_ | 80 #endif // XFA_FWL_CORE_FWL_SDADAPTERIMP_H_ |
OLD | NEW |