summaryrefslogtreecommitdiff
path: root/fpdfsdk/pdfwindow/PWL_Edit.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-05-31 23:52:00 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-06-01 19:00:20 +0000
commit7bef7c8bf8691174653bd734de4cf187dcf08648 (patch)
tree737734240fbe351f37ad7bf9236d4c26d3c3918c /fpdfsdk/pdfwindow/PWL_Edit.h
parentf6ca07b3fda40f0c5d5690caad8ac931cb46ccf6 (diff)
downloadpdfium-7bef7c8bf8691174653bd734de4cf187dcf08648.tar.xz
Clarify IPWL_Filler_Notify::QueryWherePopup() parameters.
Update implementation and caller, and clean up surrounding code. Change-Id: I40975f79a5d4f560d6a7ee0d327b2e97241d29bd Reviewed-on: https://pdfium-review.googlesource.com/6172 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fpdfsdk/pdfwindow/PWL_Edit.h')
-rw-r--r--fpdfsdk/pdfwindow/PWL_Edit.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/fpdfsdk/pdfwindow/PWL_Edit.h b/fpdfsdk/pdfwindow/PWL_Edit.h
index 82c1f19629..6f8c37baa5 100644
--- a/fpdfsdk/pdfwindow/PWL_Edit.h
+++ b/fpdfsdk/pdfwindow/PWL_Edit.h
@@ -22,11 +22,13 @@ class IFX_Edit_UndoItem;
class IPWL_Filler_Notify {
public:
virtual ~IPWL_Filler_Notify() {}
+
+ // Must write to |bBottom| and |fPopupRet|.
virtual void QueryWherePopup(void* pPrivateData,
float fPopupMin,
float fPopupMax,
- int32_t& nRet,
- float& fPopupRet) = 0; // nRet: (0:bottom 1:top)
+ bool* bBottom,
+ float* fPopupRet) = 0;
virtual void OnBeforeKeyStroke(void* pPrivateData,
CFX_WideString& strChange,
const CFX_WideString& strChangeEx,