From b19b09acc83a0384520764570f643dda129f804a Mon Sep 17 00:00:00 2001 From: "skuhne@chromium.org" Date: Wed, 26 Feb 2014 05:34:34 +0000 Subject: Adding hotkey behind a commandline to allow testing the TouchView maximizing mode. The flag and the hotkey is only temporary since there is no other way to test the TouchView functionality at this time. BUG=337563 TEST=visual Review URL: https://codereview.chromium.org/179063002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253369 0039d316-1c4b-4281-b951-d872f2087c98 --- ash/shell.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ash/shell.cc') diff --git a/ash/shell.cc b/ash/shell.cc index d86056c..8fc65a7 100644 --- a/ash/shell.cc +++ b/ash/shell.cc @@ -437,6 +437,10 @@ void Shell::EnableMaximizeModeWindowManager(bool enable) { } } +bool Shell::IsMaximizeModeWindowManagerEnabled() { + return maximize_mode_window_manager_.get() != NULL; +} + void Shell::UpdateShelfVisibility() { RootWindowControllerList controllers = GetAllRootWindowControllers(); for (RootWindowControllerList::iterator iter = controllers.begin(); -- cgit v1.1