chromium/ui/linux/linux_ui.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.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#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 =;

}  // namespace

// static
LinuxUi* LinuxUi::SetInstance(LinuxUi* instance) {}

// static
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() {}

// static
LinuxUi::CmdLineArgs LinuxUi::CopyCmdLine(
    const base::CommandLine& command_line) {}

LinuxUiTheme::LinuxUiTheme() = default;

LinuxUiTheme::~LinuxUiTheme() = default;

// static
LinuxUiTheme* LinuxUiTheme::GetForWindow(aura::Window* window) {}

// static
LinuxUiTheme* LinuxUiTheme::GetForProfile(Profile* profile) {}

}  // namespace ui