[M108 Migration][Callback] Bring up ewk callbacks which are related with page loading
[platform/framework/web/chromium-efl.git] / ash / shell_init_params.h
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.
4
5 #ifndef ASH_SHELL_INIT_PARAMS_H_
6 #define ASH_SHELL_INIT_PARAMS_H_
7
8 #include <memory>
9
10 #include "ash/ash_export.h"
11 #include "base/memory/scoped_refptr.h"
12 #include "dbus/bus.h"
13
14 class PrefService;
15
16 namespace keyboard {
17 class KeyboardUIFactory;
18 }
19
20 namespace ui {
21 class ContextFactory;
22 }
23
24 namespace ash {
25
26 class ShellDelegate;
27
28 struct ASH_EXPORT ShellInitParams {
29   ShellInitParams();
30   ShellInitParams(ShellInitParams&& other);
31   ~ShellInitParams();
32
33   std::unique_ptr<ShellDelegate> delegate;
34   ui::ContextFactory* context_factory = nullptr;                 // Non-owning.
35   PrefService* local_state = nullptr;                            // Non-owning.
36
37   // Factory for creating the virtual keyboard UI. Must be non-null.
38   std::unique_ptr<keyboard::KeyboardUIFactory> keyboard_ui_factory;
39
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;
43 };
44
45 }  // namespace ash
46
47 #endif  // ASH_SHELL_INIT_PARAMS_H_