chromium/ui/linux/fake_linux_ui.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/fake_linux_ui.h"

#include "base/time/time.h"
#include "ui/base/ime/linux/linux_input_method_context.h"
#include "ui/gfx/color_palette.h"
#include "ui/gfx/font_render_params.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/image/image.h"
#include "ui/linux/nav_button_provider.h"
#include "ui/shell_dialogs/select_file_policy.h"

namespace ui {

FakeLinuxUi::FakeLinuxUi() = default;

FakeLinuxUi::~FakeLinuxUi() = default;

std::unique_ptr<ui::LinuxInputMethodContext>
FakeLinuxUi::CreateInputMethodContext(
    ui::LinuxInputMethodContextDelegate* delegate) const {}

gfx::FontRenderParams FakeLinuxUi::GetDefaultFontRenderParams() {}

ui::SelectFileDialog* FakeLinuxUi::CreateSelectFileDialog(
    void* listener,
    std::unique_ptr<ui::SelectFilePolicy> policy) const {}

bool FakeLinuxUi::Initialize() {}

void FakeLinuxUi::InitializeFontSettings() {}

bool FakeLinuxUi::GetColor(int id,
                           SkColor* color,
                           bool use_custom_frame) const {}

bool FakeLinuxUi::GetDisplayProperty(int id, int* result) const {}

void FakeLinuxUi::GetFocusRingColor(SkColor* color) const {}

void FakeLinuxUi::GetActiveSelectionBgColor(SkColor* color) const {}

void FakeLinuxUi::GetActiveSelectionFgColor(SkColor* color) const {}

void FakeLinuxUi::GetInactiveSelectionBgColor(SkColor* color) const {}

void FakeLinuxUi::GetInactiveSelectionFgColor(SkColor* color) const {}

base::TimeDelta FakeLinuxUi::GetCursorBlinkInterval() const {}

gfx::Image FakeLinuxUi::GetIconForContentType(const std::string& content_type,
                                              int size,
                                              float scale) const {}

LinuxUi::WindowFrameAction FakeLinuxUi::GetWindowFrameAction(
    WindowFrameActionSource source) {}

bool FakeLinuxUi::PreferDarkTheme() const {}

void FakeLinuxUi::SetDarkTheme(bool dark) {}

void FakeLinuxUi::SetAccentColor(std::optional<SkColor> accent_color) {}

bool FakeLinuxUi::AnimationsEnabled() const {}

void FakeLinuxUi::AddWindowButtonOrderObserver(
    ui::WindowButtonOrderObserver* observer) {}

void FakeLinuxUi::RemoveWindowButtonOrderObserver(
    ui::WindowButtonOrderObserver* observer) {}

std::unique_ptr<ui::NavButtonProvider> FakeLinuxUi::CreateNavButtonProvider() {}

ui::WindowFrameProvider* FakeLinuxUi::GetWindowFrameProvider(bool solid_frame,
                                                             bool tiled) {}

base::flat_map<std::string, std::string> FakeLinuxUi::GetKeyboardLayoutMap() {}

std::string FakeLinuxUi::GetCursorThemeName() {}

int FakeLinuxUi::GetCursorThemeSize() {}

ui::NativeTheme* FakeLinuxUi::GetNativeTheme() const {}

bool FakeLinuxUi::GetTextEditCommandsForEvent(
    const ui::Event& event,
    int text_falgs,
    std::vector<ui::TextEditCommandAuraLinux>* commands) {}

#if BUILDFLAG(ENABLE_PRINTING)
printing::PrintDialogLinuxInterface* FakeLinuxUi::CreatePrintDialog(
    printing::PrintingContextLinux* context) {}

gfx::Size FakeLinuxUi::GetPdfPaperSize(
    printing::PrintingContextLinux* context) {}
#endif

}  // namespace ui