// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifdef UNSAFE_BUFFERS_BUILD // TODO(crbug.com/351564777): Remove this and convert code to safer constructs. #pragma allow_unsafe_buffers #endif #include "third_party/blink/renderer/core/editing/state_machines/state_machine_util.h" #include "third_party/blink/renderer/platform/text/character.h" #include "third_party/blink/renderer/platform/wtf/text/character_names.h" #include "third_party/blink/renderer/platform/wtf/text/unicode.h" namespace blink { namespace { // The list of code points which has Indic_Syllabic_Category=Virama property. // Must be sorted. // See http://www.unicode.org/Public/9.0.0/ucd/IndicSyllabicCategory-9.0.0d2.txt const uint32_t kIndicSyllabicCategoryViramaList[] = …; // Returns true if the code point has Indic_Syllabic_Category=Virama property. // See http://www.unicode.org/Public/9.0.0/ucd/IndicSyllabicCategory-9.0.0d2.txt bool IsIndicSyllabicCategoryVirama(uint32_t code_point) { … } } // namespace bool IsGraphemeBreak(UChar32 prev_code_point, UChar32 next_code_point) { … } } // namespace blink