linux_ui_factory.h 512 B

1234567891011121314151617181920
  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. #ifndef UI_LINUX_LINUX_UI_FACTORY_H_
  5. #define UI_LINUX_LINUX_UI_FACTORY_H_
  6. #include <memory>
  7. namespace ui {
  8. class LinuxUi;
  9. // Returns a new LinuxUI based on a Linux toolkit. May return nullptr if the
  10. // preferred toolkits are unavailable.
  11. std::unique_ptr<LinuxUi> CreateLinuxUi();
  12. } // namespace ui
  13. #endif // UI_LINUX_LINUX_UI_FACTORY_H_