summaryrefslogtreecommitdiff
path: root/fpdfsdk/formfiller/cffl_formfiller.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-09-21 12:07:00 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-21 12:07:00 -0700
commitb94d7c9216160269d43a722b8e216790ba4b5d3b (patch)
treeea626b19bbb8b58be82691c4a69c10715edfe6f4 /fpdfsdk/formfiller/cffl_formfiller.cpp
parent0b2a9874bddf44b4226fcbafa9ce159a9b3735a8 (diff)
downloadpdfium-b94d7c9216160269d43a722b8e216790ba4b5d3b.tar.xz
Make the I in IFormFiller explicit
Typically the I prefix means Interface, except for CFFL_IFormFiller where it means Interactive. Rename CFFL_IFormFiller to CFFL_InteractiveFormFiller to make the meaning explicit. Review-Url: https://codereview.chromium.org/2357203003
Diffstat (limited to 'fpdfsdk/formfiller/cffl_formfiller.cpp')
-rw-r--r--fpdfsdk/formfiller/cffl_formfiller.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/fpdfsdk/formfiller/cffl_formfiller.cpp b/fpdfsdk/formfiller/cffl_formfiller.cpp
index 889f3b46a1..7aeda57c2e 100644
--- a/fpdfsdk/formfiller/cffl_formfiller.cpp
+++ b/fpdfsdk/formfiller/cffl_formfiller.cpp
@@ -94,7 +94,7 @@ void CFFL_FormFiller::OnDraw(CPDFSDK_PageView* pPageView,
pWnd->DrawAppearance(pDevice, &mt);
} else {
CPDFSDK_Widget* pWidget = (CPDFSDK_Widget*)pAnnot;
- if (CFFL_IFormFiller::IsVisible(pWidget))
+ if (CFFL_InteractiveFormFiller::IsVisible(pWidget))
pWidget->DrawAppearance(pDevice, pUser2Device, CPDF_Annot::Normal,
nullptr);
}
@@ -525,8 +525,9 @@ FX_BOOL CFFL_FormFiller::CommitData(CPDFSDK_PageView* pPageView,
if (IsDataChanged(pPageView)) {
FX_BOOL bRC = TRUE;
FX_BOOL bExit = FALSE;
- CFFL_IFormFiller* pIFormFiller = m_pEnv->GetIFormFiller();
- pIFormFiller->OnKeyStrokeCommit(m_pWidget, pPageView, bRC, bExit, nFlag);
+ CFFL_InteractiveFormFiller* pFormFiller =
+ m_pEnv->GetInteractiveFormFiller();
+ pFormFiller->OnKeyStrokeCommit(m_pWidget, pPageView, bRC, bExit, nFlag);
if (bExit)
return TRUE;
if (!bRC) {
@@ -534,7 +535,7 @@ FX_BOOL CFFL_FormFiller::CommitData(CPDFSDK_PageView* pPageView,
return TRUE;
}
- pIFormFiller->OnValidate(m_pWidget, pPageView, bRC, bExit, nFlag);
+ pFormFiller->OnValidate(m_pWidget, pPageView, bRC, bExit, nFlag);
if (bExit)
return TRUE;
if (!bRC) {
@@ -543,11 +544,11 @@ FX_BOOL CFFL_FormFiller::CommitData(CPDFSDK_PageView* pPageView,
}
SaveData(pPageView);
- pIFormFiller->OnCalculate(m_pWidget, pPageView, bExit, nFlag);
+ pFormFiller->OnCalculate(m_pWidget, pPageView, bExit, nFlag);
if (bExit)
return TRUE;
- pIFormFiller->OnFormat(m_pWidget, pPageView, bExit, nFlag);
+ pFormFiller->OnFormat(m_pWidget, pPageView, bExit, nFlag);
}
return TRUE;
}