diff options
author | skuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-26 05:34:34 +0000 |
---|---|---|
committer | skuhne@chromium.org <skuhne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-26 05:34:34 +0000 |
commit | b19b09acc83a0384520764570f643dda129f804a (patch) | |
tree | 97da591d723add9fceb0b4abf6a216189addce9c /ash/shell.cc | |
parent | d05cf2f1ab93b70f152cb673a102ef2d0e125a72 (diff) | |
download | chromium_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.cc | 4 |
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(); |