From b2b46ac85b0fca2481e715a6181d3b448ed2da6c Mon Sep 17 00:00:00 2001 From: "flackr@chromium.org" Date: Wed, 13 Nov 2013 22:05:56 +0000 Subject: Minimize panels on entering fullscreen and exit fullscreen on selecting another window. BUG=313919 TEST=WindowSelectorTest.FullscreenWindow, PanelLayoutManagerTest.PanelsHideAndRestoreWithShelf TEST=Navigate to a page using the fullscreen API (i.e. http://blogs.sitepointstatic.com/examples/tech/full-screen/index.html) and alt tab from the fullscreen window. You should be able to switch to another window or a panel which was previously open. Review URL: https://codereview.chromium.org/64853007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234922 0039d316-1c4b-4281-b951-d872f2087c98 --- ash/root_window_controller.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ash/root_window_controller.h') diff --git a/ash/root_window_controller.h b/ash/root_window_controller.h index 0ccc1d3..606cc50 100644 --- a/ash/root_window_controller.h +++ b/ash/root_window_controller.h @@ -219,6 +219,7 @@ class ASH_EXPORT RootWindowController : public ShellObserver { // Returns the window, if any, which is in fullscreen mode. If multiple // windows are in fullscreen state, the topmost one is preferred. const aura::Window* GetTopmostFullscreenWindow() const; + aura::Window* GetTopmostFullscreenWindow(); // Activate virtual keyboard on current root window controller. void ActivateKeyboard(keyboard::KeyboardController* keyboard_controller); -- cgit v1.1