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

Unified Diff: ash/shell.cc

Issue 2260613002: Adds ImmersiveContext and ImmersiveHandlerFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: feedback Created 4 years, 4 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.h ('k') | ash/wm/immersive_context_ash.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index a4b6c5ed4c8a271d9a9ca7eab7bf5ed92405994a..9dbdb1a9d37a3176f6839faeb1247b9a6034758a 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -61,6 +61,8 @@
#include "ash/wm/ash_focus_rules.h"
#include "ash/wm/ash_native_cursor_manager.h"
#include "ash/wm/event_client_impl.h"
+#include "ash/wm/immersive_context_ash.h"
+#include "ash/wm/immersive_handler_factory_ash.h"
#include "ash/wm/lock_state_controller.h"
#include "ash/wm/overlay_event_filter.h"
#include "ash/wm/overview/scoped_overview_animation_settings_factory_aura.h"
@@ -702,6 +704,9 @@ void Shell::Init(const ShellInitParams& init_params) {
in_mus_ = init_params.in_mus;
+ immersive_context_ = base::MakeUnique<ImmersiveContextAsh>();
+ immersive_handler_factory_ = base::MakeUnique<ImmersiveHandlerFactoryAsh>();
+
#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
DCHECK(in_mus_) << "linux desktop does not support ash.";
#endif
« no previous file with comments | « ash/shell.h ('k') | ash/wm/immersive_context_ash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698