diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-07-05 14:13:16 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-07-05 19:42:30 +0000 |
commit | 7f6bec9b4c0cb2f53724ea83715d4fe22eed1d28 (patch) | |
tree | e8d7d1d15f708fcdffa69c7cbf3ccafa62828792 /fpdfsdk/pdfwindow/cpwl_combo_box.h | |
parent | eea0467aeeb7d0a0f3dffeed4eb1a35d950fdbee (diff) | |
download | pdfium-7f6bec9b4c0cb2f53724ea83715d4fe22eed1d28.tar.xz |
Remove PNM_ mouse methods and OnNotify
This CL removes the remaining PNM_* messages and converts them to
individual methods.
Change-Id: I44791a35bc720f29f8f5d4d7c26a8c899b54132d
Reviewed-on: https://pdfium-review.googlesource.com/7255
Reviewed-by: Nicolás Peña <npm@chromium.org>
Reviewed-by: Tom Sepez <tsepez@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.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fpdfsdk/pdfwindow/cpwl_combo_box.h b/fpdfsdk/pdfwindow/cpwl_combo_box.h index f8da84ad2e..15915e64b4 100644 --- a/fpdfsdk/pdfwindow/cpwl_combo_box.h +++ b/fpdfsdk/pdfwindow/cpwl_combo_box.h @@ -60,10 +60,8 @@ class CPWL_ComboBox : public CPWL_Wnd { void OnDestroy() override; bool OnKeyDown(uint16_t nChar, uint32_t nFlag) override; bool OnChar(uint16_t nChar, uint32_t nFlag) override; - void OnNotify(CPWL_Wnd* pWnd, - uint32_t msg, - intptr_t wParam = 0, - intptr_t lParam = 0) override; + void NotifyLButtonDown(CPWL_Wnd* child, const CFX_PointF& pos) override; + void NotifyLButtonUp(CPWL_Wnd* child, const CFX_PointF& pos) override; void CreateChildWnd(const PWL_CREATEPARAM& cp) override; void RePosChildWnd() override; CFX_FloatRect GetFocusRect() const override; |