summaryrefslogtreecommitdiff
path: root/xfa/include
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2016-01-27 18:22:06 -0800
committerLei Zhang <thestig@chromium.org>2016-01-27 18:22:06 -0800
commit6ffb03cc9aafeefddde57a68c9257cae9dc505c1 (patch)
tree8419a83c417d4ee260626d5d99689743d3595878 /xfa/include
parent99ffdb0b9b488d743331646dc410f26b71e1f037 (diff)
downloadpdfium-6ffb03cc9aafeefddde57a68c9257cae9dc505c1.tar.xz
XFA: Remove dead AddDoRecord code.
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1640033002 .
Diffstat (limited to 'xfa/include')
-rw-r--r--xfa/include/fwl/basewidget/fwl_edit.h7
-rw-r--r--xfa/include/fxfa/fxfa.h1
2 files changed, 2 insertions, 6 deletions
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;