summaryrefslogtreecommitdiff
path: root/fpdfsdk/include/javascript/JS_Context.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-06-10 11:47:08 -0700
committerLei Zhang <thestig@chromium.org>2015-06-10 11:47:08 -0700
commit35c3163d55bebea8095474181f807ddfb2f4f806 (patch)
tree1abf9c44f45ac844214b01dfd090c50c1027a4ec /fpdfsdk/include/javascript/JS_Context.h
parent22f429fc4875027b10ab071102c9ac8a88abf825 (diff)
downloadpdfium-35c3163d55bebea8095474181f807ddfb2f4f806.tar.xz
Cleanup: Remove CFFL_IFormFiller::GetCommitKey() that always returns 0.
Remove callers and related code that all just pass zeros around. Also remove CFFL_IFormFiller::GetKeyDown(). R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1149623012.
Diffstat (limited to 'fpdfsdk/include/javascript/JS_Context.h')
-rw-r--r--fpdfsdk/include/javascript/JS_Context.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/include/javascript/JS_Context.h b/fpdfsdk/include/javascript/JS_Context.h
index ea1e3a18d8..ebd9e3cfae 100644
--- a/fpdfsdk/include/javascript/JS_Context.h
+++ b/fpdfsdk/include/javascript/JS_Context.h
@@ -47,8 +47,8 @@ public:
virtual void OnField_Blur(FX_BOOL bModifier, FX_BOOL bShift, CPDF_FormField* pTarget, const CFX_WideString& Value);
virtual void OnField_Calculate(CPDF_FormField* pSource, CPDF_FormField* pTarget, CFX_WideString& Value, FX_BOOL& bRc);
- virtual void OnField_Format(int nCommitKey, CPDF_FormField* pTarget, CFX_WideString& Value, FX_BOOL bWillCommit);
- virtual void OnField_Keystroke(int nCommitKey, CFX_WideString& strChange, const CFX_WideString& strChangeEx,
+ virtual void OnField_Format(CPDF_FormField* pTarget, CFX_WideString& Value, FX_BOOL bWillCommit);
+ virtual void OnField_Keystroke(CFX_WideString& strChange, const CFX_WideString& strChangeEx,
FX_BOOL bKeyDown, FX_BOOL bModifier, int &nSelEnd,int &nSelStart, FX_BOOL bShift,
CPDF_FormField* pTarget, CFX_WideString& Value, FX_BOOL bWillCommit,
FX_BOOL bFieldFull, FX_BOOL &bRc);