From 6af5369477ec05554ef9e73ae6762860095f09e9 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 29 May 2018 19:42:39 +0000 Subject: [xfa] Propagate the xfa change data for text to JS and back. This CL adds the necessary plumbing to propagate the change information for a text widget from FWL out to JS and handle the returned value as necessary. Bug: pdfium:1066 Change-Id: I78fd81761b90294f1836e9f09dba12ed238963cc Reviewed-on: https://pdfium-review.googlesource.com/33070 Reviewed-by: Ryan Harrison Commit-Queue: dsinclair --- xfa/fwl/cfwl_barcode.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'xfa/fwl/cfwl_barcode.h') diff --git a/xfa/fwl/cfwl_barcode.h b/xfa/fwl/cfwl_barcode.h index 2fc79608b3..58484dfba1 100644 --- a/xfa/fwl/cfwl_barcode.h +++ b/xfa/fwl/cfwl_barcode.h @@ -49,7 +49,10 @@ class CFWL_Barcode : public CFWL_Edit { void OnProcessEvent(CFWL_Event* pEvent) override; // CFWL_Edit - void SetText(const WideString& wsText) override; + void SetText( + const WideString& wsText, + CFDE_TextEditEngine::RecordOperation op = + CFDE_TextEditEngine::RecordOperation::kInsertRecord) override; void SetType(BC_TYPE type); bool IsProtectedType() const; -- cgit v1.2.3