summaryrefslogtreecommitdiff
path: root/fpdfsdk/fxedit
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-07-13 11:34:23 -0700
committerCommit bot <commit-bot@chromium.org>2016-07-13 11:34:23 -0700
commitdbc7716e1b8d67a5ca422ef0bbfe87ff8c5cf4ea (patch)
treebe90424187b3e350b6ef824f0ac0a069cbd0beb8 /fpdfsdk/fxedit
parente35af1e3c93e5e1f374799da115eb4b99820831c (diff)
downloadpdfium-dbc7716e1b8d67a5ca422ef0bbfe87ff8c5cf4ea.tar.xz
This CL removes IPWL_Edit_Notfy and removes the OnKillFocus override from IPWL_FocusHandler. Review-Url: https://codereview.chromium.org/2144813002
Diffstat (limited to 'fpdfsdk/fxedit')
-rw-r--r--fpdfsdk/fxedit/fxet_edit.cpp6
-rw-r--r--fpdfsdk/fxedit/include/fxet_edit.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/fpdfsdk/fxedit/fxet_edit.cpp b/fpdfsdk/fxedit/fxet_edit.cpp
index 2125eb8f0e..fb219ca16c 100644
--- a/fpdfsdk/fxedit/fxet_edit.cpp
+++ b/fpdfsdk/fxedit/fxet_edit.cpp
@@ -3094,8 +3094,6 @@ void CFX_Edit::BeginGroupUndo(const CFX_WideString& sTitle) {
void CFX_Edit::EndGroupUndo() {
m_pGroupUndoItem->UpdateItems();
m_Undo.AddItem(m_pGroupUndoItem);
- if (m_bOprNotify && m_pOprNotify)
- m_pOprNotify->OnAddUndo(m_pGroupUndoItem);
m_pGroupUndoItem = nullptr;
}
@@ -3104,15 +3102,11 @@ void CFX_Edit::AddEditUndoItem(CFX_Edit_UndoItem* pEditUndoItem) {
m_pGroupUndoItem->AddUndoItem(pEditUndoItem);
} else {
m_Undo.AddItem(pEditUndoItem);
- if (m_bOprNotify && m_pOprNotify)
- m_pOprNotify->OnAddUndo(pEditUndoItem);
}
}
void CFX_Edit::AddUndoItem(IFX_Edit_UndoItem* pUndoItem) {
m_Undo.AddItem(pUndoItem);
- if (m_bOprNotify && m_pOprNotify)
- m_pOprNotify->OnAddUndo(pUndoItem);
}
CFX_Edit_LineRectArray::CFX_Edit_LineRectArray() {}
diff --git a/fpdfsdk/fxedit/include/fxet_edit.h b/fpdfsdk/fxedit/include/fxet_edit.h
index 3bf5849211..4287705592 100644
--- a/fpdfsdk/fxedit/include/fxet_edit.h
+++ b/fpdfsdk/fxedit/include/fxet_edit.h
@@ -566,7 +566,6 @@ class CFX_Edit {
friend class CFXEU_Backspace;
friend class CFXEU_Delete;
friend class CFXEU_Clear;
- friend class CFXEU_ClearRich;
friend class CFXEU_InsertText;
void SetSel(const CPVT_WordPlace& begin, const CPVT_WordPlace& end);