summaryrefslogtreecommitdiff
path: root/public
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 /public
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 'public')
-rw-r--r--public/fpdf_formfill.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/public/fpdf_formfill.h b/public/fpdf_formfill.h
index 3381eed5e4..bd8ab3c91a 100644
--- a/public/fpdf_formfill.h
+++ b/public/fpdf_formfill.h
@@ -1111,26 +1111,6 @@ FPDFDOC_InitFormFillEnvironment(FPDF_DOCUMENT document,
FPDF_EXPORT void FPDF_CALLCONV
FPDFDOC_ExitFormFillEnvironment(FPDF_FORMHANDLE hHandle);
-typedef void (*FORM_SAVECALLED)(FPDF_FORMFILLINFO*);
-/**
- * Experimental API
- * Function: FORM_SetSaveCallback
- * This method is used to set a callback handler for when Save is
- * attempted by a PDF. Should be invoked after user successfully
- * loaded a PDF page, and method FPDFDOC_InitFormFillEnvironment had
- * been invoked.
- * Parameters:
- * hHandle - Handle to the form fill module. Returned by
- * FPDFDOC_InitFormFillEnvironment.
- * callback - Function pointer to the callback to be called when a
- * Save is attempted. If NULL then no function will be
- * invoked.
- * Return Value:
- * NONE.
- **/
-FPDF_EXPORT void FPDF_CALLCONV FORM_SetSaveCallback(FPDF_FORMHANDLE hHandle,
- FORM_SAVECALLED callback);
-
/**
* Function: FORM_OnAfterLoadPage
* This method is required for implementing all the form related