1 // Copyright 2014 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ASH_SHELL_INIT_PARAMS_H_
6 #define ASH_SHELL_INIT_PARAMS_H_
10 #include "ash/ash_export.h"
11 #include "base/memory/scoped_refptr.h"
17 class KeyboardUIFactory;
28 struct ASH_EXPORT ShellInitParams {
30 ShellInitParams(ShellInitParams&& other);
33 std::unique_ptr<ShellDelegate> delegate;
34 ui::ContextFactory* context_factory = nullptr; // Non-owning.
35 PrefService* local_state = nullptr; // Non-owning.
37 // Factory for creating the virtual keyboard UI. Must be non-null.
38 std::unique_ptr<keyboard::KeyboardUIFactory> keyboard_ui_factory;
40 // Bus used by dbus clients. May be null in tests or when not running on a
41 // device, in which case fake clients will be created.
42 scoped_refptr<dbus::Bus> dbus_bus;
47 #endif // ASH_SHELL_INIT_PARAMS_H_