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

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: fullscreen_win 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
« no previous file with comments | « ash/root_window_controller_unittest.cc ('k') | ash/wm/gestures/shelf_gesture_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_layout_manager.cc
diff --git a/ash/shelf/shelf_layout_manager.cc b/ash/shelf/shelf_layout_manager.cc
index 9d3b52ef14ea56e08cb9acb0e445d1c08b0ef530..1ea2d98d8b3863e7ad056b286f5689d947161919 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))
« no previous file with comments | « ash/root_window_controller_unittest.cc ('k') | ash/wm/gestures/shelf_gesture_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698