#include "ui/gfx/bidi_line_iterator.h"
#include "base/check.h"
#include "base/notreached.h"
namespace ui {
namespace gfx {
namespace {
UBiDiLevel GetParagraphLevelForDirection(base::i18n::TextDirection direction) { … }
}
BiDiLineIterator::BiDiLineIterator() = default;
BiDiLineIterator::~BiDiLineIterator() = default;
bool BiDiLineIterator::Open(const std::u16string& text,
base::i18n::TextDirection direction) { … }
int BiDiLineIterator::CountRuns() const { … }
UBiDiDirection BiDiLineIterator::GetVisualRun(int index,
int* start,
int* length) const { … }
void BiDiLineIterator::GetLogicalRun(int start,
int* end,
UBiDiLevel* level) const { … }
}
}