blob: f7dfd9e1c4c84db940109948098849b0bd317c91 [file] [log] [blame]
[email protected]1b4c7472014-05-15 18:32:231// 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]1b4c7472014-05-15 18:32:238#include "ash/ash_export.h"
9
[email protected]fa69f2b62014-05-22 21:47:5810namespace ui {
11class ContextFactory;
jamescook518dccbd2017-05-18 04:57:0712class ContextFactoryPrivate;
[email protected]fa69f2b62014-05-22 21:47:5813}
14
[email protected]1b4c7472014-05-15 18:32:2315namespace ash {
16
17class ShellDelegate;
sky11cf8db92017-04-10 23:38:0818class ShellPort;
[email protected]1b4c7472014-05-15 18:32:2319
20struct ASH_EXPORT ShellInitParams {
sky11cf8db92017-04-10 23:38:0821 // Shell takes ownership of |shell_port|, if null ShellPortClassic is created.
22 ShellPort* shell_port = nullptr;
msw15156bf2016-09-13 21:49:1723 ShellDelegate* delegate = nullptr;
24 ui::ContextFactory* context_factory = nullptr;
fsamuela0bcfe12016-12-14 06:21:4925 ui::ContextFactoryPrivate* context_factory_private = nullptr;
[email protected]1b4c7472014-05-15 18:32:2326};
27
28} // namespace ash
29
30#endif // ASH_SHELL_INIT_PARAMS_H_