From 06f3042167126d60184dc3c401e71924cf3b46af Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Fri, 5 Oct 2018 20:43:46 +0000 Subject: 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 Commit-Queue: Ryan Harrison --- public/fpdf_formfill.h | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'public') 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 -- cgit v1.2.3