summaryrefslogtreecommitdiff
path: root/fpdfsdk/pwl/cpwl_edit_impl.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-08-12 07:04:19 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-08-15 16:02:50 +0000
commit5688d624690e1fdc3cbbbbf23a5b475f40818728 (patch)
tree529079e7e8677d7ca305d4cf0dc0dd9b1bf96f3d /fpdfsdk/pwl/cpwl_edit_impl.h
parent28549c91b9fb7bdc637466218348b0759e251456 (diff)
downloadpdfium-5688d624690e1fdc3cbbbbf23a5b475f40818728.tar.xz
Remove CPWL_EditImpl::EnableOprNotify().
It's redundant with SetOprNotify(). Change-Id: Iee2741744017ea6bd1b9839fc6395197c560f1e7 Reviewed-on: https://pdfium-review.googlesource.com/10850 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fpdfsdk/pwl/cpwl_edit_impl.h')
-rw-r--r--fpdfsdk/pwl/cpwl_edit_impl.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/fpdfsdk/pwl/cpwl_edit_impl.h b/fpdfsdk/pwl/cpwl_edit_impl.h
index 697ca84994..48b94c1057 100644
--- a/fpdfsdk/pwl/cpwl_edit_impl.h
+++ b/fpdfsdk/pwl/cpwl_edit_impl.h
@@ -305,7 +305,7 @@ class CPWL_EditImpl {
void SetFontMap(IPVT_FontMap* pFontMap);
void SetNotify(CPWL_EditCtrl* pNotify);
- void SetOprNotify(CPWL_Edit* pOprNotify);
+ void SetOperationNotify(CPWL_Edit* pOperationNotify);
// Returns an iterator for the contents. Should not be released.
CPWL_EditImpl_Iterator* GetIterator();
@@ -376,7 +376,6 @@ class CPWL_EditImpl {
CPVT_WordRange GetWholeWordRange() const;
CPVT_WordRange GetSelectWordRange() const;
void EnableUndo(bool bUndo);
- void EnableOprNotify(bool bNotify);
bool IsTextFull() const;
bool IsTextOverflow() const;
bool CanUndo() const;
@@ -451,7 +450,7 @@ class CPWL_EditImpl {
private:
std::unique_ptr<CPDF_VariableText> m_pVT;
CFX_UnownedPtr<CPWL_EditCtrl> m_pNotify;
- CFX_UnownedPtr<CPWL_Edit> m_pOprNotify;
+ CFX_UnownedPtr<CPWL_Edit> m_pOperationNotify;
std::unique_ptr<CPWL_EditImpl_Provider> m_pVTProvider;
CPVT_WordPlace m_wpCaret;
CPVT_WordPlace m_wpOldCaret;
@@ -469,7 +468,6 @@ class CPWL_EditImpl {
bool m_bEnableRefresh;
CFX_FloatRect m_rcOldContent;
bool m_bEnableUndo;
- bool m_bOprNotify;
};
class CPWL_EditImpl_Iterator {