From bfeab62b37a701dc82f180e49d26c602f96f96f9 Mon Sep 17 00:00:00 2001 From: Henrique Nakashima Date: Tue, 6 Feb 2018 21:36:45 +0000 Subject: Fix caret not appearing in XFA Edits. This makes the caret appear (again?), blink, and fixes its positioning to be a little spaced from the last character. Known issue: when the edit is empty, the caret is not necessarily aligned with where the text will be. Bug: chromium:592750 Change-Id: I950b0ea236db8855c6ed50f48ec1935d97e6ccf8 Reviewed-on: https://pdfium-review.googlesource.com/25451 Reviewed-by: dsinclair Commit-Queue: Henrique Nakashima --- xfa/fwl/cfwl_timer.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xfa/fwl/cfwl_timer.h') diff --git a/xfa/fwl/cfwl_timer.h b/xfa/fwl/cfwl_timer.h index da1b4437e2..355ea69d67 100644 --- a/xfa/fwl/cfwl_timer.h +++ b/xfa/fwl/cfwl_timer.h @@ -7,11 +7,14 @@ #ifndef XFA_FWL_CFWL_TIMER_H_ #define XFA_FWL_CFWL_TIMER_H_ +#include + #include "core/fxcrt/fx_system.h" #include "core/fxcrt/unowned_ptr.h" class CFWL_TimerInfo; class CFWL_Widget; +class IFWL_AdapterTimerMgr; class CFWL_Timer { public: @@ -23,6 +26,7 @@ class CFWL_Timer { protected: UnownedPtr m_pWidget; + std::unique_ptr m_pTimeMgrAdapter; }; #endif // XFA_FWL_CFWL_TIMER_H_ -- cgit v1.2.3