OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_WIDGETMGRDELEGATE_H_ | 7 #ifndef XFA_FWL_IFWL_WIDGETMGRDELEGATE_H_ |
8 #define XFA_FWL_CORE_IFWL_WIDGETMGRDELEGATE_H_ | 8 #define XFA_FWL_IFWL_WIDGETMGRDELEGATE_H_ |
9 | 9 |
10 class CFWL_Message; | 10 class CFWL_Message; |
11 class CFX_Graphics; | 11 class CFX_Graphics; |
12 class CFX_Matrix; | 12 class CFX_Matrix; |
13 class CFWL_Widget; | 13 class CFWL_Widget; |
14 | 14 |
15 class CFWL_WidgetMgrDelegate { | 15 class CFWL_WidgetMgrDelegate { |
16 public: | 16 public: |
17 virtual void OnSetCapability(uint32_t dwCapability) = 0; | 17 virtual void OnSetCapability(uint32_t dwCapability) = 0; |
18 virtual void OnProcessMessageToForm(CFWL_Message* pMessage) = 0; | 18 virtual void OnProcessMessageToForm(CFWL_Message* pMessage) = 0; |
19 virtual void OnDrawWidget(CFWL_Widget* pWidget, | 19 virtual void OnDrawWidget(CFWL_Widget* pWidget, |
20 CFX_Graphics* pGraphics, | 20 CFX_Graphics* pGraphics, |
21 const CFX_Matrix* pMatrix) = 0; | 21 const CFX_Matrix* pMatrix) = 0; |
22 }; | 22 }; |
23 | 23 |
24 #endif // XFA_FWL_CORE_IFWL_WIDGETMGRDELEGATE_H_ | 24 #endif // XFA_FWL_IFWL_WIDGETMGRDELEGATE_H_ |
OLD | NEW |