| 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_BASEWIDGET_FWL_CARETIMP_H_ | 7 #ifndef XFA_FWL_BASEWIDGET_FWL_CARETIMP_H_ |
| 8 #define XFA_FWL_BASEWIDGET_FWL_CARETIMP_H_ | 8 #define XFA_FWL_BASEWIDGET_FWL_CARETIMP_H_ |
| 9 | 9 |
| 10 #include "xfa/fwl/core/fwl_widgetimp.h" | 10 #include "xfa/fwl/core/fwl_widgetimp.h" |
| 11 #include "xfa/fxgraphics/cfx_color.h" |
| 11 #include "xfa/include/fwl/core/fwl_timer.h" | 12 #include "xfa/include/fwl/core/fwl_timer.h" |
| 12 | 13 |
| 13 class CFWL_WidgetImpProperties; | 14 class CFWL_WidgetImpProperties; |
| 14 class IFWL_Widget; | 15 class IFWL_Widget; |
| 15 class CFWL_CaretImpDelegate; | 16 class CFWL_CaretImpDelegate; |
| 16 | 17 |
| 17 class CFWL_CaretImp : public CFWL_WidgetImp { | 18 class CFWL_CaretImp : public CFWL_WidgetImp { |
| 18 public: | 19 public: |
| 19 CFWL_CaretImp(const CFWL_WidgetImpProperties& properties, | 20 CFWL_CaretImp(const CFWL_WidgetImpProperties& properties, |
| 20 IFWL_Widget* pOuter); | 21 IFWL_Widget* pOuter); |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 CFWL_CaretImpDelegate(CFWL_CaretImp* pOwner); | 59 CFWL_CaretImpDelegate(CFWL_CaretImp* pOwner); |
| 59 int32_t OnProcessMessage(CFWL_Message* pMessage) override; | 60 int32_t OnProcessMessage(CFWL_Message* pMessage) override; |
| 60 FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics, | 61 FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics, |
| 61 const CFX_Matrix* pMatrix = NULL) override; | 62 const CFX_Matrix* pMatrix = NULL) override; |
| 62 | 63 |
| 63 protected: | 64 protected: |
| 64 CFWL_CaretImp* m_pOwner; | 65 CFWL_CaretImp* m_pOwner; |
| 65 }; | 66 }; |
| 66 | 67 |
| 67 #endif // XFA_FWL_BASEWIDGET_FWL_CARETIMP_H_ | 68 #endif // XFA_FWL_BASEWIDGET_FWL_CARETIMP_H_ |
| OLD | NEW |