chromium/remoting/host/fake_desktop_environment.cc

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

#include "remoting/host/fake_desktop_environment.h"

#include <memory>
#include <utility>

#include "base/memory/weak_ptr.h"
#include "base/task/single_thread_task_runner.h"
#include "remoting/host/audio_capturer.h"
#include "remoting/host/desktop_capturer_proxy.h"
#include "remoting/host/desktop_display_info_monitor.h"
#include "remoting/host/fake_keyboard_layout_monitor.h"
#include "remoting/host/file_transfer/file_operations.h"
#include "remoting/host/input_injector.h"
#include "remoting/host/keyboard_layout_monitor.h"
#include "remoting/host/remote_open_url/fake_url_forwarder_configurator.h"
#include "remoting/host/remote_open_url/url_forwarder_configurator.h"
#include "remoting/proto/event.pb.h"
#include "remoting/protocol/fake_desktop_capturer.h"

namespace remoting {

FakeInputInjector::FakeInputInjector() {}
FakeInputInjector::~FakeInputInjector() = default;

void FakeInputInjector::Start(
    std::unique_ptr<protocol::ClipboardStub> client_clipboard) {}

void FakeInputInjector::InjectKeyEvent(const protocol::KeyEvent& event) {}

void FakeInputInjector::InjectTextEvent(const protocol::TextEvent& event) {}

void FakeInputInjector::InjectMouseEvent(const protocol::MouseEvent& event) {}

void FakeInputInjector::InjectTouchEvent(const protocol::TouchEvent& event) {}

void FakeInputInjector::InjectClipboardEvent(
    const protocol::ClipboardEvent& event) {}

FakeScreenControls::FakeScreenControls() = default;
FakeScreenControls::~FakeScreenControls() = default;

void FakeScreenControls::SetScreenResolution(
    const ScreenResolution& resolution,
    std::optional<webrtc::ScreenId> screen_id) {}

void FakeScreenControls::SetVideoLayout(
    const protocol::VideoLayout& video_layout) {}

FakeDesktopEnvironment::FakeDesktopEnvironment(
    scoped_refptr<base::SingleThreadTaskRunner> capture_thread,
    const DesktopEnvironmentOptions& options)
    :{}

FakeDesktopEnvironment::~FakeDesktopEnvironment() = default;

// DesktopEnvironment implementation.
std::unique_ptr<ActionExecutor> FakeDesktopEnvironment::CreateActionExecutor() {}

std::unique_ptr<AudioCapturer> FakeDesktopEnvironment::CreateAudioCapturer() {}

std::unique_ptr<InputInjector> FakeDesktopEnvironment::CreateInputInjector() {}

std::unique_ptr<ScreenControls> FakeDesktopEnvironment::CreateScreenControls() {}

std::unique_ptr<DesktopCapturer> FakeDesktopEnvironment::CreateVideoCapturer(
    webrtc::ScreenId id) {}

DesktopDisplayInfoMonitor* FakeDesktopEnvironment::GetDisplayInfoMonitor() {}

std::unique_ptr<webrtc::MouseCursorMonitor>
FakeDesktopEnvironment::CreateMouseCursorMonitor() {}

std::unique_ptr<KeyboardLayoutMonitor>
FakeDesktopEnvironment::CreateKeyboardLayoutMonitor(
    base::RepeatingCallback<void(const protocol::KeyboardLayout&)> callback) {}

std::unique_ptr<ActiveDisplayMonitor>
FakeDesktopEnvironment::CreateActiveDisplayMonitor(
    ActiveDisplayMonitor::Callback callback) {}

std::unique_ptr<FileOperations> FakeDesktopEnvironment::CreateFileOperations() {}

std::unique_ptr<UrlForwarderConfigurator>
FakeDesktopEnvironment::CreateUrlForwarderConfigurator() {}

std::string FakeDesktopEnvironment::GetCapabilities() const {}

void FakeDesktopEnvironment::SetCapabilities(const std::string& capabilities) {}

uint32_t FakeDesktopEnvironment::GetDesktopSessionId() const {}

std::unique_ptr<RemoteWebAuthnStateChangeNotifier>
FakeDesktopEnvironment::CreateRemoteWebAuthnStateChangeNotifier() {}

const DesktopEnvironmentOptions& FakeDesktopEnvironment::options() const {}

FakeDesktopEnvironmentFactory::FakeDesktopEnvironmentFactory(
    scoped_refptr<base::SingleThreadTaskRunner> capture_thread)
    :{}

FakeDesktopEnvironmentFactory::~FakeDesktopEnvironmentFactory() = default;

// DesktopEnvironmentFactory implementation.
std::unique_ptr<DesktopEnvironment> FakeDesktopEnvironmentFactory::Create(
    base::WeakPtr<ClientSessionControl> client_session_control,
    base::WeakPtr<ClientSessionEvents> client_session_events,
    const DesktopEnvironmentOptions& options) {}

bool FakeDesktopEnvironmentFactory::SupportsAudioCapture() const {}

}  // namespace remoting