summaryrefslogtreecommitdiffstats
path: root/ash/shell.cc
diff options
context:
space:
mode:
authorskuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-26 05:34:34 +0000
committerskuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-26 05:34:34 +0000
commitb19b09acc83a0384520764570f643dda129f804a (patch)
tree97da591d723add9fceb0b4abf6a216189addce9c /ash/shell.cc
parentd05cf2f1ab93b70f152cb673a102ef2d0e125a72 (diff)
downloadchromium_src-b19b09acc83a0384520764570f643dda129f804a.zip
chromium_src-b19b09acc83a0384520764570f643dda129f804a.tar.gz
chromium_src-b19b09acc83a0384520764570f643dda129f804a.tar.bz2
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
Diffstat (limited to 'ash/shell.cc')
-rw-r--r--ash/shell.cc4
1 files changed, 4 insertions, 0 deletions
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();