diff options
author | dsinclair <dsinclair@chromium.org> | 2016-04-04 15:24:20 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-04 15:24:20 -0700 |
commit | ed9c4386713084f37548b46ab36f618021f716f5 (patch) | |
tree | c5d3bca40a87d9beb9fea03c680f13cc8eb2400c /core/fpdfdoc/pdf_vt.h | |
parent | c220e59f36a1a5664fc795c801968083adda1722 (diff) | |
download | pdfium-ed9c4386713084f37548b46ab36f618021f716f5.tar.xz |
Make IPDF_VariableText_{Provider,Iterator} inner classes.
This CL moves the IPDF_VariableText_Provider and IPDF_VariableText_Iterator
classes to be nested sub-classes of IPDF_VariableText.
BUG=pdfium:455
Review URL: https://codereview.chromium.org/1855403002
Diffstat (limited to 'core/fpdfdoc/pdf_vt.h')
-rw-r--r-- | core/fpdfdoc/pdf_vt.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/core/fpdfdoc/pdf_vt.h b/core/fpdfdoc/pdf_vt.h index f97c48638f..73913f78f4 100644 --- a/core/fpdfdoc/pdf_vt.h +++ b/core/fpdfdoc/pdf_vt.h @@ -342,9 +342,9 @@ class CPDF_VariableText : public IPDF_VariableText, private CPDF_EditContainer { ~CPDF_VariableText() override; // IPDF_VariableText - IPDF_VariableText_Provider* SetProvider( - IPDF_VariableText_Provider* pProvider) override; - IPDF_VariableText_Iterator* GetIterator() override; + IPDF_VariableText::Provider* SetProvider( + IPDF_VariableText::Provider* pProvider) override; + IPDF_VariableText::Iterator* GetIterator() override; void SetPlateRect(const CFX_FloatRect& rect) override { CPDF_EditContainer::SetPlateRect(rect); } @@ -521,16 +521,16 @@ class CPDF_VariableText : public IPDF_VariableText, private CPDF_EditContainer { private: FX_BOOL m_bInitial; FX_BOOL m_bRichText; - IPDF_VariableText_Provider* m_pVTProvider; - CPDF_VariableText_Iterator* m_pVTIterator; + IPDF_VariableText::Provider* m_pVTProvider; + CPDF_VariableText::Iterator* m_pVTIterator; }; -class CPDF_VariableText_Iterator : public IPDF_VariableText_Iterator { +class CPDF_VariableText_Iterator : public IPDF_VariableText::Iterator { public: explicit CPDF_VariableText_Iterator(CPDF_VariableText* pVT); ~CPDF_VariableText_Iterator() override; - // IPDF_VariableText_Iterator + // IPDF_VariableText::Iterator FX_BOOL NextWord() override; FX_BOOL PrevWord() override; FX_BOOL NextLine() override; |