| // Copyright 2022 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef UI_LINUX_LINUX_UI_FACTORY_H_ |
| #define UI_LINUX_LINUX_UI_FACTORY_H_ |
| |
| #include "base/component_export.h" |
| |
| namespace ui { |
| |
| class LinuxUi; |
| enum class SystemTheme : int; |
| |
| // Returns a LinuxUi for the default toolkit. May create a LinuxUi instance if |
| // one does not exist. May return nullptr if no toolkits are available. |
| COMPONENT_EXPORT(LINUX_UI_FACTORY) |
| LinuxUi* GetDefaultLinuxUi(); |
| |
| COMPONENT_EXPORT(LINUX_UI_FACTORY) |
| LinuxUi* GetLinuxUi(SystemTheme system_theme); |
| |
| COMPONENT_EXPORT(LINUX_UI_FACTORY) |
| SystemTheme GetDefaultSystemTheme(); |
| |
| } // namespace ui |
| |
| #endif // UI_LINUX_LINUX_UI_FACTORY_H_ |