Tom Anderson | 80d3ad4 | 2022-05-03 12:09:27 | [diff] [blame] | 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 | |
Tom Anderson | 4ee8374 | 2022-07-14 20:58:41 | [diff] [blame^] | 5 | #ifndef UI_LINUX_LINUX_UI_FACTORY_H_ |
| 6 | #define UI_LINUX_LINUX_UI_FACTORY_H_ |
Tom Anderson | 80d3ad4 | 2022-05-03 12:09:27 | [diff] [blame] | 7 | |
| 8 | #include <memory> |
| 9 | |
| 10 | namespace views { |
| 11 | class LinuxUI; |
| 12 | } |
| 13 | |
| 14 | // Returns a new LinuxUI based on a Linux toolkit. May return nullptr if the |
| 15 | // preferred toolkits are unavailable. |
| 16 | std::unique_ptr<views::LinuxUI> CreateLinuxUi(); |
| 17 | |
Tom Anderson | 4ee8374 | 2022-07-14 20:58:41 | [diff] [blame^] | 18 | #endif // UI_LINUX_LINUX_UI_FACTORY_H_ |