Use active window if on current workspace for fullscreen mode.
commit2c5db9ee28da42605ee733c62cea423d75dc79c2
authorflackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 27 Feb 2014 13:58:14 +0000 (27 13:58 +0000)
committerflackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 27 Feb 2014 13:58:14 +0000 (27 13:58 +0000)
tree5d8240db8f52174a19dd4f79013ca133bd48331d
parent26f90f3a850f4e1ee48c57d87526fbf2f786ce79
Use active window if on current workspace for fullscreen mode.

BUG=330566,340647
TEST=WindowSelectorTest.FullscreenWindow,RootWindowControllerTest.GetWindowForFullscreenMode,RootWindowControllerTest.MultipleDisplaysGetWindowForFullscreenMode,PanelWindowResizerTest.AttachToSecondFullscreenDisplay
TEST=Open a panel and navigate a browser to an html5 fullscreen page, and fullscreen it. Alt+tab to the panel, should be able to see the panel.

Review URL: https://codereview.chromium.org/149493008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253794 0039d316-1c4b-4281-b951-d872f2087c98
12 files changed:
ash/root_window_controller.cc
ash/root_window_controller.h
ash/root_window_controller_unittest.cc
ash/switchable_windows.cc
ash/switchable_windows.h
ash/wm/mru_window_tracker.cc
ash/wm/overview/window_selector_controller.cc
ash/wm/overview/window_selector_unittest.cc
ash/wm/panels/panel_layout_manager.cc
ash/wm/panels/panel_window_resizer_unittest.cc
ash/wm/workspace/workspace_layout_manager.cc
ash/wm/workspace/workspace_layout_manager.h