summaryrefslogtreecommitdiffstats
path: root/ash/accelerators/accelerator_commands_unittest.cc
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-30 20:20:08 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-30 20:20:08 +0000
commit4539057c3d9df5a7c12e6b9045ab6ca1e2cf55ed (patch)
tree5ddcc6c5be03fa5f9af1de4bc8051b6c0fd16204 /ash/accelerators/accelerator_commands_unittest.cc
parent5b0605321afe769c1d7efc51445eb68fe7585c3b (diff)
downloadchromium_src-4539057c3d9df5a7c12e6b9045ab6ca1e2cf55ed.zip
chromium_src-4539057c3d9df5a7c12e6b9045ab6ca1e2cf55ed.tar.gz
chromium_src-4539057c3d9df5a7c12e6b9045ab6ca1e2cf55ed.tar.bz2
Introduce WindowStateDelegate::ToggleFullscreen
Replace kAnimateToFullscreenKey with a boolean flag in WindowState I removed #if defined(OS_WIN).. #endif in chrome_shell_delegate.cc because you'll never get window in desktop environment there. Next step. I'll look into if we can change so that WindowState::Restore can restore from fullscreen state properly. BUG=309837 Review URL: https://codereview.chromium.org/42353002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231903 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/accelerators/accelerator_commands_unittest.cc')
-rw-r--r--ash/accelerators/accelerator_commands_unittest.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/ash/accelerators/accelerator_commands_unittest.cc b/ash/accelerators/accelerator_commands_unittest.cc
index 2423bb5..c193b26 100644
--- a/ash/accelerators/accelerator_commands_unittest.cc
+++ b/ash/accelerators/accelerator_commands_unittest.cc
@@ -8,6 +8,12 @@
#include "ash/wm/window_state.h"
#include "ui/aura/window.h"
+// Note: The unit tests for |ToggleMaximized()| and
+// |ToggleFullscreen()| are in
+// chrome/browser/ui/ash/accelerator_commands_browsertests.cc.
+// because they depends on chrome implementation of
+// |ash::wm::WindowStateDelegate|.
+
namespace ash {
namespace accelerators {