summaryrefslogtreecommitdiff
path: root/fpdfsdk/pdfwindow/cpwl_edit_ctrl.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-07-05 14:11:23 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-07-05 18:53:00 +0000
commit1b4670cab5be6a5938621a25f050da7351c507b2 (patch)
tree8f7d2160982c9cd8660dfbf233f28624997e1edd /fpdfsdk/pdfwindow/cpwl_edit_ctrl.h
parent63fbd8d8ece5f49f7f9b8cac29b9aba73d5d7d23 (diff)
downloadpdfium-1b4670cab5be6a5938621a25f050da7351c507b2.tar.xz
Remove PNM_SETCARETINFO and call SetCaret directly
The PNM_SETCARETINFO message is only sent inside CPWL_EditCtrl and is only handled in that class. This CL removes the message from OnNotify and calls SetCaret directly. Change-Id: I7d48f4b9fcd9fe8e828163c957e7d46f369edb06 Reviewed-on: https://pdfium-review.googlesource.com/7254 Reviewed-by: Nicolás Peña <npm@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/pdfwindow/cpwl_edit_ctrl.h')
-rw-r--r--fpdfsdk/pdfwindow/cpwl_edit_ctrl.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/fpdfsdk/pdfwindow/cpwl_edit_ctrl.h b/fpdfsdk/pdfwindow/cpwl_edit_ctrl.h
index f72a7b2043..f81def6464 100644
--- a/fpdfsdk/pdfwindow/cpwl_edit_ctrl.h
+++ b/fpdfsdk/pdfwindow/cpwl_edit_ctrl.h
@@ -52,10 +52,6 @@ class CPWL_EditCtrl : public CPWL_Wnd {
bool OnLButtonDown(const CFX_PointF& point, uint32_t nFlag) override;
bool OnLButtonUp(const CFX_PointF& point, uint32_t nFlag) override;
bool OnMouseMove(const CFX_PointF& point, uint32_t nFlag) override;
- void OnNotify(CPWL_Wnd* pWnd,
- uint32_t msg,
- intptr_t wParam = 0,
- intptr_t lParam = 0) override;
void SetScrollInfo(const PWL_SCROLL_INFO& info) override;
void SetScrollPosition(float pos) override;
void ScrollWindowVertically(float pos) override;