summaryrefslogtreecommitdiff
path: root/fpdfsdk/pdfwindow/cpwl_edit.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-07-06 11:13:02 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-07-06 19:11:27 +0000
commit5fe9808f03dc8164161d5b421f650af1d8547f53 (patch)
tree1a4d696df083350aef03bcf87b6f6ed94168e899 /fpdfsdk/pdfwindow/cpwl_edit.h
parent64667cd369e13529be606077429fe4524dba0b24 (diff)
downloadpdfium-5fe9808f03dc8164161d5b421f650af1d8547f53.tar.xz
Remove in-out from OnPopup{Pre|Post}Open
This CL removes the bExit param from OnPopup{Pre|Post}Open in favour of using a return value. Change-Id: Icc99b137455343482fc1f60947c3b1f4246aeda1 Reviewed-on: https://pdfium-review.googlesource.com/7332 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/pdfwindow/cpwl_edit.h')
-rw-r--r--fpdfsdk/pdfwindow/cpwl_edit.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/fpdfsdk/pdfwindow/cpwl_edit.h b/fpdfsdk/pdfwindow/cpwl_edit.h
index 8d549b5f6b..038aba955f 100644
--- a/fpdfsdk/pdfwindow/cpwl_edit.h
+++ b/fpdfsdk/pdfwindow/cpwl_edit.h
@@ -32,12 +32,8 @@ class IPWL_Filler_Notify {
bool& bExit,
uint32_t nFlag) = 0;
#ifdef PDF_ENABLE_XFA
- virtual void OnPopupPreOpen(void* pPrivateData,
- bool& bExit,
- uint32_t nFlag) = 0;
- virtual void OnPopupPostOpen(void* pPrivateData,
- bool& bExit,
- uint32_t nFlag) = 0;
+ virtual bool OnPopupPreOpen(void* pPrivateData, uint32_t nFlag) = 0;
+ virtual bool OnPopupPostOpen(void* pPrivateData, uint32_t nFlag) = 0;
#endif // PDF_ENABLE_XFA
};