summaryrefslogtreecommitdiff
path: root/fpdfsdk/pdfwindow/cpwl_edit_ctrl.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-07-05 14:10:36 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-07-05 18:22:59 +0000
commit63fbd8d8ece5f49f7f9b8cac29b9aba73d5d7d23 (patch)
tree6d07eca9ea6be919963e5411f8dad89c60913354 /fpdfsdk/pdfwindow/cpwl_edit_ctrl.h
parent7e0336e278d69f1d66967db7375c75322da55d69 (diff)
downloadpdfium-63fbd8d8ece5f49f7f9b8cac29b9aba73d5d7d23.tar.xz
Remove PNM_SCROLLWINDOW and replace with direct method
This CL removes PNM_SCROLLWINDOW from OnNotify and replaces it with a call to ScrollWindowVerticallyTo. Change-Id: I62f6da60cdcd4926b0c74b980b3855a28a834411 Reviewed-on: https://pdfium-review.googlesource.com/7253 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'fpdfsdk/pdfwindow/cpwl_edit_ctrl.h')
-rw-r--r--fpdfsdk/pdfwindow/cpwl_edit_ctrl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fpdfsdk/pdfwindow/cpwl_edit_ctrl.h b/fpdfsdk/pdfwindow/cpwl_edit_ctrl.h
index d8cbc5ee83..f72a7b2043 100644
--- a/fpdfsdk/pdfwindow/cpwl_edit_ctrl.h
+++ b/fpdfsdk/pdfwindow/cpwl_edit_ctrl.h
@@ -58,6 +58,7 @@ class CPWL_EditCtrl : public CPWL_Wnd {
intptr_t lParam = 0) override;
void SetScrollInfo(const PWL_SCROLL_INFO& info) override;
void SetScrollPosition(float pos) override;
+ void ScrollWindowVertically(float pos) override;
void CreateChildWnd(const PWL_CREATEPARAM& cp) override;
void RePosChildWnd() override;
void SetFontSize(float fFontSize) override;