diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-07-05 09:39:50 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-07-05 18:05:50 +0000 |
commit | 7e0336e278d69f1d66967db7375c75322da55d69 (patch) | |
tree | 505496fa39ac02cbaf4f4fbb8cb9dd0a20cc9ea4 /fpdfsdk/pdfwindow/cpwl_edit_ctrl.h | |
parent | 3ff54008a163eea3158a7c107595daf79ccc7d44 (diff) | |
download | pdfium-7e0336e278d69f1d66967db7375c75322da55d69.tar.xz |
Move PNM_SETSCROLLPOS to custom method
This CL splits PNM_SETSCROLLPOS out of OnNotify and places into a
method which is called as needed.
Change-Id: Ic144bc30bca57869f0679bef40e07b6a130e944c
Reviewed-on: https://pdfium-review.googlesource.com/7252
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fpdfsdk/pdfwindow/cpwl_edit_ctrl.h b/fpdfsdk/pdfwindow/cpwl_edit_ctrl.h index 822f527bcd..d8cbc5ee83 100644 --- a/fpdfsdk/pdfwindow/cpwl_edit_ctrl.h +++ b/fpdfsdk/pdfwindow/cpwl_edit_ctrl.h @@ -57,6 +57,7 @@ class CPWL_EditCtrl : public CPWL_Wnd { intptr_t wParam = 0, intptr_t lParam = 0) override; void SetScrollInfo(const PWL_SCROLL_INFO& info) override; + void SetScrollPosition(float pos) override; void CreateChildWnd(const PWL_CREATEPARAM& cp) override; void RePosChildWnd() override; void SetFontSize(float fFontSize) override; |