[email protected] | 1b4c747 | 2014-05-15 18:32:23 | [diff] [blame] | 1 | // Copyright 2014 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 | |||||
5 | #ifndef ASH_SHELL_INIT_PARAMS_H_ | ||||
6 | #define ASH_SHELL_INIT_PARAMS_H_ | ||||
7 | |||||
[email protected] | 1b4c747 | 2014-05-15 18:32:23 | [diff] [blame] | 8 | #include "ash/ash_export.h" |
9 | |||||
[email protected] | fa69f2b6 | 2014-05-22 21:47:58 | [diff] [blame] | 10 | namespace ui { |
11 | class ContextFactory; | ||||
jamescook | 518dccbd | 2017-05-18 04:57:07 | [diff] [blame] | 12 | class ContextFactoryPrivate; |
[email protected] | fa69f2b6 | 2014-05-22 21:47:58 | [diff] [blame] | 13 | } |
14 | |||||
[email protected] | 1b4c747 | 2014-05-15 18:32:23 | [diff] [blame] | 15 | namespace ash { |
16 | |||||
17 | class ShellDelegate; | ||||
sky | 11cf8db9 | 2017-04-10 23:38:08 | [diff] [blame] | 18 | class ShellPort; |
[email protected] | 1b4c747 | 2014-05-15 18:32:23 | [diff] [blame] | 19 | |
20 | struct ASH_EXPORT ShellInitParams { | ||||
sky | 11cf8db9 | 2017-04-10 23:38:08 | [diff] [blame] | 21 | // Shell takes ownership of |shell_port|, if null ShellPortClassic is created. |
22 | ShellPort* shell_port = nullptr; | ||||
msw | 15156bf | 2016-09-13 21:49:17 | [diff] [blame] | 23 | ShellDelegate* delegate = nullptr; |
24 | ui::ContextFactory* context_factory = nullptr; | ||||
fsamuel | a0bcfe1 | 2016-12-14 06:21:49 | [diff] [blame] | 25 | ui::ContextFactoryPrivate* context_factory_private = nullptr; |
[email protected] | 1b4c747 | 2014-05-15 18:32:23 | [diff] [blame] | 26 | }; |
27 | |||||
28 | } // namespace ash | ||||
29 | |||||
30 | #endif // ASH_SHELL_INIT_PARAMS_H_ |