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

Unified Diff: ash/shell.cc

Issue 236173003: Merge 261645 "Enable maximize mode when keyboard is open past 18..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1916/src/
Patch Set: Created 6 years, 8 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/maximize_mode/maximize_mode_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.cc
===================================================================
--- ash/shell.cc (revision 263398)
+++ ash/shell.cc (working copy)
@@ -59,6 +59,7 @@
#include "ash/wm/coordinate_conversion.h"
#include "ash/wm/event_client_impl.h"
#include "ash/wm/lock_state_controller.h"
+#include "ash/wm/maximize_mode/maximize_mode_controller.h"
#include "ash/wm/maximize_mode/maximize_mode_window_manager.h"
#include "ash/wm/mru_window_tracker.h"
#include "ash/wm/overlay_event_filter.h"
@@ -668,6 +669,7 @@
// Destroy maximize window manager early on since it has some observers which
// need to be removed.
+ maximize_mode_controller_.reset();
maximize_mode_window_manager_.reset();
// AppList needs to be released before shelf layout manager, which is
@@ -861,6 +863,7 @@
nested_dispatcher_controller_.reset(new NestedDispatcherController);
accelerator_controller_.reset(new AcceleratorController);
+ maximize_mode_controller_.reset(new MaximizeModeController());
#if defined(OS_CHROMEOS) && defined(USE_X11)
magnifier_key_scroll_handler_ = MagnifierKeyScroller::CreateHandler().Pass();
« no previous file with comments | « ash/shell.h ('k') | ash/wm/maximize_mode/maximize_mode_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698