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

Unified Diff: chrome/browser/fullscreen_win.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: Comments. 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: chrome/browser/fullscreen_win.cc
diff --git a/chrome/browser/fullscreen_win.cc b/chrome/browser/fullscreen_win.cc
index 6a3ef9707e3b4676a86e4beadd2cde951ad97c91..423ff624f11082780c05c732d19d1a7663c7cf35 100644
--- a/chrome/browser/fullscreen_win.cc
+++ b/chrome/browser/fullscreen_win.cc
@@ -106,7 +106,7 @@ bool IsFullScreenMode() {
if (chrome::GetActiveDesktop() == chrome::HOST_DESKTOP_TYPE_ASH) {
ash::internal::RootWindowController* controller =
ash::internal::RootWindowController::ForTargetRootWindow();
- return controller && controller->GetTopmostFullscreenWindow();
+ return controller && controller->GetWindowForFullscreenMode();
}
#endif
return IsPlatformFullScreenMode() ||

Powered by Google App Engine
This is Rietveld 408576698