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.cpp | |
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.cpp')
-rw-r--r-- | fpdfsdk/pdfwindow/cpwl_wnd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fpdfsdk/pdfwindow/cpwl_wnd.cpp b/fpdfsdk/pdfwindow/cpwl_wnd.cpp index 8ac7d48cba..f407dfc1e9 100644 --- a/fpdfsdk/pdfwindow/cpwl_wnd.cpp +++ b/fpdfsdk/pdfwindow/cpwl_wnd.cpp @@ -429,6 +429,8 @@ void CPWL_Wnd::OnNotify(CPWL_Wnd* pWnd, void CPWL_Wnd::SetScrollInfo(const PWL_SCROLL_INFO& info) {} +void CPWL_Wnd::SetScrollPosition(float pos) {} + bool CPWL_Wnd::IsValid() const { return m_bCreated; } |