chromium/ui/linux/linux_ui_factory.cc

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

#include "ui/linux/linux_ui_factory.h"

#include <memory>
#include <utility>

#include "base/command_line.h"
#include "base/environment.h"
#include "base/memory/raw_ptr.h"
#include "base/nix/xdg_util.h"
#include "base/no_destructor.h"
#include "base/strings/string_util.h"
#include "build/chromecast_buildflags.h"
#include "ui/base/buildflags.h"
#include "ui/base/ui_base_switches.h"
#include "ui/color/system_theme.h"
#include "ui/linux/fallback_linux_ui.h"
#include "ui/linux/linux_ui.h"
#include "ui/linux/linux_ui_delegate.h"

#if BUILDFLAG(USE_GTK)
#include "ui/gtk/gtk_ui_factory.h"
#endif
#if BUILDFLAG(USE_QT)
#include "ui/qt/qt_ui.h"
#endif

#if !BUILDFLAG(IS_CASTOS)
#include "ui/shell_dialogs/shell_dialog_linux.h"
#endif

namespace ui {

namespace {

std::vector<raw_ptr<LinuxUiTheme, VectorExperimental>>& GetLinuxUiThemesImpl() {}

std::unique_ptr<LinuxUiAndTheme> CreateGtkUi() {}

LinuxUiAndTheme* GetGtkUi() {}

std::unique_ptr<LinuxUiAndTheme> CreateQtUi() {}

LinuxUiAndTheme* GetQtUi() {}

std::unique_ptr<LinuxUiAndTheme> CreateFallbackUi() {}

LinuxUiAndTheme* GetFallbackUi() {}

LinuxUiAndTheme* GetDefaultLinuxUiAndTheme() {}

}  // namespace

LinuxUi* GetDefaultLinuxUi() {}

LinuxUiTheme* GetDefaultLinuxUiTheme() {}

LinuxUiTheme* GetLinuxUiTheme(SystemTheme system_theme) {}

const std::vector<raw_ptr<LinuxUiTheme, VectorExperimental>>&
GetLinuxUiThemes() {}

SystemTheme GetDefaultSystemTheme() {}

}  // namespace ui