summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdf_formfill.cpp
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2018-10-05 20:43:46 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-05 20:43:46 +0000
commit06f3042167126d60184dc3c401e71924cf3b46af (patch)
tree87c5478a50178cf32a9ca761362b83db254a3ebf /fpdfsdk/fpdf_formfill.cpp
parent66095ebfb9fe0b522e56753b7d1b997e65b8b219 (diff)
downloadpdfium-06f3042167126d60184dc3c401e71924cf3b46af.tar.xz
Remove SetSaveCalled API
This was meant to be part of a mechanism to alert users that entered data into a PDF form was not going to actually be saved how they would expect. The UI for this is blocked on a bug in V8, and is now being superseded by work to correctly implement saving. BUG=pdfium:953 Change-Id: Id9c85c109a3f6a6b4ee69d35f366006be4dc9c32 Reviewed-on: https://pdfium-review.googlesource.com/c/43552 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdf_formfill.cpp')
-rw-r--r--fpdfsdk/fpdf_formfill.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/fpdfsdk/fpdf_formfill.cpp b/fpdfsdk/fpdf_formfill.cpp
index 3a74bc3908..644f332db4 100644
--- a/fpdfsdk/fpdf_formfill.cpp
+++ b/fpdfsdk/fpdf_formfill.cpp
@@ -358,16 +358,6 @@ FPDFDOC_ExitFormFillEnvironment(FPDF_FORMHANDLE hHandle) {
delete pFormFillEnv;
}
-FPDF_EXPORT void FPDF_CALLCONV FORM_SetSaveCallback(FPDF_FORMHANDLE hHandle,
- FORM_SAVECALLED callback) {
- CPDFSDK_FormFillEnvironment* pFormFillEnv =
- CPDFSDKFormFillEnvironmentFromFPDFFormHandle(hHandle);
- if (!pFormFillEnv)
- return;
-
- pFormFillEnv->SetSaveCalled(callback);
-}
-
FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FORM_OnMouseMove(FPDF_FORMHANDLE hHandle,
FPDF_PAGE page,
int modifier,