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

Unified Diff: ash/shell.cc

Issue 197883011: Enable maximize mode when keyboard is open past 180 degrees. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add tests, constants, and stickiness to entering / exiting. Created 6 years, 9 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
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index ad9b92cc4d3a9f30ae59ec62201cc87a5c2e9cc4..4cb4c30cac4917903edfd3ae7694251a04d6bc29 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -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 @@ Shell::~Shell() {
// 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 @@ void Shell::Init() {
nested_dispatcher_controller_.reset(new NestedDispatcherController);
accelerator_controller_.reset(new AcceleratorController);
+ maximize_mode_controller_.reset(new internal::MaximizeModeController());
#if defined(OS_CHROMEOS) && defined(USE_X11)
magnifier_key_scroll_handler_ = MagnifierKeyScroller::CreateHandler().Pass();

Powered by Google App Engine
This is Rietveld 408576698