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

Unified Diff: chrome/browser/notifications/fullscreen_notification_blocker.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: chrome/browser/notifications/fullscreen_notification_blocker.cc
diff --git a/chrome/browser/notifications/fullscreen_notification_blocker.cc b/chrome/browser/notifications/fullscreen_notification_blocker.cc
index bbfa5825abc6c5028453bc0868bb84e7d4096f76..1d23ea1e1737723797435a3cbe595d452466579e 100644
--- a/chrome/browser/notifications/fullscreen_notification_blocker.cc
+++ b/chrome/browser/notifications/fullscreen_notification_blocker.cc
@@ -33,7 +33,7 @@ bool DoesFullscreenModeBlockNotifications() {
// Block notifications if the shelf is hidden because of a fullscreen
// window.
const aura::Window* fullscreen_window =
- controller->GetTopmostFullscreenWindow();
+ controller->GetWindowForFullscreenMode();
if (!fullscreen_window)
return false;
return ash::wm::GetWindowState(fullscreen_window)->

Powered by Google App Engine
This is Rietveld 408576698