summaryrefslogtreecommitdiff
path: root/fpdfsdk/pdfwindow/cpwl_list_box.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-07-06 13:56:35 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-07-06 21:27:47 +0000
commit2b44441b1b01a809b6f14d44d64db9a52808cba9 (patch)
treeed62c8a93bdac86cb42334d0abeb3a88616bca93 /fpdfsdk/pdfwindow/cpwl_list_box.cpp
parentd97f2eee71036c09823dea18b2c5f74731317fe9 (diff)
downloadpdfium-2b44441b1b01a809b6f14d44d64db9a52808cba9.tar.xz
Rename OnNotifySelChanged to OnNotifySelectionChanged
Change-Id: I346bfb986754e7530bbfa5be0057422d968e0631 Reviewed-on: https://pdfium-review.googlesource.com/7338 Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: Nicolás Peña <npm@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/pdfwindow/cpwl_list_box.cpp')
-rw-r--r--fpdfsdk/pdfwindow/cpwl_list_box.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/fpdfsdk/pdfwindow/cpwl_list_box.cpp b/fpdfsdk/pdfwindow/cpwl_list_box.cpp
index e3a2e77b94..61f9aafa8f 100644
--- a/fpdfsdk/pdfwindow/cpwl_list_box.cpp
+++ b/fpdfsdk/pdfwindow/cpwl_list_box.cpp
@@ -223,7 +223,7 @@ bool CPWL_ListBox::OnKeyDown(uint16_t nChar, uint32_t nFlag) {
case FWL_VKEY_Delete:
break;
}
- OnNotifySelChanged(true, nFlag);
+ OnNotifySelectionChanged(true, nFlag);
return true;
}
@@ -233,7 +233,7 @@ bool CPWL_ListBox::OnChar(uint16_t nChar, uint32_t nFlag) {
if (!m_pList->OnChar(nChar, IsSHIFTpressed(nFlag), IsCTRLpressed(nFlag)))
return false;
- OnNotifySelChanged(true, nFlag);
+ OnNotifySelectionChanged(true, nFlag);
return true;
}
@@ -258,7 +258,7 @@ bool CPWL_ListBox::OnLButtonUp(const CFX_PointF& point, uint32_t nFlag) {
ReleaseCapture();
m_bMouseDown = false;
}
- OnNotifySelChanged(false, nFlag);
+ OnNotifySelectionChanged(false, nFlag);
return true;
}
@@ -301,7 +301,7 @@ void CPWL_ListBox::RePosChildWnd() {
m_pList->SetPlateRect(GetListRect());
}
-bool CPWL_ListBox::OnNotifySelChanged(bool bKeyDown, uint32_t nFlag) {
+bool CPWL_ListBox::OnNotifySelectionChanged(bool bKeyDown, uint32_t nFlag) {
if (!m_pFillerNotify)
return false;
@@ -417,6 +417,6 @@ bool CPWL_ListBox::OnMouseWheel(short zDelta,
else
m_pList->OnVK_UP(IsSHIFTpressed(nFlag), IsCTRLpressed(nFlag));
- OnNotifySelChanged(false, nFlag);
+ OnNotifySelectionChanged(false, nFlag);
return true;
}