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_wnd.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_wnd.h')
-rw-r--r-- | fpdfsdk/pdfwindow/cpwl_wnd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/pdfwindow/cpwl_wnd.h b/fpdfsdk/pdfwindow/cpwl_wnd.h index 9ffae162f3..c9c4130725 100644 --- a/fpdfsdk/pdfwindow/cpwl_wnd.h +++ b/fpdfsdk/pdfwindow/cpwl_wnd.h @@ -74,7 +74,6 @@ struct PWL_SCROLL_INFO; #define PRES_TEXTOVERFLOW 0x0400L // notification messages -#define PNM_SETSCROLLPOS 3 #define PNM_SCROLLWINDOW 4 #define PNM_LBUTTONDOWN 5 #define PNM_LBUTTONUP 6 @@ -221,6 +220,7 @@ class CPWL_Wnd : public CPWL_TimerHandler { intptr_t wParam = 0, intptr_t lParam = 0); virtual void SetScrollInfo(const PWL_SCROLL_INFO& info); + virtual void SetScrollPosition(float pos); virtual void SetFocus(); virtual void KillFocus(); virtual void SetCursor(); |