diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-30 20:20:08 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-30 20:20:08 +0000 |
commit | 4539057c3d9df5a7c12e6b9045ab6ca1e2cf55ed (patch) | |
tree | 5ddcc6c5be03fa5f9af1de4bc8051b6c0fd16204 /ash/shell/shell_delegate_impl.cc | |
parent | 5b0605321afe769c1d7efc51445eb68fe7585c3b (diff) | |
download | chromium_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/shell/shell_delegate_impl.cc')
-rw-r--r-- | ash/shell/shell_delegate_impl.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ash/shell/shell_delegate_impl.cc b/ash/shell/shell_delegate_impl.cc index 717d07d..e1ca903 100644 --- a/ash/shell/shell_delegate_impl.cc +++ b/ash/shell/shell_delegate_impl.cc @@ -89,13 +89,6 @@ void ShellDelegateImpl::Exit() { base::MessageLoopForUI::current()->Quit(); } -void ShellDelegateImpl::ToggleFullscreen() { - // TODO(oshima): Remove this when crbug.com/309837 is implemented. - wm::WindowState* window_state = wm::GetActiveWindowState(); - if (window_state) - window_state->ToggleMaximized(); -} - keyboard::KeyboardControllerProxy* ShellDelegateImpl::CreateKeyboardControllerProxy() { return new KeyboardControllerProxyStub(); |