Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ASH_SHELL_INIT_PARAMS_H_ | 5 #ifndef ASH_SHELL_INIT_PARAMS_H_ |
| 6 #define ASH_SHELL_INIT_PARAMS_H_ | 6 #define ASH_SHELL_INIT_PARAMS_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 | 9 |
| 10 namespace aura { | |
| 11 class WindowTreeHostMus; | |
| 12 } | |
| 13 | |
| 10 namespace base { | 14 namespace base { |
| 11 class SequencedWorkerPool; | 15 class SequencedWorkerPool; |
| 12 } | 16 } |
| 13 | 17 |
| 14 namespace ui { | 18 namespace ui { |
| 15 class ContextFactory; | 19 class ContextFactory; |
| 16 } | 20 } |
| 17 | 21 |
| 18 namespace ash { | 22 namespace ash { |
| 19 | 23 |
| 20 class ShellDelegate; | 24 class ShellDelegate; |
| 21 | 25 |
| 22 struct ASH_EXPORT ShellInitParams { | 26 struct ASH_EXPORT ShellInitParams { |
| 27 // Shell takes ownership of |wm_shell|. | |
| 28 // TODO(sky): temporary, will eventually go away. | |
| 29 WmShell* wm_shell = nullptr; | |
| 30 // Shell takes ownership of |primary_window_tree_host|. | |
| 31 aura::WindowTreeHostMus* primary_window_tree_host = nullptr; | |
|
James Cook
2017/01/18 01:00:25
Maybe mention in the comment that this is not used
sky
2017/01/18 04:00:08
Done.
| |
| 23 ShellDelegate* delegate = nullptr; | 32 ShellDelegate* delegate = nullptr; |
| 24 ui::ContextFactory* context_factory = nullptr; | 33 ui::ContextFactory* context_factory = nullptr; |
| 25 ui::ContextFactoryPrivate* context_factory_private = nullptr; | 34 ui::ContextFactoryPrivate* context_factory_private = nullptr; |
| 26 base::SequencedWorkerPool* blocking_pool = nullptr; | 35 base::SequencedWorkerPool* blocking_pool = nullptr; |
| 27 }; | 36 }; |
| 28 | 37 |
| 29 } // namespace ash | 38 } // namespace ash |
| 30 | 39 |
| 31 #endif // ASH_SHELL_INIT_PARAMS_H_ | 40 #endif // ASH_SHELL_INIT_PARAMS_H_ |
| OLD | NEW |