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

Unified Diff: chrome/browser/fullscreen_chromeos.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
« ash/root_window_controller.cc ('K') | « ash/wm/gestures/shelf_gesture_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/fullscreen_chromeos.cc
diff --git a/chrome/browser/fullscreen_chromeos.cc b/chrome/browser/fullscreen_chromeos.cc
index a2adffa91aa9d622e9853ffa7a24268972de60ea..448fdc15c2e4796257e602ac3ba82d0934ed2626 100644
--- a/chrome/browser/fullscreen_chromeos.cc
+++ b/chrome/browser/fullscreen_chromeos.cc
@@ -9,5 +9,5 @@
bool IsFullScreenMode() {
ash::internal::RootWindowController* controller =
ash::internal::RootWindowController::ForActiveRootWindow();
- return controller && controller->GetFullscreenWindow();
+ return controller && controller->GetTopmostFullscreenWindow();
}
« ash/root_window_controller.cc ('K') | « ash/wm/gestures/shelf_gesture_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698