1 // Copyright 2016 PDFium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #ifndef XFA_FWL_IFWL_WIDGETMGRDELEGATE_H_ 8 #define XFA_FWL_IFWL_WIDGETMGRDELEGATE_H_ 9 10 class CFWL_Message; 11 class CFX_Graphics; 12 class CFX_Matrix; 13 class CFWL_Widget; 14 15 class CFWL_WidgetMgrDelegate { 16 public: 17 virtual void OnSetCapability(uint32_t dwCapability) = 0; 18 virtual void OnProcessMessageToForm(CFWL_Message* pMessage) = 0; 19 virtual void OnDrawWidget(CFWL_Widget* pWidget, 20 CFX_Graphics* pGraphics, 21 const CFX_Matrix* pMatrix) = 0; 22 }; 23 24 #endif // XFA_FWL_IFWL_WIDGETMGRDELEGATE_H_ 25