linux_ui_delegate_stub.cc 635 B

12345678910111213141516171819202122232425
  1. // Copyright 2022 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "ui/linux/linux_ui_delegate_stub.h"
  5. #include "base/callback.h"
  6. namespace ui {
  7. LinuxUiDelegateStub::LinuxUiDelegateStub() = default;
  8. LinuxUiDelegateStub::~LinuxUiDelegateStub() = default;
  9. LinuxUiBackend LinuxUiDelegateStub::GetBackend() const {
  10. return LinuxUiBackend::kStub;
  11. }
  12. bool LinuxUiDelegateStub::ExportWindowHandle(
  13. gfx::AcceleratedWidget window_id,
  14. base::OnceCallback<void(std::string)> callback) {
  15. return false;
  16. }
  17. } // namespace ui