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

Unified Diff: chrome/browser/notifications/fullscreen_notification_blocker.cc

Issue 2368343002: Revert auto-hide-invisible mode for ARC++ (Closed)
Patch Set: Revert "Use MD-ash's auto hide behavior for arc++ windows." Created 4 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: 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 2971c287b40516d2f767d19bb4fe7d0182c65b79..118da6dce1f99159928b15bfd6aca392cc740276 100644
--- a/chrome/browser/notifications/fullscreen_notification_blocker.cc
+++ b/chrome/browser/notifications/fullscreen_notification_blocker.cc
@@ -38,8 +38,7 @@ bool DoesFullscreenModeBlockNotifications() {
if (!fullscreen_window)
return false;
return ash::wm::GetWindowState(fullscreen_window)
- ->shelf_mode_in_fullscreen() ==
- ash::wm::WindowState::SHELF_HIDDEN;
+ ->hide_shelf_when_fullscreen();
}
#endif

Powered by Google App Engine
This is Rietveld 408576698