chromium/chrome/browser/ui/tabs/tab_style.cc

// Copyright 2019 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/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "chrome/browser/ui/tabs/tab_style.h"

#include "chrome/browser/ui/layout_constants.h"
#include "chrome/browser/ui/tabs/features.h"
#include "chrome/browser/ui/ui_features.h"
#include "ui/base/ui_base_features.h"
#include "ui/color/color_provider.h"
#include "ui/gfx/color_utils.h"
#include "ui/views/layout/layout_provider.h"

namespace {

// Thickness in DIPs of the separator painted on the left and right edges of
// the tab.
constexpr int kChromeRefreshSeparatorThickness =;
constexpr int kChromeRefreshSeparatorHorizontalMargin =;
// TODO (crbug.com/1451400): This constant should be in LayoutConstants.
constexpr int kChromeRefreshSeparatorHeight =;

// The padding from the top of the tab to the content area.
constexpr int kChromeRefreshTabVerticalPadding =;
constexpr int kChromeRefreshTabHorizontalPadding =;

class ChromeRefresh2023TabStyle : public TabStyle {};

}  // namespace

TabStyle::~TabStyle() = default;

int ChromeRefresh2023TabStyle::GetStandardWidth() const {}

int ChromeRefresh2023TabStyle::GetPinnedWidth() const {}

int ChromeRefresh2023TabStyle::GetMinimumActiveWidth() const {}

int ChromeRefresh2023TabStyle::GetMinimumInactiveWidth() const {}

int ChromeRefresh2023TabStyle::GetTopCornerRadius() const {}

int ChromeRefresh2023TabStyle::GetBottomCornerRadius() const {}

int ChromeRefresh2023TabStyle::GetTabOverlap() const {}

gfx::Size ChromeRefresh2023TabStyle::GetPreviewImageSize() const {}

gfx::Size ChromeRefresh2023TabStyle::GetSeparatorSize() const {}

gfx::Insets ChromeRefresh2023TabStyle::GetSeparatorMargins() const {}

int ChromeRefresh2023TabStyle::GetSeparatorCornerRadius() const {}

int ChromeRefresh2023TabStyle::GetDragHandleExtension(int height) const {}

SkColor ChromeRefresh2023TabStyle::GetTabBackgroundColor(
    const TabSelectionState state,
    const bool hovered,
    const bool frame_active,
    const ui::ColorProvider& color_provider) const {}

gfx::Insets ChromeRefresh2023TabStyle::GetContentsInsets() const {}

float ChromeRefresh2023TabStyle::GetSelectedTabOpacity() const {}

// static
const TabStyle* TabStyle::Get() {}