summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_combobox.cpp
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2018-05-11 21:06:07 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-05-11 21:06:07 +0000
commit626a093f5fded0e120de2343431c2ddfd14b957b (patch)
tree951cd051f8dbb5ce06ec82de8d0e7886ce762788 /xfa/fwl/cfwl_combobox.cpp
parent69594dd17edac7fbd2ac57f9eec24d54f676b8bc (diff)
downloadpdfium-626a093f5fded0e120de2343431c2ddfd14b957b.tar.xz
Rename last CFWL_ComboBox::DisForm* methods.chromium/3428
Change-Id: Id70a0c068f565ab87d10d021803a29a56ea92d67 Reviewed-on: https://pdfium-review.googlesource.com/32411 Commit-Queue: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fwl/cfwl_combobox.cpp')
-rw-r--r--xfa/fwl/cfwl_combobox.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/xfa/fwl/cfwl_combobox.cpp b/xfa/fwl/cfwl_combobox.cpp
index 6489e9e894..45134925a0 100644
--- a/xfa/fwl/cfwl_combobox.cpp
+++ b/xfa/fwl/cfwl_combobox.cpp
@@ -450,12 +450,12 @@ void CFWL_ComboBox::OnProcessMessage(CFWL_Message* pMessage) {
switch (pMessage->GetType()) {
case CFWL_Message::Type::SetFocus: {
backDefault = false;
- DisForm_OnFocusChanged(pMessage, true);
+ OnFocusChanged(pMessage, true);
break;
}
case CFWL_Message::Type::KillFocus: {
backDefault = false;
- DisForm_OnFocusChanged(pMessage, false);
+ OnFocusChanged(pMessage, false);
break;
}
case CFWL_Message::Type::Mouse: {
@@ -463,7 +463,7 @@ void CFWL_ComboBox::OnProcessMessage(CFWL_Message* pMessage) {
CFWL_MessageMouse* pMsg = static_cast<CFWL_MessageMouse*>(pMessage);
switch (pMsg->m_dwCmd) {
case FWL_MouseCommand::LeftButtonDown:
- DisForm_OnLButtonDown(pMsg);
+ OnLButtonDown(pMsg);
break;
case FWL_MouseCommand::LeftButtonUp:
OnLButtonUp(pMsg);
@@ -488,7 +488,7 @@ void CFWL_ComboBox::OnProcessMessage(CFWL_Message* pMessage) {
break;
}
}
- DisForm_OnKey(pKey);
+ OnKey(pKey);
break;
}
default:
@@ -526,7 +526,7 @@ void CFWL_ComboBox::OnLButtonUp(CFWL_MessageMouse* pMsg) {
RepaintRect(m_rtBtn);
}
-void CFWL_ComboBox::DisForm_OnLButtonDown(CFWL_MessageMouse* pMsg) {
+void CFWL_ComboBox::OnLButtonDown(CFWL_MessageMouse* pMsg) {
bool bDropDown = IsDropListVisible();
CFX_RectF& rtBtn = bDropDown ? m_rtBtn : m_rtClient;
if (!rtBtn.Contains(pMsg->m_pos))
@@ -541,7 +541,7 @@ void CFWL_ComboBox::DisForm_OnLButtonDown(CFWL_MessageMouse* pMsg) {
ShowDropList(true);
}
-void CFWL_ComboBox::DisForm_OnFocusChanged(CFWL_Message* pMsg, bool bSet) {
+void CFWL_ComboBox::OnFocusChanged(CFWL_Message* pMsg, bool bSet) {
if (bSet) {
m_pProperties->m_dwStates |= FWL_WGTSTATE_Focused;
if ((m_pEdit->GetStates() & FWL_WGTSTATE_Focused) == 0) {
@@ -556,7 +556,7 @@ void CFWL_ComboBox::DisForm_OnFocusChanged(CFWL_Message* pMsg, bool bSet) {
}
}
-void CFWL_ComboBox::DisForm_OnKey(CFWL_MessageKey* pMsg) {
+void CFWL_ComboBox::OnKey(CFWL_MessageKey* pMsg) {
uint32_t dwKeyCode = pMsg->m_dwKeyCode;
const bool bUp = dwKeyCode == FWL_VKEY_Up;
const bool bDown = dwKeyCode == FWL_VKEY_Down;