chromium/chrome/browser/themes/theme_properties.cc

// Copyright 2013 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/themes/theme_properties.h"

#include <memory>
#include <optional>

#include "base/strings/string_split.h"
#include "base/strings/string_util.h"
#include "build/build_config.h"
#include "chrome/browser/themes/browser_theme_pack.h"
#include "ui/gfx/color_palette.h"
#include "ui/native_theme/native_theme.h"

#if BUILDFLAG(IS_WIN)
#include <windows.h>
#endif

namespace {

// Strings used in alignment properties.
constexpr char kAlignmentCenter[] =;
constexpr char kAlignmentTop[] =;
constexpr char kAlignmentBottom[] =;
constexpr char kAlignmentLeft[] =;
constexpr char kAlignmentRight[] =;

// Strings used in background tiling repetition properties.
constexpr char kTilingNoRepeat[] =;
constexpr char kTilingRepeatX[] =;
constexpr char kTilingRepeatY[] =;
constexpr char kTilingRepeat[] =;

SkColor GetLightModeColor(int id) {}

std::optional<SkColor> GetIncognitoColor(int id) {}

std::optional<SkColor> GetDarkModeColor(int id) {}

}  // namespace

// static
constexpr int ThemeProperties::kFrameHeightAboveTabs;

// static
int ThemeProperties::StringToAlignment(const std::string& alignment) {}

// static
int ThemeProperties::StringToTiling(const std::string& tiling) {}

// static
std::string ThemeProperties::AlignmentToString(int alignment) {}

// static
std::string ThemeProperties::TilingToString(int tiling) {}

// static
color_utils::HSL ThemeProperties::GetDefaultTint(int id,
                                                 bool incognito,
                                                 bool dark_mode) {}

// static
SkColor ThemeProperties::GetDefaultColor(int id,
                                         bool incognito,
                                         bool dark_mode) {}