summaryrefslogtreecommitdiff
path: root/fpdfsdk/pdfwindow/PWL_Edit.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-04-07 12:39:44 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-07 12:39:44 -0700
commit8da140e8747920057a2f2bbcf5c78e40bb198733 (patch)
treee6500e1812669c52fb55abe818703f30183ba844 /fpdfsdk/pdfwindow/PWL_Edit.h
parent1596f0ae0a289da6f16ede1dd7e3fbcc55ef8b41 (diff)
downloadpdfium-8da140e8747920057a2f2bbcf5c78e40bb198733.tar.xz
Remove all PWL_Note classes
The PWL_Note clasess are never instantiated, remove them and their implementation. PWL_Note was the only caller to enable spellcheck so this allows us to remove IPWL_SpellCheck and the conditionals for PES_SPELLCHECK. BUG=pdfium:468 Review URL: https://codereview.chromium.org/1869533003
Diffstat (limited to 'fpdfsdk/pdfwindow/PWL_Edit.h')
-rw-r--r--fpdfsdk/pdfwindow/PWL_Edit.h18
1 files changed, 3 insertions, 15 deletions
diff --git a/fpdfsdk/pdfwindow/PWL_Edit.h b/fpdfsdk/pdfwindow/PWL_Edit.h
index 2cdc4d149d..29747dd2ae 100644
--- a/fpdfsdk/pdfwindow/PWL_Edit.h
+++ b/fpdfsdk/pdfwindow/PWL_Edit.h
@@ -12,8 +12,6 @@
#include "fpdfsdk/pdfwindow/PWL_EditCtrl.h"
#include "fpdfsdk/pdfwindow/PWL_Wnd.h"
-class IPWL_SpellCheck;
-
class IPWL_Filler_Notify {
public:
virtual ~IPWL_Filler_Notify() {}
@@ -81,8 +79,6 @@ class CPWL_Edit : public CPWL_EditCtrl, public IFX_Edit_OprNotify {
void SetLineLeading(FX_FLOAT fLineLeading, FX_BOOL bPaint = TRUE);
- void EnableSpellCheck(FX_BOOL bEnabled);
-
FX_BOOL CanSelectAll() const;
FX_BOOL CanClear() const;
FX_BOOL CanCopy() const;
@@ -117,6 +113,9 @@ class CPWL_Edit : public CPWL_EditCtrl, public IFX_Edit_OprNotify {
void GeneratePageObjects(CPDF_PageObjectHolder* pObjectHolder,
const CFX_FloatPoint& ptOffset);
+ FX_BOOL IsProceedtoOnChar(uint16_t nKeyCode, uint32_t nFlag);
+ void AttachFFLData(void* pData) { m_pFormFiller = pData; }
+
protected:
// IFX_Edit_OprNotify
void OnInsertWord(const CPVT_WordPlace& place,
@@ -152,20 +151,9 @@ class CPWL_Edit : public CPWL_EditCtrl, public IFX_Edit_OprNotify {
CPVT_WordRange GetSameWordsRange(const CPVT_WordPlace& place,
FX_BOOL bLatin,
FX_BOOL bArabic) const;
-
- public:
- FX_BOOL IsProceedtoOnChar(uint16_t nKeyCode, uint32_t nFlag);
-
- private:
IPWL_Filler_Notify* m_pFillerNotify;
- IPWL_SpellCheck* m_pSpellCheck;
FX_BOOL m_bFocus;
CFX_FloatRect m_rcOldWindow;
-
- public:
- void AttachFFLData(void* pData) { m_pFormFiller = pData; }
-
- private:
void* m_pFormFiller;
};