summaryrefslogtreecommitdiff
path: root/fpdfsdk/pdfwindow/cpwl_combo_box.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-07-06 11:56:37 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-07-06 19:19:18 +0000
commit16fea94c94006c25b878ef0acd0bb835397f62bb (patch)
tree414b0b72f9cb14645b1cb782e070f4427a828b0d /fpdfsdk/pdfwindow/cpwl_combo_box.h
parent07dbf43d0c4655b76b44b9adbed2ab401b5bb08e (diff)
downloadpdfium-16fea94c94006c25b878ef0acd0bb835397f62bb.tar.xz
Remove in-out param from OnCharWithExit
This CL splits the OnCharWithExit method into IsChar and OnCharNotify and changes the in-out parameter to a return. Change-Id: Ifd5aafc6facf7a4d9acfe56118331b3935691965 Reviewed-on: https://pdfium-review.googlesource.com/7335 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/pdfwindow/cpwl_combo_box.h')
-rw-r--r--fpdfsdk/pdfwindow/cpwl_combo_box.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fpdfsdk/pdfwindow/cpwl_combo_box.h b/fpdfsdk/pdfwindow/cpwl_combo_box.h
index e60e781656..37b3eb5a4e 100644
--- a/fpdfsdk/pdfwindow/cpwl_combo_box.h
+++ b/fpdfsdk/pdfwindow/cpwl_combo_box.h
@@ -24,7 +24,8 @@ class CPWL_CBListBox : public CPWL_ListBox {
bool IsMovementKey(uint16_t nChar) const;
bool OnMovementKeyDown(uint16_t nChar, uint32_t nFlag);
- bool OnCharWithExit(uint16_t nChar, bool& bExit, uint32_t nFlag);
+ bool IsChar(uint16_t nChar, uint32_t nFlag) const;
+ bool OnCharNotify(uint16_t nChar, uint32_t nFlag);
};
#define PWL_COMBOBOX_BUTTON_WIDTH 13