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_list_box.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_list_box.h')
-rw-r--r-- | fpdfsdk/pdfwindow/cpwl_list_box.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fpdfsdk/pdfwindow/cpwl_list_box.h b/fpdfsdk/pdfwindow/cpwl_list_box.h index 6a2118e667..9acfd9ddc7 100644 --- a/fpdfsdk/pdfwindow/cpwl_list_box.h +++ b/fpdfsdk/pdfwindow/cpwl_list_box.h @@ -70,6 +70,7 @@ class CPWL_ListBox : 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 RePosChildWnd() override; CFX_FloatRect GetFocusRect() const override; void SetFontSize(float fFontSize) override; |