chromium/chrome/browser/ui/views/tabs/filename_elider.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/ui/views/tabs/filename_elider.h"

#include <string_view>

#include "base/i18n/break_iterator.h"
#include "base/i18n/char_iterator.h"
#include "base/strings/string_util.h"
#include "ui/gfx/selection_model.h"
#include "ui/gfx/text_elider.h"
#include "ui/gfx/text_utils.h"

FilenameElider::FilenameElider(std::unique_ptr<gfx::RenderText> render_text)
    :{}

FilenameElider::~FilenameElider() = default;

std::u16string FilenameElider::Elide(const std::u16string& text,
                                     const gfx::Rect& display_rect) const {}

// static
std::u16string::size_type FilenameElider::FindImageDimensions(
    const std::u16string& text) {}

FilenameElider::LineLengths FilenameElider::GetLineLengths(
    const gfx::Rect& display_rect) const {}

std::u16string FilenameElider::ElideImpl(
    FilenameElider::LineLengths line_lengths) const {}