summaryrefslogtreecommitdiff
path: root/xfa/fde/cfde_wordbreak_data.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-09-06 13:52:35 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-09-06 18:03:58 +0000
commit8f6084b710362e950ae752ac0f5aa6ba954fdbfd (patch)
treeaf848affaf1d8ba3098dcae82f41934e31a09227 /xfa/fde/cfde_wordbreak_data.h
parenteb57e0d0b396606b39ef76a864b8bf9dd91a8ed8 (diff)
downloadpdfium-8f6084b710362e950ae752ac0f5aa6ba954fdbfd.tar.xz
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 <dsinclair@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'xfa/fde/cfde_wordbreak_data.h')
-rw-r--r--xfa/fde/cfde_wordbreak_data.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/xfa/fde/cfde_wordbreak_data.h b/xfa/fde/cfde_wordbreak_data.h
new file mode 100644
index 0000000000..8cc13e3f4b
--- /dev/null
+++ b/xfa/fde/cfde_wordbreak_data.h
@@ -0,0 +1,15 @@
+// Copyright 2017 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 XFA_FDE_CFDE_WORDBREAK_DATA_H_
+#define XFA_FDE_CFDE_WORDBREAK_DATA_H_
+
+#include <stdint.h>
+
+extern const uint16_t gs_FX_WordBreak_Table[];
+extern const uint8_t gs_FX_WordBreak_CodePointProperties[];
+
+#endif // XFA_FDE_CFDE_WORDBREAK_DATA_H_