Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: ash/shelf/shelf_layout_manager.cc

Issue 100903002: Ignore fullscreen windows which are behind other windows for fullscreen mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove static cast. Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/shelf/shelf_layout_manager.cc
diff --git a/ash/shelf/shelf_layout_manager.cc b/ash/shelf/shelf_layout_manager.cc
index 566db942d273abe3b4fd4804bdc7a19885bc24bc..c44e7c948c5566e666a6e7e8aaffb1341ce6cc97 100644
--- a/ash/shelf/shelf_layout_manager.cc
+++ b/ash/shelf/shelf_layout_manager.cc
@@ -542,7 +542,7 @@ bool ShelfLayoutManager::FullscreenWithHiddenShelf() const {
RootWindowController* controller = GetRootWindowController(root_window_);
if (!controller)
return false;
- const aura::Window* window = controller->GetTopmostFullscreenWindow();
+ const aura::Window* window = controller->GetWindowForFullscreenMode();
if (!window)
return false;
return wm::GetWindowState(window)->hide_shelf_when_fullscreen();

Powered by Google App Engine
This is Rietveld 408576698