Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2352)

Unified Diff: ash/shell_init_params.h

Issue 2633293005: Converts mash to use Shell (Closed)
Patch Set: feedback Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/shell.cc ('k') | ui/events/event_target.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell_init_params.h
diff --git a/ash/shell_init_params.h b/ash/shell_init_params.h
index 58495908a60b9283a8bf4921f600ee200ff6ae2b..d2f01e6b07661690b63aba9210b4b5f458c6f13d 100644
--- a/ash/shell_init_params.h
+++ b/ash/shell_init_params.h
@@ -7,6 +7,10 @@
#include "ash/ash_export.h"
+namespace aura {
+class WindowTreeHostMus;
+}
+
namespace base {
class SequencedWorkerPool;
}
@@ -20,6 +24,12 @@ namespace ash {
class ShellDelegate;
struct ASH_EXPORT ShellInitParams {
+ // Shell takes ownership of |wm_shell|, if null WmShellAura is created.
+ // TODO(sky): temporary, will eventually go away.
+ WmShell* wm_shell = nullptr;
+ // Shell takes ownership of |primary_window_tree_host|. This is only used
+ // by mash.
+ aura::WindowTreeHostMus* primary_window_tree_host = nullptr;
ShellDelegate* delegate = nullptr;
ui::ContextFactory* context_factory = nullptr;
ui::ContextFactoryPrivate* context_factory_private = nullptr;
« no previous file with comments | « ash/shell.cc ('k') | ui/events/event_target.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698