chromium/chrome/browser/ui/views/tabs/fade_label_view.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/fade_label_view.h"

#include "chrome/browser/ui/views/tabs/filename_elider.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/gfx/canvas.h"

namespace {
std::unique_ptr<FadeLabel> CreateFadeLabel(int context, int text_style) {}
}  // namespace

// FadeLabel
// ----------------------------------------------------------

void FadeLabel::SetData(const FadeLabelViewData& data) {}

void FadeLabel::SetFade(double percent) {}

void FadeLabel::SetPaintBackground(bool paint_background) {}

void FadeLabel::OnPaintBackground(gfx::Canvas* canvas) {}

// Returns a version of the text that's middle-elided on two lines.
std::u16string FadeLabel::TruncateFilenameToTwoLines(
    const std::u16string& text) const {}

BEGIN_METADATA()

// FadeLabelView:
// ----------------------------------------------------------

FadeLabelView::FadeLabelView(int num_lines, int context, int text_style)
    :{}

std::u16string FadeLabelView::GetText() {}

void FadeLabelView::SetEnabledColorId(ui::ColorId color) {}

FadeWrapper_Label_FadeLabelViewData;
BEGIN_TEMPLATE_METADATA()

FadeView_FadeLabel_FadeLabel_FadeLabelViewData;
BEGIN_TEMPLATE_METADATA()

BEGIN_METADATA()