#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "ui/linux/linux_ui.h"
#include <cstdio>
#include <utility>
#include "base/command_line.h"
#include "base/no_destructor.h"
#include "build/build_config.h"
#include "ui/linux/cursor_theme_manager_observer.h"
#include "ui/linux/linux_ui_getter.h"
namespace ui {
namespace {
LinuxUi* g_linux_ui = …;
}
LinuxUi* LinuxUi::SetInstance(LinuxUi* instance) { … }
LinuxUi* LinuxUi::instance() { … }
LinuxUi::LinuxUi() = default;
LinuxUi::~LinuxUi() = default;
LinuxUi::CmdLineArgs::CmdLineArgs() = default;
LinuxUi::CmdLineArgs::CmdLineArgs(CmdLineArgs&&) = default;
LinuxUi::CmdLineArgs& LinuxUi::CmdLineArgs::operator=(CmdLineArgs&&) = default;
LinuxUi::CmdLineArgs::~CmdLineArgs() = default;
void LinuxUi::AddDeviceScaleFactorObserver(
DeviceScaleFactorObserver* observer) { … }
void LinuxUi::RemoveDeviceScaleFactorObserver(
DeviceScaleFactorObserver* observer) { … }
void LinuxUi::AddCursorThemeObserver(CursorThemeManagerObserver* observer) { … }
void LinuxUi::RemoveCursorThemeObserver(CursorThemeManagerObserver* observer) { … }
LinuxUi::FontSettings LinuxUi::GetDefaultFontDescription() { … }
LinuxUi::CmdLineArgs LinuxUi::CopyCmdLine(
const base::CommandLine& command_line) { … }
LinuxUiTheme::LinuxUiTheme() = default;
LinuxUiTheme::~LinuxUiTheme() = default;
LinuxUiTheme* LinuxUiTheme::GetForWindow(aura::Window* window) { … }
LinuxUiTheme* LinuxUiTheme::GetForProfile(Profile* profile) { … }
}