blob: aa16612d50af5a1fb53a0061e0e10560d4c04493 [file] [log] [blame]
// 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_delegate_stub.h"
#include "base/functional/callback.h"
namespace ui {
LinuxUiDelegateStub::LinuxUiDelegateStub() = default;
LinuxUiDelegateStub::~LinuxUiDelegateStub() = default;
LinuxUiBackend LinuxUiDelegateStub::GetBackend() const {
return LinuxUiBackend::kStub;
}
void LinuxUiDelegateStub::ExportWindowHandle(
gfx::AcceleratedWidget window_id,
base::OnceCallback<void(std::string)> callback) {
std::move(callback).Run("");
}
} // namespace ui