summaryrefslogtreecommitdiff
path: root/fpdfsdk/pdfwindow/cpwl_caret.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_caret.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_caret.h')
-rw-r--r--fpdfsdk/pdfwindow/cpwl_caret.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/fpdfsdk/pdfwindow/cpwl_caret.h b/fpdfsdk/pdfwindow/cpwl_caret.h
index 7c723b96b3..0d9c1cdfd1 100644
--- a/fpdfsdk/pdfwindow/cpwl_caret.h
+++ b/fpdfsdk/pdfwindow/cpwl_caret.h
@@ -9,15 +9,6 @@
#include "fpdfsdk/pdfwindow/cpwl_wnd.h"
-struct PWL_CARET_INFO {
- public:
- PWL_CARET_INFO();
-
- bool bVisible;
- CFX_PointF ptHead;
- CFX_PointF ptFoot;
-};
-
class CPWL_Caret : public CPWL_Wnd {
public:
CPWL_Caret();