From 8f6084b710362e950ae752ac0f5aa6ba954fdbfd Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Wed, 6 Sep 2017 13:52:35 -0400 Subject: Merge CFX_WordBreak into CFDE_TextEditEngine::Iterator. This CL moves the CFX_WordBreak::FindNextBreakPos into the text edit engine iterator. The word break data was moved to cfde_wordbreak_data. Change-Id: Ie022f5f761479f97b9d4bc7789f890cb2ef99106 Reviewed-on: https://pdfium-review.googlesource.com/13250 Commit-Queue: dsinclair Reviewed-by: Henrique Nakashima --- core/fxcrt/cfx_wordbreak.h | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 core/fxcrt/cfx_wordbreak.h (limited to 'core/fxcrt/cfx_wordbreak.h') diff --git a/core/fxcrt/cfx_wordbreak.h b/core/fxcrt/cfx_wordbreak.h deleted file mode 100644 index 6e94c71e95..0000000000 --- a/core/fxcrt/cfx_wordbreak.h +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2014 PDFium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com - -#ifndef CORE_FXCRT_CFX_WORDBREAK_H_ -#define CORE_FXCRT_CFX_WORDBREAK_H_ - -#include -#include - -class IFX_CharIter; - -class CFX_WordBreak { - public: - explicit CFX_WordBreak(std::unique_ptr pIter); - ~CFX_WordBreak(); - - // - std::pair BoundsAt(int32_t nIndex); - - private: - bool FindNextBreakPos(IFX_CharIter* pIter, bool bPrev); - - std::unique_ptr m_pPreIter; - std::unique_ptr m_pCurIter; -}; - -#endif // CORE_FXCRT_CFX_WORDBREAK_H_ -- cgit v1.2.3