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

Unified Diff: ash/shelf/shelf_layout_manager.cc

Issue 23534049: RootWindowController::GetFullscreenWindow() should return the active one. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 years, 3 months 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 a507da648a839e58de1b06987e4e344ea9226e16..e5cd38560057e992b9a2ee6a5faf2593b8e15390 100644
--- a/ash/shelf/shelf_layout_manager.cc
+++ b/ash/shelf/shelf_layout_manager.cc
@@ -525,7 +525,7 @@ bool ShelfLayoutManager::FullscreenWithMinimalChrome() const {
RootWindowController* controller = GetRootWindowController(root_window_);
if (!controller)
return false;
- const aura::Window* window = controller->GetFullscreenWindow();
+ const aura::Window* window = controller->GetTopmostFullscreenWindow();
if (!window)
return false;
if (!window->GetProperty(kFullscreenUsesMinimalChromeKey))

Powered by Google App Engine
This is Rietveld 408576698