From 6ffb03cc9aafeefddde57a68c9257cae9dc505c1 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 27 Jan 2016 18:22:06 -0800 Subject: XFA: Remove dead AddDoRecord code. R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1640033002 . --- xfa/include/fwl/basewidget/fwl_edit.h | 7 ++----- xfa/include/fxfa/fxfa.h | 1 - 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'xfa/include') diff --git a/xfa/include/fwl/basewidget/fwl_edit.h b/xfa/include/fwl/basewidget/fwl_edit.h index 4a913e873d..b92c20f00d 100644 --- a/xfa/include/fwl/basewidget/fwl_edit.h +++ b/xfa/include/fwl/basewidget/fwl_edit.h @@ -60,8 +60,7 @@ enum FWL_EDT_TEXTCHANGED { FWL_EDT_TEXTCHANGED_Delete, FWL_EDT_TEXTCHANGED_Replace, }; -#define FWL_EVT_EDT_AddDoRecord L"FWL_EVENT_EDT_AddDoRecord" -#define FWL_EVTHASH_EDT_AddDoRecord 3701672224 + #define FWL_EVT_EDT_TextChanged L"FWL_EVENT_EDT_TextChanged" #define FWL_EVTHASH_EDT_TextChanged 1064022132 #define FWL_EVT_EDT_PreSelfAdaption L"FWL_EVENT_PreSelfAdaption" @@ -74,9 +73,7 @@ enum FWL_EDT_TEXTCHANGED { #define FWL_EVTHASH_EDT_GetSuggestWords 315782791 #define FWL_EVT_EDT_TextFull L"FWL_EVTHASH_EDT_TextFull" #define FWL_EVTHASH_EDT_TextFull 2158580174 -BEGIN_FWL_EVENT_DEF(CFWL_EvtEdtAddDoRecord, FWL_EVTHASH_EDT_AddDoRecord) -CFX_ByteString m_wsDoRecord; -END_FWL_EVENT_DEF + BEGIN_FWL_EVENT_DEF(CFWL_EvtEdtTextChanged, FWL_EVTHASH_EDT_TextChanged) int32_t nChangeType; CFX_WideString wsInsert; diff --git a/xfa/include/fxfa/fxfa.h b/xfa/include/fxfa/fxfa.h index 5c0f63619e..5fbd829c4e 100644 --- a/xfa/include/fxfa/fxfa.h +++ b/xfa/include/fxfa/fxfa.h @@ -437,7 +437,6 @@ class IXFA_DocProvider { } virtual void GetURL(IXFA_Doc* hDoc, CFX_WideString& wsDocURL) = 0; virtual FX_ARGB GetHighlightColor(IXFA_Doc* hDoc) = 0; - virtual void AddDoRecord(IXFA_Widget* hWidget) = 0; virtual FX_BOOL SubmitData(IXFA_Doc* hDoc, CXFA_Submit submit) = 0; virtual FX_BOOL CheckWord(IXFA_Doc* hDoc, const CFX_ByteStringC& sWord) = 0; -- cgit v1.2.3